OSDN Git Service

2011-05-28 Jonathan Wakely <jwakely.gcc@gmail.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/ios.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 LIBSUPCXX_PICFLAGS
606 WARN_FLAGS
607 OPTIMIZE_CXXFLAGS
608 TOPLEVEL_INCLUDES
609 GLIBCXX_INCLUDES
610 glibcxx_toolexeclibdir
611 glibcxx_toolexecdir
612 gxx_include_dir
613 glibcxx_prefixdir
614 ERROR_CONSTANTS_SRCDIR
615 OS_INC_SRCDIR
616 ABI_TWEAKS_SRCDIR
617 CPU_DEFINES_SRCDIR
618 ATOMIC_FLAGS
619 ATOMIC_WORD_SRCDIR
620 ATOMICITY_SRCDIR
621 BUILD_EPUB_FALSE
622 BUILD_EPUB_TRUE
623 DBTOEPUB
624 RUBY
625 BUILD_PDF_FALSE
626 BUILD_PDF_TRUE
627 PDFLATEX
628 DBLATEX
629 BUILD_MAN_FALSE
630 BUILD_MAN_TRUE
631 BUILD_HTML_FALSE
632 BUILD_HTML_TRUE
633 BUILD_XML_FALSE
634 BUILD_XML_TRUE
635 XSL_STYLE_DIR
636 XMLLINT
637 XSLTPROC
638 DOT
639 DOXYGEN
640 BUILD_INFO_FALSE
641 BUILD_INFO_TRUE
642 baseline_dir
643 GLIBCXX_LDBL_COMPAT_FALSE
644 GLIBCXX_LDBL_COMPAT_TRUE
645 ENABLE_VISIBILITY_FALSE
646 ENABLE_VISIBILITY_TRUE
647 ENABLE_SYMVERS_SOL2_FALSE
648 ENABLE_SYMVERS_SOL2_TRUE
649 ENABLE_SYMVERS_SUN_FALSE
650 ENABLE_SYMVERS_SUN_TRUE
651 ENABLE_SYMVERS_DARWIN_FALSE
652 ENABLE_SYMVERS_DARWIN_TRUE
653 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
654 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
655 ENABLE_SYMVERS_GNU_FALSE
656 ENABLE_SYMVERS_GNU_TRUE
657 ENABLE_SYMVERS_FALSE
658 ENABLE_SYMVERS_TRUE
659 port_specific_symbol_files
660 SYMVER_FILE
661 CXXFILT
662 LTLIBICONV
663 LIBICONV
664 OPT_LDFLAGS
665 SECTION_LDFLAGS
666 GLIBCXX_LIBS
667 ENABLE_EXTERN_TEMPLATE_FALSE
668 ENABLE_EXTERN_TEMPLATE_TRUE
669 EXTRA_CXX_FLAGS
670 ENABLE_PARALLEL_FALSE
671 ENABLE_PARALLEL_TRUE
672 GLIBCXX_BUILD_DEBUG_FALSE
673 GLIBCXX_BUILD_DEBUG_TRUE
674 DEBUG_FLAGS
675 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
676 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
677 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
678 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
679 GLIBCXX_C_HEADERS_C_STD_FALSE
680 GLIBCXX_C_HEADERS_C_STD_TRUE
681 GLIBCXX_C_HEADERS_C_FALSE
682 GLIBCXX_C_HEADERS_C_TRUE
683 C_INCLUDE_DIR
684 ALLOCATOR_NAME
685 ALLOCATOR_H
686 CLOCALE_INTERNAL_H
687 CLOCALE_CC
688 CTIME_CC
689 CTIME_H
690 CNUMERIC_CC
691 CMONEY_CC
692 CMESSAGES_CC
693 CCTYPE_CC
694 CCOLLATE_CC
695 CCODECVT_CC
696 CMESSAGES_H
697 CLOCALE_H
698 USE_NLS
699 glibcxx_localedir
700 glibcxx_POFILES
701 glibcxx_MOFILES
702 check_msgfmt
703 BASIC_FILE_CC
704 BASIC_FILE_H
705 CSTDIO_H
706 SECTION_FLAGS
707 WERROR
708 glibcxx_thread_h
709 glibcxx_PCHFLAGS
710 GLIBCXX_BUILD_PCH_FALSE
711 GLIBCXX_BUILD_PCH_TRUE
712 GLIBCXX_HOSTED_FALSE
713 GLIBCXX_HOSTED_TRUE
714 enable_static
715 enable_shared
716 lt_host_flags
717 CXXCPP
718 OTOOL64
719 OTOOL
720 LIPO
721 NMEDIT
722 DSYMUTIL
723 OBJDUMP
724 NM
725 ac_ct_DUMPBIN
726 DUMPBIN
727 LD
728 FGREP
729 SED
730 LIBTOOL
731 EGREP
732 GREP
733 CPP
734 MAINT
735 MAINTAINER_MODE_FALSE
736 MAINTAINER_MODE_TRUE
737 RANLIB
738 AR
739 AS
740 LN_S
741 toplevel_srcdir
742 glibcxx_srcdir
743 glibcxx_builddir
744 ac_ct_CXX
745 CXXFLAGS
746 CXX
747 OBJEXT
748 EXEEXT
749 ac_ct_CC
750 CPPFLAGS
751 LDFLAGS
752 CFLAGS
753 CC
754 am__untar
755 am__tar
756 AMTAR
757 am__leading_dot
758 SET_MAKE
759 AWK
760 mkdir_p
761 MKDIR_P
762 INSTALL_STRIP_PROGRAM
763 STRIP
764 install_sh
765 MAKEINFO
766 AUTOHEADER
767 AUTOMAKE
768 AUTOCONF
769 ACLOCAL
770 VERSION
771 PACKAGE
772 CYGPATH_W
773 am__isrc
774 INSTALL_DATA
775 INSTALL_SCRIPT
776 INSTALL_PROGRAM
777 target_os
778 target_vendor
779 target_cpu
780 target
781 host_os
782 host_vendor
783 host_cpu
784 host
785 build_os
786 build_vendor
787 build_cpu
788 build
789 multi_basedir
790 libtool_VERSION
791 target_alias
792 host_alias
793 build_alias
794 LIBS
795 ECHO_T
796 ECHO_N
797 ECHO_C
798 DEFS
799 mandir
800 localedir
801 libdir
802 psdir
803 pdfdir
804 dvidir
805 htmldir
806 infodir
807 docdir
808 oldincludedir
809 includedir
810 localstatedir
811 sharedstatedir
812 sysconfdir
813 datadir
814 datarootdir
815 libexecdir
816 sbindir
817 bindir
818 program_transform_name
819 prefix
820 exec_prefix
821 PACKAGE_URL
822 PACKAGE_BUGREPORT
823 PACKAGE_STRING
824 PACKAGE_VERSION
825 PACKAGE_TARNAME
826 PACKAGE_NAME
827 PATH_SEPARATOR
828 SHELL'
829 ac_subst_files=''
830 ac_user_opts='
831 enable_option_checking
832 enable_multilib
833 with_target_subdir
834 with_cross_host
835 with_newlib
836 enable_maintainer_mode
837 enable_shared
838 enable_static
839 with_pic
840 enable_fast_install
841 with_gnu_ld
842 enable_libtool_lock
843 enable_hosted_libstdcxx
844 enable_sjlj_exceptions
845 enable_libstdcxx_pch
846 enable_cstdio
847 enable_clocale
848 enable_nls
849 enable_libstdcxx_allocator
850 enable_cheaders
851 enable_long_long
852 enable_wchar_t
853 enable_c99
854 enable_concept_checks
855 enable_libstdcxx_debug_flags
856 enable_libstdcxx_debug
857 enable_cxx_flags
858 enable_fully_dynamic_string
859 enable_extern_template
860 enable_libstdcxx_time
861 enable_tls
862 enable_rpath
863 with_libiconv_prefix
864 with_system_libunwind
865 enable_linux_futex
866 enable_symvers
867 enable_visibility
868 with_gxx_include_dir
869 enable_version_specific_runtime_libs
870 '
871       ac_precious_vars='build_alias
872 host_alias
873 target_alias
874 CC
875 CFLAGS
876 LDFLAGS
877 LIBS
878 CPPFLAGS
879 CXX
880 CXXFLAGS
881 CCC
882 CPP
883 CXXCPP
884 CXXFILT'
885
886
887 # Initialize some variables set by options.
888 ac_init_help=
889 ac_init_version=false
890 ac_unrecognized_opts=
891 ac_unrecognized_sep=
892 # The variables have the same names as the options, with
893 # dashes changed to underlines.
894 cache_file=/dev/null
895 exec_prefix=NONE
896 no_create=
897 no_recursion=
898 prefix=NONE
899 program_prefix=NONE
900 program_suffix=NONE
901 program_transform_name=s,x,x,
902 silent=
903 site=
904 srcdir=
905 verbose=
906 x_includes=NONE
907 x_libraries=NONE
908
909 # Installation directory options.
910 # These are left unexpanded so users can "make install exec_prefix=/foo"
911 # and all the variables that are supposed to be based on exec_prefix
912 # by default will actually change.
913 # Use braces instead of parens because sh, perl, etc. also accept them.
914 # (The list follows the same order as the GNU Coding Standards.)
915 bindir='${exec_prefix}/bin'
916 sbindir='${exec_prefix}/sbin'
917 libexecdir='${exec_prefix}/libexec'
918 datarootdir='${prefix}/share'
919 datadir='${datarootdir}'
920 sysconfdir='${prefix}/etc'
921 sharedstatedir='${prefix}/com'
922 localstatedir='${prefix}/var'
923 includedir='${prefix}/include'
924 oldincludedir='/usr/include'
925 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
926 infodir='${datarootdir}/info'
927 htmldir='${docdir}'
928 dvidir='${docdir}'
929 pdfdir='${docdir}'
930 psdir='${docdir}'
931 libdir='${exec_prefix}/lib'
932 localedir='${datarootdir}/locale'
933 mandir='${datarootdir}/man'
934
935 ac_prev=
936 ac_dashdash=
937 for ac_option
938 do
939   # If the previous option needs an argument, assign it.
940   if test -n "$ac_prev"; then
941     eval $ac_prev=\$ac_option
942     ac_prev=
943     continue
944   fi
945
946   case $ac_option in
947   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
948   *)    ac_optarg=yes ;;
949   esac
950
951   # Accept the important Cygnus configure options, so we can diagnose typos.
952
953   case $ac_dashdash$ac_option in
954   --)
955     ac_dashdash=yes ;;
956
957   -bindir | --bindir | --bindi | --bind | --bin | --bi)
958     ac_prev=bindir ;;
959   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
960     bindir=$ac_optarg ;;
961
962   -build | --build | --buil | --bui | --bu)
963     ac_prev=build_alias ;;
964   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
965     build_alias=$ac_optarg ;;
966
967   -cache-file | --cache-file | --cache-fil | --cache-fi \
968   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
969     ac_prev=cache_file ;;
970   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
971   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
972     cache_file=$ac_optarg ;;
973
974   --config-cache | -C)
975     cache_file=config.cache ;;
976
977   -datadir | --datadir | --datadi | --datad)
978     ac_prev=datadir ;;
979   -datadir=* | --datadir=* | --datadi=* | --datad=*)
980     datadir=$ac_optarg ;;
981
982   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
983   | --dataroo | --dataro | --datar)
984     ac_prev=datarootdir ;;
985   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
986   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
987     datarootdir=$ac_optarg ;;
988
989   -disable-* | --disable-*)
990     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
991     # Reject names that are not valid shell variable names.
992     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
993       as_fn_error "invalid feature name: $ac_useropt"
994     ac_useropt_orig=$ac_useropt
995     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
996     case $ac_user_opts in
997       *"
998 "enable_$ac_useropt"
999 "*) ;;
1000       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1001          ac_unrecognized_sep=', ';;
1002     esac
1003     eval enable_$ac_useropt=no ;;
1004
1005   -docdir | --docdir | --docdi | --doc | --do)
1006     ac_prev=docdir ;;
1007   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1008     docdir=$ac_optarg ;;
1009
1010   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1011     ac_prev=dvidir ;;
1012   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1013     dvidir=$ac_optarg ;;
1014
1015   -enable-* | --enable-*)
1016     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1017     # Reject names that are not valid shell variable names.
1018     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1019       as_fn_error "invalid feature name: $ac_useropt"
1020     ac_useropt_orig=$ac_useropt
1021     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1022     case $ac_user_opts in
1023       *"
1024 "enable_$ac_useropt"
1025 "*) ;;
1026       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1027          ac_unrecognized_sep=', ';;
1028     esac
1029     eval enable_$ac_useropt=\$ac_optarg ;;
1030
1031   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1032   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1033   | --exec | --exe | --ex)
1034     ac_prev=exec_prefix ;;
1035   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1036   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1037   | --exec=* | --exe=* | --ex=*)
1038     exec_prefix=$ac_optarg ;;
1039
1040   -gas | --gas | --ga | --g)
1041     # Obsolete; use --with-gas.
1042     with_gas=yes ;;
1043
1044   -help | --help | --hel | --he | -h)
1045     ac_init_help=long ;;
1046   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1047     ac_init_help=recursive ;;
1048   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1049     ac_init_help=short ;;
1050
1051   -host | --host | --hos | --ho)
1052     ac_prev=host_alias ;;
1053   -host=* | --host=* | --hos=* | --ho=*)
1054     host_alias=$ac_optarg ;;
1055
1056   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1057     ac_prev=htmldir ;;
1058   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1059   | --ht=*)
1060     htmldir=$ac_optarg ;;
1061
1062   -includedir | --includedir | --includedi | --included | --include \
1063   | --includ | --inclu | --incl | --inc)
1064     ac_prev=includedir ;;
1065   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1066   | --includ=* | --inclu=* | --incl=* | --inc=*)
1067     includedir=$ac_optarg ;;
1068
1069   -infodir | --infodir | --infodi | --infod | --info | --inf)
1070     ac_prev=infodir ;;
1071   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1072     infodir=$ac_optarg ;;
1073
1074   -libdir | --libdir | --libdi | --libd)
1075     ac_prev=libdir ;;
1076   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1077     libdir=$ac_optarg ;;
1078
1079   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1080   | --libexe | --libex | --libe)
1081     ac_prev=libexecdir ;;
1082   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1083   | --libexe=* | --libex=* | --libe=*)
1084     libexecdir=$ac_optarg ;;
1085
1086   -localedir | --localedir | --localedi | --localed | --locale)
1087     ac_prev=localedir ;;
1088   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1089     localedir=$ac_optarg ;;
1090
1091   -localstatedir | --localstatedir | --localstatedi | --localstated \
1092   | --localstate | --localstat | --localsta | --localst | --locals)
1093     ac_prev=localstatedir ;;
1094   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1095   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1096     localstatedir=$ac_optarg ;;
1097
1098   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1099     ac_prev=mandir ;;
1100   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1101     mandir=$ac_optarg ;;
1102
1103   -nfp | --nfp | --nf)
1104     # Obsolete; use --without-fp.
1105     with_fp=no ;;
1106
1107   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1108   | --no-cr | --no-c | -n)
1109     no_create=yes ;;
1110
1111   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1112   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1113     no_recursion=yes ;;
1114
1115   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1116   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1117   | --oldin | --oldi | --old | --ol | --o)
1118     ac_prev=oldincludedir ;;
1119   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1120   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1121   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1122     oldincludedir=$ac_optarg ;;
1123
1124   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1125     ac_prev=prefix ;;
1126   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1127     prefix=$ac_optarg ;;
1128
1129   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1130   | --program-pre | --program-pr | --program-p)
1131     ac_prev=program_prefix ;;
1132   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1133   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1134     program_prefix=$ac_optarg ;;
1135
1136   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1137   | --program-suf | --program-su | --program-s)
1138     ac_prev=program_suffix ;;
1139   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1140   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1141     program_suffix=$ac_optarg ;;
1142
1143   -program-transform-name | --program-transform-name \
1144   | --program-transform-nam | --program-transform-na \
1145   | --program-transform-n | --program-transform- \
1146   | --program-transform | --program-transfor \
1147   | --program-transfo | --program-transf \
1148   | --program-trans | --program-tran \
1149   | --progr-tra | --program-tr | --program-t)
1150     ac_prev=program_transform_name ;;
1151   -program-transform-name=* | --program-transform-name=* \
1152   | --program-transform-nam=* | --program-transform-na=* \
1153   | --program-transform-n=* | --program-transform-=* \
1154   | --program-transform=* | --program-transfor=* \
1155   | --program-transfo=* | --program-transf=* \
1156   | --program-trans=* | --program-tran=* \
1157   | --progr-tra=* | --program-tr=* | --program-t=*)
1158     program_transform_name=$ac_optarg ;;
1159
1160   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1161     ac_prev=pdfdir ;;
1162   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1163     pdfdir=$ac_optarg ;;
1164
1165   -psdir | --psdir | --psdi | --psd | --ps)
1166     ac_prev=psdir ;;
1167   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1168     psdir=$ac_optarg ;;
1169
1170   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1171   | -silent | --silent | --silen | --sile | --sil)
1172     silent=yes ;;
1173
1174   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1175     ac_prev=sbindir ;;
1176   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1177   | --sbi=* | --sb=*)
1178     sbindir=$ac_optarg ;;
1179
1180   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1181   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1182   | --sharedst | --shareds | --shared | --share | --shar \
1183   | --sha | --sh)
1184     ac_prev=sharedstatedir ;;
1185   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1186   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1187   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1188   | --sha=* | --sh=*)
1189     sharedstatedir=$ac_optarg ;;
1190
1191   -site | --site | --sit)
1192     ac_prev=site ;;
1193   -site=* | --site=* | --sit=*)
1194     site=$ac_optarg ;;
1195
1196   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1197     ac_prev=srcdir ;;
1198   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1199     srcdir=$ac_optarg ;;
1200
1201   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1202   | --syscon | --sysco | --sysc | --sys | --sy)
1203     ac_prev=sysconfdir ;;
1204   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1205   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1206     sysconfdir=$ac_optarg ;;
1207
1208   -target | --target | --targe | --targ | --tar | --ta | --t)
1209     ac_prev=target_alias ;;
1210   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1211     target_alias=$ac_optarg ;;
1212
1213   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1214     verbose=yes ;;
1215
1216   -version | --version | --versio | --versi | --vers | -V)
1217     ac_init_version=: ;;
1218
1219   -with-* | --with-*)
1220     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1221     # Reject names that are not valid shell variable names.
1222     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1223       as_fn_error "invalid package name: $ac_useropt"
1224     ac_useropt_orig=$ac_useropt
1225     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1226     case $ac_user_opts in
1227       *"
1228 "with_$ac_useropt"
1229 "*) ;;
1230       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1231          ac_unrecognized_sep=', ';;
1232     esac
1233     eval with_$ac_useropt=\$ac_optarg ;;
1234
1235   -without-* | --without-*)
1236     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1237     # Reject names that are not valid shell variable names.
1238     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1239       as_fn_error "invalid package name: $ac_useropt"
1240     ac_useropt_orig=$ac_useropt
1241     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1242     case $ac_user_opts in
1243       *"
1244 "with_$ac_useropt"
1245 "*) ;;
1246       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1247          ac_unrecognized_sep=', ';;
1248     esac
1249     eval with_$ac_useropt=no ;;
1250
1251   --x)
1252     # Obsolete; use --with-x.
1253     with_x=yes ;;
1254
1255   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1256   | --x-incl | --x-inc | --x-in | --x-i)
1257     ac_prev=x_includes ;;
1258   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1259   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1260     x_includes=$ac_optarg ;;
1261
1262   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1263   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1264     ac_prev=x_libraries ;;
1265   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1266   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1267     x_libraries=$ac_optarg ;;
1268
1269   -*) as_fn_error "unrecognized option: \`$ac_option'
1270 Try \`$0 --help' for more information."
1271     ;;
1272
1273   *=*)
1274     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1275     # Reject names that are not valid shell variable names.
1276     case $ac_envvar in #(
1277       '' | [0-9]* | *[!_$as_cr_alnum]* )
1278       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1279     esac
1280     eval $ac_envvar=\$ac_optarg
1281     export $ac_envvar ;;
1282
1283   *)
1284     # FIXME: should be removed in autoconf 3.0.
1285     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1286     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1287       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1288     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1289     ;;
1290
1291   esac
1292 done
1293
1294 if test -n "$ac_prev"; then
1295   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1296   as_fn_error "missing argument to $ac_option"
1297 fi
1298
1299 if test -n "$ac_unrecognized_opts"; then
1300   case $enable_option_checking in
1301     no) ;;
1302     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1303     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1304   esac
1305 fi
1306
1307 # Check all directory arguments for consistency.
1308 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1309                 datadir sysconfdir sharedstatedir localstatedir includedir \
1310                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1311                 libdir localedir mandir
1312 do
1313   eval ac_val=\$$ac_var
1314   # Remove trailing slashes.
1315   case $ac_val in
1316     */ )
1317       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1318       eval $ac_var=\$ac_val;;
1319   esac
1320   # Be sure to have absolute directory names.
1321   case $ac_val in
1322     [\\/$]* | ?:[\\/]* )  continue;;
1323     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1324   esac
1325   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1326 done
1327
1328 # There might be people who depend on the old broken behavior: `$host'
1329 # used to hold the argument of --host etc.
1330 # FIXME: To remove some day.
1331 build=$build_alias
1332 host=$host_alias
1333 target=$target_alias
1334
1335 # FIXME: To remove some day.
1336 if test "x$host_alias" != x; then
1337   if test "x$build_alias" = x; then
1338     cross_compiling=maybe
1339     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1340     If a cross compiler is detected then cross compile mode will be used." >&2
1341   elif test "x$build_alias" != "x$host_alias"; then
1342     cross_compiling=yes
1343   fi
1344 fi
1345
1346 ac_tool_prefix=
1347 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1348
1349 test "$silent" = yes && exec 6>/dev/null
1350
1351
1352 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1353 ac_ls_di=`ls -di .` &&
1354 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1355   as_fn_error "working directory cannot be determined"
1356 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1357   as_fn_error "pwd does not report name of working directory"
1358
1359
1360 # Find the source files, if location was not specified.
1361 if test -z "$srcdir"; then
1362   ac_srcdir_defaulted=yes
1363   # Try the directory containing this script, then the parent directory.
1364   ac_confdir=`$as_dirname -- "$as_myself" ||
1365 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1366          X"$as_myself" : 'X\(//\)[^/]' \| \
1367          X"$as_myself" : 'X\(//\)$' \| \
1368          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1369 $as_echo X"$as_myself" |
1370     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1371             s//\1/
1372             q
1373           }
1374           /^X\(\/\/\)[^/].*/{
1375             s//\1/
1376             q
1377           }
1378           /^X\(\/\/\)$/{
1379             s//\1/
1380             q
1381           }
1382           /^X\(\/\).*/{
1383             s//\1/
1384             q
1385           }
1386           s/.*/./; q'`
1387   srcdir=$ac_confdir
1388   if test ! -r "$srcdir/$ac_unique_file"; then
1389     srcdir=..
1390   fi
1391 else
1392   ac_srcdir_defaulted=no
1393 fi
1394 if test ! -r "$srcdir/$ac_unique_file"; then
1395   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1396   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1397 fi
1398 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1399 ac_abs_confdir=`(
1400         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1401         pwd)`
1402 # When building in place, set srcdir=.
1403 if test "$ac_abs_confdir" = "$ac_pwd"; then
1404   srcdir=.
1405 fi
1406 # Remove unnecessary trailing slashes from srcdir.
1407 # Double slashes in file names in object file debugging info
1408 # mess up M-x gdb in Emacs.
1409 case $srcdir in
1410 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1411 esac
1412 for ac_var in $ac_precious_vars; do
1413   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1414   eval ac_env_${ac_var}_value=\$${ac_var}
1415   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1416   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1417 done
1418
1419 #
1420 # Report the --help message.
1421 #
1422 if test "$ac_init_help" = "long"; then
1423   # Omit some internal or obsolete options to make the list less imposing.
1424   # This message is too long to be a string in the A/UX 3.1 sh.
1425   cat <<_ACEOF
1426 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1427
1428 Usage: $0 [OPTION]... [VAR=VALUE]...
1429
1430 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1431 VAR=VALUE.  See below for descriptions of some of the useful variables.
1432
1433 Defaults for the options are specified in brackets.
1434
1435 Configuration:
1436   -h, --help              display this help and exit
1437       --help=short        display options specific to this package
1438       --help=recursive    display the short help of all the included packages
1439   -V, --version           display version information and exit
1440   -q, --quiet, --silent   do not print \`checking...' messages
1441       --cache-file=FILE   cache test results in FILE [disabled]
1442   -C, --config-cache      alias for \`--cache-file=config.cache'
1443   -n, --no-create         do not create output files
1444       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1445
1446 Installation directories:
1447   --prefix=PREFIX         install architecture-independent files in PREFIX
1448                           [$ac_default_prefix]
1449   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1450                           [PREFIX]
1451
1452 By default, \`make install' will install all the files in
1453 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1454 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1455 for instance \`--prefix=\$HOME'.
1456
1457 For better control, use the options below.
1458
1459 Fine tuning of the installation directories:
1460   --bindir=DIR            user executables [EPREFIX/bin]
1461   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1462   --libexecdir=DIR        program executables [EPREFIX/libexec]
1463   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1464   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1465   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1466   --libdir=DIR            object code libraries [EPREFIX/lib]
1467   --includedir=DIR        C header files [PREFIX/include]
1468   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1469   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1470   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1471   --infodir=DIR           info documentation [DATAROOTDIR/info]
1472   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1473   --mandir=DIR            man documentation [DATAROOTDIR/man]
1474   --docdir=DIR            documentation root [DATAROOTDIR/doc/libstdc++]
1475   --htmldir=DIR           html documentation [DOCDIR]
1476   --dvidir=DIR            dvi documentation [DOCDIR]
1477   --pdfdir=DIR            pdf documentation [DOCDIR]
1478   --psdir=DIR             ps documentation [DOCDIR]
1479 _ACEOF
1480
1481   cat <<\_ACEOF
1482
1483 Program names:
1484   --program-prefix=PREFIX            prepend PREFIX to installed program names
1485   --program-suffix=SUFFIX            append SUFFIX to installed program names
1486   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1487
1488 System types:
1489   --build=BUILD     configure for building on BUILD [guessed]
1490   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1491   --target=TARGET   configure for building compilers for TARGET [HOST]
1492 _ACEOF
1493 fi
1494
1495 if test -n "$ac_init_help"; then
1496   case $ac_init_help in
1497      short | recursive ) echo "Configuration of package-unused version-unused:";;
1498    esac
1499   cat <<\_ACEOF
1500
1501 Optional Features:
1502   --disable-option-checking  ignore unrecognized --enable/--with options
1503   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1504   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1505   --enable-multilib       build many library versions (default)
1506   --enable-maintainer-mode  enable make rules and dependencies not useful
1507                           (and sometimes confusing) to the casual installer
1508   --enable-shared[=PKGS]  build shared libraries [default=yes]
1509   --enable-static[=PKGS]  build static libraries [default=yes]
1510   --enable-fast-install[=PKGS]
1511                           optimize for fast installation [default=yes]
1512   --disable-libtool-lock  avoid locking (might break parallel builds)
1513   --disable-hosted-libstdcxx
1514                           only build freestanding C++ runtime support
1515   --enable-sjlj-exceptions
1516                           force use of builtin_setjmp for exceptions
1517                           [default=auto]
1518   --enable-libstdcxx-pch  build pre-compiled libstdc++ headers
1519                           [default=$is_hosted]
1520   --enable-cstdio[=PACKAGE]
1521                           use target-specific I/O package [default=stdio]
1522   --enable-clocale[=MODEL]
1523                           use MODEL for target locale package [default=auto]
1524   --enable-nls            use Native Language Support (default)
1525   --enable-libstdcxx-allocator[=KIND]
1526                           use KIND for target std::allocator base
1527                           [default=auto]
1528   --enable-cheaders[=KIND]
1529                           construct "C" headers for g++ [default=$c_model]
1530   --enable-long-long      enable template specializations for 'long long'
1531                           [default=yes]
1532   --enable-wchar_t        enable template specializations for 'wchar_t'
1533                           [default=yes]
1534   --enable-c99            turns on ISO/IEC 9899:1999 support [default=yes]
1535   --enable-concept-checks use Boost-derived template checks [default=no]
1536   --enable-libstdcxx-debug-flags=FLAGS
1537                           pass compiler FLAGS when building debug library
1538                           [default="-g3 -O0"]
1539   --enable-libstdcxx-debug
1540                           build extra debug library [default=no]
1541   --enable-cxx-flags=FLAGS
1542                           pass compiler FLAGS when building library [default=]
1543   --enable-fully-dynamic-string
1544                           do not put empty strings in per-process static
1545                           memory [default=no]
1546   --enable-extern-template
1547                           enable extern template [default=yes]
1548   --enable-libstdcxx-time[=KIND]
1549                           use KIND for check type [default=no]
1550   --enable-tls            Use thread-local storage [default=yes]
1551   --disable-rpath         do not hardcode runtime library paths
1552   --enable-linux-futex    use the Linux futex system call [default=default]
1553   --enable-symvers[=STYLE]
1554                           enables symbol versioning of the shared library
1555                           [default=yes]
1556   --enable-visibility     enables visibility safe usage [default=yes]
1557   --enable-version-specific-runtime-libs
1558                           Specify that runtime libraries should be installed
1559                           in a compiler-specific directory
1560
1561 Optional Packages:
1562   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1563   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1564   --with-target-subdir=SUBDIR
1565                           configuring in a subdirectory
1566   --with-cross-host=HOST  configuring with a cross compiler
1567   --with-newlib           assume newlib as a system C library
1568   --with-pic              try to use only PIC/non-PIC objects [default=use
1569                           both]
1570   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1571   --with-gnu-ld           assume the C compiler uses GNU ld default=no
1572   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1573   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1574   --with-system-libunwind use installed libunwind
1575   --with-gxx-include-dir=DIR
1576                           installation directory for include files
1577
1578 Some influential environment variables:
1579   CC          C compiler command
1580   CFLAGS      C compiler flags
1581   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1582               nonstandard directory <lib dir>
1583   LIBS        libraries to pass to the linker, e.g. -l<library>
1584   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1585               you have headers in a nonstandard directory <include dir>
1586   CXX         C++ compiler command
1587   CXXFLAGS    C++ compiler flags
1588   CPP         C preprocessor
1589   CXXCPP      C++ preprocessor
1590   CXXFILT     Location of GNU c++filt. Defaults to the first GNU version of
1591               `c++filt', `gc++filt' on PATH.
1592
1593 Use these variables to override the choices made by `configure' or to help
1594 it to find libraries and programs with nonstandard names/locations.
1595
1596 Report bugs to the package provider.
1597 _ACEOF
1598 ac_status=$?
1599 fi
1600
1601 if test "$ac_init_help" = "recursive"; then
1602   # If there are subdirs, report their specific --help.
1603   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1604     test -d "$ac_dir" ||
1605       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1606       continue
1607     ac_builddir=.
1608
1609 case "$ac_dir" in
1610 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1611 *)
1612   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1613   # A ".." for each directory in $ac_dir_suffix.
1614   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1615   case $ac_top_builddir_sub in
1616   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1617   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1618   esac ;;
1619 esac
1620 ac_abs_top_builddir=$ac_pwd
1621 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1622 # for backward compatibility:
1623 ac_top_builddir=$ac_top_build_prefix
1624
1625 case $srcdir in
1626   .)  # We are building in place.
1627     ac_srcdir=.
1628     ac_top_srcdir=$ac_top_builddir_sub
1629     ac_abs_top_srcdir=$ac_pwd ;;
1630   [\\/]* | ?:[\\/]* )  # Absolute name.
1631     ac_srcdir=$srcdir$ac_dir_suffix;
1632     ac_top_srcdir=$srcdir
1633     ac_abs_top_srcdir=$srcdir ;;
1634   *) # Relative name.
1635     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1636     ac_top_srcdir=$ac_top_build_prefix$srcdir
1637     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1638 esac
1639 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1640
1641     cd "$ac_dir" || { ac_status=$?; continue; }
1642     # Check for guested configure.
1643     if test -f "$ac_srcdir/configure.gnu"; then
1644       echo &&
1645       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1646     elif test -f "$ac_srcdir/configure"; then
1647       echo &&
1648       $SHELL "$ac_srcdir/configure" --help=recursive
1649     else
1650       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1651     fi || ac_status=$?
1652     cd "$ac_pwd" || { ac_status=$?; break; }
1653   done
1654 fi
1655
1656 test -n "$ac_init_help" && exit $ac_status
1657 if $ac_init_version; then
1658   cat <<\_ACEOF
1659 package-unused configure version-unused
1660 generated by GNU Autoconf 2.64
1661
1662 Copyright (C) 2009 Free Software Foundation, Inc.
1663 This configure script is free software; the Free Software Foundation
1664 gives unlimited permission to copy, distribute and modify it.
1665 _ACEOF
1666   exit
1667 fi
1668
1669 ## ------------------------ ##
1670 ## Autoconf initialization. ##
1671 ## ------------------------ ##
1672
1673 # ac_fn_c_try_compile LINENO
1674 # --------------------------
1675 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1676 ac_fn_c_try_compile ()
1677 {
1678   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1679   rm -f conftest.$ac_objext
1680   if { { ac_try="$ac_compile"
1681 case "(($ac_try" in
1682   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1683   *) ac_try_echo=$ac_try;;
1684 esac
1685 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1686 $as_echo "$ac_try_echo"; } >&5
1687   (eval "$ac_compile") 2>conftest.err
1688   ac_status=$?
1689   if test -s conftest.err; then
1690     grep -v '^ *+' conftest.err >conftest.er1
1691     cat conftest.er1 >&5
1692     mv -f conftest.er1 conftest.err
1693   fi
1694   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1695   test $ac_status = 0; } && {
1696          test -z "$ac_c_werror_flag" ||
1697          test ! -s conftest.err
1698        } && test -s conftest.$ac_objext; then :
1699   ac_retval=0
1700 else
1701   $as_echo "$as_me: failed program was:" >&5
1702 sed 's/^/| /' conftest.$ac_ext >&5
1703
1704         ac_retval=1
1705 fi
1706   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1707   return $ac_retval
1708
1709 } # ac_fn_c_try_compile
1710
1711 # ac_fn_cxx_try_compile LINENO
1712 # ----------------------------
1713 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1714 ac_fn_cxx_try_compile ()
1715 {
1716   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1717   rm -f conftest.$ac_objext
1718   if { { ac_try="$ac_compile"
1719 case "(($ac_try" in
1720   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1721   *) ac_try_echo=$ac_try;;
1722 esac
1723 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1724 $as_echo "$ac_try_echo"; } >&5
1725   (eval "$ac_compile") 2>conftest.err
1726   ac_status=$?
1727   if test -s conftest.err; then
1728     grep -v '^ *+' conftest.err >conftest.er1
1729     cat conftest.er1 >&5
1730     mv -f conftest.er1 conftest.err
1731   fi
1732   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1733   test $ac_status = 0; } && {
1734          test -z "$ac_cxx_werror_flag" ||
1735          test ! -s conftest.err
1736        } && test -s conftest.$ac_objext; then :
1737   ac_retval=0
1738 else
1739   $as_echo "$as_me: failed program was:" >&5
1740 sed 's/^/| /' conftest.$ac_ext >&5
1741
1742         ac_retval=1
1743 fi
1744   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1745   return $ac_retval
1746
1747 } # ac_fn_cxx_try_compile
1748
1749 # ac_fn_c_try_cpp LINENO
1750 # ----------------------
1751 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1752 ac_fn_c_try_cpp ()
1753 {
1754   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1755   if { { ac_try="$ac_cpp conftest.$ac_ext"
1756 case "(($ac_try" in
1757   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1758   *) ac_try_echo=$ac_try;;
1759 esac
1760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1761 $as_echo "$ac_try_echo"; } >&5
1762   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1763   ac_status=$?
1764   if test -s conftest.err; then
1765     grep -v '^ *+' conftest.err >conftest.er1
1766     cat conftest.er1 >&5
1767     mv -f conftest.er1 conftest.err
1768   fi
1769   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1770   test $ac_status = 0; } >/dev/null && {
1771          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1772          test ! -s conftest.err
1773        }; then :
1774   ac_retval=0
1775 else
1776   $as_echo "$as_me: failed program was:" >&5
1777 sed 's/^/| /' conftest.$ac_ext >&5
1778
1779     ac_retval=1
1780 fi
1781   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1782   return $ac_retval
1783
1784 } # ac_fn_c_try_cpp
1785
1786 # ac_fn_c_try_link LINENO
1787 # -----------------------
1788 # Try to link conftest.$ac_ext, and return whether this succeeded.
1789 ac_fn_c_try_link ()
1790 {
1791   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1792   rm -f conftest.$ac_objext conftest$ac_exeext
1793   if { { ac_try="$ac_link"
1794 case "(($ac_try" in
1795   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1796   *) ac_try_echo=$ac_try;;
1797 esac
1798 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1799 $as_echo "$ac_try_echo"; } >&5
1800   (eval "$ac_link") 2>conftest.err
1801   ac_status=$?
1802   if test -s conftest.err; then
1803     grep -v '^ *+' conftest.err >conftest.er1
1804     cat conftest.er1 >&5
1805     mv -f conftest.er1 conftest.err
1806   fi
1807   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1808   test $ac_status = 0; } && {
1809          test -z "$ac_c_werror_flag" ||
1810          test ! -s conftest.err
1811        } && test -s conftest$ac_exeext && {
1812          test "$cross_compiling" = yes ||
1813          $as_test_x conftest$ac_exeext
1814        }; then :
1815   ac_retval=0
1816 else
1817   $as_echo "$as_me: failed program was:" >&5
1818 sed 's/^/| /' conftest.$ac_ext >&5
1819
1820         ac_retval=1
1821 fi
1822   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1823   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1824   # interfere with the next link command; also delete a directory that is
1825   # left behind by Apple's compiler.  We do this before executing the actions.
1826   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1827   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1828   return $ac_retval
1829
1830 } # ac_fn_c_try_link
1831
1832 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1833 # -------------------------------------------------------
1834 # Tests whether HEADER exists and can be compiled using the include files in
1835 # INCLUDES, setting the cache variable VAR accordingly.
1836 ac_fn_c_check_header_compile ()
1837 {
1838   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1839   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1840 $as_echo_n "checking for $2... " >&6; }
1841 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1842   $as_echo_n "(cached) " >&6
1843 else
1844   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1845 /* end confdefs.h.  */
1846 $4
1847 #include <$2>
1848 _ACEOF
1849 if ac_fn_c_try_compile "$LINENO"; then :
1850   eval "$3=yes"
1851 else
1852   eval "$3=no"
1853 fi
1854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1855 fi
1856 eval ac_res=\$$3
1857                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1858 $as_echo "$ac_res" >&6; }
1859   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1860
1861 } # ac_fn_c_check_header_compile
1862
1863 # ac_fn_c_try_run LINENO
1864 # ----------------------
1865 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1866 # that executables *can* be run.
1867 ac_fn_c_try_run ()
1868 {
1869   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1870   if { { ac_try="$ac_link"
1871 case "(($ac_try" in
1872   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1873   *) ac_try_echo=$ac_try;;
1874 esac
1875 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1876 $as_echo "$ac_try_echo"; } >&5
1877   (eval "$ac_link") 2>&5
1878   ac_status=$?
1879   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1880   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1881   { { case "(($ac_try" in
1882   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1883   *) ac_try_echo=$ac_try;;
1884 esac
1885 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1886 $as_echo "$ac_try_echo"; } >&5
1887   (eval "$ac_try") 2>&5
1888   ac_status=$?
1889   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1890   test $ac_status = 0; }; }; then :
1891   ac_retval=0
1892 else
1893   $as_echo "$as_me: program exited with status $ac_status" >&5
1894        $as_echo "$as_me: failed program was:" >&5
1895 sed 's/^/| /' conftest.$ac_ext >&5
1896
1897        ac_retval=$ac_status
1898 fi
1899   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1900   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1901   return $ac_retval
1902
1903 } # ac_fn_c_try_run
1904
1905 # ac_fn_c_check_func LINENO FUNC VAR
1906 # ----------------------------------
1907 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1908 ac_fn_c_check_func ()
1909 {
1910   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1911   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1912 $as_echo_n "checking for $2... " >&6; }
1913 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1914   $as_echo_n "(cached) " >&6
1915 else
1916   if test x$gcc_no_link = xyes; then
1917   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1918 fi
1919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1920 /* end confdefs.h.  */
1921 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1922    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1923 #define $2 innocuous_$2
1924
1925 /* System header to define __stub macros and hopefully few prototypes,
1926     which can conflict with char $2 (); below.
1927     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1928     <limits.h> exists even on freestanding compilers.  */
1929
1930 #ifdef __STDC__
1931 # include <limits.h>
1932 #else
1933 # include <assert.h>
1934 #endif
1935
1936 #undef $2
1937
1938 /* Override any GCC internal prototype to avoid an error.
1939    Use char because int might match the return type of a GCC
1940    builtin and then its argument prototype would still apply.  */
1941 #ifdef __cplusplus
1942 extern "C"
1943 #endif
1944 char $2 ();
1945 /* The GNU C library defines this for functions which it implements
1946     to always fail with ENOSYS.  Some functions are actually named
1947     something starting with __ and the normal name is an alias.  */
1948 #if defined __stub_$2 || defined __stub___$2
1949 choke me
1950 #endif
1951
1952 int
1953 main ()
1954 {
1955 return $2 ();
1956   ;
1957   return 0;
1958 }
1959 _ACEOF
1960 if ac_fn_c_try_link "$LINENO"; then :
1961   eval "$3=yes"
1962 else
1963   eval "$3=no"
1964 fi
1965 rm -f core conftest.err conftest.$ac_objext \
1966     conftest$ac_exeext conftest.$ac_ext
1967 fi
1968 eval ac_res=\$$3
1969                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1970 $as_echo "$ac_res" >&6; }
1971   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1972
1973 } # ac_fn_c_check_func
1974
1975 # ac_fn_cxx_try_cpp LINENO
1976 # ------------------------
1977 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1978 ac_fn_cxx_try_cpp ()
1979 {
1980   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1981   if { { ac_try="$ac_cpp conftest.$ac_ext"
1982 case "(($ac_try" in
1983   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1984   *) ac_try_echo=$ac_try;;
1985 esac
1986 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1987 $as_echo "$ac_try_echo"; } >&5
1988   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1989   ac_status=$?
1990   if test -s conftest.err; then
1991     grep -v '^ *+' conftest.err >conftest.er1
1992     cat conftest.er1 >&5
1993     mv -f conftest.er1 conftest.err
1994   fi
1995   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1996   test $ac_status = 0; } >/dev/null && {
1997          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1998          test ! -s conftest.err
1999        }; then :
2000   ac_retval=0
2001 else
2002   $as_echo "$as_me: failed program was:" >&5
2003 sed 's/^/| /' conftest.$ac_ext >&5
2004
2005     ac_retval=1
2006 fi
2007   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2008   return $ac_retval
2009
2010 } # ac_fn_cxx_try_cpp
2011
2012 # ac_fn_cxx_try_link LINENO
2013 # -------------------------
2014 # Try to link conftest.$ac_ext, and return whether this succeeded.
2015 ac_fn_cxx_try_link ()
2016 {
2017   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2018   rm -f conftest.$ac_objext conftest$ac_exeext
2019   if { { ac_try="$ac_link"
2020 case "(($ac_try" in
2021   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2022   *) ac_try_echo=$ac_try;;
2023 esac
2024 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2025 $as_echo "$ac_try_echo"; } >&5
2026   (eval "$ac_link") 2>conftest.err
2027   ac_status=$?
2028   if test -s conftest.err; then
2029     grep -v '^ *+' conftest.err >conftest.er1
2030     cat conftest.er1 >&5
2031     mv -f conftest.er1 conftest.err
2032   fi
2033   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2034   test $ac_status = 0; } && {
2035          test -z "$ac_cxx_werror_flag" ||
2036          test ! -s conftest.err
2037        } && test -s conftest$ac_exeext && {
2038          test "$cross_compiling" = yes ||
2039          $as_test_x conftest$ac_exeext
2040        }; then :
2041   ac_retval=0
2042 else
2043   $as_echo "$as_me: failed program was:" >&5
2044 sed 's/^/| /' conftest.$ac_ext >&5
2045
2046         ac_retval=1
2047 fi
2048   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2049   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2050   # interfere with the next link command; also delete a directory that is
2051   # left behind by Apple's compiler.  We do this before executing the actions.
2052   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2053   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2054   return $ac_retval
2055
2056 } # ac_fn_cxx_try_link
2057
2058 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2059 # -------------------------------------------------------
2060 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2061 # the include files in INCLUDES and setting the cache variable VAR
2062 # accordingly.
2063 ac_fn_c_check_header_mongrel ()
2064 {
2065   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2066   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2067   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2068 $as_echo_n "checking for $2... " >&6; }
2069 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2070   $as_echo_n "(cached) " >&6
2071 fi
2072 eval ac_res=\$$3
2073                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2074 $as_echo "$ac_res" >&6; }
2075 else
2076   # Is the header compilable?
2077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2078 $as_echo_n "checking $2 usability... " >&6; }
2079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2080 /* end confdefs.h.  */
2081 $4
2082 #include <$2>
2083 _ACEOF
2084 if ac_fn_c_try_compile "$LINENO"; then :
2085   ac_header_compiler=yes
2086 else
2087   ac_header_compiler=no
2088 fi
2089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2091 $as_echo "$ac_header_compiler" >&6; }
2092
2093 # Is the header present?
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2095 $as_echo_n "checking $2 presence... " >&6; }
2096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2097 /* end confdefs.h.  */
2098 #include <$2>
2099 _ACEOF
2100 if ac_fn_c_try_cpp "$LINENO"; then :
2101   ac_header_preproc=yes
2102 else
2103   ac_header_preproc=no
2104 fi
2105 rm -f conftest.err conftest.$ac_ext
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2107 $as_echo "$ac_header_preproc" >&6; }
2108
2109 # So?  What about this header?
2110 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2111   yes:no: )
2112     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2113 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2114     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2115 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2116     ;;
2117   no:yes:* )
2118     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2119 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2120     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2121 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2122     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2123 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2124     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2125 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2126     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2127 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2128     ;;
2129 esac
2130   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2131 $as_echo_n "checking for $2... " >&6; }
2132 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2133   $as_echo_n "(cached) " >&6
2134 else
2135   eval "$3=\$ac_header_compiler"
2136 fi
2137 eval ac_res=\$$3
2138                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2139 $as_echo "$ac_res" >&6; }
2140 fi
2141   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2142
2143 } # ac_fn_c_check_header_mongrel
2144
2145 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2146 # ---------------------------------------------------------
2147 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2148 # the include files in INCLUDES and setting the cache variable VAR
2149 # accordingly.
2150 ac_fn_cxx_check_header_mongrel ()
2151 {
2152   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2153   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2154   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2155 $as_echo_n "checking for $2... " >&6; }
2156 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2157   $as_echo_n "(cached) " >&6
2158 fi
2159 eval ac_res=\$$3
2160                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2161 $as_echo "$ac_res" >&6; }
2162 else
2163   # Is the header compilable?
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2165 $as_echo_n "checking $2 usability... " >&6; }
2166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2167 /* end confdefs.h.  */
2168 $4
2169 #include <$2>
2170 _ACEOF
2171 if ac_fn_cxx_try_compile "$LINENO"; then :
2172   ac_header_compiler=yes
2173 else
2174   ac_header_compiler=no
2175 fi
2176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2178 $as_echo "$ac_header_compiler" >&6; }
2179
2180 # Is the header present?
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2182 $as_echo_n "checking $2 presence... " >&6; }
2183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2184 /* end confdefs.h.  */
2185 #include <$2>
2186 _ACEOF
2187 if ac_fn_cxx_try_cpp "$LINENO"; then :
2188   ac_header_preproc=yes
2189 else
2190   ac_header_preproc=no
2191 fi
2192 rm -f conftest.err conftest.$ac_ext
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2194 $as_echo "$ac_header_preproc" >&6; }
2195
2196 # So?  What about this header?
2197 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2198   yes:no: )
2199     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2200 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2201     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2202 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2203     ;;
2204   no:yes:* )
2205     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2206 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2207     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2208 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2209     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2210 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2211     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2212 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2213     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2214 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2215     ;;
2216 esac
2217   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2218 $as_echo_n "checking for $2... " >&6; }
2219 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2220   $as_echo_n "(cached) " >&6
2221 else
2222   eval "$3=\$ac_header_compiler"
2223 fi
2224 eval ac_res=\$$3
2225                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2226 $as_echo "$ac_res" >&6; }
2227 fi
2228   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2229
2230 } # ac_fn_cxx_check_header_mongrel
2231
2232 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2233 # --------------------------------------------
2234 # Tries to find the compile-time value of EXPR in a program that includes
2235 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2236 # computed
2237 ac_fn_c_compute_int ()
2238 {
2239   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2240   if test "$cross_compiling" = yes; then
2241     # Depending upon the size, compute the lo and hi bounds.
2242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2243 /* end confdefs.h.  */
2244 $4
2245 int
2246 main ()
2247 {
2248 static int test_array [1 - 2 * !(($2) >= 0)];
2249 test_array [0] = 0
2250
2251   ;
2252   return 0;
2253 }
2254 _ACEOF
2255 if ac_fn_c_try_compile "$LINENO"; then :
2256   ac_lo=0 ac_mid=0
2257   while :; do
2258     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2259 /* end confdefs.h.  */
2260 $4
2261 int
2262 main ()
2263 {
2264 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2265 test_array [0] = 0
2266
2267   ;
2268   return 0;
2269 }
2270 _ACEOF
2271 if ac_fn_c_try_compile "$LINENO"; then :
2272   ac_hi=$ac_mid; break
2273 else
2274   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2275                         if test $ac_lo -le $ac_mid; then
2276                           ac_lo= ac_hi=
2277                           break
2278                         fi
2279                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2280 fi
2281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2282   done
2283 else
2284   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2285 /* end confdefs.h.  */
2286 $4
2287 int
2288 main ()
2289 {
2290 static int test_array [1 - 2 * !(($2) < 0)];
2291 test_array [0] = 0
2292
2293   ;
2294   return 0;
2295 }
2296 _ACEOF
2297 if ac_fn_c_try_compile "$LINENO"; then :
2298   ac_hi=-1 ac_mid=-1
2299   while :; do
2300     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2301 /* end confdefs.h.  */
2302 $4
2303 int
2304 main ()
2305 {
2306 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2307 test_array [0] = 0
2308
2309   ;
2310   return 0;
2311 }
2312 _ACEOF
2313 if ac_fn_c_try_compile "$LINENO"; then :
2314   ac_lo=$ac_mid; break
2315 else
2316   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2317                         if test $ac_mid -le $ac_hi; then
2318                           ac_lo= ac_hi=
2319                           break
2320                         fi
2321                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2322 fi
2323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2324   done
2325 else
2326   ac_lo= ac_hi=
2327 fi
2328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2329 fi
2330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2331 # Binary search between lo and hi bounds.
2332 while test "x$ac_lo" != "x$ac_hi"; do
2333   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2334   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2335 /* end confdefs.h.  */
2336 $4
2337 int
2338 main ()
2339 {
2340 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2341 test_array [0] = 0
2342
2343   ;
2344   return 0;
2345 }
2346 _ACEOF
2347 if ac_fn_c_try_compile "$LINENO"; then :
2348   ac_hi=$ac_mid
2349 else
2350   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2351 fi
2352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2353 done
2354 case $ac_lo in #((
2355 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2356 '') ac_retval=1 ;;
2357 esac
2358   else
2359     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2360 /* end confdefs.h.  */
2361 $4
2362 static long int longval () { return $2; }
2363 static unsigned long int ulongval () { return $2; }
2364 #include <stdio.h>
2365 #include <stdlib.h>
2366 int
2367 main ()
2368 {
2369
2370   FILE *f = fopen ("conftest.val", "w");
2371   if (! f)
2372     return 1;
2373   if (($2) < 0)
2374     {
2375       long int i = longval ();
2376       if (i != ($2))
2377         return 1;
2378       fprintf (f, "%ld", i);
2379     }
2380   else
2381     {
2382       unsigned long int i = ulongval ();
2383       if (i != ($2))
2384         return 1;
2385       fprintf (f, "%lu", i);
2386     }
2387   /* Do not output a trailing newline, as this causes \r\n confusion
2388      on some platforms.  */
2389   return ferror (f) || fclose (f) != 0;
2390
2391   ;
2392   return 0;
2393 }
2394 _ACEOF
2395 if ac_fn_c_try_run "$LINENO"; then :
2396   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2397 else
2398   ac_retval=1
2399 fi
2400 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2401   conftest.$ac_objext conftest.beam conftest.$ac_ext
2402 rm -f conftest.val
2403
2404   fi
2405   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2406   return $ac_retval
2407
2408 } # ac_fn_c_compute_int
2409
2410 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2411 # -------------------------------------------
2412 # Tests whether TYPE exists after having included INCLUDES, setting cache
2413 # variable VAR accordingly.
2414 ac_fn_c_check_type ()
2415 {
2416   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2417   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2418 $as_echo_n "checking for $2... " >&6; }
2419 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2420   $as_echo_n "(cached) " >&6
2421 else
2422   eval "$3=no"
2423   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2424 /* end confdefs.h.  */
2425 $4
2426 int
2427 main ()
2428 {
2429 if (sizeof ($2))
2430          return 0;
2431   ;
2432   return 0;
2433 }
2434 _ACEOF
2435 if ac_fn_c_try_compile "$LINENO"; then :
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
2450 else
2451   eval "$3=yes"
2452 fi
2453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2454 fi
2455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2456 fi
2457 eval ac_res=\$$3
2458                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2459 $as_echo "$ac_res" >&6; }
2460   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2461
2462 } # ac_fn_c_check_type
2463 cat >config.log <<_ACEOF
2464 This file contains any messages produced by compilers while
2465 running configure, to aid debugging if configure makes a mistake.
2466
2467 It was created by package-unused $as_me version-unused, which was
2468 generated by GNU Autoconf 2.64.  Invocation command line was
2469
2470   $ $0 $@
2471
2472 _ACEOF
2473 exec 5>>config.log
2474 {
2475 cat <<_ASUNAME
2476 ## --------- ##
2477 ## Platform. ##
2478 ## --------- ##
2479
2480 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2481 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2482 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2483 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2484 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2485
2486 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2487 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2488
2489 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2490 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2491 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2492 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2493 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2494 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2495 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2496
2497 _ASUNAME
2498
2499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2500 for as_dir in $PATH
2501 do
2502   IFS=$as_save_IFS
2503   test -z "$as_dir" && as_dir=.
2504     $as_echo "PATH: $as_dir"
2505   done
2506 IFS=$as_save_IFS
2507
2508 } >&5
2509
2510 cat >&5 <<_ACEOF
2511
2512
2513 ## ----------- ##
2514 ## Core tests. ##
2515 ## ----------- ##
2516
2517 _ACEOF
2518
2519
2520 # Keep a trace of the command line.
2521 # Strip out --no-create and --no-recursion so they do not pile up.
2522 # Strip out --silent because we don't want to record it for future runs.
2523 # Also quote any args containing shell meta-characters.
2524 # Make two passes to allow for proper duplicate-argument suppression.
2525 ac_configure_args=
2526 ac_configure_args0=
2527 ac_configure_args1=
2528 ac_must_keep_next=false
2529 for ac_pass in 1 2
2530 do
2531   for ac_arg
2532   do
2533     case $ac_arg in
2534     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2535     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2536     | -silent | --silent | --silen | --sile | --sil)
2537       continue ;;
2538     *\'*)
2539       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2540     esac
2541     case $ac_pass in
2542     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2543     2)
2544       as_fn_append ac_configure_args1 " '$ac_arg'"
2545       if test $ac_must_keep_next = true; then
2546         ac_must_keep_next=false # Got value, back to normal.
2547       else
2548         case $ac_arg in
2549           *=* | --config-cache | -C | -disable-* | --disable-* \
2550           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2551           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2552           | -with-* | --with-* | -without-* | --without-* | --x)
2553             case "$ac_configure_args0 " in
2554               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2555             esac
2556             ;;
2557           -* ) ac_must_keep_next=true ;;
2558         esac
2559       fi
2560       as_fn_append ac_configure_args " '$ac_arg'"
2561       ;;
2562     esac
2563   done
2564 done
2565 { ac_configure_args0=; unset ac_configure_args0;}
2566 { ac_configure_args1=; unset ac_configure_args1;}
2567
2568 # When interrupted or exit'd, cleanup temporary files, and complete
2569 # config.log.  We remove comments because anyway the quotes in there
2570 # would cause problems or look ugly.
2571 # WARNING: Use '\'' to represent an apostrophe within the trap.
2572 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2573 trap 'exit_status=$?
2574   # Save into config.log some information that might help in debugging.
2575   {
2576     echo
2577
2578     cat <<\_ASBOX
2579 ## ---------------- ##
2580 ## Cache variables. ##
2581 ## ---------------- ##
2582 _ASBOX
2583     echo
2584     # The following way of writing the cache mishandles newlines in values,
2585 (
2586   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2587     eval ac_val=\$$ac_var
2588     case $ac_val in #(
2589     *${as_nl}*)
2590       case $ac_var in #(
2591       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2592 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2593       esac
2594       case $ac_var in #(
2595       _ | IFS | as_nl) ;; #(
2596       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2597       *) { eval $ac_var=; unset $ac_var;} ;;
2598       esac ;;
2599     esac
2600   done
2601   (set) 2>&1 |
2602     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2603     *${as_nl}ac_space=\ *)
2604       sed -n \
2605         "s/'\''/'\''\\\\'\'''\''/g;
2606           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2607       ;; #(
2608     *)
2609       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2610       ;;
2611     esac |
2612     sort
2613 )
2614     echo
2615
2616     cat <<\_ASBOX
2617 ## ----------------- ##
2618 ## Output variables. ##
2619 ## ----------------- ##
2620 _ASBOX
2621     echo
2622     for ac_var in $ac_subst_vars
2623     do
2624       eval ac_val=\$$ac_var
2625       case $ac_val in
2626       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2627       esac
2628       $as_echo "$ac_var='\''$ac_val'\''"
2629     done | sort
2630     echo
2631
2632     if test -n "$ac_subst_files"; then
2633       cat <<\_ASBOX
2634 ## ------------------- ##
2635 ## File substitutions. ##
2636 ## ------------------- ##
2637 _ASBOX
2638       echo
2639       for ac_var in $ac_subst_files
2640       do
2641         eval ac_val=\$$ac_var
2642         case $ac_val in
2643         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2644         esac
2645         $as_echo "$ac_var='\''$ac_val'\''"
2646       done | sort
2647       echo
2648     fi
2649
2650     if test -s confdefs.h; then
2651       cat <<\_ASBOX
2652 ## ----------- ##
2653 ## confdefs.h. ##
2654 ## ----------- ##
2655 _ASBOX
2656       echo
2657       cat confdefs.h
2658       echo
2659     fi
2660     test "$ac_signal" != 0 &&
2661       $as_echo "$as_me: caught signal $ac_signal"
2662     $as_echo "$as_me: exit $exit_status"
2663   } >&5
2664   rm -f core *.core core.conftest.* &&
2665     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2666     exit $exit_status
2667 ' 0
2668 for ac_signal in 1 2 13 15; do
2669   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2670 done
2671 ac_signal=0
2672
2673 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2674 rm -f -r conftest* confdefs.h
2675
2676 $as_echo "/* confdefs.h */" > confdefs.h
2677
2678 # Predefined preprocessor variables.
2679
2680 cat >>confdefs.h <<_ACEOF
2681 #define PACKAGE_NAME "$PACKAGE_NAME"
2682 _ACEOF
2683
2684 cat >>confdefs.h <<_ACEOF
2685 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2686 _ACEOF
2687
2688 cat >>confdefs.h <<_ACEOF
2689 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2690 _ACEOF
2691
2692 cat >>confdefs.h <<_ACEOF
2693 #define PACKAGE_STRING "$PACKAGE_STRING"
2694 _ACEOF
2695
2696 cat >>confdefs.h <<_ACEOF
2697 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2698 _ACEOF
2699
2700 cat >>confdefs.h <<_ACEOF
2701 #define PACKAGE_URL "$PACKAGE_URL"
2702 _ACEOF
2703
2704
2705 # Let the site file select an alternate cache file if it wants to.
2706 # Prefer an explicitly selected file to automatically selected ones.
2707 ac_site_file1=NONE
2708 ac_site_file2=NONE
2709 if test -n "$CONFIG_SITE"; then
2710   ac_site_file1=$CONFIG_SITE
2711 elif test "x$prefix" != xNONE; then
2712   ac_site_file1=$prefix/share/config.site
2713   ac_site_file2=$prefix/etc/config.site
2714 else
2715   ac_site_file1=$ac_default_prefix/share/config.site
2716   ac_site_file2=$ac_default_prefix/etc/config.site
2717 fi
2718 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2719 do
2720   test "x$ac_site_file" = xNONE && continue
2721   if test -r "$ac_site_file"; then
2722     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2723 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2724     sed 's/^/| /' "$ac_site_file" >&5
2725     . "$ac_site_file"
2726   fi
2727 done
2728
2729 if test -r "$cache_file"; then
2730   # Some versions of bash will fail to source /dev/null (special
2731   # files actually), so we avoid doing that.
2732   if test -f "$cache_file"; then
2733     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2734 $as_echo "$as_me: loading cache $cache_file" >&6;}
2735     case $cache_file in
2736       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2737       *)                      . "./$cache_file";;
2738     esac
2739   fi
2740 else
2741   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2742 $as_echo "$as_me: creating cache $cache_file" >&6;}
2743   >$cache_file
2744 fi
2745
2746 # Check that the precious variables saved in the cache have kept the same
2747 # value.
2748 ac_cache_corrupted=false
2749 for ac_var in $ac_precious_vars; do
2750   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2751   eval ac_new_set=\$ac_env_${ac_var}_set
2752   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2753   eval ac_new_val=\$ac_env_${ac_var}_value
2754   case $ac_old_set,$ac_new_set in
2755     set,)
2756       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2757 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2758       ac_cache_corrupted=: ;;
2759     ,set)
2760       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2761 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2762       ac_cache_corrupted=: ;;
2763     ,);;
2764     *)
2765       if test "x$ac_old_val" != "x$ac_new_val"; then
2766         # differences in whitespace do not lead to failure.
2767         ac_old_val_w=`echo x $ac_old_val`
2768         ac_new_val_w=`echo x $ac_new_val`
2769         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2770           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2771 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2772           ac_cache_corrupted=:
2773         else
2774           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2775 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2776           eval $ac_var=\$ac_old_val
2777         fi
2778         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2779 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2780         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2781 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2782       fi;;
2783   esac
2784   # Pass precious variables to config.status.
2785   if test "$ac_new_set" = set; then
2786     case $ac_new_val in
2787     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2788     *) ac_arg=$ac_var=$ac_new_val ;;
2789     esac
2790     case " $ac_configure_args " in
2791       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2792       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2793     esac
2794   fi
2795 done
2796 if $ac_cache_corrupted; then
2797   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2798 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2799   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2800 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2801   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2802 fi
2803 ## -------------------- ##
2804 ## Main body of script. ##
2805 ## -------------------- ##
2806
2807 ac_ext=c
2808 ac_cpp='$CPP $CPPFLAGS'
2809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2812
2813
2814
2815
2816
2817
2818 ac_config_headers="$ac_config_headers config.h"
2819
2820
2821 # This works around the fact that libtool configuration may change LD
2822 # for this particular configuration, but some shells, instead of
2823 # keeping the changes in LD private, export them just because LD is
2824 # exported.  Only used at the end of this file.
2825 ### am handles this now?  ORIGINAL_LD_FOR_MULTILIBS=$LD
2826
2827 # For libtool versioning info, format is CURRENT:REVISION:AGE
2828 libtool_VERSION=6:17:0
2829
2830
2831 # Find the rest of the source tree framework.
2832 # Default to --enable-multilib
2833 # Check whether --enable-multilib was given.
2834 if test "${enable_multilib+set}" = set; then :
2835   enableval=$enable_multilib; case "$enableval" in
2836   yes) multilib=yes ;;
2837   no)  multilib=no ;;
2838   *)   as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2839  esac
2840 else
2841   multilib=yes
2842 fi
2843
2844
2845 # We may get other options which we leave undocumented:
2846 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2847 # See config-ml.in if you want the gory details.
2848
2849 if test "$srcdir" = "."; then
2850   if test "$with_target_subdir" != "."; then
2851     multi_basedir="$srcdir/$with_multisrctop../.."
2852   else
2853     multi_basedir="$srcdir/$with_multisrctop.."
2854   fi
2855 else
2856   multi_basedir="$srcdir/.."
2857 fi
2858
2859
2860 # Even if the default multilib is not a cross compilation,
2861 # it may be that some of the other multilibs are.
2862 if test $cross_compiling = no && test $multilib = yes \
2863    && test "x${with_multisubdir}" != x ; then
2864    cross_compiling=maybe
2865 fi
2866
2867 ac_config_commands="$ac_config_commands default-1"
2868
2869
2870 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2871 #
2872 # You will slowly go insane if you do not grok the following fact:  when
2873 # building v3 as part of the compiler, the top-level /target/ becomes the
2874 # library's /host/.  configure then causes --target to default to --host,
2875 # exactly like any other package using autoconf.  Therefore, 'target' and
2876 # 'host' will always be the same.  This makes sense both for native and
2877 # cross compilers, just think about it for a little while.  :-)
2878 #
2879 # Also, if v3 is being configured as part of a cross compiler, the top-level
2880 # configure script will pass the "real" host as $with_cross_host.
2881 #
2882 # Do not delete or change the following two lines.  For why, see
2883 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2884 ac_aux_dir=
2885 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2886   for ac_t in install-sh install.sh shtool; do
2887     if test -f "$ac_dir/$ac_t"; then
2888       ac_aux_dir=$ac_dir
2889       ac_install_sh="$ac_aux_dir/$ac_t -c"
2890       break 2
2891     fi
2892   done
2893 done
2894 if test -z "$ac_aux_dir"; then
2895   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2896 fi
2897
2898 # These three variables are undocumented and unsupported,
2899 # and are intended to be withdrawn in a future Autoconf release.
2900 # They can cause serious problems if a builder's source tree is in a directory
2901 # whose full name contains unusual characters.
2902 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2903 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2904 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2905
2906
2907 # Make sure we can run config.sub.
2908 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2909   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2910
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2912 $as_echo_n "checking build system type... " >&6; }
2913 if test "${ac_cv_build+set}" = set; then :
2914   $as_echo_n "(cached) " >&6
2915 else
2916   ac_build_alias=$build_alias
2917 test "x$ac_build_alias" = x &&
2918   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2919 test "x$ac_build_alias" = x &&
2920   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2921 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2922   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2923
2924 fi
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2926 $as_echo "$ac_cv_build" >&6; }
2927 case $ac_cv_build in
2928 *-*-*) ;;
2929 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2930 esac
2931 build=$ac_cv_build
2932 ac_save_IFS=$IFS; IFS='-'
2933 set x $ac_cv_build
2934 shift
2935 build_cpu=$1
2936 build_vendor=$2
2937 shift; shift
2938 # Remember, the first character of IFS is used to create $*,
2939 # except with old shells:
2940 build_os=$*
2941 IFS=$ac_save_IFS
2942 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2943
2944
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2946 $as_echo_n "checking host system type... " >&6; }
2947 if test "${ac_cv_host+set}" = set; then :
2948   $as_echo_n "(cached) " >&6
2949 else
2950   if test "x$host_alias" = x; then
2951   ac_cv_host=$ac_cv_build
2952 else
2953   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2954     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2955 fi
2956
2957 fi
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2959 $as_echo "$ac_cv_host" >&6; }
2960 case $ac_cv_host in
2961 *-*-*) ;;
2962 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2963 esac
2964 host=$ac_cv_host
2965 ac_save_IFS=$IFS; IFS='-'
2966 set x $ac_cv_host
2967 shift
2968 host_cpu=$1
2969 host_vendor=$2
2970 shift; shift
2971 # Remember, the first character of IFS is used to create $*,
2972 # except with old shells:
2973 host_os=$*
2974 IFS=$ac_save_IFS
2975 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2976
2977
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2979 $as_echo_n "checking target system type... " >&6; }
2980 if test "${ac_cv_target+set}" = set; then :
2981   $as_echo_n "(cached) " >&6
2982 else
2983   if test "x$target_alias" = x; then
2984   ac_cv_target=$ac_cv_host
2985 else
2986   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2987     as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2988 fi
2989
2990 fi
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2992 $as_echo "$ac_cv_target" >&6; }
2993 case $ac_cv_target in
2994 *-*-*) ;;
2995 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2996 esac
2997 target=$ac_cv_target
2998 ac_save_IFS=$IFS; IFS='-'
2999 set x $ac_cv_target
3000 shift
3001 target_cpu=$1
3002 target_vendor=$2
3003 shift; shift
3004 # Remember, the first character of IFS is used to create $*,
3005 # except with old shells:
3006 target_os=$*
3007 IFS=$ac_save_IFS
3008 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3009
3010
3011 # The aliases save the names the user supplied, while $host etc.
3012 # will get canonicalized.
3013 test -n "$target_alias" &&
3014   test "$program_prefix$program_suffix$program_transform_name" = \
3015     NONENONEs,x,x, &&
3016   program_prefix=${target_alias}-
3017
3018 target_alias=${target_alias-$host_alias}
3019
3020 # Handy for debugging:
3021 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3022
3023 if test "$build" != "$host"; then
3024   # We are being configured with some form of cross compiler.
3025   GLIBCXX_IS_NATIVE=false
3026   case "$host","$target" in
3027     # Darwin crosses can use the host system's libraries and headers,
3028     # because of the fat library support.  Of course, it must be the
3029     # same version of Darwin on both sides.  Allow the user to
3030     # just say --target=foo-darwin without a version number to mean
3031     # "the version on this system".
3032       *-*-darwin*,*-*-darwin*)
3033         hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3034         targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3035         if test $hostos = $targetos -o $targetos = darwin ; then
3036           GLIBCXX_IS_NATIVE=true
3037         fi
3038         ;;
3039
3040       *)
3041
3042         ;;
3043   esac
3044 else
3045   GLIBCXX_IS_NATIVE=true
3046 fi
3047
3048 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
3049 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3050 #  1.x:  minimum required version
3051 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
3052 #              of other PACKAGE_* variables will, however, and there's nothing
3053 #              we can do about that; they come from AC_INIT).
3054 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
3055 #            file in the top srcdir, etc, etc), so stop complaining.
3056 #  no-dependencies:  turns off auto dependency generation (just for now)
3057 #  no-dist:  we don't want 'dist' and related rules.
3058 #  -Wall:  turns on all automake warnings...
3059 #  -Wno-portability:  ...except this one, since GNU make is now required.
3060 am__api_version='1.11'
3061
3062 # Find a good install program.  We prefer a C program (faster),
3063 # so one script is as good as another.  But avoid the broken or
3064 # incompatible versions:
3065 # SysV /etc/install, /usr/sbin/install
3066 # SunOS /usr/etc/install
3067 # IRIX /sbin/install
3068 # AIX /bin/install
3069 # AmigaOS /C/install, which installs bootblocks on floppy discs
3070 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3071 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3072 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3073 # OS/2's system install, which has a completely different semantic
3074 # ./install, which can be erroneously created by make from ./install.sh.
3075 # Reject install programs that cannot install multiple files.
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3077 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3078 if test -z "$INSTALL"; then
3079 if test "${ac_cv_path_install+set}" = set; then :
3080   $as_echo_n "(cached) " >&6
3081 else
3082   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3083 for as_dir in $PATH
3084 do
3085   IFS=$as_save_IFS
3086   test -z "$as_dir" && as_dir=.
3087     # Account for people who put trailing slashes in PATH elements.
3088 case $as_dir/ in #((
3089   ./ | .// | /[cC]/* | \
3090   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3091   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3092   /usr/ucb/* ) ;;
3093   *)
3094     # OSF1 and SCO ODT 3.0 have their own names for install.
3095     # Don't use installbsd from OSF since it installs stuff as root
3096     # by default.
3097     for ac_prog in ginstall scoinst install; do
3098       for ac_exec_ext in '' $ac_executable_extensions; do
3099         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3100           if test $ac_prog = install &&
3101             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3102             # AIX install.  It has an incompatible calling convention.
3103             :
3104           elif test $ac_prog = install &&
3105             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3106             # program-specific install script used by HP pwplus--don't use.
3107             :
3108           else
3109             rm -rf conftest.one conftest.two conftest.dir
3110             echo one > conftest.one
3111             echo two > conftest.two
3112             mkdir conftest.dir
3113             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3114               test -s conftest.one && test -s conftest.two &&
3115               test -s conftest.dir/conftest.one &&
3116               test -s conftest.dir/conftest.two
3117             then
3118               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3119               break 3
3120             fi
3121           fi
3122         fi
3123       done
3124     done
3125     ;;
3126 esac
3127
3128   done
3129 IFS=$as_save_IFS
3130
3131 rm -rf conftest.one conftest.two conftest.dir
3132
3133 fi
3134   if test "${ac_cv_path_install+set}" = set; then
3135     INSTALL=$ac_cv_path_install
3136   else
3137     # As a last resort, use the slow shell script.  Don't cache a
3138     # value for INSTALL within a source directory, because that will
3139     # break other packages using the cache if that directory is
3140     # removed, or if the value is a relative name.
3141     INSTALL=$ac_install_sh
3142   fi
3143 fi
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3145 $as_echo "$INSTALL" >&6; }
3146
3147 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3148 # It thinks the first close brace ends the variable substitution.
3149 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3150
3151 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3152
3153 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3154
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3156 $as_echo_n "checking whether build environment is sane... " >&6; }
3157 # Just in case
3158 sleep 1
3159 echo timestamp > conftest.file
3160 # Reject unsafe characters in $srcdir or the absolute working directory
3161 # name.  Accept space and tab only in the latter.
3162 am_lf='
3163 '
3164 case `pwd` in
3165   *[\\\"\#\$\&\'\`$am_lf]*)
3166     as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3167 esac
3168 case $srcdir in
3169   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3170     as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3171 esac
3172
3173 # Do `set' in a subshell so we don't clobber the current shell's
3174 # arguments.  Must try -L first in case configure is actually a
3175 # symlink; some systems play weird games with the mod time of symlinks
3176 # (eg FreeBSD returns the mod time of the symlink's containing
3177 # directory).
3178 if (
3179    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3180    if test "$*" = "X"; then
3181       # -L didn't work.
3182       set X `ls -t "$srcdir/configure" conftest.file`
3183    fi
3184    rm -f conftest.file
3185    if test "$*" != "X $srcdir/configure conftest.file" \
3186       && test "$*" != "X conftest.file $srcdir/configure"; then
3187
3188       # If neither matched, then we have a broken ls.  This can happen
3189       # if, for instance, CONFIG_SHELL is bash and it inherits a
3190       # broken ls alias from the environment.  This has actually
3191       # happened.  Such a system could not be considered "sane".
3192       as_fn_error "ls -t appears to fail.  Make sure there is not a broken
3193 alias in your environment" "$LINENO" 5
3194    fi
3195
3196    test "$2" = conftest.file
3197    )
3198 then
3199    # Ok.
3200    :
3201 else
3202    as_fn_error "newly created file is older than distributed files!
3203 Check your system clock" "$LINENO" 5
3204 fi
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3206 $as_echo "yes" >&6; }
3207 test "$program_prefix" != NONE &&
3208   program_transform_name="s&^&$program_prefix&;$program_transform_name"
3209 # Use a double $ so make ignores it.
3210 test "$program_suffix" != NONE &&
3211   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3212 # Double any \ or $.
3213 # By default was `s,x,x', remove it if useless.
3214 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3215 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3216
3217 # expand $ac_aux_dir to an absolute path
3218 am_aux_dir=`cd $ac_aux_dir && pwd`
3219
3220 if test x"${MISSING+set}" != xset; then
3221   case $am_aux_dir in
3222   *\ * | *\     *)
3223     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3224   *)
3225     MISSING="\${SHELL} $am_aux_dir/missing" ;;
3226   esac
3227 fi
3228 # Use eval to expand $SHELL
3229 if eval "$MISSING --run true"; then
3230   am_missing_run="$MISSING --run "
3231 else
3232   am_missing_run=
3233   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3234 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3235 fi
3236
3237 if test x"${install_sh}" != xset; then
3238   case $am_aux_dir in
3239   *\ * | *\     *)
3240     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3241   *)
3242     install_sh="\${SHELL} $am_aux_dir/install-sh"
3243   esac
3244 fi
3245
3246 # Installed binaries are usually stripped using `strip' when the user
3247 # run `make install-strip'.  However `strip' might not be the right
3248 # tool to use in cross-compilation environments, therefore Automake
3249 # will honor the `STRIP' environment variable to overrule this program.
3250 if test "$cross_compiling" != no; then
3251   if test -n "$ac_tool_prefix"; then
3252   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3253 set dummy ${ac_tool_prefix}strip; ac_word=$2
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3255 $as_echo_n "checking for $ac_word... " >&6; }
3256 if test "${ac_cv_prog_STRIP+set}" = set; then :
3257   $as_echo_n "(cached) " >&6
3258 else
3259   if test -n "$STRIP"; then
3260   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3261 else
3262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3263 for as_dir in $PATH
3264 do
3265   IFS=$as_save_IFS
3266   test -z "$as_dir" && as_dir=.
3267     for ac_exec_ext in '' $ac_executable_extensions; do
3268   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3269     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3270     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3271     break 2
3272   fi
3273 done
3274   done
3275 IFS=$as_save_IFS
3276
3277 fi
3278 fi
3279 STRIP=$ac_cv_prog_STRIP
3280 if test -n "$STRIP"; then
3281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3282 $as_echo "$STRIP" >&6; }
3283 else
3284   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3285 $as_echo "no" >&6; }
3286 fi
3287
3288
3289 fi
3290 if test -z "$ac_cv_prog_STRIP"; then
3291   ac_ct_STRIP=$STRIP
3292   # Extract the first word of "strip", so it can be a program name with args.
3293 set dummy strip; ac_word=$2
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3295 $as_echo_n "checking for $ac_word... " >&6; }
3296 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3297   $as_echo_n "(cached) " >&6
3298 else
3299   if test -n "$ac_ct_STRIP"; then
3300   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3301 else
3302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3303 for as_dir in $PATH
3304 do
3305   IFS=$as_save_IFS
3306   test -z "$as_dir" && as_dir=.
3307     for ac_exec_ext in '' $ac_executable_extensions; do
3308   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3309     ac_cv_prog_ac_ct_STRIP="strip"
3310     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3311     break 2
3312   fi
3313 done
3314   done
3315 IFS=$as_save_IFS
3316
3317 fi
3318 fi
3319 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3320 if test -n "$ac_ct_STRIP"; then
3321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3322 $as_echo "$ac_ct_STRIP" >&6; }
3323 else
3324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3325 $as_echo "no" >&6; }
3326 fi
3327
3328   if test "x$ac_ct_STRIP" = x; then
3329     STRIP=":"
3330   else
3331     case $cross_compiling:$ac_tool_warned in
3332 yes:)
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3334 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3335 ac_tool_warned=yes ;;
3336 esac
3337     STRIP=$ac_ct_STRIP
3338   fi
3339 else
3340   STRIP="$ac_cv_prog_STRIP"
3341 fi
3342
3343 fi
3344 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3345
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3347 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3348 if test -z "$MKDIR_P"; then
3349   if test "${ac_cv_path_mkdir+set}" = set; then :
3350   $as_echo_n "(cached) " >&6
3351 else
3352   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3353 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3354 do
3355   IFS=$as_save_IFS
3356   test -z "$as_dir" && as_dir=.
3357     for ac_prog in mkdir gmkdir; do
3358          for ac_exec_ext in '' $ac_executable_extensions; do
3359            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3360            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3361              'mkdir (GNU coreutils) '* | \
3362              'mkdir (coreutils) '* | \
3363              'mkdir (fileutils) '4.1*)
3364                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3365                break 3;;
3366            esac
3367          done
3368        done
3369   done
3370 IFS=$as_save_IFS
3371
3372 fi
3373
3374   if test "${ac_cv_path_mkdir+set}" = set; then
3375     MKDIR_P="$ac_cv_path_mkdir -p"
3376   else
3377     # As a last resort, use the slow shell script.  Don't cache a
3378     # value for MKDIR_P within a source directory, because that will
3379     # break other packages using the cache if that directory is
3380     # removed, or if the value is a relative name.
3381     test -d ./--version && rmdir ./--version
3382     MKDIR_P="$ac_install_sh -d"
3383   fi
3384 fi
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3386 $as_echo "$MKDIR_P" >&6; }
3387
3388 mkdir_p="$MKDIR_P"
3389 case $mkdir_p in
3390   [\\/$]* | ?:[\\/]*) ;;
3391   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3392 esac
3393
3394 for ac_prog in gawk mawk nawk awk
3395 do
3396   # Extract the first word of "$ac_prog", so it can be a program name with args.
3397 set dummy $ac_prog; ac_word=$2
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3399 $as_echo_n "checking for $ac_word... " >&6; }
3400 if test "${ac_cv_prog_AWK+set}" = set; then :
3401   $as_echo_n "(cached) " >&6
3402 else
3403   if test -n "$AWK"; then
3404   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3405 else
3406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3407 for as_dir in $PATH
3408 do
3409   IFS=$as_save_IFS
3410   test -z "$as_dir" && as_dir=.
3411     for ac_exec_ext in '' $ac_executable_extensions; do
3412   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3413     ac_cv_prog_AWK="$ac_prog"
3414     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3415     break 2
3416   fi
3417 done
3418   done
3419 IFS=$as_save_IFS
3420
3421 fi
3422 fi
3423 AWK=$ac_cv_prog_AWK
3424 if test -n "$AWK"; then
3425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3426 $as_echo "$AWK" >&6; }
3427 else
3428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3429 $as_echo "no" >&6; }
3430 fi
3431
3432
3433   test -n "$AWK" && break
3434 done
3435
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3437 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3438 set x ${MAKE-make}
3439 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3440 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3441   $as_echo_n "(cached) " >&6
3442 else
3443   cat >conftest.make <<\_ACEOF
3444 SHELL = /bin/sh
3445 all:
3446         @echo '@@@%%%=$(MAKE)=@@@%%%'
3447 _ACEOF
3448 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3449 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3450   *@@@%%%=?*=@@@%%%*)
3451     eval ac_cv_prog_make_${ac_make}_set=yes;;
3452   *)
3453     eval ac_cv_prog_make_${ac_make}_set=no;;
3454 esac
3455 rm -f conftest.make
3456 fi
3457 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3458   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3459 $as_echo "yes" >&6; }
3460   SET_MAKE=
3461 else
3462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3463 $as_echo "no" >&6; }
3464   SET_MAKE="MAKE=${MAKE-make}"
3465 fi
3466
3467 rm -rf .tst 2>/dev/null
3468 mkdir .tst 2>/dev/null
3469 if test -d .tst; then
3470   am__leading_dot=.
3471 else
3472   am__leading_dot=_
3473 fi
3474 rmdir .tst 2>/dev/null
3475
3476 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3477   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3478   # is not polluted with repeated "-I."
3479   am__isrc=' -I$(srcdir)'
3480   # test to see if srcdir already configured
3481   if test -f $srcdir/config.status; then
3482     as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3483   fi
3484 fi
3485
3486 # test whether we have cygpath
3487 if test -z "$CYGPATH_W"; then
3488   if (cygpath --version) >/dev/null 2>/dev/null; then
3489     CYGPATH_W='cygpath -w'
3490   else
3491     CYGPATH_W=echo
3492   fi
3493 fi
3494
3495
3496 # Define the identity of the package.
3497  PACKAGE='libstdc++'
3498  VERSION='version-unused'
3499
3500
3501 # Some tools Automake needs.
3502
3503 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3504
3505
3506 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3507
3508
3509 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3510
3511
3512 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3513
3514
3515 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3516
3517 # We need awk for the "check" target.  The system "awk" is bad on
3518 # some platforms.
3519 # Always define AMTAR for backward compatibility.
3520
3521 AMTAR=${AMTAR-"${am_missing_run}tar"}
3522
3523 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3524
3525
3526
3527
3528
3529
3530
3531
3532 # -fno-builtin must be present here so that a non-conflicting form of
3533 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3534
3535 save_CXXFLAGS="$CXXFLAGS"
3536 CXXFLAGS="$CXXFLAGS -fno-builtin"
3537 ac_ext=c
3538 ac_cpp='$CPP $CPPFLAGS'
3539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3542 if test -n "$ac_tool_prefix"; then
3543   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3544 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3546 $as_echo_n "checking for $ac_word... " >&6; }
3547 if test "${ac_cv_prog_CC+set}" = set; then :
3548   $as_echo_n "(cached) " >&6
3549 else
3550   if test -n "$CC"; then
3551   ac_cv_prog_CC="$CC" # Let the user override the test.
3552 else
3553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3554 for as_dir in $PATH
3555 do
3556   IFS=$as_save_IFS
3557   test -z "$as_dir" && as_dir=.
3558     for ac_exec_ext in '' $ac_executable_extensions; do
3559   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3560     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3561     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3562     break 2
3563   fi
3564 done
3565   done
3566 IFS=$as_save_IFS
3567
3568 fi
3569 fi
3570 CC=$ac_cv_prog_CC
3571 if test -n "$CC"; then
3572   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3573 $as_echo "$CC" >&6; }
3574 else
3575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3576 $as_echo "no" >&6; }
3577 fi
3578
3579
3580 fi
3581 if test -z "$ac_cv_prog_CC"; then
3582   ac_ct_CC=$CC
3583   # Extract the first word of "gcc", so it can be a program name with args.
3584 set dummy gcc; ac_word=$2
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3586 $as_echo_n "checking for $ac_word... " >&6; }
3587 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3588   $as_echo_n "(cached) " >&6
3589 else
3590   if test -n "$ac_ct_CC"; then
3591   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3592 else
3593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3594 for as_dir in $PATH
3595 do
3596   IFS=$as_save_IFS
3597   test -z "$as_dir" && as_dir=.
3598     for ac_exec_ext in '' $ac_executable_extensions; do
3599   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3600     ac_cv_prog_ac_ct_CC="gcc"
3601     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3602     break 2
3603   fi
3604 done
3605   done
3606 IFS=$as_save_IFS
3607
3608 fi
3609 fi
3610 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3611 if test -n "$ac_ct_CC"; then
3612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3613 $as_echo "$ac_ct_CC" >&6; }
3614 else
3615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3616 $as_echo "no" >&6; }
3617 fi
3618
3619   if test "x$ac_ct_CC" = x; then
3620     CC=""
3621   else
3622     case $cross_compiling:$ac_tool_warned in
3623 yes:)
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3625 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3626 ac_tool_warned=yes ;;
3627 esac
3628     CC=$ac_ct_CC
3629   fi
3630 else
3631   CC="$ac_cv_prog_CC"
3632 fi
3633
3634 if test -z "$CC"; then
3635           if test -n "$ac_tool_prefix"; then
3636     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3637 set dummy ${ac_tool_prefix}cc; ac_word=$2
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3639 $as_echo_n "checking for $ac_word... " >&6; }
3640 if test "${ac_cv_prog_CC+set}" = set; then :
3641   $as_echo_n "(cached) " >&6
3642 else
3643   if test -n "$CC"; then
3644   ac_cv_prog_CC="$CC" # Let the user override the test.
3645 else
3646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3647 for as_dir in $PATH
3648 do
3649   IFS=$as_save_IFS
3650   test -z "$as_dir" && as_dir=.
3651     for ac_exec_ext in '' $ac_executable_extensions; do
3652   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3653     ac_cv_prog_CC="${ac_tool_prefix}cc"
3654     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3655     break 2
3656   fi
3657 done
3658   done
3659 IFS=$as_save_IFS
3660
3661 fi
3662 fi
3663 CC=$ac_cv_prog_CC
3664 if test -n "$CC"; then
3665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3666 $as_echo "$CC" >&6; }
3667 else
3668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3669 $as_echo "no" >&6; }
3670 fi
3671
3672
3673   fi
3674 fi
3675 if test -z "$CC"; then
3676   # Extract the first word of "cc", so it can be a program name with args.
3677 set dummy cc; ac_word=$2
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3679 $as_echo_n "checking for $ac_word... " >&6; }
3680 if test "${ac_cv_prog_CC+set}" = set; then :
3681   $as_echo_n "(cached) " >&6
3682 else
3683   if test -n "$CC"; then
3684   ac_cv_prog_CC="$CC" # Let the user override the test.
3685 else
3686   ac_prog_rejected=no
3687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3688 for as_dir in $PATH
3689 do
3690   IFS=$as_save_IFS
3691   test -z "$as_dir" && as_dir=.
3692     for ac_exec_ext in '' $ac_executable_extensions; do
3693   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3694     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3695        ac_prog_rejected=yes
3696        continue
3697      fi
3698     ac_cv_prog_CC="cc"
3699     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3700     break 2
3701   fi
3702 done
3703   done
3704 IFS=$as_save_IFS
3705
3706 if test $ac_prog_rejected = yes; then
3707   # We found a bogon in the path, so make sure we never use it.
3708   set dummy $ac_cv_prog_CC
3709   shift
3710   if test $# != 0; then
3711     # We chose a different compiler from the bogus one.
3712     # However, it has the same basename, so the bogon will be chosen
3713     # first if we set CC to just the basename; use the full file name.
3714     shift
3715     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3716   fi
3717 fi
3718 fi
3719 fi
3720 CC=$ac_cv_prog_CC
3721 if test -n "$CC"; then
3722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3723 $as_echo "$CC" >&6; }
3724 else
3725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3726 $as_echo "no" >&6; }
3727 fi
3728
3729
3730 fi
3731 if test -z "$CC"; then
3732   if test -n "$ac_tool_prefix"; then
3733   for ac_prog in cl.exe
3734   do
3735     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3736 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3738 $as_echo_n "checking for $ac_word... " >&6; }
3739 if test "${ac_cv_prog_CC+set}" = set; then :
3740   $as_echo_n "(cached) " >&6
3741 else
3742   if test -n "$CC"; then
3743   ac_cv_prog_CC="$CC" # Let the user override the test.
3744 else
3745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3746 for as_dir in $PATH
3747 do
3748   IFS=$as_save_IFS
3749   test -z "$as_dir" && as_dir=.
3750     for ac_exec_ext in '' $ac_executable_extensions; do
3751   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3752     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3753     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3754     break 2
3755   fi
3756 done
3757   done
3758 IFS=$as_save_IFS
3759
3760 fi
3761 fi
3762 CC=$ac_cv_prog_CC
3763 if test -n "$CC"; then
3764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3765 $as_echo "$CC" >&6; }
3766 else
3767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3768 $as_echo "no" >&6; }
3769 fi
3770
3771
3772     test -n "$CC" && break
3773   done
3774 fi
3775 if test -z "$CC"; then
3776   ac_ct_CC=$CC
3777   for ac_prog in cl.exe
3778 do
3779   # Extract the first word of "$ac_prog", so it can be a program name with args.
3780 set dummy $ac_prog; ac_word=$2
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3782 $as_echo_n "checking for $ac_word... " >&6; }
3783 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3784   $as_echo_n "(cached) " >&6
3785 else
3786   if test -n "$ac_ct_CC"; then
3787   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3788 else
3789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3790 for as_dir in $PATH
3791 do
3792   IFS=$as_save_IFS
3793   test -z "$as_dir" && as_dir=.
3794     for ac_exec_ext in '' $ac_executable_extensions; do
3795   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3796     ac_cv_prog_ac_ct_CC="$ac_prog"
3797     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3798     break 2
3799   fi
3800 done
3801   done
3802 IFS=$as_save_IFS
3803
3804 fi
3805 fi
3806 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3807 if test -n "$ac_ct_CC"; then
3808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3809 $as_echo "$ac_ct_CC" >&6; }
3810 else
3811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3812 $as_echo "no" >&6; }
3813 fi
3814
3815
3816   test -n "$ac_ct_CC" && break
3817 done
3818
3819   if test "x$ac_ct_CC" = x; then
3820     CC=""
3821   else
3822     case $cross_compiling:$ac_tool_warned in
3823 yes:)
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3825 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3826 ac_tool_warned=yes ;;
3827 esac
3828     CC=$ac_ct_CC
3829   fi
3830 fi
3831
3832 fi
3833
3834
3835 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3836 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3837 as_fn_error "no acceptable C compiler found in \$PATH
3838 See \`config.log' for more details." "$LINENO" 5; }
3839
3840 # Provide some information about the compiler.
3841 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3842 set X $ac_compile
3843 ac_compiler=$2
3844 for ac_option in --version -v -V -qversion; do
3845   { { ac_try="$ac_compiler $ac_option >&5"
3846 case "(($ac_try" in
3847   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3848   *) ac_try_echo=$ac_try;;
3849 esac
3850 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3851 $as_echo "$ac_try_echo"; } >&5
3852   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3853   ac_status=$?
3854   if test -s conftest.err; then
3855     sed '10a\
3856 ... rest of stderr output deleted ...
3857          10q' conftest.err >conftest.er1
3858     cat conftest.er1 >&5
3859     rm -f conftest.er1 conftest.err
3860   fi
3861   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3862   test $ac_status = 0; }
3863 done
3864
3865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3866 /* end confdefs.h.  */
3867
3868 int
3869 main ()
3870 {
3871
3872   ;
3873   return 0;
3874 }
3875 _ACEOF
3876 # FIXME: Cleanup?
3877 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3878   (eval $ac_link) 2>&5
3879   ac_status=$?
3880   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3881   test $ac_status = 0; }; then :
3882   gcc_no_link=no
3883 else
3884   gcc_no_link=yes
3885 fi
3886 if test x$gcc_no_link = xyes; then
3887   # Setting cross_compile will disable run tests; it will
3888   # also disable AC_CHECK_FILE but that's generally
3889   # correct if we can't link.
3890   cross_compiling=yes
3891   EXEEXT=
3892 else
3893   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3894 /* end confdefs.h.  */
3895
3896 int
3897 main ()
3898 {
3899
3900   ;
3901   return 0;
3902 }
3903 _ACEOF
3904 ac_clean_files_save=$ac_clean_files
3905 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3906 # Try to create an executable without -o first, disregard a.out.
3907 # It will help us diagnose broken compilers, and finding out an intuition
3908 # of exeext.
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3910 $as_echo_n "checking for C compiler default output file name... " >&6; }
3911 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3912
3913 # The possible output files:
3914 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3915
3916 ac_rmfiles=
3917 for ac_file in $ac_files
3918 do
3919   case $ac_file in
3920     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3921     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3922   esac
3923 done
3924 rm -f $ac_rmfiles
3925
3926 if { { ac_try="$ac_link_default"
3927 case "(($ac_try" in
3928   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3929   *) ac_try_echo=$ac_try;;
3930 esac
3931 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3932 $as_echo "$ac_try_echo"; } >&5
3933   (eval "$ac_link_default") 2>&5
3934   ac_status=$?
3935   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3936   test $ac_status = 0; }; then :
3937   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3938 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3939 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3940 # so that the user can short-circuit this test for compilers unknown to
3941 # Autoconf.
3942 for ac_file in $ac_files ''
3943 do
3944   test -f "$ac_file" || continue
3945   case $ac_file in
3946     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3947         ;;
3948     [ab].out )
3949         # We found the default executable, but exeext='' is most
3950         # certainly right.
3951         break;;
3952     *.* )
3953         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3954         then :; else
3955            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3956         fi
3957         # We set ac_cv_exeext here because the later test for it is not
3958         # safe: cross compilers may not add the suffix if given an `-o'
3959         # argument, so we may need to know it at that point already.
3960         # Even if this section looks crufty: it has the advantage of
3961         # actually working.
3962         break;;
3963     * )
3964         break;;
3965   esac
3966 done
3967 test "$ac_cv_exeext" = no && ac_cv_exeext=
3968
3969 else
3970   ac_file=''
3971 fi
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3973 $as_echo "$ac_file" >&6; }
3974 if test -z "$ac_file"; then :
3975   $as_echo "$as_me: failed program was:" >&5
3976 sed 's/^/| /' conftest.$ac_ext >&5
3977
3978 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3979 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3980 { as_fn_set_status 77
3981 as_fn_error "C compiler cannot create executables
3982 See \`config.log' for more details." "$LINENO" 5; }; }
3983 fi
3984 ac_exeext=$ac_cv_exeext
3985
3986 # Check that the compiler produces executables we can run.  If not, either
3987 # the compiler is broken, or we cross compile.
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3989 $as_echo_n "checking whether the C compiler works... " >&6; }
3990 # If not cross compiling, check that we can run a simple program.
3991 if test "$cross_compiling" != yes; then
3992   if { ac_try='./$ac_file'
3993   { { case "(($ac_try" in
3994   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3995   *) ac_try_echo=$ac_try;;
3996 esac
3997 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3998 $as_echo "$ac_try_echo"; } >&5
3999   (eval "$ac_try") 2>&5
4000   ac_status=$?
4001   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4002   test $ac_status = 0; }; }; then
4003     cross_compiling=no
4004   else
4005     if test "$cross_compiling" = maybe; then
4006         cross_compiling=yes
4007     else
4008         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4009 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4010 as_fn_error "cannot run C compiled programs.
4011 If you meant to cross compile, use \`--host'.
4012 See \`config.log' for more details." "$LINENO" 5; }
4013     fi
4014   fi
4015 fi
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4017 $as_echo "yes" >&6; }
4018
4019 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4020 ac_clean_files=$ac_clean_files_save
4021 # Check that the compiler produces executables we can run.  If not, either
4022 # the compiler is broken, or we cross compile.
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4024 $as_echo_n "checking whether we are cross compiling... " >&6; }
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4026 $as_echo "$cross_compiling" >&6; }
4027
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4029 $as_echo_n "checking for suffix of executables... " >&6; }
4030 if { { ac_try="$ac_link"
4031 case "(($ac_try" in
4032   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4033   *) ac_try_echo=$ac_try;;
4034 esac
4035 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4036 $as_echo "$ac_try_echo"; } >&5
4037   (eval "$ac_link") 2>&5
4038   ac_status=$?
4039   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4040   test $ac_status = 0; }; then :
4041   # If both `conftest.exe' and `conftest' are `present' (well, observable)
4042 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4043 # work properly (i.e., refer to `conftest.exe'), while it won't with
4044 # `rm'.
4045 for ac_file in conftest.exe conftest conftest.*; do
4046   test -f "$ac_file" || continue
4047   case $ac_file in
4048     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4049     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4050           break;;
4051     * ) break;;
4052   esac
4053 done
4054 else
4055   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4056 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4057 as_fn_error "cannot compute suffix of executables: cannot compile and link
4058 See \`config.log' for more details." "$LINENO" 5; }
4059 fi
4060 rm -f conftest$ac_cv_exeext
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4062 $as_echo "$ac_cv_exeext" >&6; }
4063
4064 rm -f conftest.$ac_ext
4065 EXEEXT=$ac_cv_exeext
4066 ac_exeext=$EXEEXT
4067 fi
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4069 $as_echo_n "checking for suffix of object files... " >&6; }
4070 if test "${ac_cv_objext+set}" = set; then :
4071   $as_echo_n "(cached) " >&6
4072 else
4073   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4074 /* end confdefs.h.  */
4075
4076 int
4077 main ()
4078 {
4079
4080   ;
4081   return 0;
4082 }
4083 _ACEOF
4084 rm -f conftest.o conftest.obj
4085 if { { ac_try="$ac_compile"
4086 case "(($ac_try" in
4087   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4088   *) ac_try_echo=$ac_try;;
4089 esac
4090 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4091 $as_echo "$ac_try_echo"; } >&5
4092   (eval "$ac_compile") 2>&5
4093   ac_status=$?
4094   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4095   test $ac_status = 0; }; then :
4096   for ac_file in conftest.o conftest.obj conftest.*; do
4097   test -f "$ac_file" || continue;
4098   case $ac_file in
4099     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4100     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4101        break;;
4102   esac
4103 done
4104 else
4105   $as_echo "$as_me: failed program was:" >&5
4106 sed 's/^/| /' conftest.$ac_ext >&5
4107
4108 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4109 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4110 as_fn_error "cannot compute suffix of object files: cannot compile
4111 See \`config.log' for more details." "$LINENO" 5; }
4112 fi
4113 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4114 fi
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4116 $as_echo "$ac_cv_objext" >&6; }
4117 OBJEXT=$ac_cv_objext
4118 ac_objext=$OBJEXT
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4120 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4121 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4122   $as_echo_n "(cached) " >&6
4123 else
4124   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4125 /* end confdefs.h.  */
4126
4127 int
4128 main ()
4129 {
4130 #ifndef __GNUC__
4131        choke me
4132 #endif
4133
4134   ;
4135   return 0;
4136 }
4137 _ACEOF
4138 if ac_fn_c_try_compile "$LINENO"; then :
4139   ac_compiler_gnu=yes
4140 else
4141   ac_compiler_gnu=no
4142 fi
4143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4144 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4145
4146 fi
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4148 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4149 if test $ac_compiler_gnu = yes; then
4150   GCC=yes
4151 else
4152   GCC=
4153 fi
4154 ac_test_CFLAGS=${CFLAGS+set}
4155 ac_save_CFLAGS=$CFLAGS
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4157 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4158 if test "${ac_cv_prog_cc_g+set}" = set; then :
4159   $as_echo_n "(cached) " >&6
4160 else
4161   ac_save_c_werror_flag=$ac_c_werror_flag
4162    ac_c_werror_flag=yes
4163    ac_cv_prog_cc_g=no
4164    CFLAGS="-g"
4165    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4166 /* end confdefs.h.  */
4167
4168 int
4169 main ()
4170 {
4171
4172   ;
4173   return 0;
4174 }
4175 _ACEOF
4176 if ac_fn_c_try_compile "$LINENO"; then :
4177   ac_cv_prog_cc_g=yes
4178 else
4179   CFLAGS=""
4180       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4181 /* end confdefs.h.  */
4182
4183 int
4184 main ()
4185 {
4186
4187   ;
4188   return 0;
4189 }
4190 _ACEOF
4191 if ac_fn_c_try_compile "$LINENO"; then :
4192
4193 else
4194   ac_c_werror_flag=$ac_save_c_werror_flag
4195          CFLAGS="-g"
4196          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4197 /* end confdefs.h.  */
4198
4199 int
4200 main ()
4201 {
4202
4203   ;
4204   return 0;
4205 }
4206 _ACEOF
4207 if ac_fn_c_try_compile "$LINENO"; then :
4208   ac_cv_prog_cc_g=yes
4209 fi
4210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4211 fi
4212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4213 fi
4214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4215    ac_c_werror_flag=$ac_save_c_werror_flag
4216 fi
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4218 $as_echo "$ac_cv_prog_cc_g" >&6; }
4219 if test "$ac_test_CFLAGS" = set; then
4220   CFLAGS=$ac_save_CFLAGS
4221 elif test $ac_cv_prog_cc_g = yes; then
4222   if test "$GCC" = yes; then
4223     CFLAGS="-g -O2"
4224   else
4225     CFLAGS="-g"
4226   fi
4227 else
4228   if test "$GCC" = yes; then
4229     CFLAGS="-O2"
4230   else
4231     CFLAGS=
4232   fi
4233 fi
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4235 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4236 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4237   $as_echo_n "(cached) " >&6
4238 else
4239   ac_cv_prog_cc_c89=no
4240 ac_save_CC=$CC
4241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4242 /* end confdefs.h.  */
4243 #include <stdarg.h>
4244 #include <stdio.h>
4245 #include <sys/types.h>
4246 #include <sys/stat.h>
4247 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4248 struct buf { int x; };
4249 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4250 static char *e (p, i)
4251      char **p;
4252      int i;
4253 {
4254   return p[i];
4255 }
4256 static char *f (char * (*g) (char **, int), char **p, ...)
4257 {
4258   char *s;
4259   va_list v;
4260   va_start (v,p);
4261   s = g (p, va_arg (v,int));
4262   va_end (v);
4263   return s;
4264 }
4265
4266 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4267    function prototypes and stuff, but not '\xHH' hex character constants.
4268    These don't provoke an error unfortunately, instead are silently treated
4269    as 'x'.  The following induces an error, until -std is added to get
4270    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4271    array size at least.  It's necessary to write '\x00'==0 to get something
4272    that's true only with -std.  */
4273 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4274
4275 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4276    inside strings and character constants.  */
4277 #define FOO(x) 'x'
4278 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4279
4280 int test (int i, double x);
4281 struct s1 {int (*f) (int a);};
4282 struct s2 {int (*f) (double a);};
4283 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4284 int argc;
4285 char **argv;
4286 int
4287 main ()
4288 {
4289 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4290   ;
4291   return 0;
4292 }
4293 _ACEOF
4294 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4295         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4296 do
4297   CC="$ac_save_CC $ac_arg"
4298   if ac_fn_c_try_compile "$LINENO"; then :
4299   ac_cv_prog_cc_c89=$ac_arg
4300 fi
4301 rm -f core conftest.err conftest.$ac_objext
4302   test "x$ac_cv_prog_cc_c89" != "xno" && break
4303 done
4304 rm -f conftest.$ac_ext
4305 CC=$ac_save_CC
4306
4307 fi
4308 # AC_CACHE_VAL
4309 case "x$ac_cv_prog_cc_c89" in
4310   x)
4311     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4312 $as_echo "none needed" >&6; } ;;
4313   xno)
4314     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4315 $as_echo "unsupported" >&6; } ;;
4316   *)
4317     CC="$CC $ac_cv_prog_cc_c89"
4318     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4319 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4320 esac
4321 if test "x$ac_cv_prog_cc_c89" != xno; then :
4322
4323 fi
4324
4325 ac_ext=c
4326 ac_cpp='$CPP $CPPFLAGS'
4327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4330
4331 ac_ext=cpp
4332 ac_cpp='$CXXCPP $CPPFLAGS'
4333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4336 if test -z "$CXX"; then
4337   if test -n "$CCC"; then
4338     CXX=$CCC
4339   else
4340     if test -n "$ac_tool_prefix"; then
4341   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4342   do
4343     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4344 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4346 $as_echo_n "checking for $ac_word... " >&6; }
4347 if test "${ac_cv_prog_CXX+set}" = set; then :
4348   $as_echo_n "(cached) " >&6
4349 else
4350   if test -n "$CXX"; then
4351   ac_cv_prog_CXX="$CXX" # Let the user override the test.
4352 else
4353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4354 for as_dir in $PATH
4355 do
4356   IFS=$as_save_IFS
4357   test -z "$as_dir" && as_dir=.
4358     for ac_exec_ext in '' $ac_executable_extensions; do
4359   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4360     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4361     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4362     break 2
4363   fi
4364 done
4365   done
4366 IFS=$as_save_IFS
4367
4368 fi
4369 fi
4370 CXX=$ac_cv_prog_CXX
4371 if test -n "$CXX"; then
4372   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4373 $as_echo "$CXX" >&6; }
4374 else
4375   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4376 $as_echo "no" >&6; }
4377 fi
4378
4379
4380     test -n "$CXX" && break
4381   done
4382 fi
4383 if test -z "$CXX"; then
4384   ac_ct_CXX=$CXX
4385   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4386 do
4387   # Extract the first word of "$ac_prog", so it can be a program name with args.
4388 set dummy $ac_prog; ac_word=$2
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4390 $as_echo_n "checking for $ac_word... " >&6; }
4391 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4392   $as_echo_n "(cached) " >&6
4393 else
4394   if test -n "$ac_ct_CXX"; then
4395   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4396 else
4397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4398 for as_dir in $PATH
4399 do
4400   IFS=$as_save_IFS
4401   test -z "$as_dir" && as_dir=.
4402     for ac_exec_ext in '' $ac_executable_extensions; do
4403   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4404     ac_cv_prog_ac_ct_CXX="$ac_prog"
4405     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4406     break 2
4407   fi
4408 done
4409   done
4410 IFS=$as_save_IFS
4411
4412 fi
4413 fi
4414 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4415 if test -n "$ac_ct_CXX"; then
4416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4417 $as_echo "$ac_ct_CXX" >&6; }
4418 else
4419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4420 $as_echo "no" >&6; }
4421 fi
4422
4423
4424   test -n "$ac_ct_CXX" && break
4425 done
4426
4427   if test "x$ac_ct_CXX" = x; then
4428     CXX="g++"
4429   else
4430     case $cross_compiling:$ac_tool_warned in
4431 yes:)
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4433 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4434 ac_tool_warned=yes ;;
4435 esac
4436     CXX=$ac_ct_CXX
4437   fi
4438 fi
4439
4440   fi
4441 fi
4442 # Provide some information about the compiler.
4443 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4444 set X $ac_compile
4445 ac_compiler=$2
4446 for ac_option in --version -v -V -qversion; do
4447   { { ac_try="$ac_compiler $ac_option >&5"
4448 case "(($ac_try" in
4449   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4450   *) ac_try_echo=$ac_try;;
4451 esac
4452 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4453 $as_echo "$ac_try_echo"; } >&5
4454   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4455   ac_status=$?
4456   if test -s conftest.err; then
4457     sed '10a\
4458 ... rest of stderr output deleted ...
4459          10q' conftest.err >conftest.er1
4460     cat conftest.er1 >&5
4461     rm -f conftest.er1 conftest.err
4462   fi
4463   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4464   test $ac_status = 0; }
4465 done
4466
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4468 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4469 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4470   $as_echo_n "(cached) " >&6
4471 else
4472   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4473 /* end confdefs.h.  */
4474
4475 int
4476 main ()
4477 {
4478 #ifndef __GNUC__
4479        choke me
4480 #endif
4481
4482   ;
4483   return 0;
4484 }
4485 _ACEOF
4486 if ac_fn_cxx_try_compile "$LINENO"; then :
4487   ac_compiler_gnu=yes
4488 else
4489   ac_compiler_gnu=no
4490 fi
4491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4492 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4493
4494 fi
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4496 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4497 if test $ac_compiler_gnu = yes; then
4498   GXX=yes
4499 else
4500   GXX=
4501 fi
4502 ac_test_CXXFLAGS=${CXXFLAGS+set}
4503 ac_save_CXXFLAGS=$CXXFLAGS
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4505 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4506 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4507   $as_echo_n "(cached) " >&6
4508 else
4509   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4510    ac_cxx_werror_flag=yes
4511    ac_cv_prog_cxx_g=no
4512    CXXFLAGS="-g"
4513    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4514 /* end confdefs.h.  */
4515
4516 int
4517 main ()
4518 {
4519
4520   ;
4521   return 0;
4522 }
4523 _ACEOF
4524 if ac_fn_cxx_try_compile "$LINENO"; then :
4525   ac_cv_prog_cxx_g=yes
4526 else
4527   CXXFLAGS=""
4528       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4529 /* end confdefs.h.  */
4530
4531 int
4532 main ()
4533 {
4534
4535   ;
4536   return 0;
4537 }
4538 _ACEOF
4539 if ac_fn_cxx_try_compile "$LINENO"; then :
4540
4541 else
4542   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4543          CXXFLAGS="-g"
4544          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4545 /* end confdefs.h.  */
4546
4547 int
4548 main ()
4549 {
4550
4551   ;
4552   return 0;
4553 }
4554 _ACEOF
4555 if ac_fn_cxx_try_compile "$LINENO"; then :
4556   ac_cv_prog_cxx_g=yes
4557 fi
4558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4559 fi
4560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4561 fi
4562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4563    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4564 fi
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4566 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4567 if test "$ac_test_CXXFLAGS" = set; then
4568   CXXFLAGS=$ac_save_CXXFLAGS
4569 elif test $ac_cv_prog_cxx_g = yes; then
4570   if test "$GXX" = yes; then
4571     CXXFLAGS="-g -O2"
4572   else
4573     CXXFLAGS="-g"
4574   fi
4575 else
4576   if test "$GXX" = yes; then
4577     CXXFLAGS="-O2"
4578   else
4579     CXXFLAGS=
4580   fi
4581 fi
4582 ac_ext=c
4583 ac_cpp='$CPP $CPPFLAGS'
4584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4587
4588 CXXFLAGS="$save_CXXFLAGS"
4589
4590 # Runs configure.host, and assorted other critical bits.  Sets
4591 # up critical shell variables.
4592
4593 ac_ext=c
4594 ac_cpp='$CPP $CPPFLAGS'
4595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4599 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4600 # On Suns, sometimes $CPP names a directory.
4601 if test -n "$CPP" && test -d "$CPP"; then
4602   CPP=
4603 fi
4604 if test -z "$CPP"; then
4605   if test "${ac_cv_prog_CPP+set}" = set; then :
4606   $as_echo_n "(cached) " >&6
4607 else
4608       # Double quotes because CPP needs to be expanded
4609     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4610     do
4611       ac_preproc_ok=false
4612 for ac_c_preproc_warn_flag in '' yes
4613 do
4614   # Use a header file that comes with gcc, so configuring glibc
4615   # with a fresh cross-compiler works.
4616   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4617   # <limits.h> exists even on freestanding compilers.
4618   # On the NeXT, cc -E runs the code through the compiler's parser,
4619   # not just through cpp. "Syntax error" is here to catch this case.
4620   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4621 /* end confdefs.h.  */
4622 #ifdef __STDC__
4623 # include <limits.h>
4624 #else
4625 # include <assert.h>
4626 #endif
4627                      Syntax error
4628 _ACEOF
4629 if ac_fn_c_try_cpp "$LINENO"; then :
4630
4631 else
4632   # Broken: fails on valid input.
4633 continue
4634 fi
4635 rm -f conftest.err conftest.$ac_ext
4636
4637   # OK, works on sane cases.  Now check whether nonexistent headers
4638   # can be detected and how.
4639   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4640 /* end confdefs.h.  */
4641 #include <ac_nonexistent.h>
4642 _ACEOF
4643 if ac_fn_c_try_cpp "$LINENO"; then :
4644   # Broken: success on invalid input.
4645 continue
4646 else
4647   # Passes both tests.
4648 ac_preproc_ok=:
4649 break
4650 fi
4651 rm -f conftest.err conftest.$ac_ext
4652
4653 done
4654 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4655 rm -f conftest.err conftest.$ac_ext
4656 if $ac_preproc_ok; then :
4657   break
4658 fi
4659
4660     done
4661     ac_cv_prog_CPP=$CPP
4662
4663 fi
4664   CPP=$ac_cv_prog_CPP
4665 else
4666   ac_cv_prog_CPP=$CPP
4667 fi
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4669 $as_echo "$CPP" >&6; }
4670 ac_preproc_ok=false
4671 for ac_c_preproc_warn_flag in '' yes
4672 do
4673   # Use a header file that comes with gcc, so configuring glibc
4674   # with a fresh cross-compiler works.
4675   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4676   # <limits.h> exists even on freestanding compilers.
4677   # On the NeXT, cc -E runs the code through the compiler's parser,
4678   # not just through cpp. "Syntax error" is here to catch this case.
4679   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4680 /* end confdefs.h.  */
4681 #ifdef __STDC__
4682 # include <limits.h>
4683 #else
4684 # include <assert.h>
4685 #endif
4686                      Syntax error
4687 _ACEOF
4688 if ac_fn_c_try_cpp "$LINENO"; then :
4689
4690 else
4691   # Broken: fails on valid input.
4692 continue
4693 fi
4694 rm -f conftest.err conftest.$ac_ext
4695
4696   # OK, works on sane cases.  Now check whether nonexistent headers
4697   # can be detected and how.
4698   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4699 /* end confdefs.h.  */
4700 #include <ac_nonexistent.h>
4701 _ACEOF
4702 if ac_fn_c_try_cpp "$LINENO"; then :
4703   # Broken: success on invalid input.
4704 continue
4705 else
4706   # Passes both tests.
4707 ac_preproc_ok=:
4708 break
4709 fi
4710 rm -f conftest.err conftest.$ac_ext
4711
4712 done
4713 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4714 rm -f conftest.err conftest.$ac_ext
4715 if $ac_preproc_ok; then :
4716
4717 else
4718   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4719 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4720 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4721 See \`config.log' for more details." "$LINENO" 5; }
4722 fi
4723
4724 ac_ext=c
4725 ac_cpp='$CPP $CPPFLAGS'
4726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4729
4730
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4732 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4733 if test "${ac_cv_path_GREP+set}" = set; then :
4734   $as_echo_n "(cached) " >&6
4735 else
4736   if test -z "$GREP"; then
4737   ac_path_GREP_found=false
4738   # Loop through the user's path and test for each of PROGNAME-LIST
4739   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4740 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4741 do
4742   IFS=$as_save_IFS
4743   test -z "$as_dir" && as_dir=.
4744     for ac_prog in grep ggrep; do
4745     for ac_exec_ext in '' $ac_executable_extensions; do
4746       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4747       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4748 # Check for GNU ac_path_GREP and select it if it is found.
4749   # Check for GNU $ac_path_GREP
4750 case `"$ac_path_GREP" --version 2>&1` in
4751 *GNU*)
4752   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4753 *)
4754   ac_count=0
4755   $as_echo_n 0123456789 >"conftest.in"
4756   while :
4757   do
4758     cat "conftest.in" "conftest.in" >"conftest.tmp"
4759     mv "conftest.tmp" "conftest.in"
4760     cp "conftest.in" "conftest.nl"
4761     $as_echo 'GREP' >> "conftest.nl"
4762     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4763     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4764     as_fn_arith $ac_count + 1 && ac_count=$as_val
4765     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4766       # Best one so far, save it but keep looking for a better one
4767       ac_cv_path_GREP="$ac_path_GREP"
4768       ac_path_GREP_max=$ac_count
4769     fi
4770     # 10*(2^10) chars as input seems more than enough
4771     test $ac_count -gt 10 && break
4772   done
4773   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4774 esac
4775
4776       $ac_path_GREP_found && break 3
4777     done
4778   done
4779   done
4780 IFS=$as_save_IFS
4781   if test -z "$ac_cv_path_GREP"; then
4782     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4783   fi
4784 else
4785   ac_cv_path_GREP=$GREP
4786 fi
4787
4788 fi
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4790 $as_echo "$ac_cv_path_GREP" >&6; }
4791  GREP="$ac_cv_path_GREP"
4792
4793
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4795 $as_echo_n "checking for egrep... " >&6; }
4796 if test "${ac_cv_path_EGREP+set}" = set; then :
4797   $as_echo_n "(cached) " >&6
4798 else
4799   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4800    then ac_cv_path_EGREP="$GREP -E"
4801    else
4802      if test -z "$EGREP"; then
4803   ac_path_EGREP_found=false
4804   # Loop through the user's path and test for each of PROGNAME-LIST
4805   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4806 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4807 do
4808   IFS=$as_save_IFS
4809   test -z "$as_dir" && as_dir=.
4810     for ac_prog in egrep; do
4811     for ac_exec_ext in '' $ac_executable_extensions; do
4812       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4813       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4814 # Check for GNU ac_path_EGREP and select it if it is found.
4815   # Check for GNU $ac_path_EGREP
4816 case `"$ac_path_EGREP" --version 2>&1` in
4817 *GNU*)
4818   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4819 *)
4820   ac_count=0
4821   $as_echo_n 0123456789 >"conftest.in"
4822   while :
4823   do
4824     cat "conftest.in" "conftest.in" >"conftest.tmp"
4825     mv "conftest.tmp" "conftest.in"
4826     cp "conftest.in" "conftest.nl"
4827     $as_echo 'EGREP' >> "conftest.nl"
4828     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4829     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4830     as_fn_arith $ac_count + 1 && ac_count=$as_val
4831     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4832       # Best one so far, save it but keep looking for a better one
4833       ac_cv_path_EGREP="$ac_path_EGREP"
4834       ac_path_EGREP_max=$ac_count
4835     fi
4836     # 10*(2^10) chars as input seems more than enough
4837     test $ac_count -gt 10 && break
4838   done
4839   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4840 esac
4841
4842       $ac_path_EGREP_found && break 3
4843     done
4844   done
4845   done
4846 IFS=$as_save_IFS
4847   if test -z "$ac_cv_path_EGREP"; then
4848     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4849   fi
4850 else
4851   ac_cv_path_EGREP=$EGREP
4852 fi
4853
4854    fi
4855 fi
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4857 $as_echo "$ac_cv_path_EGREP" >&6; }
4858  EGREP="$ac_cv_path_EGREP"
4859
4860
4861
4862   # Keep these sync'd with the list in Makefile.am.  The first provides an
4863   # expandable list at autoconf time; the second provides an expandable list
4864   # (i.e., shell variable) at configure time.
4865
4866   SUBDIRS='include libsupc++ python src doc po testsuite'
4867
4868   # These need to be absolute paths, yet at the same time need to
4869   # canonicalize only relative paths, because then amd will not unmount
4870   # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4871   glibcxx_builddir=`${PWDCMD-pwd}`
4872   case $srcdir in
4873     \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4874     *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4875   esac
4876   toplevel_srcdir=${glibcxx_srcdir}/..
4877
4878
4879
4880
4881   # We use these options to decide which functions to include.  They are
4882   # set from the top level.
4883
4884 # Check whether --with-target-subdir was given.
4885 if test "${with_target_subdir+set}" = set; then :
4886   withval=$with_target_subdir;
4887 fi
4888
4889
4890
4891 # Check whether --with-cross-host was given.
4892 if test "${with_cross_host+set}" = set; then :
4893   withval=$with_cross_host;
4894 fi
4895
4896
4897
4898 # Check whether --with-newlib was given.
4899 if test "${with_newlib+set}" = set; then :
4900   withval=$with_newlib;
4901 fi
4902
4903
4904   # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4905   # available).  Uncomment the next line to force a particular method.
4906   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4907 $as_echo_n "checking whether ln -s works... " >&6; }
4908 LN_S=$as_ln_s
4909 if test "$LN_S" = "ln -s"; then
4910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4911 $as_echo "yes" >&6; }
4912 else
4913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4914 $as_echo "no, using $LN_S" >&6; }
4915 fi
4916
4917   #LN_S='cp -p'
4918
4919   if test -n "$ac_tool_prefix"; then
4920   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4921 set dummy ${ac_tool_prefix}as; ac_word=$2
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4923 $as_echo_n "checking for $ac_word... " >&6; }
4924 if test "${ac_cv_prog_AS+set}" = set; then :
4925   $as_echo_n "(cached) " >&6
4926 else
4927   if test -n "$AS"; then
4928   ac_cv_prog_AS="$AS" # Let the user override the test.
4929 else
4930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4931 for as_dir in $PATH
4932 do
4933   IFS=$as_save_IFS
4934   test -z "$as_dir" && as_dir=.
4935     for ac_exec_ext in '' $ac_executable_extensions; do
4936   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4937     ac_cv_prog_AS="${ac_tool_prefix}as"
4938     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4939     break 2
4940   fi
4941 done
4942   done
4943 IFS=$as_save_IFS
4944
4945 fi
4946 fi
4947 AS=$ac_cv_prog_AS
4948 if test -n "$AS"; then
4949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4950 $as_echo "$AS" >&6; }
4951 else
4952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4953 $as_echo "no" >&6; }
4954 fi
4955
4956
4957 fi
4958 if test -z "$ac_cv_prog_AS"; then
4959   ac_ct_AS=$AS
4960   # Extract the first word of "as", so it can be a program name with args.
4961 set dummy as; ac_word=$2
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4963 $as_echo_n "checking for $ac_word... " >&6; }
4964 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4965   $as_echo_n "(cached) " >&6
4966 else
4967   if test -n "$ac_ct_AS"; then
4968   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4969 else
4970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4971 for as_dir in $PATH
4972 do
4973   IFS=$as_save_IFS
4974   test -z "$as_dir" && as_dir=.
4975     for ac_exec_ext in '' $ac_executable_extensions; do
4976   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4977     ac_cv_prog_ac_ct_AS="as"
4978     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4979     break 2
4980   fi
4981 done
4982   done
4983 IFS=$as_save_IFS
4984
4985 fi
4986 fi
4987 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4988 if test -n "$ac_ct_AS"; then
4989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4990 $as_echo "$ac_ct_AS" >&6; }
4991 else
4992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4993 $as_echo "no" >&6; }
4994 fi
4995
4996   if test "x$ac_ct_AS" = x; then
4997     AS=""
4998   else
4999     case $cross_compiling:$ac_tool_warned in
5000 yes:)
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5002 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5003 ac_tool_warned=yes ;;
5004 esac
5005     AS=$ac_ct_AS
5006   fi
5007 else
5008   AS="$ac_cv_prog_AS"
5009 fi
5010
5011   if test -n "$ac_tool_prefix"; then
5012   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5013 set dummy ${ac_tool_prefix}ar; ac_word=$2
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5015 $as_echo_n "checking for $ac_word... " >&6; }
5016 if test "${ac_cv_prog_AR+set}" = set; then :
5017   $as_echo_n "(cached) " >&6
5018 else
5019   if test -n "$AR"; then
5020   ac_cv_prog_AR="$AR" # Let the user override the test.
5021 else
5022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5023 for as_dir in $PATH
5024 do
5025   IFS=$as_save_IFS
5026   test -z "$as_dir" && as_dir=.
5027     for ac_exec_ext in '' $ac_executable_extensions; do
5028   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5029     ac_cv_prog_AR="${ac_tool_prefix}ar"
5030     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5031     break 2
5032   fi
5033 done
5034   done
5035 IFS=$as_save_IFS
5036
5037 fi
5038 fi
5039 AR=$ac_cv_prog_AR
5040 if test -n "$AR"; then
5041   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5042 $as_echo "$AR" >&6; }
5043 else
5044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5045 $as_echo "no" >&6; }
5046 fi
5047
5048
5049 fi
5050 if test -z "$ac_cv_prog_AR"; then
5051   ac_ct_AR=$AR
5052   # Extract the first word of "ar", so it can be a program name with args.
5053 set dummy ar; ac_word=$2
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5055 $as_echo_n "checking for $ac_word... " >&6; }
5056 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5057   $as_echo_n "(cached) " >&6
5058 else
5059   if test -n "$ac_ct_AR"; then
5060   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5061 else
5062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5063 for as_dir in $PATH
5064 do
5065   IFS=$as_save_IFS
5066   test -z "$as_dir" && as_dir=.
5067     for ac_exec_ext in '' $ac_executable_extensions; do
5068   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5069     ac_cv_prog_ac_ct_AR="ar"
5070     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5071     break 2
5072   fi
5073 done
5074   done
5075 IFS=$as_save_IFS
5076
5077 fi
5078 fi
5079 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5080 if test -n "$ac_ct_AR"; then
5081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5082 $as_echo "$ac_ct_AR" >&6; }
5083 else
5084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5085 $as_echo "no" >&6; }
5086 fi
5087
5088   if test "x$ac_ct_AR" = x; then
5089     AR=""
5090   else
5091     case $cross_compiling:$ac_tool_warned in
5092 yes:)
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5094 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5095 ac_tool_warned=yes ;;
5096 esac
5097     AR=$ac_ct_AR
5098   fi
5099 else
5100   AR="$ac_cv_prog_AR"
5101 fi
5102
5103   if test -n "$ac_tool_prefix"; then
5104   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5105 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5107 $as_echo_n "checking for $ac_word... " >&6; }
5108 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5109   $as_echo_n "(cached) " >&6
5110 else
5111   if test -n "$RANLIB"; then
5112   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5113 else
5114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5115 for as_dir in $PATH
5116 do
5117   IFS=$as_save_IFS
5118   test -z "$as_dir" && as_dir=.
5119     for ac_exec_ext in '' $ac_executable_extensions; do
5120   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5121     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5122     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5123     break 2
5124   fi
5125 done
5126   done
5127 IFS=$as_save_IFS
5128
5129 fi
5130 fi
5131 RANLIB=$ac_cv_prog_RANLIB
5132 if test -n "$RANLIB"; then
5133   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5134 $as_echo "$RANLIB" >&6; }
5135 else
5136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5137 $as_echo "no" >&6; }
5138 fi
5139
5140
5141 fi
5142 if test -z "$ac_cv_prog_RANLIB"; then
5143   ac_ct_RANLIB=$RANLIB
5144   # Extract the first word of "ranlib", so it can be a program name with args.
5145 set dummy ranlib; ac_word=$2
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5147 $as_echo_n "checking for $ac_word... " >&6; }
5148 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5149   $as_echo_n "(cached) " >&6
5150 else
5151   if test -n "$ac_ct_RANLIB"; then
5152   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5153 else
5154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5155 for as_dir in $PATH
5156 do
5157   IFS=$as_save_IFS
5158   test -z "$as_dir" && as_dir=.
5159     for ac_exec_ext in '' $ac_executable_extensions; do
5160   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5161     ac_cv_prog_ac_ct_RANLIB="ranlib"
5162     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5163     break 2
5164   fi
5165 done
5166   done
5167 IFS=$as_save_IFS
5168
5169 fi
5170 fi
5171 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5172 if test -n "$ac_ct_RANLIB"; then
5173   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5174 $as_echo "$ac_ct_RANLIB" >&6; }
5175 else
5176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5177 $as_echo "no" >&6; }
5178 fi
5179
5180   if test "x$ac_ct_RANLIB" = x; then
5181     RANLIB="ranlib-not-found-in-path-error"
5182   else
5183     case $cross_compiling:$ac_tool_warned in
5184 yes:)
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5186 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5187 ac_tool_warned=yes ;;
5188 esac
5189     RANLIB=$ac_ct_RANLIB
5190   fi
5191 else
5192   RANLIB="$ac_cv_prog_RANLIB"
5193 fi
5194
5195
5196
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5198 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5199     # Check whether --enable-maintainer-mode was given.
5200 if test "${enable_maintainer_mode+set}" = set; then :
5201   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5202 else
5203   USE_MAINTAINER_MODE=no
5204 fi
5205
5206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5207 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5208    if test $USE_MAINTAINER_MODE = yes; then
5209   MAINTAINER_MODE_TRUE=
5210   MAINTAINER_MODE_FALSE='#'
5211 else
5212   MAINTAINER_MODE_TRUE='#'
5213   MAINTAINER_MODE_FALSE=
5214 fi
5215
5216   MAINT=$MAINTAINER_MODE_TRUE
5217
5218
5219
5220   # Set up safe default values for all subsequent AM_CONDITIONAL tests
5221   # which are themselves conditionally expanded.
5222   ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5223   ## other macros from doing the same.  This should be automated.)  -pme
5224
5225   # Check for C library flavor since Linux platforms use different configuration
5226   # directories depending on the C library in use.
5227   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5228 /* end confdefs.h.  */
5229
5230   #include <stdio.h>
5231   #if __UCLIBC__
5232     _using_uclibc
5233   #endif
5234
5235 _ACEOF
5236 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5237   $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5238   uclibc=yes
5239 else
5240   uclibc=no
5241 fi
5242 rm -f conftest*
5243
5244
5245   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5246 /* end confdefs.h.  */
5247
5248   #include <stdio.h>
5249   #if __BIONIC__
5250     _using_bionic
5251   #endif
5252
5253 _ACEOF
5254 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5255   $EGREP "_using_bionic" >/dev/null 2>&1; then :
5256   bionic=yes
5257 else
5258   bionic=no
5259 fi
5260 rm -f conftest*
5261
5262
5263   # Find platform-specific directories containing configuration info.
5264   # Also possibly modify flags used elsewhere, as needed by the platform.
5265
5266   . $glibcxx_srcdir/configure.host
5267   { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5268 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5269   { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5270 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5271
5272
5273
5274 if test "x${with_newlib}" != "xyes"; then
5275   enable_dlopen=yes
5276
5277
5278
5279 fi
5280 case `pwd` in
5281   *\ * | *\     *)
5282     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5283 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5284 esac
5285
5286
5287
5288 macro_version='2.2.7a'
5289 macro_revision='1.3134'
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303 ltmain="$ac_aux_dir/ltmain.sh"
5304
5305 # Backslashify metacharacters that are still active within
5306 # double-quoted strings.
5307 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5308
5309 # Same as above, but do not quote variable references.
5310 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5311
5312 # Sed substitution to delay expansion of an escaped shell variable in a
5313 # double_quote_subst'ed string.
5314 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5315
5316 # Sed substitution to delay expansion of an escaped single quote.
5317 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5318
5319 # Sed substitution to avoid accidental globbing in evaled expressions
5320 no_glob_subst='s/\*/\\\*/g'
5321
5322 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5323 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5324 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5325
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5327 $as_echo_n "checking how to print strings... " >&6; }
5328 # Test print first, because it will be a builtin if present.
5329 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5330    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5331   ECHO='print -r --'
5332 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5333   ECHO='printf %s\n'
5334 else
5335   # Use this function as a fallback that always works.
5336   func_fallback_echo ()
5337   {
5338     eval 'cat <<_LTECHO_EOF
5339 $1
5340 _LTECHO_EOF'
5341   }
5342   ECHO='func_fallback_echo'
5343 fi
5344
5345 # func_echo_all arg...
5346 # Invoke $ECHO with all args, space-separated.
5347 func_echo_all ()
5348 {
5349     $ECHO ""
5350 }
5351
5352 case "$ECHO" in
5353   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5354 $as_echo "printf" >&6; } ;;
5355   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5356 $as_echo "print -r" >&6; } ;;
5357   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5358 $as_echo "cat" >&6; } ;;
5359 esac
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5375 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5376 if test "${ac_cv_path_SED+set}" = set; then :
5377   $as_echo_n "(cached) " >&6
5378 else
5379             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5380      for ac_i in 1 2 3 4 5 6 7; do
5381        ac_script="$ac_script$as_nl$ac_script"
5382      done
5383      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5384      { ac_script=; unset ac_script;}
5385      if test -z "$SED"; then
5386   ac_path_SED_found=false
5387   # Loop through the user's path and test for each of PROGNAME-LIST
5388   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5389 for as_dir in $PATH
5390 do
5391   IFS=$as_save_IFS
5392   test -z "$as_dir" && as_dir=.
5393     for ac_prog in sed gsed; do
5394     for ac_exec_ext in '' $ac_executable_extensions; do
5395       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5396       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5397 # Check for GNU ac_path_SED and select it if it is found.
5398   # Check for GNU $ac_path_SED
5399 case `"$ac_path_SED" --version 2>&1` in
5400 *GNU*)
5401   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5402 *)
5403   ac_count=0
5404   $as_echo_n 0123456789 >"conftest.in"
5405   while :
5406   do
5407     cat "conftest.in" "conftest.in" >"conftest.tmp"
5408     mv "conftest.tmp" "conftest.in"
5409     cp "conftest.in" "conftest.nl"
5410     $as_echo '' >> "conftest.nl"
5411     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5412     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5413     as_fn_arith $ac_count + 1 && ac_count=$as_val
5414     if test $ac_count -gt ${ac_path_SED_max-0}; then
5415       # Best one so far, save it but keep looking for a better one
5416       ac_cv_path_SED="$ac_path_SED"
5417       ac_path_SED_max=$ac_count
5418     fi
5419     # 10*(2^10) chars as input seems more than enough
5420     test $ac_count -gt 10 && break
5421   done
5422   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5423 esac
5424
5425       $ac_path_SED_found && break 3
5426     done
5427   done
5428   done
5429 IFS=$as_save_IFS
5430   if test -z "$ac_cv_path_SED"; then
5431     as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5432   fi
5433 else
5434   ac_cv_path_SED=$SED
5435 fi
5436
5437 fi
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5439 $as_echo "$ac_cv_path_SED" >&6; }
5440  SED="$ac_cv_path_SED"
5441   rm -f conftest.sed
5442
5443 test -z "$SED" && SED=sed
5444 Xsed="$SED -e 1s/^X//"
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5457 $as_echo_n "checking for fgrep... " >&6; }
5458 if test "${ac_cv_path_FGREP+set}" = set; then :
5459   $as_echo_n "(cached) " >&6
5460 else
5461   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5462    then ac_cv_path_FGREP="$GREP -F"
5463    else
5464      if test -z "$FGREP"; then
5465   ac_path_FGREP_found=false
5466   # Loop through the user's path and test for each of PROGNAME-LIST
5467   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5468 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5469 do
5470   IFS=$as_save_IFS
5471   test -z "$as_dir" && as_dir=.
5472     for ac_prog in fgrep; do
5473     for ac_exec_ext in '' $ac_executable_extensions; do
5474       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5475       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5476 # Check for GNU ac_path_FGREP and select it if it is found.
5477   # Check for GNU $ac_path_FGREP
5478 case `"$ac_path_FGREP" --version 2>&1` in
5479 *GNU*)
5480   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5481 *)
5482   ac_count=0
5483   $as_echo_n 0123456789 >"conftest.in"
5484   while :
5485   do
5486     cat "conftest.in" "conftest.in" >"conftest.tmp"
5487     mv "conftest.tmp" "conftest.in"
5488     cp "conftest.in" "conftest.nl"
5489     $as_echo 'FGREP' >> "conftest.nl"
5490     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5491     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5492     as_fn_arith $ac_count + 1 && ac_count=$as_val
5493     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5494       # Best one so far, save it but keep looking for a better one
5495       ac_cv_path_FGREP="$ac_path_FGREP"
5496       ac_path_FGREP_max=$ac_count
5497     fi
5498     # 10*(2^10) chars as input seems more than enough
5499     test $ac_count -gt 10 && break
5500   done
5501   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5502 esac
5503
5504       $ac_path_FGREP_found && break 3
5505     done
5506   done
5507   done
5508 IFS=$as_save_IFS
5509   if test -z "$ac_cv_path_FGREP"; then
5510     as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5511   fi
5512 else
5513   ac_cv_path_FGREP=$FGREP
5514 fi
5515
5516    fi
5517 fi
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5519 $as_echo "$ac_cv_path_FGREP" >&6; }
5520  FGREP="$ac_cv_path_FGREP"
5521
5522
5523 test -z "$GREP" && GREP=grep
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543 # Check whether --with-gnu-ld was given.
5544 if test "${with_gnu_ld+set}" = set; then :
5545   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5546 else
5547   with_gnu_ld=no
5548 fi
5549
5550 ac_prog=ld
5551 if test "$GCC" = yes; then
5552   # Check if gcc -print-prog-name=ld gives a path.
5553   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5554 $as_echo_n "checking for ld used by $CC... " >&6; }
5555   case $host in
5556   *-*-mingw*)
5557     # gcc leaves a trailing carriage return which upsets mingw
5558     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5559   *)
5560     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5561   esac
5562   case $ac_prog in
5563     # Accept absolute paths.
5564     [\\/]* | ?:[\\/]*)
5565       re_direlt='/[^/][^/]*/\.\./'
5566       # Canonicalize the pathname of ld
5567       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5568       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5569         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5570       done
5571       test -z "$LD" && LD="$ac_prog"
5572       ;;
5573   "")
5574     # If it fails, then pretend we aren't using GCC.
5575     ac_prog=ld
5576     ;;
5577   *)
5578     # If it is relative, then search for the first ld in PATH.
5579     with_gnu_ld=unknown
5580     ;;
5581   esac
5582 elif test "$with_gnu_ld" = yes; then
5583   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5584 $as_echo_n "checking for GNU ld... " >&6; }
5585 else
5586   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5587 $as_echo_n "checking for non-GNU ld... " >&6; }
5588 fi
5589 if test "${lt_cv_path_LD+set}" = set; then :
5590   $as_echo_n "(cached) " >&6
5591 else
5592   if test -z "$LD"; then
5593   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5594   for ac_dir in $PATH; do
5595     IFS="$lt_save_ifs"
5596     test -z "$ac_dir" && ac_dir=.
5597     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5598       lt_cv_path_LD="$ac_dir/$ac_prog"
5599       # Check to see if the program is GNU ld.  I'd rather use --version,
5600       # but apparently some variants of GNU ld only accept -v.
5601       # Break only if it was the GNU/non-GNU ld that we prefer.
5602       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5603       *GNU* | *'with BFD'*)
5604         test "$with_gnu_ld" != no && break
5605         ;;
5606       *)
5607         test "$with_gnu_ld" != yes && break
5608         ;;
5609       esac
5610     fi
5611   done
5612   IFS="$lt_save_ifs"
5613 else
5614   lt_cv_path_LD="$LD" # Let the user override the test with a path.
5615 fi
5616 fi
5617
5618 LD="$lt_cv_path_LD"
5619 if test -n "$LD"; then
5620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5621 $as_echo "$LD" >&6; }
5622 else
5623   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5624 $as_echo "no" >&6; }
5625 fi
5626 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5628 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5629 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5630   $as_echo_n "(cached) " >&6
5631 else
5632   # I'd rather use --version here, but apparently some GNU lds only accept -v.
5633 case `$LD -v 2>&1 </dev/null` in
5634 *GNU* | *'with BFD'*)
5635   lt_cv_prog_gnu_ld=yes
5636   ;;
5637 *)
5638   lt_cv_prog_gnu_ld=no
5639   ;;
5640 esac
5641 fi
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5643 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5644 with_gnu_ld=$lt_cv_prog_gnu_ld
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5655 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5656 if test "${lt_cv_path_NM+set}" = set; then :
5657   $as_echo_n "(cached) " >&6
5658 else
5659   if test -n "$NM"; then
5660   # Let the user override the test.
5661   lt_cv_path_NM="$NM"
5662 else
5663   lt_nm_to_check="${ac_tool_prefix}nm"
5664   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5665     lt_nm_to_check="$lt_nm_to_check nm"
5666   fi
5667   for lt_tmp_nm in $lt_nm_to_check; do
5668     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5669     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5670       IFS="$lt_save_ifs"
5671       test -z "$ac_dir" && ac_dir=.
5672       tmp_nm="$ac_dir/$lt_tmp_nm"
5673       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5674         # Check to see if the nm accepts a BSD-compat flag.
5675         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5676         #   nm: unknown option "B" ignored
5677         # Tru64's nm complains that /dev/null is an invalid object file
5678         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5679         */dev/null* | *'Invalid file or object type'*)
5680           lt_cv_path_NM="$tmp_nm -B"
5681           break
5682           ;;
5683         *)
5684           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5685           */dev/null*)
5686             lt_cv_path_NM="$tmp_nm -p"
5687             break
5688             ;;
5689           *)
5690             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5691             continue # so that we can try to find one that supports BSD flags
5692             ;;
5693           esac
5694           ;;
5695         esac
5696       fi
5697     done
5698     IFS="$lt_save_ifs"
5699   done
5700   : ${lt_cv_path_NM=no}
5701 fi
5702 fi
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5704 $as_echo "$lt_cv_path_NM" >&6; }
5705 if test "$lt_cv_path_NM" != "no"; then
5706   NM="$lt_cv_path_NM"
5707 else
5708   # Didn't find any BSD compatible name lister, look for dumpbin.
5709   if test -n "$DUMPBIN"; then :
5710     # Let the user override the test.
5711   else
5712     if test -n "$ac_tool_prefix"; then
5713   for ac_prog in dumpbin "link -dump"
5714   do
5715     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5716 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5718 $as_echo_n "checking for $ac_word... " >&6; }
5719 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5720   $as_echo_n "(cached) " >&6
5721 else
5722   if test -n "$DUMPBIN"; then
5723   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5724 else
5725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5726 for as_dir in $PATH
5727 do
5728   IFS=$as_save_IFS
5729   test -z "$as_dir" && as_dir=.
5730     for ac_exec_ext in '' $ac_executable_extensions; do
5731   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5732     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5733     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5734     break 2
5735   fi
5736 done
5737   done
5738 IFS=$as_save_IFS
5739
5740 fi
5741 fi
5742 DUMPBIN=$ac_cv_prog_DUMPBIN
5743 if test -n "$DUMPBIN"; then
5744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5745 $as_echo "$DUMPBIN" >&6; }
5746 else
5747   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5748 $as_echo "no" >&6; }
5749 fi
5750
5751
5752     test -n "$DUMPBIN" && break
5753   done
5754 fi
5755 if test -z "$DUMPBIN"; then
5756   ac_ct_DUMPBIN=$DUMPBIN
5757   for ac_prog in dumpbin "link -dump"
5758 do
5759   # Extract the first word of "$ac_prog", so it can be a program name with args.
5760 set dummy $ac_prog; ac_word=$2
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5762 $as_echo_n "checking for $ac_word... " >&6; }
5763 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5764   $as_echo_n "(cached) " >&6
5765 else
5766   if test -n "$ac_ct_DUMPBIN"; then
5767   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5768 else
5769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5770 for as_dir in $PATH
5771 do
5772   IFS=$as_save_IFS
5773   test -z "$as_dir" && as_dir=.
5774     for ac_exec_ext in '' $ac_executable_extensions; do
5775   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5776     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5777     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5778     break 2
5779   fi
5780 done
5781   done
5782 IFS=$as_save_IFS
5783
5784 fi
5785 fi
5786 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5787 if test -n "$ac_ct_DUMPBIN"; then
5788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5789 $as_echo "$ac_ct_DUMPBIN" >&6; }
5790 else
5791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5792 $as_echo "no" >&6; }
5793 fi
5794
5795
5796   test -n "$ac_ct_DUMPBIN" && break
5797 done
5798
5799   if test "x$ac_ct_DUMPBIN" = x; then
5800     DUMPBIN=":"
5801   else
5802     case $cross_compiling:$ac_tool_warned in
5803 yes:)
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5805 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5806 ac_tool_warned=yes ;;
5807 esac
5808     DUMPBIN=$ac_ct_DUMPBIN
5809   fi
5810 fi
5811
5812     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5813     *COFF*)
5814       DUMPBIN="$DUMPBIN -symbols"
5815       ;;
5816     *)
5817       DUMPBIN=:
5818       ;;
5819     esac
5820   fi
5821
5822   if test "$DUMPBIN" != ":"; then
5823     NM="$DUMPBIN"
5824   fi
5825 fi
5826 test -z "$NM" && NM=nm
5827
5828
5829
5830
5831
5832
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5834 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5835 if test "${lt_cv_nm_interface+set}" = set; then :
5836   $as_echo_n "(cached) " >&6
5837 else
5838   lt_cv_nm_interface="BSD nm"
5839   echo "int some_variable = 0;" > conftest.$ac_ext
5840   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5841   (eval "$ac_compile" 2>conftest.err)
5842   cat conftest.err >&5
5843   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5844   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5845   cat conftest.err >&5
5846   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5847   cat conftest.out >&5
5848   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5849     lt_cv_nm_interface="MS dumpbin"
5850   fi
5851   rm -f conftest*
5852 fi
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5854 $as_echo "$lt_cv_nm_interface" >&6; }
5855
5856 # find the maximum length of command line arguments
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5858 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5859 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5860   $as_echo_n "(cached) " >&6
5861 else
5862     i=0
5863   teststring="ABCD"
5864
5865   case $build_os in
5866   msdosdjgpp*)
5867     # On DJGPP, this test can blow up pretty badly due to problems in libc
5868     # (any single argument exceeding 2000 bytes causes a buffer overrun
5869     # during glob expansion).  Even if it were fixed, the result of this
5870     # check would be larger than it should be.
5871     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5872     ;;
5873
5874   gnu*)
5875     # Under GNU Hurd, this test is not required because there is
5876     # no limit to the length of command line arguments.
5877     # Libtool will interpret -1 as no limit whatsoever
5878     lt_cv_sys_max_cmd_len=-1;
5879     ;;
5880
5881   cygwin* | mingw* | cegcc*)
5882     # On Win9x/ME, this test blows up -- it succeeds, but takes
5883     # about 5 minutes as the teststring grows exponentially.
5884     # Worse, since 9x/ME are not pre-emptively multitasking,
5885     # you end up with a "frozen" computer, even though with patience
5886     # the test eventually succeeds (with a max line length of 256k).
5887     # Instead, let's just punt: use the minimum linelength reported by
5888     # all of the supported platforms: 8192 (on NT/2K/XP).
5889     lt_cv_sys_max_cmd_len=8192;
5890     ;;
5891
5892   mint*)
5893     # On MiNT this can take a long time and run out of memory.
5894     lt_cv_sys_max_cmd_len=8192;
5895     ;;
5896
5897   amigaos*)
5898     # On AmigaOS with pdksh, this test takes hours, literally.
5899     # So we just punt and use a minimum line length of 8192.
5900     lt_cv_sys_max_cmd_len=8192;
5901     ;;
5902
5903   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5904     # This has been around since 386BSD, at least.  Likely further.
5905     if test -x /sbin/sysctl; then
5906       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5907     elif test -x /usr/sbin/sysctl; then
5908       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5909     else
5910       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5911     fi
5912     # And add a safety zone
5913     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5914     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5915     ;;
5916
5917   interix*)
5918     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5919     lt_cv_sys_max_cmd_len=196608
5920     ;;
5921
5922   osf*)
5923     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5924     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5925     # nice to cause kernel panics so lets avoid the loop below.
5926     # First set a reasonable default.
5927     lt_cv_sys_max_cmd_len=16384
5928     #
5929     if test -x /sbin/sysconfig; then
5930       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5931         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5932       esac
5933     fi
5934     ;;
5935   sco3.2v5*)
5936     lt_cv_sys_max_cmd_len=102400
5937     ;;
5938   sysv5* | sco5v6* | sysv4.2uw2*)
5939     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5940     if test -n "$kargmax"; then
5941       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5942     else
5943       lt_cv_sys_max_cmd_len=32768
5944     fi
5945     ;;
5946   *)
5947     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5948     if test -n "$lt_cv_sys_max_cmd_len"; then
5949       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5950       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5951     else
5952       # Make teststring a little bigger before we do anything with it.
5953       # a 1K string should be a reasonable start.
5954       for i in 1 2 3 4 5 6 7 8 ; do
5955         teststring=$teststring$teststring
5956       done
5957       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5958       # If test is not a shell built-in, we'll probably end up computing a
5959       # maximum length that is only half of the actual maximum length, but
5960       # we can't tell.
5961       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5962                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5963               test $i != 17 # 1/2 MB should be enough
5964       do
5965         i=`expr $i + 1`
5966         teststring=$teststring$teststring
5967       done
5968       # Only check the string length outside the loop.
5969       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5970       teststring=
5971       # Add a significant safety factor because C++ compilers can tack on
5972       # massive amounts of additional arguments before passing them to the
5973       # linker.  It appears as though 1/2 is a usable value.
5974       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5975     fi
5976     ;;
5977   esac
5978
5979 fi
5980
5981 if test -n $lt_cv_sys_max_cmd_len ; then
5982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5983 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5984 else
5985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5986 $as_echo "none" >&6; }
5987 fi
5988 max_cmd_len=$lt_cv_sys_max_cmd_len
5989
5990
5991
5992
5993
5994
5995 : ${CP="cp -f"}
5996 : ${MV="mv -f"}
5997 : ${RM="rm -f"}
5998
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6000 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6001 # Try some XSI features
6002 xsi_shell=no
6003 ( _lt_dummy="a/b/c"
6004   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6005       = c,a/b,, \
6006     && eval 'test $(( 1 + 1 )) -eq 2 \
6007     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6008   && xsi_shell=yes
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6010 $as_echo "$xsi_shell" >&6; }
6011
6012
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6014 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6015 lt_shell_append=no
6016 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6017     >/dev/null 2>&1 \
6018   && lt_shell_append=yes
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6020 $as_echo "$lt_shell_append" >&6; }
6021
6022
6023 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6024   lt_unset=unset
6025 else
6026   lt_unset=false
6027 fi
6028
6029
6030
6031
6032
6033 # test EBCDIC or ASCII
6034 case `echo X|tr X '\101'` in
6035  A) # ASCII based system
6036     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6037   lt_SP2NL='tr \040 \012'
6038   lt_NL2SP='tr \015\012 \040\040'
6039   ;;
6040  *) # EBCDIC based system
6041   lt_SP2NL='tr \100 \n'
6042   lt_NL2SP='tr \r\n \100\100'
6043   ;;
6044 esac
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6055 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6056 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6057   $as_echo_n "(cached) " >&6
6058 else
6059   lt_cv_ld_reload_flag='-r'
6060 fi
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6062 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6063 reload_flag=$lt_cv_ld_reload_flag
6064 case $reload_flag in
6065 "" | " "*) ;;
6066 *) reload_flag=" $reload_flag" ;;
6067 esac
6068 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6069 case $host_os in
6070   darwin*)
6071     if test "$GCC" = yes; then
6072       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6073     else
6074       reload_cmds='$LD$reload_flag -o $output$reload_objs'
6075     fi
6076     ;;
6077 esac
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087 if test -n "$ac_tool_prefix"; then
6088   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6089 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6091 $as_echo_n "checking for $ac_word... " >&6; }
6092 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6093   $as_echo_n "(cached) " >&6
6094 else
6095   if test -n "$OBJDUMP"; then
6096   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6097 else
6098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6099 for as_dir in $PATH
6100 do
6101   IFS=$as_save_IFS
6102   test -z "$as_dir" && as_dir=.
6103     for ac_exec_ext in '' $ac_executable_extensions; do
6104   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6105     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6106     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6107     break 2
6108   fi
6109 done
6110   done
6111 IFS=$as_save_IFS
6112
6113 fi
6114 fi
6115 OBJDUMP=$ac_cv_prog_OBJDUMP
6116 if test -n "$OBJDUMP"; then
6117   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6118 $as_echo "$OBJDUMP" >&6; }
6119 else
6120   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6121 $as_echo "no" >&6; }
6122 fi
6123
6124
6125 fi
6126 if test -z "$ac_cv_prog_OBJDUMP"; then
6127   ac_ct_OBJDUMP=$OBJDUMP
6128   # Extract the first word of "objdump", so it can be a program name with args.
6129 set dummy objdump; ac_word=$2
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6131 $as_echo_n "checking for $ac_word... " >&6; }
6132 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6133   $as_echo_n "(cached) " >&6
6134 else
6135   if test -n "$ac_ct_OBJDUMP"; then
6136   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6137 else
6138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6139 for as_dir in $PATH
6140 do
6141   IFS=$as_save_IFS
6142   test -z "$as_dir" && as_dir=.
6143     for ac_exec_ext in '' $ac_executable_extensions; do
6144   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6145     ac_cv_prog_ac_ct_OBJDUMP="objdump"
6146     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6147     break 2
6148   fi
6149 done
6150   done
6151 IFS=$as_save_IFS
6152
6153 fi
6154 fi
6155 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6156 if test -n "$ac_ct_OBJDUMP"; then
6157   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6158 $as_echo "$ac_ct_OBJDUMP" >&6; }
6159 else
6160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6161 $as_echo "no" >&6; }
6162 fi
6163
6164   if test "x$ac_ct_OBJDUMP" = x; then
6165     OBJDUMP="false"
6166   else
6167     case $cross_compiling:$ac_tool_warned in
6168 yes:)
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6170 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6171 ac_tool_warned=yes ;;
6172 esac
6173     OBJDUMP=$ac_ct_OBJDUMP
6174   fi
6175 else
6176   OBJDUMP="$ac_cv_prog_OBJDUMP"
6177 fi
6178
6179 test -z "$OBJDUMP" && OBJDUMP=objdump
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6190 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6191 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6192   $as_echo_n "(cached) " >&6
6193 else
6194   lt_cv_file_magic_cmd='$MAGIC_CMD'
6195 lt_cv_file_magic_test_file=
6196 lt_cv_deplibs_check_method='unknown'
6197 # Need to set the preceding variable on all platforms that support
6198 # interlibrary dependencies.
6199 # 'none' -- dependencies not supported.
6200 # `unknown' -- same as none, but documents that we really don't know.
6201 # 'pass_all' -- all dependencies passed with no checks.
6202 # 'test_compile' -- check by making test program.
6203 # 'file_magic [[regex]]' -- check by looking for files in library path
6204 # which responds to the $file_magic_cmd with a given extended regex.
6205 # If you have `file' or equivalent on your system and you're not sure
6206 # whether `pass_all' will *always* work, you probably want this one.
6207
6208 case $host_os in
6209 aix[4-9]*)
6210   lt_cv_deplibs_check_method=pass_all
6211   ;;
6212
6213 beos*)
6214   lt_cv_deplibs_check_method=pass_all
6215   ;;
6216
6217 bsdi[45]*)
6218   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6219   lt_cv_file_magic_cmd='/usr/bin/file -L'
6220   lt_cv_file_magic_test_file=/shlib/libc.so
6221   ;;
6222
6223 cygwin*)
6224   # func_win32_libid is a shell function defined in ltmain.sh
6225   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6226   lt_cv_file_magic_cmd='func_win32_libid'
6227   ;;
6228
6229 mingw* | pw32*)
6230   # Base MSYS/MinGW do not provide the 'file' command needed by
6231   # func_win32_libid shell function, so use a weaker test based on 'objdump',
6232   # unless we find 'file', for example because we are cross-compiling.
6233   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6234   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6235     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6236     lt_cv_file_magic_cmd='func_win32_libid'
6237   else
6238     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6239     lt_cv_file_magic_cmd='$OBJDUMP -f'
6240   fi
6241   ;;
6242
6243 cegcc*)
6244   # use the weaker test based on 'objdump'. See mingw*.
6245   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6246   lt_cv_file_magic_cmd='$OBJDUMP -f'
6247   ;;
6248
6249 darwin* | rhapsody*)
6250   lt_cv_deplibs_check_method=pass_all
6251   ;;
6252
6253 freebsd* | dragonfly*)
6254   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6255     case $host_cpu in
6256     i*86 )
6257       # Not sure whether the presence of OpenBSD here was a mistake.
6258       # Let's accept both of them until this is cleared up.
6259       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6260       lt_cv_file_magic_cmd=/usr/bin/file
6261       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6262       ;;
6263     esac
6264   else
6265     lt_cv_deplibs_check_method=pass_all
6266   fi
6267   ;;
6268
6269 gnu*)
6270   lt_cv_deplibs_check_method=pass_all
6271   ;;
6272
6273 haiku*)
6274   lt_cv_deplibs_check_method=pass_all
6275   ;;
6276
6277 hpux10.20* | hpux11*)
6278   lt_cv_file_magic_cmd=/usr/bin/file
6279   case $host_cpu in
6280   ia64*)
6281     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6282     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6283     ;;
6284   hppa*64*)
6285     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]'
6286     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6287     ;;
6288   *)
6289     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6290     lt_cv_file_magic_test_file=/usr/lib/libc.sl
6291     ;;
6292   esac
6293   ;;
6294
6295 interix[3-9]*)
6296   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6297   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6298   ;;
6299
6300 irix5* | irix6* | nonstopux*)
6301   case $LD in
6302   *-32|*"-32 ") libmagic=32-bit;;
6303   *-n32|*"-n32 ") libmagic=N32;;
6304   *-64|*"-64 ") libmagic=64-bit;;
6305   *) libmagic=never-match;;
6306   esac
6307   lt_cv_deplibs_check_method=pass_all
6308   ;;
6309
6310 # This must be Linux ELF.
6311 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6312   lt_cv_deplibs_check_method=pass_all
6313   ;;
6314
6315 netbsd*)
6316   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6317     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6318   else
6319     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6320   fi
6321   ;;
6322
6323 newos6*)
6324   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6325   lt_cv_file_magic_cmd=/usr/bin/file
6326   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6327   ;;
6328
6329 *nto* | *qnx*)
6330   lt_cv_deplibs_check_method=pass_all
6331   ;;
6332
6333 openbsd*)
6334   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6335     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6336   else
6337     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6338   fi
6339   ;;
6340
6341 osf3* | osf4* | osf5*)
6342   lt_cv_deplibs_check_method=pass_all
6343   ;;
6344
6345 rdos*)
6346   lt_cv_deplibs_check_method=pass_all
6347   ;;
6348
6349 solaris*)
6350   lt_cv_deplibs_check_method=pass_all
6351   ;;
6352
6353 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6354   lt_cv_deplibs_check_method=pass_all
6355   ;;
6356
6357 sysv4 | sysv4.3*)
6358   case $host_vendor in
6359   motorola)
6360     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]'
6361     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6362     ;;
6363   ncr)
6364     lt_cv_deplibs_check_method=pass_all
6365     ;;
6366   sequent)
6367     lt_cv_file_magic_cmd='/bin/file'
6368     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6369     ;;
6370   sni)
6371     lt_cv_file_magic_cmd='/bin/file'
6372     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6373     lt_cv_file_magic_test_file=/lib/libc.so
6374     ;;
6375   siemens)
6376     lt_cv_deplibs_check_method=pass_all
6377     ;;
6378   pc)
6379     lt_cv_deplibs_check_method=pass_all
6380     ;;
6381   esac
6382   ;;
6383
6384 tpf*)
6385   lt_cv_deplibs_check_method=pass_all
6386   ;;
6387 esac
6388
6389 fi
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6391 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6392 file_magic_cmd=$lt_cv_file_magic_cmd
6393 deplibs_check_method=$lt_cv_deplibs_check_method
6394 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407 if test -n "$ac_tool_prefix"; then
6408   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6409 set dummy ${ac_tool_prefix}ar; ac_word=$2
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6411 $as_echo_n "checking for $ac_word... " >&6; }
6412 if test "${ac_cv_prog_AR+set}" = set; then :
6413   $as_echo_n "(cached) " >&6
6414 else
6415   if test -n "$AR"; then
6416   ac_cv_prog_AR="$AR" # Let the user override the test.
6417 else
6418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6419 for as_dir in $PATH
6420 do
6421   IFS=$as_save_IFS
6422   test -z "$as_dir" && as_dir=.
6423     for ac_exec_ext in '' $ac_executable_extensions; do
6424   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6425     ac_cv_prog_AR="${ac_tool_prefix}ar"
6426     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6427     break 2
6428   fi
6429 done
6430   done
6431 IFS=$as_save_IFS
6432
6433 fi
6434 fi
6435 AR=$ac_cv_prog_AR
6436 if test -n "$AR"; then
6437   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6438 $as_echo "$AR" >&6; }
6439 else
6440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6441 $as_echo "no" >&6; }
6442 fi
6443
6444
6445 fi
6446 if test -z "$ac_cv_prog_AR"; then
6447   ac_ct_AR=$AR
6448   # Extract the first word of "ar", so it can be a program name with args.
6449 set dummy ar; ac_word=$2
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6451 $as_echo_n "checking for $ac_word... " >&6; }
6452 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6453   $as_echo_n "(cached) " >&6
6454 else
6455   if test -n "$ac_ct_AR"; then
6456   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6457 else
6458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6459 for as_dir in $PATH
6460 do
6461   IFS=$as_save_IFS
6462   test -z "$as_dir" && as_dir=.
6463     for ac_exec_ext in '' $ac_executable_extensions; do
6464   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6465     ac_cv_prog_ac_ct_AR="ar"
6466     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6467     break 2
6468   fi
6469 done
6470   done
6471 IFS=$as_save_IFS
6472
6473 fi
6474 fi
6475 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6476 if test -n "$ac_ct_AR"; then
6477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6478 $as_echo "$ac_ct_AR" >&6; }
6479 else
6480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6481 $as_echo "no" >&6; }
6482 fi
6483
6484   if test "x$ac_ct_AR" = x; then
6485     AR="false"
6486   else
6487     case $cross_compiling:$ac_tool_warned in
6488 yes:)
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6490 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6491 ac_tool_warned=yes ;;
6492 esac
6493     AR=$ac_ct_AR
6494   fi
6495 else
6496   AR="$ac_cv_prog_AR"
6497 fi
6498
6499 test -z "$AR" && AR=ar
6500 test -z "$AR_FLAGS" && AR_FLAGS=cru
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512 if test -n "$ac_tool_prefix"; then
6513   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6514 set dummy ${ac_tool_prefix}strip; ac_word=$2
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6516 $as_echo_n "checking for $ac_word... " >&6; }
6517 if test "${ac_cv_prog_STRIP+set}" = set; then :
6518   $as_echo_n "(cached) " >&6
6519 else
6520   if test -n "$STRIP"; then
6521   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6522 else
6523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6524 for as_dir in $PATH
6525 do
6526   IFS=$as_save_IFS
6527   test -z "$as_dir" && as_dir=.
6528     for ac_exec_ext in '' $ac_executable_extensions; do
6529   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6530     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6531     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6532     break 2
6533   fi
6534 done
6535   done
6536 IFS=$as_save_IFS
6537
6538 fi
6539 fi
6540 STRIP=$ac_cv_prog_STRIP
6541 if test -n "$STRIP"; then
6542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6543 $as_echo "$STRIP" >&6; }
6544 else
6545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6546 $as_echo "no" >&6; }
6547 fi
6548
6549
6550 fi
6551 if test -z "$ac_cv_prog_STRIP"; then
6552   ac_ct_STRIP=$STRIP
6553   # Extract the first word of "strip", so it can be a program name with args.
6554 set dummy strip; ac_word=$2
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6556 $as_echo_n "checking for $ac_word... " >&6; }
6557 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6558   $as_echo_n "(cached) " >&6
6559 else
6560   if test -n "$ac_ct_STRIP"; then
6561   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6562 else
6563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6564 for as_dir in $PATH
6565 do
6566   IFS=$as_save_IFS
6567   test -z "$as_dir" && as_dir=.
6568     for ac_exec_ext in '' $ac_executable_extensions; do
6569   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6570     ac_cv_prog_ac_ct_STRIP="strip"
6571     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6572     break 2
6573   fi
6574 done
6575   done
6576 IFS=$as_save_IFS
6577
6578 fi
6579 fi
6580 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6581 if test -n "$ac_ct_STRIP"; then
6582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6583 $as_echo "$ac_ct_STRIP" >&6; }
6584 else
6585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6586 $as_echo "no" >&6; }
6587 fi
6588
6589   if test "x$ac_ct_STRIP" = x; then
6590     STRIP=":"
6591   else
6592     case $cross_compiling:$ac_tool_warned in
6593 yes:)
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6595 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6596 ac_tool_warned=yes ;;
6597 esac
6598     STRIP=$ac_ct_STRIP
6599   fi
6600 else
6601   STRIP="$ac_cv_prog_STRIP"
6602 fi
6603
6604 test -z "$STRIP" && STRIP=:
6605
6606
6607
6608
6609
6610
6611 if test -n "$ac_tool_prefix"; then
6612   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6613 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6615 $as_echo_n "checking for $ac_word... " >&6; }
6616 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6617   $as_echo_n "(cached) " >&6
6618 else
6619   if test -n "$RANLIB"; then
6620   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6621 else
6622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6623 for as_dir in $PATH
6624 do
6625   IFS=$as_save_IFS
6626   test -z "$as_dir" && as_dir=.
6627     for ac_exec_ext in '' $ac_executable_extensions; do
6628   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6629     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6630     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6631     break 2
6632   fi
6633 done
6634   done
6635 IFS=$as_save_IFS
6636
6637 fi
6638 fi
6639 RANLIB=$ac_cv_prog_RANLIB
6640 if test -n "$RANLIB"; then
6641   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6642 $as_echo "$RANLIB" >&6; }
6643 else
6644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6645 $as_echo "no" >&6; }
6646 fi
6647
6648
6649 fi
6650 if test -z "$ac_cv_prog_RANLIB"; then
6651   ac_ct_RANLIB=$RANLIB
6652   # Extract the first word of "ranlib", so it can be a program name with args.
6653 set dummy ranlib; ac_word=$2
6654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6655 $as_echo_n "checking for $ac_word... " >&6; }
6656 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6657   $as_echo_n "(cached) " >&6
6658 else
6659   if test -n "$ac_ct_RANLIB"; then
6660   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6661 else
6662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6663 for as_dir in $PATH
6664 do
6665   IFS=$as_save_IFS
6666   test -z "$as_dir" && as_dir=.
6667     for ac_exec_ext in '' $ac_executable_extensions; do
6668   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6669     ac_cv_prog_ac_ct_RANLIB="ranlib"
6670     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6671     break 2
6672   fi
6673 done
6674   done
6675 IFS=$as_save_IFS
6676
6677 fi
6678 fi
6679 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6680 if test -n "$ac_ct_RANLIB"; then
6681   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6682 $as_echo "$ac_ct_RANLIB" >&6; }
6683 else
6684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6685 $as_echo "no" >&6; }
6686 fi
6687
6688   if test "x$ac_ct_RANLIB" = x; then
6689     RANLIB=":"
6690   else
6691     case $cross_compiling:$ac_tool_warned in
6692 yes:)
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6694 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6695 ac_tool_warned=yes ;;
6696 esac
6697     RANLIB=$ac_ct_RANLIB
6698   fi
6699 else
6700   RANLIB="$ac_cv_prog_RANLIB"
6701 fi
6702
6703 test -z "$RANLIB" && RANLIB=:
6704
6705
6706
6707
6708
6709
6710 # Determine commands to create old-style static archives.
6711 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6712 old_postinstall_cmds='chmod 644 $oldlib'
6713 old_postuninstall_cmds=
6714
6715 if test -n "$RANLIB"; then
6716   case $host_os in
6717   openbsd*)
6718     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6719     ;;
6720   *)
6721     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6722     ;;
6723   esac
6724   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6725 fi
6726
6727 case $host_os in
6728   darwin*)
6729     lock_old_archive_extraction=yes ;;
6730   *)
6731     lock_old_archive_extraction=no ;;
6732 esac
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772 # If no C compiler was specified, use CC.
6773 LTCC=${LTCC-"$CC"}
6774
6775 # If no C compiler flags were specified, use CFLAGS.
6776 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6777
6778 # Allow CC to be a program name with arguments.
6779 compiler=$CC
6780
6781
6782 # Check for command to grab the raw symbol name followed by C symbol from nm.
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6784 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6785 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6786   $as_echo_n "(cached) " >&6
6787 else
6788
6789 # These are sane defaults that work on at least a few old systems.
6790 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6791
6792 # Character class describing NM global symbol codes.
6793 symcode='[BCDEGRST]'
6794
6795 # Regexp to match symbols that can be accessed directly from C.
6796 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6797
6798 # Define system-specific variables.
6799 case $host_os in
6800 aix*)
6801   symcode='[BCDT]'
6802   ;;
6803 cygwin* | mingw* | pw32* | cegcc*)
6804   symcode='[ABCDGISTW]'
6805   ;;
6806 hpux*)
6807   if test "$host_cpu" = ia64; then
6808     symcode='[ABCDEGRST]'
6809   fi
6810   ;;
6811 irix* | nonstopux*)
6812   symcode='[BCDEGRST]'
6813   ;;
6814 osf*)
6815   symcode='[BCDEGQRST]'
6816   ;;
6817 solaris*)
6818   symcode='[BDRT]'
6819   ;;
6820 sco3.2v5*)
6821   symcode='[DT]'
6822   ;;
6823 sysv4.2uw2*)
6824   symcode='[DT]'
6825   ;;
6826 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6827   symcode='[ABDT]'
6828   ;;
6829 sysv4)
6830   symcode='[DFNSTU]'
6831   ;;
6832 esac
6833
6834 # If we're using GNU nm, then use its standard symbol codes.
6835 case `$NM -V 2>&1` in
6836 *GNU* | *'with BFD'*)
6837   symcode='[ABCDGIRSTW]' ;;
6838 esac
6839
6840 # Transform an extracted symbol line into a proper C declaration.
6841 # Some systems (esp. on ia64) link data and code symbols differently,
6842 # so use this general approach.
6843 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6844
6845 # Transform an extracted symbol line into symbol name and symbol address
6846 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6847 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'"
6848
6849 # Handle CRLF in mingw tool chain
6850 opt_cr=
6851 case $build_os in
6852 mingw*)
6853   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6854   ;;
6855 esac
6856
6857 # Try without a prefix underscore, then with it.
6858 for ac_symprfx in "" "_"; do
6859
6860   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6861   symxfrm="\\1 $ac_symprfx\\2 \\2"
6862
6863   # Write the raw and C identifiers.
6864   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6865     # Fake it for dumpbin and say T for any non-static function
6866     # and D for any global variable.
6867     # Also find C++ and __fastcall symbols from MSVC++,
6868     # which start with @ or ?.
6869     lt_cv_sys_global_symbol_pipe="$AWK '"\
6870 "     {last_section=section; section=\$ 3};"\
6871 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6872 "     \$ 0!~/External *\|/{next};"\
6873 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6874 "     {if(hide[section]) next};"\
6875 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6876 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6877 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6878 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6879 "     ' prfx=^$ac_symprfx"
6880   else
6881     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6882   fi
6883
6884   # Check to see that the pipe works correctly.
6885   pipe_works=no
6886
6887   rm -f conftest*
6888   cat > conftest.$ac_ext <<_LT_EOF
6889 #ifdef __cplusplus
6890 extern "C" {
6891 #endif
6892 char nm_test_var;
6893 void nm_test_func(void);
6894 void nm_test_func(void){}
6895 #ifdef __cplusplus
6896 }
6897 #endif
6898 int main(){nm_test_var='a';nm_test_func();return(0);}
6899 _LT_EOF
6900
6901   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6902   (eval $ac_compile) 2>&5
6903   ac_status=$?
6904   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6905   test $ac_status = 0; }; then
6906     # Now try to grab the symbols.
6907     nlist=conftest.nm
6908     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6909   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6910   ac_status=$?
6911   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6912   test $ac_status = 0; } && test -s "$nlist"; then
6913       # Try sorting and uniquifying the output.
6914       if sort "$nlist" | uniq > "$nlist"T; then
6915         mv -f "$nlist"T "$nlist"
6916       else
6917         rm -f "$nlist"T
6918       fi
6919
6920       # Make sure that we snagged all the symbols we need.
6921       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6922         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6923           cat <<_LT_EOF > conftest.$ac_ext
6924 #ifdef __cplusplus
6925 extern "C" {
6926 #endif
6927
6928 _LT_EOF
6929           # Now generate the symbol file.
6930           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6931
6932           cat <<_LT_EOF >> conftest.$ac_ext
6933
6934 /* The mapping between symbol names and symbols.  */
6935 const struct {
6936   const char *name;
6937   void       *address;
6938 }
6939 lt__PROGRAM__LTX_preloaded_symbols[] =
6940 {
6941   { "@PROGRAM@", (void *) 0 },
6942 _LT_EOF
6943           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6944           cat <<\_LT_EOF >> conftest.$ac_ext
6945   {0, (void *) 0}
6946 };
6947
6948 /* This works around a problem in FreeBSD linker */
6949 #ifdef FREEBSD_WORKAROUND
6950 static const void *lt_preloaded_setup() {
6951   return lt__PROGRAM__LTX_preloaded_symbols;
6952 }
6953 #endif
6954
6955 #ifdef __cplusplus
6956 }
6957 #endif
6958 _LT_EOF
6959           # Now try linking the two files.
6960           mv conftest.$ac_objext conftstm.$ac_objext
6961           lt_save_LIBS="$LIBS"
6962           lt_save_CFLAGS="$CFLAGS"
6963           LIBS="conftstm.$ac_objext"
6964           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6965           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6966   (eval $ac_link) 2>&5
6967   ac_status=$?
6968   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6969   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6970             pipe_works=yes
6971           fi
6972           LIBS="$lt_save_LIBS"
6973           CFLAGS="$lt_save_CFLAGS"
6974         else
6975           echo "cannot find nm_test_func in $nlist" >&5
6976         fi
6977       else
6978         echo "cannot find nm_test_var in $nlist" >&5
6979       fi
6980     else
6981       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6982     fi
6983   else
6984     echo "$progname: failed program was:" >&5
6985     cat conftest.$ac_ext >&5
6986   fi
6987   rm -rf conftest* conftst*
6988
6989   # Do not use the global_symbol_pipe unless it works.
6990   if test "$pipe_works" = yes; then
6991     break
6992   else
6993     lt_cv_sys_global_symbol_pipe=
6994   fi
6995 done
6996
6997 fi
6998
6999 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7000   lt_cv_sys_global_symbol_to_cdecl=
7001 fi
7002 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7003   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7004 $as_echo "failed" >&6; }
7005 else
7006   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7007 $as_echo "ok" >&6; }
7008 fi
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031 # Check whether --enable-libtool-lock was given.
7032 if test "${enable_libtool_lock+set}" = set; then :
7033   enableval=$enable_libtool_lock;
7034 fi
7035
7036 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7037
7038 # Some flags need to be propagated to the compiler or linker for good
7039 # libtool support.
7040 case $host in
7041 ia64-*-hpux*)
7042   # Find out which ABI we are using.
7043   echo 'int i;' > conftest.$ac_ext
7044   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7045   (eval $ac_compile) 2>&5
7046   ac_status=$?
7047   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7048   test $ac_status = 0; }; then
7049     case `/usr/bin/file conftest.$ac_objext` in
7050       *ELF-32*)
7051         HPUX_IA64_MODE="32"
7052         ;;
7053       *ELF-64*)
7054         HPUX_IA64_MODE="64"
7055         ;;
7056     esac
7057   fi
7058   rm -rf conftest*
7059   ;;
7060 *-*-irix6*)
7061   # Find out which ABI we are using.
7062   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7063   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7064   (eval $ac_compile) 2>&5
7065   ac_status=$?
7066   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7067   test $ac_status = 0; }; then
7068     if test "$lt_cv_prog_gnu_ld" = yes; then
7069       case `/usr/bin/file conftest.$ac_objext` in
7070         *32-bit*)
7071           LD="${LD-ld} -melf32bsmip"
7072           ;;
7073         *N32*)
7074           LD="${LD-ld} -melf32bmipn32"
7075           ;;
7076         *64-bit*)
7077           LD="${LD-ld} -melf64bmip"
7078         ;;
7079       esac
7080     else
7081       case `/usr/bin/file conftest.$ac_objext` in
7082         *32-bit*)
7083           LD="${LD-ld} -32"
7084           ;;
7085         *N32*)
7086           LD="${LD-ld} -n32"
7087           ;;
7088         *64-bit*)
7089           LD="${LD-ld} -64"
7090           ;;
7091       esac
7092     fi
7093   fi
7094   rm -rf conftest*
7095   ;;
7096
7097 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7098 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7099   # Find out which ABI we are using.
7100   echo 'int i;' > conftest.$ac_ext
7101   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7102   (eval $ac_compile) 2>&5
7103   ac_status=$?
7104   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7105   test $ac_status = 0; }; then
7106     case `/usr/bin/file conftest.o` in
7107       *32-bit*)
7108         case $host in
7109           x86_64-*kfreebsd*-gnu)
7110             LD="${LD-ld} -m elf_i386_fbsd"
7111             ;;
7112           x86_64-*linux*)
7113             LD="${LD-ld} -m elf_i386"
7114             ;;
7115           ppc64-*linux*|powerpc64-*linux*)
7116             LD="${LD-ld} -m elf32ppclinux"
7117             ;;
7118           s390x-*linux*)
7119             LD="${LD-ld} -m elf_s390"
7120             ;;
7121           sparc64-*linux*)
7122             LD="${LD-ld} -m elf32_sparc"
7123             ;;
7124         esac
7125         ;;
7126       *64-bit*)
7127         case $host in
7128           x86_64-*kfreebsd*-gnu)
7129             LD="${LD-ld} -m elf_x86_64_fbsd"
7130             ;;
7131           x86_64-*linux*)
7132             LD="${LD-ld} -m elf_x86_64"
7133             ;;
7134           ppc*-*linux*|powerpc*-*linux*)
7135             LD="${LD-ld} -m elf64ppc"
7136             ;;
7137           s390*-*linux*|s390*-*tpf*)
7138             LD="${LD-ld} -m elf64_s390"
7139             ;;
7140           sparc*-*linux*)
7141             LD="${LD-ld} -m elf64_sparc"
7142             ;;
7143         esac
7144         ;;
7145     esac
7146   fi
7147   rm -rf conftest*
7148   ;;
7149
7150 *-*-sco3.2v5*)
7151   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7152   SAVE_CFLAGS="$CFLAGS"
7153   CFLAGS="$CFLAGS -belf"
7154   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7155 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7156 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7157   $as_echo_n "(cached) " >&6
7158 else
7159   ac_ext=c
7160 ac_cpp='$CPP $CPPFLAGS'
7161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7164
7165      if test x$gcc_no_link = xyes; then
7166   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7167 fi
7168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7169 /* end confdefs.h.  */
7170
7171 int
7172 main ()
7173 {
7174
7175   ;
7176   return 0;
7177 }
7178 _ACEOF
7179 if ac_fn_c_try_link "$LINENO"; then :
7180   lt_cv_cc_needs_belf=yes
7181 else
7182   lt_cv_cc_needs_belf=no
7183 fi
7184 rm -f core conftest.err conftest.$ac_objext \
7185     conftest$ac_exeext conftest.$ac_ext
7186      ac_ext=c
7187 ac_cpp='$CPP $CPPFLAGS'
7188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7191
7192 fi
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7194 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7195   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7196     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7197     CFLAGS="$SAVE_CFLAGS"
7198   fi
7199   ;;
7200 sparc*-*solaris*)
7201   # Find out which ABI we are using.
7202   echo 'int i;' > conftest.$ac_ext
7203   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7204   (eval $ac_compile) 2>&5
7205   ac_status=$?
7206   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7207   test $ac_status = 0; }; then
7208     case `/usr/bin/file conftest.o` in
7209     *64-bit*)
7210       case $lt_cv_prog_gnu_ld in
7211       yes*) LD="${LD-ld} -m elf64_sparc" ;;
7212       *)
7213         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7214           LD="${LD-ld} -64"
7215         fi
7216         ;;
7217       esac
7218       ;;
7219     esac
7220   fi
7221   rm -rf conftest*
7222   ;;
7223 esac
7224
7225 need_locks="$enable_libtool_lock"
7226
7227
7228   case $host_os in
7229     rhapsody* | darwin*)
7230     if test -n "$ac_tool_prefix"; then
7231   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7232 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7234 $as_echo_n "checking for $ac_word... " >&6; }
7235 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7236   $as_echo_n "(cached) " >&6
7237 else
7238   if test -n "$DSYMUTIL"; then
7239   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7240 else
7241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7242 for as_dir in $PATH
7243 do
7244   IFS=$as_save_IFS
7245   test -z "$as_dir" && as_dir=.
7246     for ac_exec_ext in '' $ac_executable_extensions; do
7247   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7248     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7249     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7250     break 2
7251   fi
7252 done
7253   done
7254 IFS=$as_save_IFS
7255
7256 fi
7257 fi
7258 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7259 if test -n "$DSYMUTIL"; then
7260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7261 $as_echo "$DSYMUTIL" >&6; }
7262 else
7263   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7264 $as_echo "no" >&6; }
7265 fi
7266
7267
7268 fi
7269 if test -z "$ac_cv_prog_DSYMUTIL"; then
7270   ac_ct_DSYMUTIL=$DSYMUTIL
7271   # Extract the first word of "dsymutil", so it can be a program name with args.
7272 set dummy dsymutil; ac_word=$2
7273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7274 $as_echo_n "checking for $ac_word... " >&6; }
7275 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7276   $as_echo_n "(cached) " >&6
7277 else
7278   if test -n "$ac_ct_DSYMUTIL"; then
7279   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7280 else
7281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7282 for as_dir in $PATH
7283 do
7284   IFS=$as_save_IFS
7285   test -z "$as_dir" && as_dir=.
7286     for ac_exec_ext in '' $ac_executable_extensions; do
7287   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7288     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7289     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7290     break 2
7291   fi
7292 done
7293   done
7294 IFS=$as_save_IFS
7295
7296 fi
7297 fi
7298 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7299 if test -n "$ac_ct_DSYMUTIL"; then
7300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7301 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7302 else
7303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7304 $as_echo "no" >&6; }
7305 fi
7306
7307   if test "x$ac_ct_DSYMUTIL" = x; then
7308     DSYMUTIL=":"
7309   else
7310     case $cross_compiling:$ac_tool_warned in
7311 yes:)
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7313 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7314 ac_tool_warned=yes ;;
7315 esac
7316     DSYMUTIL=$ac_ct_DSYMUTIL
7317   fi
7318 else
7319   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7320 fi
7321
7322     if test -n "$ac_tool_prefix"; then
7323   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7324 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7326 $as_echo_n "checking for $ac_word... " >&6; }
7327 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7328   $as_echo_n "(cached) " >&6
7329 else
7330   if test -n "$NMEDIT"; then
7331   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7332 else
7333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7334 for as_dir in $PATH
7335 do
7336   IFS=$as_save_IFS
7337   test -z "$as_dir" && as_dir=.
7338     for ac_exec_ext in '' $ac_executable_extensions; do
7339   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7340     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7341     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7342     break 2
7343   fi
7344 done
7345   done
7346 IFS=$as_save_IFS
7347
7348 fi
7349 fi
7350 NMEDIT=$ac_cv_prog_NMEDIT
7351 if test -n "$NMEDIT"; then
7352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7353 $as_echo "$NMEDIT" >&6; }
7354 else
7355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7356 $as_echo "no" >&6; }
7357 fi
7358
7359
7360 fi
7361 if test -z "$ac_cv_prog_NMEDIT"; then
7362   ac_ct_NMEDIT=$NMEDIT
7363   # Extract the first word of "nmedit", so it can be a program name with args.
7364 set dummy nmedit; ac_word=$2
7365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7366 $as_echo_n "checking for $ac_word... " >&6; }
7367 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7368   $as_echo_n "(cached) " >&6
7369 else
7370   if test -n "$ac_ct_NMEDIT"; then
7371   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7372 else
7373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7374 for as_dir in $PATH
7375 do
7376   IFS=$as_save_IFS
7377   test -z "$as_dir" && as_dir=.
7378     for ac_exec_ext in '' $ac_executable_extensions; do
7379   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7380     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7381     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7382     break 2
7383   fi
7384 done
7385   done
7386 IFS=$as_save_IFS
7387
7388 fi
7389 fi
7390 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7391 if test -n "$ac_ct_NMEDIT"; then
7392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7393 $as_echo "$ac_ct_NMEDIT" >&6; }
7394 else
7395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7396 $as_echo "no" >&6; }
7397 fi
7398
7399   if test "x$ac_ct_NMEDIT" = x; then
7400     NMEDIT=":"
7401   else
7402     case $cross_compiling:$ac_tool_warned in
7403 yes:)
7404 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7405 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7406 ac_tool_warned=yes ;;
7407 esac
7408     NMEDIT=$ac_ct_NMEDIT
7409   fi
7410 else
7411   NMEDIT="$ac_cv_prog_NMEDIT"
7412 fi
7413
7414     if test -n "$ac_tool_prefix"; then
7415   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7416 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7418 $as_echo_n "checking for $ac_word... " >&6; }
7419 if test "${ac_cv_prog_LIPO+set}" = set; then :
7420   $as_echo_n "(cached) " >&6
7421 else
7422   if test -n "$LIPO"; then
7423   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7424 else
7425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7426 for as_dir in $PATH
7427 do
7428   IFS=$as_save_IFS
7429   test -z "$as_dir" && as_dir=.
7430     for ac_exec_ext in '' $ac_executable_extensions; do
7431   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7432     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7433     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7434     break 2
7435   fi
7436 done
7437   done
7438 IFS=$as_save_IFS
7439
7440 fi
7441 fi
7442 LIPO=$ac_cv_prog_LIPO
7443 if test -n "$LIPO"; then
7444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7445 $as_echo "$LIPO" >&6; }
7446 else
7447   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7448 $as_echo "no" >&6; }
7449 fi
7450
7451
7452 fi
7453 if test -z "$ac_cv_prog_LIPO"; then
7454   ac_ct_LIPO=$LIPO
7455   # Extract the first word of "lipo", so it can be a program name with args.
7456 set dummy lipo; ac_word=$2
7457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7458 $as_echo_n "checking for $ac_word... " >&6; }
7459 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7460   $as_echo_n "(cached) " >&6
7461 else
7462   if test -n "$ac_ct_LIPO"; then
7463   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7464 else
7465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7466 for as_dir in $PATH
7467 do
7468   IFS=$as_save_IFS
7469   test -z "$as_dir" && as_dir=.
7470     for ac_exec_ext in '' $ac_executable_extensions; do
7471   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7472     ac_cv_prog_ac_ct_LIPO="lipo"
7473     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7474     break 2
7475   fi
7476 done
7477   done
7478 IFS=$as_save_IFS
7479
7480 fi
7481 fi
7482 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7483 if test -n "$ac_ct_LIPO"; then
7484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7485 $as_echo "$ac_ct_LIPO" >&6; }
7486 else
7487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7488 $as_echo "no" >&6; }
7489 fi
7490
7491   if test "x$ac_ct_LIPO" = x; then
7492     LIPO=":"
7493   else
7494     case $cross_compiling:$ac_tool_warned in
7495 yes:)
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7497 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7498 ac_tool_warned=yes ;;
7499 esac
7500     LIPO=$ac_ct_LIPO
7501   fi
7502 else
7503   LIPO="$ac_cv_prog_LIPO"
7504 fi
7505
7506     if test -n "$ac_tool_prefix"; then
7507   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7508 set dummy ${ac_tool_prefix}otool; ac_word=$2
7509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7510 $as_echo_n "checking for $ac_word... " >&6; }
7511 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7512   $as_echo_n "(cached) " >&6
7513 else
7514   if test -n "$OTOOL"; then
7515   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7516 else
7517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7518 for as_dir in $PATH
7519 do
7520   IFS=$as_save_IFS
7521   test -z "$as_dir" && as_dir=.
7522     for ac_exec_ext in '' $ac_executable_extensions; do
7523   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7524     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7525     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7526     break 2
7527   fi
7528 done
7529   done
7530 IFS=$as_save_IFS
7531
7532 fi
7533 fi
7534 OTOOL=$ac_cv_prog_OTOOL
7535 if test -n "$OTOOL"; then
7536   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7537 $as_echo "$OTOOL" >&6; }
7538 else
7539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7540 $as_echo "no" >&6; }
7541 fi
7542
7543
7544 fi
7545 if test -z "$ac_cv_prog_OTOOL"; then
7546   ac_ct_OTOOL=$OTOOL
7547   # Extract the first word of "otool", so it can be a program name with args.
7548 set dummy otool; ac_word=$2
7549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7550 $as_echo_n "checking for $ac_word... " >&6; }
7551 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7552   $as_echo_n "(cached) " >&6
7553 else
7554   if test -n "$ac_ct_OTOOL"; then
7555   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7556 else
7557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7558 for as_dir in $PATH
7559 do
7560   IFS=$as_save_IFS
7561   test -z "$as_dir" && as_dir=.
7562     for ac_exec_ext in '' $ac_executable_extensions; do
7563   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7564     ac_cv_prog_ac_ct_OTOOL="otool"
7565     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7566     break 2
7567   fi
7568 done
7569   done
7570 IFS=$as_save_IFS
7571
7572 fi
7573 fi
7574 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7575 if test -n "$ac_ct_OTOOL"; then
7576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7577 $as_echo "$ac_ct_OTOOL" >&6; }
7578 else
7579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7580 $as_echo "no" >&6; }
7581 fi
7582
7583   if test "x$ac_ct_OTOOL" = x; then
7584     OTOOL=":"
7585   else
7586     case $cross_compiling:$ac_tool_warned in
7587 yes:)
7588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7589 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7590 ac_tool_warned=yes ;;
7591 esac
7592     OTOOL=$ac_ct_OTOOL
7593   fi
7594 else
7595   OTOOL="$ac_cv_prog_OTOOL"
7596 fi
7597
7598     if test -n "$ac_tool_prefix"; then
7599   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7600 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7602 $as_echo_n "checking for $ac_word... " >&6; }
7603 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7604   $as_echo_n "(cached) " >&6
7605 else
7606   if test -n "$OTOOL64"; then
7607   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7608 else
7609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7610 for as_dir in $PATH
7611 do
7612   IFS=$as_save_IFS
7613   test -z "$as_dir" && as_dir=.
7614     for ac_exec_ext in '' $ac_executable_extensions; do
7615   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7616     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7617     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7618     break 2
7619   fi
7620 done
7621   done
7622 IFS=$as_save_IFS
7623
7624 fi
7625 fi
7626 OTOOL64=$ac_cv_prog_OTOOL64
7627 if test -n "$OTOOL64"; then
7628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7629 $as_echo "$OTOOL64" >&6; }
7630 else
7631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7632 $as_echo "no" >&6; }
7633 fi
7634
7635
7636 fi
7637 if test -z "$ac_cv_prog_OTOOL64"; then
7638   ac_ct_OTOOL64=$OTOOL64
7639   # Extract the first word of "otool64", so it can be a program name with args.
7640 set dummy otool64; ac_word=$2
7641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7642 $as_echo_n "checking for $ac_word... " >&6; }
7643 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7644   $as_echo_n "(cached) " >&6
7645 else
7646   if test -n "$ac_ct_OTOOL64"; then
7647   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7648 else
7649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7650 for as_dir in $PATH
7651 do
7652   IFS=$as_save_IFS
7653   test -z "$as_dir" && as_dir=.
7654     for ac_exec_ext in '' $ac_executable_extensions; do
7655   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7656     ac_cv_prog_ac_ct_OTOOL64="otool64"
7657     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7658     break 2
7659   fi
7660 done
7661   done
7662 IFS=$as_save_IFS
7663
7664 fi
7665 fi
7666 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7667 if test -n "$ac_ct_OTOOL64"; then
7668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7669 $as_echo "$ac_ct_OTOOL64" >&6; }
7670 else
7671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7672 $as_echo "no" >&6; }
7673 fi
7674
7675   if test "x$ac_ct_OTOOL64" = x; then
7676     OTOOL64=":"
7677   else
7678     case $cross_compiling:$ac_tool_warned in
7679 yes:)
7680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7681 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7682 ac_tool_warned=yes ;;
7683 esac
7684     OTOOL64=$ac_ct_OTOOL64
7685   fi
7686 else
7687   OTOOL64="$ac_cv_prog_OTOOL64"
7688 fi
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7717 $as_echo_n "checking for -single_module linker flag... " >&6; }
7718 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7719   $as_echo_n "(cached) " >&6
7720 else
7721   lt_cv_apple_cc_single_mod=no
7722       if test -z "${LT_MULTI_MODULE}"; then
7723         # By default we will add the -single_module flag. You can override
7724         # by either setting the environment variable LT_MULTI_MODULE
7725         # non-empty at configure time, or by adding -multi_module to the
7726         # link flags.
7727         rm -rf libconftest.dylib*
7728         echo "int foo(void){return 1;}" > conftest.c
7729         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7730 -dynamiclib -Wl,-single_module conftest.c" >&5
7731         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7732           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7733         _lt_result=$?
7734         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7735           lt_cv_apple_cc_single_mod=yes
7736         else
7737           cat conftest.err >&5
7738         fi
7739         rm -rf libconftest.dylib*
7740         rm -f conftest.*
7741       fi
7742 fi
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7744 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7745     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7746 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7747 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7748   $as_echo_n "(cached) " >&6
7749 else
7750   lt_cv_ld_exported_symbols_list=no
7751       save_LDFLAGS=$LDFLAGS
7752       echo "_main" > conftest.sym
7753       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7754       if test x$gcc_no_link = xyes; then
7755   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7756 fi
7757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7758 /* end confdefs.h.  */
7759
7760 int
7761 main ()
7762 {
7763
7764   ;
7765   return 0;
7766 }
7767 _ACEOF
7768 if ac_fn_c_try_link "$LINENO"; then :
7769   lt_cv_ld_exported_symbols_list=yes
7770 else
7771   lt_cv_ld_exported_symbols_list=no
7772 fi
7773 rm -f core conftest.err conftest.$ac_objext \
7774     conftest$ac_exeext conftest.$ac_ext
7775         LDFLAGS="$save_LDFLAGS"
7776
7777 fi
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7779 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7780     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7781 $as_echo_n "checking for -force_load linker flag... " >&6; }
7782 if test "${lt_cv_ld_force_load+set}" = set; then :
7783   $as_echo_n "(cached) " >&6
7784 else
7785   lt_cv_ld_force_load=no
7786       cat > conftest.c << _LT_EOF
7787 int forced_loaded() { return 2;}
7788 _LT_EOF
7789       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7790       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7791       echo "$AR cru libconftest.a conftest.o" >&5
7792       $AR cru libconftest.a conftest.o 2>&5
7793       cat > conftest.c << _LT_EOF
7794 int main() { return 0;}
7795 _LT_EOF
7796       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7797       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7798       _lt_result=$?
7799       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7800         lt_cv_ld_force_load=yes
7801       else
7802         cat conftest.err >&5
7803       fi
7804         rm -f conftest.err libconftest.a conftest conftest.c
7805         rm -rf conftest.dSYM
7806
7807 fi
7808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7809 $as_echo "$lt_cv_ld_force_load" >&6; }
7810     case $host_os in
7811     rhapsody* | darwin1.[012])
7812       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7813     darwin1.*)
7814       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7815     darwin*) # darwin 5.x on
7816       # if running on 10.5 or later, the deployment target defaults
7817       # to the OS version, if on x86, and 10.4, the deployment
7818       # target defaults to 10.4. Don't you love it?
7819       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7820         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7821           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7822         10.[012]*)
7823           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7824         10.*)
7825           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7826       esac
7827     ;;
7828   esac
7829     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7830       _lt_dar_single_mod='$single_module'
7831     fi
7832     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7833       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7834     else
7835       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7836     fi
7837     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7838       _lt_dsymutil='~$DSYMUTIL $lib || :'
7839     else
7840       _lt_dsymutil=
7841     fi
7842     ;;
7843   esac
7844
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7846 $as_echo_n "checking for ANSI C header files... " >&6; }
7847 if test "${ac_cv_header_stdc+set}" = set; then :
7848   $as_echo_n "(cached) " >&6
7849 else
7850   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7851 /* end confdefs.h.  */
7852 #include <stdlib.h>
7853 #include <stdarg.h>
7854 #include <string.h>
7855 #include <float.h>
7856
7857 int
7858 main ()
7859 {
7860
7861   ;
7862   return 0;
7863 }
7864 _ACEOF
7865 if ac_fn_c_try_compile "$LINENO"; then :
7866   ac_cv_header_stdc=yes
7867 else
7868   ac_cv_header_stdc=no
7869 fi
7870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7871
7872 if test $ac_cv_header_stdc = yes; then
7873   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7874   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7875 /* end confdefs.h.  */
7876 #include <string.h>
7877
7878 _ACEOF
7879 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7880   $EGREP "memchr" >/dev/null 2>&1; then :
7881
7882 else
7883   ac_cv_header_stdc=no
7884 fi
7885 rm -f conftest*
7886
7887 fi
7888
7889 if test $ac_cv_header_stdc = yes; then
7890   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7891   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7892 /* end confdefs.h.  */
7893 #include <stdlib.h>
7894
7895 _ACEOF
7896 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7897   $EGREP "free" >/dev/null 2>&1; then :
7898
7899 else
7900   ac_cv_header_stdc=no
7901 fi
7902 rm -f conftest*
7903
7904 fi
7905
7906 if test $ac_cv_header_stdc = yes; then
7907   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7908   if test "$cross_compiling" = yes; then :
7909   :
7910 else
7911   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7912 /* end confdefs.h.  */
7913 #include <ctype.h>
7914 #include <stdlib.h>
7915 #if ((' ' & 0x0FF) == 0x020)
7916 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7917 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7918 #else
7919 # define ISLOWER(c) \
7920                    (('a' <= (c) && (c) <= 'i') \
7921                      || ('j' <= (c) && (c) <= 'r') \
7922                      || ('s' <= (c) && (c) <= 'z'))
7923 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7924 #endif
7925
7926 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7927 int
7928 main ()
7929 {
7930   int i;
7931   for (i = 0; i < 256; i++)
7932     if (XOR (islower (i), ISLOWER (i))
7933         || toupper (i) != TOUPPER (i))
7934       return 2;
7935   return 0;
7936 }
7937 _ACEOF
7938 if ac_fn_c_try_run "$LINENO"; then :
7939
7940 else
7941   ac_cv_header_stdc=no
7942 fi
7943 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7944   conftest.$ac_objext conftest.beam conftest.$ac_ext
7945 fi
7946
7947 fi
7948 fi
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7950 $as_echo "$ac_cv_header_stdc" >&6; }
7951 if test $ac_cv_header_stdc = yes; then
7952
7953 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7954
7955 fi
7956
7957 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7958 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7959                   inttypes.h stdint.h unistd.h
7960 do :
7961   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7962 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7963 "
7964 eval as_val=\$$as_ac_Header
7965    if test "x$as_val" = x""yes; then :
7966   cat >>confdefs.h <<_ACEOF
7967 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7968 _ACEOF
7969
7970 fi
7971
7972 done
7973
7974
7975 for ac_header in dlfcn.h
7976 do :
7977   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7978 "
7979 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7980   cat >>confdefs.h <<_ACEOF
7981 #define HAVE_DLFCN_H 1
7982 _ACEOF
7983
7984 fi
7985
7986 done
7987
7988
7989
7990
7991
7992
7993 # Set options
7994
7995
7996
7997
7998   enable_win32_dll=no
7999
8000
8001             # Check whether --enable-shared was given.
8002 if test "${enable_shared+set}" = set; then :
8003   enableval=$enable_shared; p=${PACKAGE-default}
8004     case $enableval in
8005     yes) enable_shared=yes ;;
8006     no) enable_shared=no ;;
8007     *)
8008       enable_shared=no
8009       # Look at the argument we got.  We use all the common list separators.
8010       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8011       for pkg in $enableval; do
8012         IFS="$lt_save_ifs"
8013         if test "X$pkg" = "X$p"; then
8014           enable_shared=yes
8015         fi
8016       done
8017       IFS="$lt_save_ifs"
8018       ;;
8019     esac
8020 else
8021   enable_shared=yes
8022 fi
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032   # Check whether --enable-static was given.
8033 if test "${enable_static+set}" = set; then :
8034   enableval=$enable_static; p=${PACKAGE-default}
8035     case $enableval in
8036     yes) enable_static=yes ;;
8037     no) enable_static=no ;;
8038     *)
8039      enable_static=no
8040       # Look at the argument we got.  We use all the common list separators.
8041       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8042       for pkg in $enableval; do
8043         IFS="$lt_save_ifs"
8044         if test "X$pkg" = "X$p"; then
8045           enable_static=yes
8046         fi
8047       done
8048       IFS="$lt_save_ifs"
8049       ;;
8050     esac
8051 else
8052   enable_static=yes
8053 fi
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064 # Check whether --with-pic was given.
8065 if test "${with_pic+set}" = set; then :
8066   withval=$with_pic; pic_mode="$withval"
8067 else
8068   pic_mode=default
8069 fi
8070
8071
8072 test -z "$pic_mode" && pic_mode=default
8073
8074
8075
8076
8077
8078
8079
8080   # Check whether --enable-fast-install was given.
8081 if test "${enable_fast_install+set}" = set; then :
8082   enableval=$enable_fast_install; p=${PACKAGE-default}
8083     case $enableval in
8084     yes) enable_fast_install=yes ;;
8085     no) enable_fast_install=no ;;
8086     *)
8087       enable_fast_install=no
8088       # Look at the argument we got.  We use all the common list separators.
8089       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8090       for pkg in $enableval; do
8091         IFS="$lt_save_ifs"
8092         if test "X$pkg" = "X$p"; then
8093           enable_fast_install=yes
8094         fi
8095       done
8096       IFS="$lt_save_ifs"
8097       ;;
8098     esac
8099 else
8100   enable_fast_install=yes
8101 fi
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113 # This can be used to rebuild libtool when needed
8114 LIBTOOL_DEPS="$ltmain"
8115
8116 # Always use our own libtool.
8117 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144 test -z "$LN_S" && LN_S="ln -s"
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159 if test -n "${ZSH_VERSION+set}" ; then
8160    setopt NO_GLOB_SUBST
8161 fi
8162
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8164 $as_echo_n "checking for objdir... " >&6; }
8165 if test "${lt_cv_objdir+set}" = set; then :
8166   $as_echo_n "(cached) " >&6
8167 else
8168   rm -f .libs 2>/dev/null
8169 mkdir .libs 2>/dev/null
8170 if test -d .libs; then
8171   lt_cv_objdir=.libs
8172 else
8173   # MS-DOS does not allow filenames that begin with a dot.
8174   lt_cv_objdir=_libs
8175 fi
8176 rmdir .libs 2>/dev/null
8177 fi
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8179 $as_echo "$lt_cv_objdir" >&6; }
8180 objdir=$lt_cv_objdir
8181
8182
8183
8184
8185
8186 cat >>confdefs.h <<_ACEOF
8187 #define LT_OBJDIR "$lt_cv_objdir/"
8188 _ACEOF
8189
8190
8191
8192
8193 case $host_os in
8194 aix3*)
8195   # AIX sometimes has problems with the GCC collect2 program.  For some
8196   # reason, if we set the COLLECT_NAMES environment variable, the problems
8197   # vanish in a puff of smoke.
8198   if test "X${COLLECT_NAMES+set}" != Xset; then
8199     COLLECT_NAMES=
8200     export COLLECT_NAMES
8201   fi
8202   ;;
8203 esac
8204
8205 # Global variables:
8206 ofile=libtool
8207 can_build_shared=yes
8208
8209 # All known linkers require a `.a' archive for static linking (except MSVC,
8210 # which needs '.lib').
8211 libext=a
8212
8213 with_gnu_ld="$lt_cv_prog_gnu_ld"
8214
8215 old_CC="$CC"
8216 old_CFLAGS="$CFLAGS"
8217
8218 # Set sane defaults for various variables
8219 test -z "$CC" && CC=cc
8220 test -z "$LTCC" && LTCC=$CC
8221 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8222 test -z "$LD" && LD=ld
8223 test -z "$ac_objext" && ac_objext=o
8224
8225 for cc_temp in $compiler""; do
8226   case $cc_temp in
8227     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8228     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8229     \-*) ;;
8230     *) break;;
8231   esac
8232 done
8233 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8234
8235
8236 # Only perform the check for file, if the check method requires it
8237 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8238 case $deplibs_check_method in
8239 file_magic*)
8240   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8241     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8242 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8243 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8244   $as_echo_n "(cached) " >&6
8245 else
8246   case $MAGIC_CMD in
8247 [\\/*] |  ?:[\\/]*)
8248   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8249   ;;
8250 *)
8251   lt_save_MAGIC_CMD="$MAGIC_CMD"
8252   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8253   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8254   for ac_dir in $ac_dummy; do
8255     IFS="$lt_save_ifs"
8256     test -z "$ac_dir" && ac_dir=.
8257     if test -f $ac_dir/${ac_tool_prefix}file; then
8258       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8259       if test -n "$file_magic_test_file"; then
8260         case $deplibs_check_method in
8261         "file_magic "*)
8262           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8263           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8264           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8265             $EGREP "$file_magic_regex" > /dev/null; then
8266             :
8267           else
8268             cat <<_LT_EOF 1>&2
8269
8270 *** Warning: the command libtool uses to detect shared libraries,
8271 *** $file_magic_cmd, produces output that libtool cannot recognize.
8272 *** The result is that libtool may fail to recognize shared libraries
8273 *** as such.  This will affect the creation of libtool libraries that
8274 *** depend on shared libraries, but programs linked with such libtool
8275 *** libraries will work regardless of this problem.  Nevertheless, you
8276 *** may want to report the problem to your system manager and/or to
8277 *** bug-libtool@gnu.org
8278
8279 _LT_EOF
8280           fi ;;
8281         esac
8282       fi
8283       break
8284     fi
8285   done
8286   IFS="$lt_save_ifs"
8287   MAGIC_CMD="$lt_save_MAGIC_CMD"
8288   ;;
8289 esac
8290 fi
8291
8292 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8293 if test -n "$MAGIC_CMD"; then
8294   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8295 $as_echo "$MAGIC_CMD" >&6; }
8296 else
8297   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8298 $as_echo "no" >&6; }
8299 fi
8300
8301
8302
8303
8304
8305 if test -z "$lt_cv_path_MAGIC_CMD"; then
8306   if test -n "$ac_tool_prefix"; then
8307     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8308 $as_echo_n "checking for file... " >&6; }
8309 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8310   $as_echo_n "(cached) " >&6
8311 else
8312   case $MAGIC_CMD in
8313 [\\/*] |  ?:[\\/]*)
8314   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8315   ;;
8316 *)
8317   lt_save_MAGIC_CMD="$MAGIC_CMD"
8318   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8319   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8320   for ac_dir in $ac_dummy; do
8321     IFS="$lt_save_ifs"
8322     test -z "$ac_dir" && ac_dir=.
8323     if test -f $ac_dir/file; then
8324       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8325       if test -n "$file_magic_test_file"; then
8326         case $deplibs_check_method in
8327         "file_magic "*)
8328           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8329           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8330           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8331             $EGREP "$file_magic_regex" > /dev/null; then
8332             :
8333           else
8334             cat <<_LT_EOF 1>&2
8335
8336 *** Warning: the command libtool uses to detect shared libraries,
8337 *** $file_magic_cmd, produces output that libtool cannot recognize.
8338 *** The result is that libtool may fail to recognize shared libraries
8339 *** as such.  This will affect the creation of libtool libraries that
8340 *** depend on shared libraries, but programs linked with such libtool
8341 *** libraries will work regardless of this problem.  Nevertheless, you
8342 *** may want to report the problem to your system manager and/or to
8343 *** bug-libtool@gnu.org
8344
8345 _LT_EOF
8346           fi ;;
8347         esac
8348       fi
8349       break
8350     fi
8351   done
8352   IFS="$lt_save_ifs"
8353   MAGIC_CMD="$lt_save_MAGIC_CMD"
8354   ;;
8355 esac
8356 fi
8357
8358 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8359 if test -n "$MAGIC_CMD"; then
8360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8361 $as_echo "$MAGIC_CMD" >&6; }
8362 else
8363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8364 $as_echo "no" >&6; }
8365 fi
8366
8367
8368   else
8369     MAGIC_CMD=:
8370   fi
8371 fi
8372
8373   fi
8374   ;;
8375 esac
8376
8377 # Use C for the default configuration in the libtool script
8378
8379 lt_save_CC="$CC"
8380 ac_ext=c
8381 ac_cpp='$CPP $CPPFLAGS'
8382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8385
8386
8387 # Source file extension for C test sources.
8388 ac_ext=c
8389
8390 # Object file extension for compiled C test sources.
8391 objext=o
8392 objext=$objext
8393
8394 # Code to be used in simple compile tests
8395 lt_simple_compile_test_code="int some_variable = 0;"
8396
8397 # Code to be used in simple link tests
8398 lt_simple_link_test_code='int main(){return(0);}'
8399
8400
8401
8402
8403
8404
8405
8406 # If no C compiler was specified, use CC.
8407 LTCC=${LTCC-"$CC"}
8408
8409 # If no C compiler flags were specified, use CFLAGS.
8410 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8411
8412 # Allow CC to be a program name with arguments.
8413 compiler=$CC
8414
8415 # Save the default compiler, since it gets overwritten when the other
8416 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8417 compiler_DEFAULT=$CC
8418
8419 # save warnings/boilerplate of simple test code
8420 ac_outfile=conftest.$ac_objext
8421 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8422 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8423 _lt_compiler_boilerplate=`cat conftest.err`
8424 $RM conftest*
8425
8426 ac_outfile=conftest.$ac_objext
8427 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8428 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8429 _lt_linker_boilerplate=`cat conftest.err`
8430 $RM -r conftest*
8431
8432
8433 ## CAVEAT EMPTOR:
8434 ## There is no encapsulation within the following macros, do not change
8435 ## the running order or otherwise move them around unless you know exactly
8436 ## what you are doing...
8437 if test -n "$compiler"; then
8438
8439 lt_prog_compiler_no_builtin_flag=
8440
8441 if test "$GCC" = yes; then
8442   case $cc_basename in
8443   nvcc*)
8444     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8445   *)
8446     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8447   esac
8448
8449   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8450 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8451 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8452   $as_echo_n "(cached) " >&6
8453 else
8454   lt_cv_prog_compiler_rtti_exceptions=no
8455    ac_outfile=conftest.$ac_objext
8456    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8457    lt_compiler_flag="-fno-rtti -fno-exceptions"
8458    # Insert the option either (1) after the last *FLAGS variable, or
8459    # (2) before a word containing "conftest.", or (3) at the end.
8460    # Note that $ac_compile itself does not contain backslashes and begins
8461    # with a dollar sign (not a hyphen), so the echo should work correctly.
8462    # The option is referenced via a variable to avoid confusing sed.
8463    lt_compile=`echo "$ac_compile" | $SED \
8464    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8465    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8466    -e 's:$: $lt_compiler_flag:'`
8467    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8468    (eval "$lt_compile" 2>conftest.err)
8469    ac_status=$?
8470    cat conftest.err >&5
8471    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8472    if (exit $ac_status) && test -s "$ac_outfile"; then
8473      # The compiler can only warn and ignore the option if not recognized
8474      # So say no if there are warnings other than the usual output.
8475      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8476      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8477      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8478        lt_cv_prog_compiler_rtti_exceptions=yes
8479      fi
8480    fi
8481    $RM conftest*
8482
8483 fi
8484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8485 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8486
8487 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8488     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8489 else
8490     :
8491 fi
8492
8493 fi
8494
8495
8496
8497
8498
8499
8500   lt_prog_compiler_wl=
8501 lt_prog_compiler_pic=
8502 lt_prog_compiler_static=
8503
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8505 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8506
8507   if test "$GCC" = yes; then
8508     lt_prog_compiler_wl='-Wl,'
8509     lt_prog_compiler_static='-static'
8510
8511     case $host_os in
8512       aix*)
8513       # All AIX code is PIC.
8514       if test "$host_cpu" = ia64; then
8515         # AIX 5 now supports IA64 processor
8516         lt_prog_compiler_static='-Bstatic'
8517       fi
8518       ;;
8519
8520     amigaos*)
8521       case $host_cpu in
8522       powerpc)
8523             # see comment about AmigaOS4 .so support
8524             lt_prog_compiler_pic='-fPIC'
8525         ;;
8526       m68k)
8527             # FIXME: we need at least 68020 code to build shared libraries, but
8528             # adding the `-m68020' flag to GCC prevents building anything better,
8529             # like `-m68040'.
8530             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8531         ;;
8532       esac
8533       ;;
8534
8535     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8536       # PIC is the default for these OSes.
8537       ;;
8538
8539     mingw* | cygwin* | pw32* | os2* | cegcc*)
8540       # This hack is so that the source file can tell whether it is being
8541       # built for inclusion in a dll (and should export symbols for example).
8542       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8543       # (--disable-auto-import) libraries
8544       lt_prog_compiler_pic='-DDLL_EXPORT'
8545       ;;
8546
8547     darwin* | rhapsody*)
8548       # PIC is the default on this platform
8549       # Common symbols not allowed in MH_DYLIB files
8550       lt_prog_compiler_pic='-fno-common'
8551       ;;
8552
8553     haiku*)
8554       # PIC is the default for Haiku.
8555       # The "-static" flag exists, but is broken.
8556       lt_prog_compiler_static=
8557       ;;
8558
8559     hpux*)
8560       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8561       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8562       # sets the default TLS model and affects inlining.
8563       case $host_cpu in
8564       hppa*64*)
8565         # +Z the default
8566         ;;
8567       *)
8568         lt_prog_compiler_pic='-fPIC'
8569         ;;
8570       esac
8571       ;;
8572
8573     interix[3-9]*)
8574       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8575       # Instead, we relocate shared libraries at runtime.
8576       ;;
8577
8578     msdosdjgpp*)
8579       # Just because we use GCC doesn't mean we suddenly get shared libraries
8580       # on systems that don't support them.
8581       lt_prog_compiler_can_build_shared=no
8582       enable_shared=no
8583       ;;
8584
8585     *nto* | *qnx*)
8586       # QNX uses GNU C++, but need to define -shared option too, otherwise
8587       # it will coredump.
8588       lt_prog_compiler_pic='-fPIC -shared'
8589       ;;
8590
8591     sysv4*MP*)
8592       if test -d /usr/nec; then
8593         lt_prog_compiler_pic=-Kconform_pic
8594       fi
8595       ;;
8596
8597     *)
8598       lt_prog_compiler_pic='-fPIC'
8599       ;;
8600     esac
8601
8602     case $cc_basename in
8603     nvcc*) # Cuda Compiler Driver 2.2
8604       lt_prog_compiler_wl='-Xlinker '
8605       lt_prog_compiler_pic='-Xcompiler -fPIC'
8606       ;;
8607     esac
8608   else
8609     # PORTME Check for flag to pass linker flags through the system compiler.
8610     case $host_os in
8611     aix*)
8612       lt_prog_compiler_wl='-Wl,'
8613       if test "$host_cpu" = ia64; then
8614         # AIX 5 now supports IA64 processor
8615         lt_prog_compiler_static='-Bstatic'
8616       else
8617         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8618       fi
8619       ;;
8620
8621     mingw* | cygwin* | pw32* | os2* | cegcc*)
8622       # This hack is so that the source file can tell whether it is being
8623       # built for inclusion in a dll (and should export symbols for example).
8624       lt_prog_compiler_pic='-DDLL_EXPORT'
8625       ;;
8626
8627     hpux9* | hpux10* | hpux11*)
8628       lt_prog_compiler_wl='-Wl,'
8629       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8630       # not for PA HP-UX.
8631       case $host_cpu in
8632       hppa*64*|ia64*)
8633         # +Z the default
8634         ;;
8635       *)
8636         lt_prog_compiler_pic='+Z'
8637         ;;
8638       esac
8639       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8640       lt_prog_compiler_static='${wl}-a ${wl}archive'
8641       ;;
8642
8643     irix5* | irix6* | nonstopux*)
8644       lt_prog_compiler_wl='-Wl,'
8645       # PIC (with -KPIC) is the default.
8646       lt_prog_compiler_static='-non_shared'
8647       ;;
8648
8649     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8650       case $cc_basename in
8651       # old Intel for x86_64 which still supported -KPIC.
8652       ecc*)
8653         lt_prog_compiler_wl='-Wl,'
8654         lt_prog_compiler_pic='-KPIC'
8655         lt_prog_compiler_static='-static'
8656         ;;
8657       # icc used to be incompatible with GCC.
8658       # ICC 10 doesn't accept -KPIC any more.
8659       icc* | ifort*)
8660         lt_prog_compiler_wl='-Wl,'
8661         lt_prog_compiler_pic='-fPIC'
8662         lt_prog_compiler_static='-static'
8663         ;;
8664       # Lahey Fortran 8.1.
8665       lf95*)
8666         lt_prog_compiler_wl='-Wl,'
8667         lt_prog_compiler_pic='--shared'
8668         lt_prog_compiler_static='--static'
8669         ;;
8670       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8671         # Portland Group compilers (*not* the Pentium gcc compiler,
8672         # which looks to be a dead project)
8673         lt_prog_compiler_wl='-Wl,'
8674         lt_prog_compiler_pic='-fpic'
8675         lt_prog_compiler_static='-Bstatic'
8676         ;;
8677       ccc*)
8678         lt_prog_compiler_wl='-Wl,'
8679         # All Alpha code is PIC.
8680         lt_prog_compiler_static='-non_shared'
8681         ;;
8682       xl* | bgxl* | bgf* | mpixl*)
8683         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8684         lt_prog_compiler_wl='-Wl,'
8685         lt_prog_compiler_pic='-qpic'
8686         lt_prog_compiler_static='-qstaticlink'
8687         ;;
8688       *)
8689         case `$CC -V 2>&1 | sed 5q` in
8690         *Sun\ F* | *Sun*Fortran*)
8691           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8692           lt_prog_compiler_pic='-KPIC'
8693           lt_prog_compiler_static='-Bstatic'
8694           lt_prog_compiler_wl=''
8695           ;;
8696         *Sun\ C*)
8697           # Sun C 5.9
8698           lt_prog_compiler_pic='-KPIC'
8699           lt_prog_compiler_static='-Bstatic'
8700           lt_prog_compiler_wl='-Wl,'
8701           ;;
8702         esac
8703         ;;
8704       esac
8705       ;;
8706
8707     newsos6)
8708       lt_prog_compiler_pic='-KPIC'
8709       lt_prog_compiler_static='-Bstatic'
8710       ;;
8711
8712     *nto* | *qnx*)
8713       # QNX uses GNU C++, but need to define -shared option too, otherwise
8714       # it will coredump.
8715       lt_prog_compiler_pic='-fPIC -shared'
8716       ;;
8717
8718     osf3* | osf4* | osf5*)
8719       lt_prog_compiler_wl='-Wl,'
8720       # All OSF/1 code is PIC.
8721       lt_prog_compiler_static='-non_shared'
8722       ;;
8723
8724     rdos*)
8725       lt_prog_compiler_static='-non_shared'
8726       ;;
8727
8728     solaris*)
8729       lt_prog_compiler_pic='-KPIC'
8730       lt_prog_compiler_static='-Bstatic'
8731       case $cc_basename in
8732       f77* | f90* | f95*)
8733         lt_prog_compiler_wl='-Qoption ld ';;
8734       *)
8735         lt_prog_compiler_wl='-Wl,';;
8736       esac
8737       ;;
8738
8739     sunos4*)
8740       lt_prog_compiler_wl='-Qoption ld '
8741       lt_prog_compiler_pic='-PIC'
8742       lt_prog_compiler_static='-Bstatic'
8743       ;;
8744
8745     sysv4 | sysv4.2uw2* | sysv4.3*)
8746       lt_prog_compiler_wl='-Wl,'
8747       lt_prog_compiler_pic='-KPIC'
8748       lt_prog_compiler_static='-Bstatic'
8749       ;;
8750
8751     sysv4*MP*)
8752       if test -d /usr/nec ;then
8753         lt_prog_compiler_pic='-Kconform_pic'
8754         lt_prog_compiler_static='-Bstatic'
8755       fi
8756       ;;
8757
8758     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8759       lt_prog_compiler_wl='-Wl,'
8760       lt_prog_compiler_pic='-KPIC'
8761       lt_prog_compiler_static='-Bstatic'
8762       ;;
8763
8764     unicos*)
8765       lt_prog_compiler_wl='-Wl,'
8766       lt_prog_compiler_can_build_shared=no
8767       ;;
8768
8769     uts4*)
8770       lt_prog_compiler_pic='-pic'
8771       lt_prog_compiler_static='-Bstatic'
8772       ;;
8773
8774     *)
8775       lt_prog_compiler_can_build_shared=no
8776       ;;
8777     esac
8778   fi
8779
8780 case $host_os in
8781   # For platforms which do not support PIC, -DPIC is meaningless:
8782   *djgpp*)
8783     lt_prog_compiler_pic=
8784     ;;
8785   *)
8786     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8787     ;;
8788 esac
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8790 $as_echo "$lt_prog_compiler_pic" >&6; }
8791
8792
8793
8794
8795
8796
8797 #
8798 # Check to make sure the PIC flag actually works.
8799 #
8800 if test -n "$lt_prog_compiler_pic"; then
8801   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8802 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8803 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8804   $as_echo_n "(cached) " >&6
8805 else
8806   lt_cv_prog_compiler_pic_works=no
8807    ac_outfile=conftest.$ac_objext
8808    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8809    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8810    # Insert the option either (1) after the last *FLAGS variable, or
8811    # (2) before a word containing "conftest.", or (3) at the end.
8812    # Note that $ac_compile itself does not contain backslashes and begins
8813    # with a dollar sign (not a hyphen), so the echo should work correctly.
8814    # The option is referenced via a variable to avoid confusing sed.
8815    lt_compile=`echo "$ac_compile" | $SED \
8816    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8817    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8818    -e 's:$: $lt_compiler_flag:'`
8819    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8820    (eval "$lt_compile" 2>conftest.err)
8821    ac_status=$?
8822    cat conftest.err >&5
8823    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8824    if (exit $ac_status) && test -s "$ac_outfile"; then
8825      # The compiler can only warn and ignore the option if not recognized
8826      # So say no if there are warnings other than the usual output.
8827      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8828      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8829      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8830        lt_cv_prog_compiler_pic_works=yes
8831      fi
8832    fi
8833    $RM conftest*
8834
8835 fi
8836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8837 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8838
8839 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8840     case $lt_prog_compiler_pic in
8841      "" | " "*) ;;
8842      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8843      esac
8844 else
8845     lt_prog_compiler_pic=
8846      lt_prog_compiler_can_build_shared=no
8847 fi
8848
8849 fi
8850
8851
8852
8853
8854
8855
8856 #
8857 # Check to make sure the static flag actually works.
8858 #
8859 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8861 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8862 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8863   $as_echo_n "(cached) " >&6
8864 else
8865   lt_cv_prog_compiler_static_works=no
8866    save_LDFLAGS="$LDFLAGS"
8867    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8868    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8869    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8870      # The linker can only warn and ignore the option if not recognized
8871      # So say no if there are warnings
8872      if test -s conftest.err; then
8873        # Append any errors to the config.log.
8874        cat conftest.err 1>&5
8875        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8876        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8877        if diff conftest.exp conftest.er2 >/dev/null; then
8878          lt_cv_prog_compiler_static_works=yes
8879        fi
8880      else
8881        lt_cv_prog_compiler_static_works=yes
8882      fi
8883    fi
8884    $RM -r conftest*
8885    LDFLAGS="$save_LDFLAGS"
8886
8887 fi
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8889 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8890
8891 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8892     :
8893 else
8894     lt_prog_compiler_static=
8895 fi
8896
8897
8898
8899
8900
8901
8902
8903   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8904 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8905 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8906   $as_echo_n "(cached) " >&6
8907 else
8908   lt_cv_prog_compiler_c_o=no
8909    $RM -r conftest 2>/dev/null
8910    mkdir conftest
8911    cd conftest
8912    mkdir out
8913    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8914
8915    lt_compiler_flag="-o out/conftest2.$ac_objext"
8916    # Insert the option either (1) after the last *FLAGS variable, or
8917    # (2) before a word containing "conftest.", or (3) at the end.
8918    # Note that $ac_compile itself does not contain backslashes and begins
8919    # with a dollar sign (not a hyphen), so the echo should work correctly.
8920    lt_compile=`echo "$ac_compile" | $SED \
8921    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8922    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8923    -e 's:$: $lt_compiler_flag:'`
8924    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8925    (eval "$lt_compile" 2>out/conftest.err)
8926    ac_status=$?
8927    cat out/conftest.err >&5
8928    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8929    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8930    then
8931      # The compiler can only warn and ignore the option if not recognized
8932      # So say no if there are warnings
8933      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8934      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8935      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8936        lt_cv_prog_compiler_c_o=yes
8937      fi
8938    fi
8939    chmod u+w . 2>&5
8940    $RM conftest*
8941    # SGI C++ compiler will create directory out/ii_files/ for
8942    # template instantiation
8943    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8944    $RM out/* && rmdir out
8945    cd ..
8946    $RM -r conftest
8947    $RM conftest*
8948
8949 fi
8950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8951 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8952
8953
8954
8955
8956
8957
8958   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8959 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8960 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8961   $as_echo_n "(cached) " >&6
8962 else
8963   lt_cv_prog_compiler_c_o=no
8964    $RM -r conftest 2>/dev/null
8965    mkdir conftest
8966    cd conftest
8967    mkdir out
8968    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8969
8970    lt_compiler_flag="-o out/conftest2.$ac_objext"
8971    # Insert the option either (1) after the last *FLAGS variable, or
8972    # (2) before a word containing "conftest.", or (3) at the end.
8973    # Note that $ac_compile itself does not contain backslashes and begins
8974    # with a dollar sign (not a hyphen), so the echo should work correctly.
8975    lt_compile=`echo "$ac_compile" | $SED \
8976    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8977    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8978    -e 's:$: $lt_compiler_flag:'`
8979    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8980    (eval "$lt_compile" 2>out/conftest.err)
8981    ac_status=$?
8982    cat out/conftest.err >&5
8983    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8984    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8985    then
8986      # The compiler can only warn and ignore the option if not recognized
8987      # So say no if there are warnings
8988      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8989      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8990      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8991        lt_cv_prog_compiler_c_o=yes
8992      fi
8993    fi
8994    chmod u+w . 2>&5
8995    $RM conftest*
8996    # SGI C++ compiler will create directory out/ii_files/ for
8997    # template instantiation
8998    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8999    $RM out/* && rmdir out
9000    cd ..
9001    $RM -r conftest
9002    $RM conftest*
9003
9004 fi
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9006 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9007
9008
9009
9010
9011 hard_links="nottested"
9012 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9013   # do not overwrite the value of need_locks provided by the user
9014   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9015 $as_echo_n "checking if we can lock with hard links... " >&6; }
9016   hard_links=yes
9017   $RM conftest*
9018   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9019   touch conftest.a
9020   ln conftest.a conftest.b 2>&5 || hard_links=no
9021   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9023 $as_echo "$hard_links" >&6; }
9024   if test "$hard_links" = no; then
9025     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9026 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9027     need_locks=warn
9028   fi
9029 else
9030   need_locks=no
9031 fi
9032
9033
9034
9035
9036
9037
9038   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9039 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9040
9041   runpath_var=
9042   allow_undefined_flag=
9043   always_export_symbols=no
9044   archive_cmds=
9045   archive_expsym_cmds=
9046   compiler_needs_object=no
9047   enable_shared_with_static_runtimes=no
9048   export_dynamic_flag_spec=
9049   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9050   hardcode_automatic=no
9051   hardcode_direct=no
9052   hardcode_direct_absolute=no
9053   hardcode_libdir_flag_spec=
9054   hardcode_libdir_flag_spec_ld=
9055   hardcode_libdir_separator=
9056   hardcode_minus_L=no
9057   hardcode_shlibpath_var=unsupported
9058   inherit_rpath=no
9059   link_all_deplibs=unknown
9060   module_cmds=
9061   module_expsym_cmds=
9062   old_archive_from_new_cmds=
9063   old_archive_from_expsyms_cmds=
9064   thread_safe_flag_spec=
9065   whole_archive_flag_spec=
9066   # include_expsyms should be a list of space-separated symbols to be *always*
9067   # included in the symbol list
9068   include_expsyms=
9069   # exclude_expsyms can be an extended regexp of symbols to exclude
9070   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9071   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9072   # as well as any symbol that contains `d'.
9073   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9074   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9075   # platforms (ab)use it in PIC code, but their linkers get confused if
9076   # the symbol is explicitly referenced.  Since portable code cannot
9077   # rely on this symbol name, it's probably fine to never include it in
9078   # preloaded symbol tables.
9079   # Exclude shared library initialization/finalization symbols.
9080   extract_expsyms_cmds=
9081
9082   case $host_os in
9083   cygwin* | mingw* | pw32* | cegcc*)
9084     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9085     # When not using gcc, we currently assume that we are using
9086     # Microsoft Visual C++.
9087     if test "$GCC" != yes; then
9088       with_gnu_ld=no
9089     fi
9090     ;;
9091   interix*)
9092     # we just hope/assume this is gcc and not c89 (= MSVC++)
9093     with_gnu_ld=yes
9094     ;;
9095   openbsd*)
9096     with_gnu_ld=no
9097     ;;
9098   esac
9099
9100   ld_shlibs=yes
9101
9102   # On some targets, GNU ld is compatible enough with the native linker
9103   # that we're better off using the native interface for both.
9104   lt_use_gnu_ld_interface=no
9105   if test "$with_gnu_ld" = yes; then
9106     case $host_os in
9107       aix*)
9108         # The AIX port of GNU ld has always aspired to compatibility
9109         # with the native linker.  However, as the warning in the GNU ld
9110         # block says, versions before 2.19.5* couldn't really create working
9111         # shared libraries, regardless of the interface used.
9112         case `$LD -v 2>&1` in
9113           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9114           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9115           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9116           *)
9117             lt_use_gnu_ld_interface=yes
9118             ;;
9119         esac
9120         ;;
9121       *)
9122         lt_use_gnu_ld_interface=yes
9123         ;;
9124     esac
9125   fi
9126
9127   if test "$lt_use_gnu_ld_interface" = yes; then
9128     # If archive_cmds runs LD, not CC, wlarc should be empty
9129     wlarc='${wl}'
9130
9131     # Set some defaults for GNU ld with shared library support. These
9132     # are reset later if shared libraries are not supported. Putting them
9133     # here allows them to be overridden if necessary.
9134     runpath_var=LD_RUN_PATH
9135     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9136     export_dynamic_flag_spec='${wl}--export-dynamic'
9137     # ancient GNU ld didn't support --whole-archive et. al.
9138     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9139       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9140     else
9141       whole_archive_flag_spec=
9142     fi
9143     supports_anon_versioning=no
9144     case `$LD -v 2>&1` in
9145       *GNU\ gold*) supports_anon_versioning=yes ;;
9146       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9147       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9148       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9149       *\ 2.11.*) ;; # other 2.11 versions
9150       *) supports_anon_versioning=yes ;;
9151     esac
9152
9153     # See if GNU ld supports shared libraries.
9154     case $host_os in
9155     aix[3-9]*)
9156       # On AIX/PPC, the GNU linker is very broken
9157       if test "$host_cpu" != ia64; then
9158         ld_shlibs=no
9159         cat <<_LT_EOF 1>&2
9160
9161 *** Warning: the GNU linker, at least up to release 2.19, is reported
9162 *** to be unable to reliably create shared libraries on AIX.
9163 *** Therefore, libtool is disabling shared libraries support.  If you
9164 *** really care for shared libraries, you may want to install binutils
9165 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9166 *** You will then need to restart the configuration process.
9167
9168 _LT_EOF
9169       fi
9170       ;;
9171
9172     amigaos*)
9173       case $host_cpu in
9174       powerpc)
9175             # see comment about AmigaOS4 .so support
9176             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9177             archive_expsym_cmds=''
9178         ;;
9179       m68k)
9180             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)'
9181             hardcode_libdir_flag_spec='-L$libdir'
9182             hardcode_minus_L=yes
9183         ;;
9184       esac
9185       ;;
9186
9187     beos*)
9188       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9189         allow_undefined_flag=unsupported
9190         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9191         # support --undefined.  This deserves some investigation.  FIXME
9192         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9193       else
9194         ld_shlibs=no
9195       fi
9196       ;;
9197
9198     cygwin* | mingw* | pw32* | cegcc*)
9199       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9200       # as there is no search path for DLLs.
9201       hardcode_libdir_flag_spec='-L$libdir'
9202       export_dynamic_flag_spec='${wl}--export-all-symbols'
9203       allow_undefined_flag=unsupported
9204       always_export_symbols=no
9205       enable_shared_with_static_runtimes=yes
9206       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9207
9208       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9209         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9210         # If the export-symbols file already is a .def file (1st line
9211         # is EXPORTS), use it as is; otherwise, prepend...
9212         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9213           cp $export_symbols $output_objdir/$soname.def;
9214         else
9215           echo EXPORTS > $output_objdir/$soname.def;
9216           cat $export_symbols >> $output_objdir/$soname.def;
9217         fi~
9218         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9219       else
9220         ld_shlibs=no
9221       fi
9222       ;;
9223
9224     haiku*)
9225       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9226       link_all_deplibs=yes
9227       ;;
9228
9229     interix[3-9]*)
9230       hardcode_direct=no
9231       hardcode_shlibpath_var=no
9232       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9233       export_dynamic_flag_spec='${wl}-E'
9234       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9235       # Instead, shared libraries are loaded at an image base (0x10000000 by
9236       # default) and relocated if they conflict, which is a slow very memory
9237       # consuming and fragmenting process.  To avoid this, we pick a random,
9238       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9239       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9240       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9241       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'
9242       ;;
9243
9244     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9245       tmp_diet=no
9246       if test "$host_os" = linux-dietlibc; then
9247         case $cc_basename in
9248           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9249         esac
9250       fi
9251       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9252          && test "$tmp_diet" = no
9253       then
9254         tmp_addflag=
9255         tmp_sharedflag='-shared'
9256         case $cc_basename,$host_cpu in
9257         pgcc*)                          # Portland Group C compiler
9258           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'
9259           tmp_addflag=' $pic_flag'
9260           ;;
9261         pgf77* | pgf90* | pgf95* | pgfortran*)
9262                                         # Portland Group f77 and f90 compilers
9263           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'
9264           tmp_addflag=' $pic_flag -Mnomain' ;;
9265         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9266           tmp_addflag=' -i_dynamic' ;;
9267         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9268           tmp_addflag=' -i_dynamic -nofor_main' ;;
9269         ifc* | ifort*)                  # Intel Fortran compiler
9270           tmp_addflag=' -nofor_main' ;;
9271         lf95*)                          # Lahey Fortran 8.1
9272           whole_archive_flag_spec=
9273           tmp_sharedflag='--shared' ;;
9274         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9275           tmp_sharedflag='-qmkshrobj'
9276           tmp_addflag= ;;
9277         nvcc*)  # Cuda Compiler Driver 2.2
9278           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'
9279           compiler_needs_object=yes
9280           ;;
9281         esac
9282         case `$CC -V 2>&1 | sed 5q` in
9283         *Sun\ C*)                       # Sun C 5.9
9284           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'
9285           compiler_needs_object=yes
9286           tmp_sharedflag='-G' ;;
9287         *Sun\ F*)                       # Sun Fortran 8.3
9288           tmp_sharedflag='-G' ;;
9289         esac
9290         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9291
9292         if test "x$supports_anon_versioning" = xyes; then
9293           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9294             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9295             echo "local: *; };" >> $output_objdir/$libname.ver~
9296             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9297         fi
9298
9299         case $cc_basename in
9300         xlf* | bgf* | bgxlf* | mpixlf*)
9301           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9302           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9303           hardcode_libdir_flag_spec=
9304           hardcode_libdir_flag_spec_ld='-rpath $libdir'
9305           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9306           if test "x$supports_anon_versioning" = xyes; then
9307             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9308               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9309               echo "local: *; };" >> $output_objdir/$libname.ver~
9310               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9311           fi
9312           ;;
9313         esac
9314       else
9315         ld_shlibs=no
9316       fi
9317       ;;
9318
9319     netbsd*)
9320       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9321         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9322         wlarc=
9323       else
9324         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9325         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9326       fi
9327       ;;
9328
9329     solaris*)
9330       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9331         ld_shlibs=no
9332         cat <<_LT_EOF 1>&2
9333
9334 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9335 *** create shared libraries on Solaris systems.  Therefore, libtool
9336 *** is disabling shared libraries support.  We urge you to upgrade GNU
9337 *** binutils to release 2.9.1 or newer.  Another option is to modify
9338 *** your PATH or compiler configuration so that the native linker is
9339 *** used, and then restart.
9340
9341 _LT_EOF
9342       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9343         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9344         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9345       else
9346         ld_shlibs=no
9347       fi
9348       ;;
9349
9350     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9351       case `$LD -v 2>&1` in
9352         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9353         ld_shlibs=no
9354         cat <<_LT_EOF 1>&2
9355
9356 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9357 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9358 *** is disabling shared libraries support.  We urge you to upgrade GNU
9359 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9360 *** your PATH or compiler configuration so that the native linker is
9361 *** used, and then restart.
9362
9363 _LT_EOF
9364         ;;
9365         *)
9366           # For security reasons, it is highly recommended that you always
9367           # use absolute paths for naming shared libraries, and exclude the
9368           # DT_RUNPATH tag from executables and libraries.  But doing so
9369           # requires that you compile everything twice, which is a pain.
9370           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9371             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9372             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9373             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9374           else
9375             ld_shlibs=no
9376           fi
9377         ;;
9378       esac
9379       ;;
9380
9381     sunos4*)
9382       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9383       wlarc=
9384       hardcode_direct=yes
9385       hardcode_shlibpath_var=no
9386       ;;
9387
9388     *)
9389       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9390         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9391         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9392       else
9393         ld_shlibs=no
9394       fi
9395       ;;
9396     esac
9397
9398     if test "$ld_shlibs" = no; then
9399       runpath_var=
9400       hardcode_libdir_flag_spec=
9401       export_dynamic_flag_spec=
9402       whole_archive_flag_spec=
9403     fi
9404   else
9405     # PORTME fill in a description of your system's linker (not GNU ld)
9406     case $host_os in
9407     aix3*)
9408       allow_undefined_flag=unsupported
9409       always_export_symbols=yes
9410       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'
9411       # Note: this linker hardcodes the directories in LIBPATH if there
9412       # are no directories specified by -L.
9413       hardcode_minus_L=yes
9414       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9415         # Neither direct hardcoding nor static linking is supported with a
9416         # broken collect2.
9417         hardcode_direct=unsupported
9418       fi
9419       ;;
9420
9421     aix[4-9]*)
9422       if test "$host_cpu" = ia64; then
9423         # On IA64, the linker does run time linking by default, so we don't
9424         # have to do anything special.
9425         aix_use_runtimelinking=no
9426         exp_sym_flag='-Bexport'
9427         no_entry_flag=""
9428       else
9429         # If we're using GNU nm, then we don't want the "-C" option.
9430         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9431         # Also, AIX nm treats weak defined symbols like other global
9432         # defined symbols, whereas GNU nm marks them as "W".
9433         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9434           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'
9435         else
9436           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'
9437         fi
9438         aix_use_runtimelinking=no
9439
9440         # Test if we are trying to use run time linking or normal
9441         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9442         # need to do runtime linking.
9443         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9444           for ld_flag in $LDFLAGS; do
9445           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9446             aix_use_runtimelinking=yes
9447             break
9448           fi
9449           done
9450           ;;
9451         esac
9452
9453         exp_sym_flag='-bexport'
9454         no_entry_flag='-bnoentry'
9455       fi
9456
9457       # When large executables or shared objects are built, AIX ld can
9458       # have problems creating the table of contents.  If linking a library
9459       # or program results in "error TOC overflow" add -mminimal-toc to
9460       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9461       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9462
9463       archive_cmds=''
9464       hardcode_direct=yes
9465       hardcode_direct_absolute=yes
9466       hardcode_libdir_separator=':'
9467       link_all_deplibs=yes
9468       file_list_spec='${wl}-f,'
9469
9470       if test "$GCC" = yes; then
9471         case $host_os in aix4.[012]|aix4.[012].*)
9472         # We only want to do this on AIX 4.2 and lower, the check
9473         # below for broken collect2 doesn't work under 4.3+
9474           collect2name=`${CC} -print-prog-name=collect2`
9475           if test -f "$collect2name" &&
9476            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9477           then
9478           # We have reworked collect2
9479           :
9480           else
9481           # We have old collect2
9482           hardcode_direct=unsupported
9483           # It fails to find uninstalled libraries when the uninstalled
9484           # path is not listed in the libpath.  Setting hardcode_minus_L
9485           # to unsupported forces relinking
9486           hardcode_minus_L=yes
9487           hardcode_libdir_flag_spec='-L$libdir'
9488           hardcode_libdir_separator=
9489           fi
9490           ;;
9491         esac
9492         shared_flag='-shared'
9493         if test "$aix_use_runtimelinking" = yes; then
9494           shared_flag="$shared_flag "'${wl}-G'
9495         fi
9496       else
9497         # not using gcc
9498         if test "$host_cpu" = ia64; then
9499         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9500         # chokes on -Wl,-G. The following line is correct:
9501           shared_flag='-G'
9502         else
9503           if test "$aix_use_runtimelinking" = yes; then
9504             shared_flag='${wl}-G'
9505           else
9506             shared_flag='${wl}-bM:SRE'
9507           fi
9508         fi
9509       fi
9510
9511       export_dynamic_flag_spec='${wl}-bexpall'
9512       # It seems that -bexpall does not export symbols beginning with
9513       # underscore (_), so it is better to generate a list of symbols to export.
9514       always_export_symbols=yes
9515       if test "$aix_use_runtimelinking" = yes; then
9516         # Warning - without using the other runtime loading flags (-brtl),
9517         # -berok will link without error, but may produce a broken library.
9518         allow_undefined_flag='-berok'
9519         # Determine the default libpath from the value encoded in an
9520         # empty executable.
9521         if test x$gcc_no_link = xyes; then
9522   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9523 fi
9524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9525 /* end confdefs.h.  */
9526
9527 int
9528 main ()
9529 {
9530
9531   ;
9532   return 0;
9533 }
9534 _ACEOF
9535 if ac_fn_c_try_link "$LINENO"; then :
9536
9537 lt_aix_libpath_sed='
9538     /Import File Strings/,/^$/ {
9539         /^0/ {
9540             s/^0  *\(.*\)$/\1/
9541             p
9542         }
9543     }'
9544 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9545 # Check for a 64-bit object if we didn't find anything.
9546 if test -z "$aix_libpath"; then
9547   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9548 fi
9549 fi
9550 rm -f core conftest.err conftest.$ac_objext \
9551     conftest$ac_exeext conftest.$ac_ext
9552 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9553
9554         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9555         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"
9556       else
9557         if test "$host_cpu" = ia64; then
9558           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9559           allow_undefined_flag="-z nodefs"
9560           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"
9561         else
9562          # Determine the default libpath from the value encoded in an
9563          # empty executable.
9564          if test x$gcc_no_link = xyes; then
9565   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9566 fi
9567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9568 /* end confdefs.h.  */
9569
9570 int
9571 main ()
9572 {
9573
9574   ;
9575   return 0;
9576 }
9577 _ACEOF
9578 if ac_fn_c_try_link "$LINENO"; then :
9579
9580 lt_aix_libpath_sed='
9581     /Import File Strings/,/^$/ {
9582         /^0/ {
9583             s/^0  *\(.*\)$/\1/
9584             p
9585         }
9586     }'
9587 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9588 # Check for a 64-bit object if we didn't find anything.
9589 if test -z "$aix_libpath"; then
9590   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9591 fi
9592 fi
9593 rm -f core conftest.err conftest.$ac_objext \
9594     conftest$ac_exeext conftest.$ac_ext
9595 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9596
9597          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9598           # Warning - without using the other run time loading flags,
9599           # -berok will link without error, but may produce a broken library.
9600           no_undefined_flag=' ${wl}-bernotok'
9601           allow_undefined_flag=' ${wl}-berok'
9602           if test "$with_gnu_ld" = yes; then
9603             # We only use this code for GNU lds that support --whole-archive.
9604             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9605           else
9606             # Exported symbols can be pulled into shared objects from archives
9607             whole_archive_flag_spec='$convenience'
9608           fi
9609           archive_cmds_need_lc=yes
9610           # This is similar to how AIX traditionally builds its shared libraries.
9611           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'
9612         fi
9613       fi
9614       ;;
9615
9616     amigaos*)
9617       case $host_cpu in
9618       powerpc)
9619             # see comment about AmigaOS4 .so support
9620             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9621             archive_expsym_cmds=''
9622         ;;
9623       m68k)
9624             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)'
9625             hardcode_libdir_flag_spec='-L$libdir'
9626             hardcode_minus_L=yes
9627         ;;
9628       esac
9629       ;;
9630
9631     bsdi[45]*)
9632       export_dynamic_flag_spec=-rdynamic
9633       ;;
9634
9635     cygwin* | mingw* | pw32* | cegcc*)
9636       # When not using gcc, we currently assume that we are using
9637       # Microsoft Visual C++.
9638       # hardcode_libdir_flag_spec is actually meaningless, as there is
9639       # no search path for DLLs.
9640       hardcode_libdir_flag_spec=' '
9641       allow_undefined_flag=unsupported
9642       # Tell ltmain to make .lib files, not .a files.
9643       libext=lib
9644       # Tell ltmain to make .dll files, not .so files.
9645       shrext_cmds=".dll"
9646       # FIXME: Setting linknames here is a bad hack.
9647       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9648       # The linker will automatically build a .lib file if we build a DLL.
9649       old_archive_from_new_cmds='true'
9650       # FIXME: Should let the user specify the lib program.
9651       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9652       fix_srcfile_path='`cygpath -w "$srcfile"`'
9653       enable_shared_with_static_runtimes=yes
9654       ;;
9655
9656     darwin* | rhapsody*)
9657
9658
9659   archive_cmds_need_lc=no
9660   hardcode_direct=no
9661   hardcode_automatic=yes
9662   hardcode_shlibpath_var=unsupported
9663   if test "$lt_cv_ld_force_load" = "yes"; then
9664     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\"`'
9665   else
9666     whole_archive_flag_spec=''
9667   fi
9668   link_all_deplibs=yes
9669   allow_undefined_flag="$_lt_dar_allow_undefined"
9670   case $cc_basename in
9671      ifort*) _lt_dar_can_shared=yes ;;
9672      *) _lt_dar_can_shared=$GCC ;;
9673   esac
9674   if test "$_lt_dar_can_shared" = "yes"; then
9675     output_verbose_link_cmd=func_echo_all
9676     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9677     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9678     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}"
9679     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}"
9680
9681   else
9682   ld_shlibs=no
9683   fi
9684
9685       ;;
9686
9687     dgux*)
9688       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9689       hardcode_libdir_flag_spec='-L$libdir'
9690       hardcode_shlibpath_var=no
9691       ;;
9692
9693     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9694     # support.  Future versions do this automatically, but an explicit c++rt0.o
9695     # does not break anything, and helps significantly (at the cost of a little
9696     # extra space).
9697     freebsd2.2*)
9698       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9699       hardcode_libdir_flag_spec='-R$libdir'
9700       hardcode_direct=yes
9701       hardcode_shlibpath_var=no
9702       ;;
9703
9704     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9705     freebsd2*)
9706       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9707       hardcode_direct=yes
9708       hardcode_minus_L=yes
9709       hardcode_shlibpath_var=no
9710       ;;
9711
9712     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9713     freebsd* | dragonfly*)
9714       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9715       hardcode_libdir_flag_spec='-R$libdir'
9716       hardcode_direct=yes
9717       hardcode_shlibpath_var=no
9718       ;;
9719
9720     hpux9*)
9721       if test "$GCC" = yes; then
9722         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'
9723       else
9724         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'
9725       fi
9726       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9727       hardcode_libdir_separator=:
9728       hardcode_direct=yes
9729
9730       # hardcode_minus_L: Not really in the search PATH,
9731       # but as the default location of the library.
9732       hardcode_minus_L=yes
9733       export_dynamic_flag_spec='${wl}-E'
9734       ;;
9735
9736     hpux10*)
9737       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9738         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9739       else
9740         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9741       fi
9742       if test "$with_gnu_ld" = no; then
9743         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9744         hardcode_libdir_flag_spec_ld='+b $libdir'
9745         hardcode_libdir_separator=:
9746         hardcode_direct=yes
9747         hardcode_direct_absolute=yes
9748         export_dynamic_flag_spec='${wl}-E'
9749         # hardcode_minus_L: Not really in the search PATH,
9750         # but as the default location of the library.
9751         hardcode_minus_L=yes
9752       fi
9753       ;;
9754
9755     hpux11*)
9756       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9757         case $host_cpu in
9758         hppa*64*)
9759           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9760           ;;
9761         ia64*)
9762           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9763           ;;
9764         *)
9765           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9766           ;;
9767         esac
9768       else
9769         case $host_cpu in
9770         hppa*64*)
9771           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9772           ;;
9773         ia64*)
9774           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9775           ;;
9776         *)
9777
9778           # Older versions of the 11.00 compiler do not understand -b yet
9779           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9780           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9781 $as_echo_n "checking if $CC understands -b... " >&6; }
9782 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9783   $as_echo_n "(cached) " >&6
9784 else
9785   lt_cv_prog_compiler__b=no
9786    save_LDFLAGS="$LDFLAGS"
9787    LDFLAGS="$LDFLAGS -b"
9788    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9789    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9790      # The linker can only warn and ignore the option if not recognized
9791      # So say no if there are warnings
9792      if test -s conftest.err; then
9793        # Append any errors to the config.log.
9794        cat conftest.err 1>&5
9795        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9796        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9797        if diff conftest.exp conftest.er2 >/dev/null; then
9798          lt_cv_prog_compiler__b=yes
9799        fi
9800      else
9801        lt_cv_prog_compiler__b=yes
9802      fi
9803    fi
9804    $RM -r conftest*
9805    LDFLAGS="$save_LDFLAGS"
9806
9807 fi
9808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9809 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9810
9811 if test x"$lt_cv_prog_compiler__b" = xyes; then
9812     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9813 else
9814     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9815 fi
9816
9817           ;;
9818         esac
9819       fi
9820       if test "$with_gnu_ld" = no; then
9821         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9822         hardcode_libdir_separator=:
9823
9824         case $host_cpu in
9825         hppa*64*|ia64*)
9826           hardcode_direct=no
9827           hardcode_shlibpath_var=no
9828           ;;
9829         *)
9830           hardcode_direct=yes
9831           hardcode_direct_absolute=yes
9832           export_dynamic_flag_spec='${wl}-E'
9833
9834           # hardcode_minus_L: Not really in the search PATH,
9835           # but as the default location of the library.
9836           hardcode_minus_L=yes
9837           ;;
9838         esac
9839       fi
9840       ;;
9841
9842     irix5* | irix6* | nonstopux*)
9843       if test "$GCC" = yes; then
9844         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'
9845         # Try to use the -exported_symbol ld option, if it does not
9846         # work, assume that -exports_file does not work either and
9847         # implicitly export all symbols.
9848         save_LDFLAGS="$LDFLAGS"
9849         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9850         if test x$gcc_no_link = xyes; then
9851   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9852 fi
9853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9854 /* end confdefs.h.  */
9855 int foo(void) {}
9856 _ACEOF
9857 if ac_fn_c_try_link "$LINENO"; then :
9858   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'
9859
9860 fi
9861 rm -f core conftest.err conftest.$ac_objext \
9862     conftest$ac_exeext conftest.$ac_ext
9863         LDFLAGS="$save_LDFLAGS"
9864       else
9865         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'
9866         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'
9867       fi
9868       archive_cmds_need_lc='no'
9869       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9870       hardcode_libdir_separator=:
9871       inherit_rpath=yes
9872       link_all_deplibs=yes
9873       ;;
9874
9875     netbsd*)
9876       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9877         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9878       else
9879         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9880       fi
9881       hardcode_libdir_flag_spec='-R$libdir'
9882       hardcode_direct=yes
9883       hardcode_shlibpath_var=no
9884       ;;
9885
9886     newsos6)
9887       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9888       hardcode_direct=yes
9889       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9890       hardcode_libdir_separator=:
9891       hardcode_shlibpath_var=no
9892       ;;
9893
9894     *nto* | *qnx*)
9895       ;;
9896
9897     openbsd*)
9898       if test -f /usr/libexec/ld.so; then
9899         hardcode_direct=yes
9900         hardcode_shlibpath_var=no
9901         hardcode_direct_absolute=yes
9902         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9903           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9904           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9905           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9906           export_dynamic_flag_spec='${wl}-E'
9907         else
9908           case $host_os in
9909            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9910              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9911              hardcode_libdir_flag_spec='-R$libdir'
9912              ;;
9913            *)
9914              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9915              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9916              ;;
9917           esac
9918         fi
9919       else
9920         ld_shlibs=no
9921       fi
9922       ;;
9923
9924     os2*)
9925       hardcode_libdir_flag_spec='-L$libdir'
9926       hardcode_minus_L=yes
9927       allow_undefined_flag=unsupported
9928       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'
9929       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9930       ;;
9931
9932     osf3*)
9933       if test "$GCC" = yes; then
9934         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9935         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'
9936       else
9937         allow_undefined_flag=' -expect_unresolved \*'
9938         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'
9939       fi
9940       archive_cmds_need_lc='no'
9941       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9942       hardcode_libdir_separator=:
9943       ;;
9944
9945     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9946       if test "$GCC" = yes; then
9947         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9948         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'
9949         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9950       else
9951         allow_undefined_flag=' -expect_unresolved \*'
9952         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'
9953         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~
9954         $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'
9955
9956         # Both c and cxx compiler support -rpath directly
9957         hardcode_libdir_flag_spec='-rpath $libdir'
9958       fi
9959       archive_cmds_need_lc='no'
9960       hardcode_libdir_separator=:
9961       ;;
9962
9963     solaris*)
9964       no_undefined_flag=' -z defs'
9965       if test "$GCC" = yes; then
9966         wlarc='${wl}'
9967         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9968         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9969           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9970       else
9971         case `$CC -V 2>&1` in
9972         *"Compilers 5.0"*)
9973           wlarc=''
9974           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9975           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9976           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9977           ;;
9978         *)
9979           wlarc='${wl}'
9980           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9981           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9982           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9983           ;;
9984         esac
9985       fi
9986       hardcode_libdir_flag_spec='-R$libdir'
9987       hardcode_shlibpath_var=no
9988       case $host_os in
9989       solaris2.[0-5] | solaris2.[0-5].*) ;;
9990       *)
9991         # The compiler driver will combine and reorder linker options,
9992         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9993         # but is careful enough not to reorder.
9994         # Supported since Solaris 2.6 (maybe 2.5.1?)
9995         if test "$GCC" = yes; then
9996           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9997         else
9998           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9999         fi
10000         ;;
10001       esac
10002       link_all_deplibs=yes
10003       ;;
10004
10005     sunos4*)
10006       if test "x$host_vendor" = xsequent; then
10007         # Use $CC to link under sequent, because it throws in some extra .o
10008         # files that make .init and .fini sections work.
10009         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10010       else
10011         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10012       fi
10013       hardcode_libdir_flag_spec='-L$libdir'
10014       hardcode_direct=yes
10015       hardcode_minus_L=yes
10016       hardcode_shlibpath_var=no
10017       ;;
10018
10019     sysv4)
10020       case $host_vendor in
10021         sni)
10022           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10023           hardcode_direct=yes # is this really true???
10024         ;;
10025         siemens)
10026           ## LD is ld it makes a PLAMLIB
10027           ## CC just makes a GrossModule.
10028           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10029           reload_cmds='$CC -r -o $output$reload_objs'
10030           hardcode_direct=no
10031         ;;
10032         motorola)
10033           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10034           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10035         ;;
10036       esac
10037       runpath_var='LD_RUN_PATH'
10038       hardcode_shlibpath_var=no
10039       ;;
10040
10041     sysv4.3*)
10042       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10043       hardcode_shlibpath_var=no
10044       export_dynamic_flag_spec='-Bexport'
10045       ;;
10046
10047     sysv4*MP*)
10048       if test -d /usr/nec; then
10049         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10050         hardcode_shlibpath_var=no
10051         runpath_var=LD_RUN_PATH
10052         hardcode_runpath_var=yes
10053         ld_shlibs=yes
10054       fi
10055       ;;
10056
10057     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10058       no_undefined_flag='${wl}-z,text'
10059       archive_cmds_need_lc=no
10060       hardcode_shlibpath_var=no
10061       runpath_var='LD_RUN_PATH'
10062
10063       if test "$GCC" = yes; then
10064         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10065         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10066       else
10067         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10068         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10069       fi
10070       ;;
10071
10072     sysv5* | sco3.2v5* | sco5v6*)
10073       # Note: We can NOT use -z defs as we might desire, because we do not
10074       # link with -lc, and that would cause any symbols used from libc to
10075       # always be unresolved, which means just about no library would
10076       # ever link correctly.  If we're not using GNU ld we use -z text
10077       # though, which does catch some bad symbols but isn't as heavy-handed
10078       # as -z defs.
10079       no_undefined_flag='${wl}-z,text'
10080       allow_undefined_flag='${wl}-z,nodefs'
10081       archive_cmds_need_lc=no
10082       hardcode_shlibpath_var=no
10083       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10084       hardcode_libdir_separator=':'
10085       link_all_deplibs=yes
10086       export_dynamic_flag_spec='${wl}-Bexport'
10087       runpath_var='LD_RUN_PATH'
10088
10089       if test "$GCC" = yes; then
10090         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10091         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10092       else
10093         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10094         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10095       fi
10096       ;;
10097
10098     uts4*)
10099       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10100       hardcode_libdir_flag_spec='-L$libdir'
10101       hardcode_shlibpath_var=no
10102       ;;
10103
10104     *)
10105       ld_shlibs=no
10106       ;;
10107     esac
10108
10109     if test x$host_vendor = xsni; then
10110       case $host in
10111       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10112         export_dynamic_flag_spec='${wl}-Blargedynsym'
10113         ;;
10114       esac
10115     fi
10116   fi
10117
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10119 $as_echo "$ld_shlibs" >&6; }
10120 test "$ld_shlibs" = no && can_build_shared=no
10121
10122 with_gnu_ld=$with_gnu_ld
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138 #
10139 # Do we need to explicitly link libc?
10140 #
10141 case "x$archive_cmds_need_lc" in
10142 x|xyes)
10143   # Assume -lc should be added
10144   archive_cmds_need_lc=yes
10145
10146   if test "$enable_shared" = yes && test "$GCC" = yes; then
10147     case $archive_cmds in
10148     *'~'*)
10149       # FIXME: we may have to deal with multi-command sequences.
10150       ;;
10151     '$CC '*)
10152       # Test whether the compiler implicitly links with -lc since on some
10153       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10154       # to ld, don't add -lc before -lgcc.
10155       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10156 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10157 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10158   $as_echo_n "(cached) " >&6
10159 else
10160   $RM conftest*
10161         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10162
10163         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10164   (eval $ac_compile) 2>&5
10165   ac_status=$?
10166   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10167   test $ac_status = 0; } 2>conftest.err; then
10168           soname=conftest
10169           lib=conftest
10170           libobjs=conftest.$ac_objext
10171           deplibs=
10172           wl=$lt_prog_compiler_wl
10173           pic_flag=$lt_prog_compiler_pic
10174           compiler_flags=-v
10175           linker_flags=-v
10176           verstring=
10177           output_objdir=.
10178           libname=conftest
10179           lt_save_allow_undefined_flag=$allow_undefined_flag
10180           allow_undefined_flag=
10181           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10182   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10183   ac_status=$?
10184   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10185   test $ac_status = 0; }
10186           then
10187             lt_cv_archive_cmds_need_lc=no
10188           else
10189             lt_cv_archive_cmds_need_lc=yes
10190           fi
10191           allow_undefined_flag=$lt_save_allow_undefined_flag
10192         else
10193           cat conftest.err 1>&5
10194         fi
10195         $RM conftest*
10196
10197 fi
10198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10199 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10200       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10201       ;;
10202     esac
10203   fi
10204   ;;
10205 esac
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10364 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10365
10366 if test "$GCC" = yes; then
10367   case $host_os in
10368     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10369     *) lt_awk_arg="/^libraries:/" ;;
10370   esac
10371   case $host_os in
10372     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10373     *) lt_sed_strip_eq="s,=/,/,g" ;;
10374   esac
10375   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10376   case $lt_search_path_spec in
10377   *\;*)
10378     # if the path contains ";" then we assume it to be the separator
10379     # otherwise default to the standard path separator (i.e. ":") - it is
10380     # assumed that no part of a normal pathname contains ";" but that should
10381     # okay in the real world where ";" in dirpaths is itself problematic.
10382     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10383     ;;
10384   *)
10385     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10386     ;;
10387   esac
10388   # Ok, now we have the path, separated by spaces, we can step through it
10389   # and add multilib dir if necessary.
10390   lt_tmp_lt_search_path_spec=
10391   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10392   for lt_sys_path in $lt_search_path_spec; do
10393     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10394       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10395     else
10396       test -d "$lt_sys_path" && \
10397         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10398     fi
10399   done
10400   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10401 BEGIN {RS=" "; FS="/|\n";} {
10402   lt_foo="";
10403   lt_count=0;
10404   for (lt_i = NF; lt_i > 0; lt_i--) {
10405     if ($lt_i != "" && $lt_i != ".") {
10406       if ($lt_i == "..") {
10407         lt_count++;
10408       } else {
10409         if (lt_count == 0) {
10410           lt_foo="/" $lt_i lt_foo;
10411         } else {
10412           lt_count--;
10413         }
10414       }
10415     }
10416   }
10417   if (lt_foo != "") { lt_freq[lt_foo]++; }
10418   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10419 }'`
10420   # AWK program above erroneously prepends '/' to C:/dos/paths
10421   # for these hosts.
10422   case $host_os in
10423     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10424       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10425   esac
10426   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10427 else
10428   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10429 fi
10430 library_names_spec=
10431 libname_spec='lib$name'
10432 soname_spec=
10433 shrext_cmds=".so"
10434 postinstall_cmds=
10435 postuninstall_cmds=
10436 finish_cmds=
10437 finish_eval=
10438 shlibpath_var=
10439 shlibpath_overrides_runpath=unknown
10440 version_type=none
10441 dynamic_linker="$host_os ld.so"
10442 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10443 need_lib_prefix=unknown
10444 hardcode_into_libs=no
10445
10446 # when you set need_version to no, make sure it does not cause -set_version
10447 # flags to be left without arguments
10448 need_version=unknown
10449
10450 case $host_os in
10451 aix3*)
10452   version_type=linux
10453   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10454   shlibpath_var=LIBPATH
10455
10456   # AIX 3 has no versioning support, so we append a major version to the name.
10457   soname_spec='${libname}${release}${shared_ext}$major'
10458   ;;
10459
10460 aix[4-9]*)
10461   version_type=linux
10462   need_lib_prefix=no
10463   need_version=no
10464   hardcode_into_libs=yes
10465   if test "$host_cpu" = ia64; then
10466     # AIX 5 supports IA64
10467     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10468     shlibpath_var=LD_LIBRARY_PATH
10469   else
10470     # With GCC up to 2.95.x, collect2 would create an import file
10471     # for dependence libraries.  The import file would start with
10472     # the line `#! .'.  This would cause the generated library to
10473     # depend on `.', always an invalid library.  This was fixed in
10474     # development snapshots of GCC prior to 3.0.
10475     case $host_os in
10476       aix4 | aix4.[01] | aix4.[01].*)
10477       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10478            echo ' yes '
10479            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10480         :
10481       else
10482         can_build_shared=no
10483       fi
10484       ;;
10485     esac
10486     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10487     # soname into executable. Probably we can add versioning support to
10488     # collect2, so additional links can be useful in future.
10489     if test "$aix_use_runtimelinking" = yes; then
10490       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10491       # instead of lib<name>.a to let people know that these are not
10492       # typical AIX shared libraries.
10493       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10494     else
10495       # We preserve .a as extension for shared libraries through AIX4.2
10496       # and later when we are not doing run time linking.
10497       library_names_spec='${libname}${release}.a $libname.a'
10498       soname_spec='${libname}${release}${shared_ext}$major'
10499     fi
10500     shlibpath_var=LIBPATH
10501   fi
10502   ;;
10503
10504 amigaos*)
10505   case $host_cpu in
10506   powerpc)
10507     # Since July 2007 AmigaOS4 officially supports .so libraries.
10508     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10509     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10510     ;;
10511   m68k)
10512     library_names_spec='$libname.ixlibrary $libname.a'
10513     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10514     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'
10515     ;;
10516   esac
10517   ;;
10518
10519 beos*)
10520   library_names_spec='${libname}${shared_ext}'
10521   dynamic_linker="$host_os ld.so"
10522   shlibpath_var=LIBRARY_PATH
10523   ;;
10524
10525 bsdi[45]*)
10526   version_type=linux
10527   need_version=no
10528   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10529   soname_spec='${libname}${release}${shared_ext}$major'
10530   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10531   shlibpath_var=LD_LIBRARY_PATH
10532   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10533   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10534   # the default ld.so.conf also contains /usr/contrib/lib and
10535   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10536   # libtool to hard-code these into programs
10537   ;;
10538
10539 cygwin* | mingw* | pw32* | cegcc*)
10540   version_type=windows
10541   shrext_cmds=".dll"
10542   need_version=no
10543   need_lib_prefix=no
10544
10545   case $GCC,$host_os in
10546   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10547     library_names_spec='$libname.dll.a'
10548     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10549     postinstall_cmds='base_file=`basename \${file}`~
10550       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10551       dldir=$destdir/`dirname \$dlpath`~
10552       test -d \$dldir || mkdir -p \$dldir~
10553       $install_prog $dir/$dlname \$dldir/$dlname~
10554       chmod a+x \$dldir/$dlname~
10555       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10556         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10557       fi'
10558     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10559       dlpath=$dir/\$dldll~
10560        $RM \$dlpath'
10561     shlibpath_overrides_runpath=yes
10562
10563     case $host_os in
10564     cygwin*)
10565       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10566       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10567
10568       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10569       ;;
10570     mingw* | cegcc*)
10571       # MinGW DLLs use traditional 'lib' prefix
10572       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10573       ;;
10574     pw32*)
10575       # pw32 DLLs use 'pw' prefix rather than 'lib'
10576       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10577       ;;
10578     esac
10579     ;;
10580
10581   *)
10582     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10583     ;;
10584   esac
10585   dynamic_linker='Win32 ld.exe'
10586   # FIXME: first we should search . and the directory the executable is in
10587   shlibpath_var=PATH
10588   ;;
10589
10590 darwin* | rhapsody*)
10591   dynamic_linker="$host_os dyld"
10592   version_type=darwin
10593   need_lib_prefix=no
10594   need_version=no
10595   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10596   soname_spec='${libname}${release}${major}$shared_ext'
10597   shlibpath_overrides_runpath=yes
10598   shlibpath_var=DYLD_LIBRARY_PATH
10599   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10600
10601   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10602   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10603   ;;
10604
10605 dgux*)
10606   version_type=linux
10607   need_lib_prefix=no
10608   need_version=no
10609   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10610   soname_spec='${libname}${release}${shared_ext}$major'
10611   shlibpath_var=LD_LIBRARY_PATH
10612   ;;
10613
10614 freebsd* | dragonfly*)
10615   # DragonFly does not have aout.  When/if they implement a new
10616   # versioning mechanism, adjust this.
10617   if test -x /usr/bin/objformat; then
10618     objformat=`/usr/bin/objformat`
10619   else
10620     case $host_os in
10621     freebsd[123]*) objformat=aout ;;
10622     *) objformat=elf ;;
10623     esac
10624   fi
10625   version_type=freebsd-$objformat
10626   case $version_type in
10627     freebsd-elf*)
10628       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10629       need_version=no
10630       need_lib_prefix=no
10631       ;;
10632     freebsd-*)
10633       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10634       need_version=yes
10635       ;;
10636   esac
10637   shlibpath_var=LD_LIBRARY_PATH
10638   case $host_os in
10639   freebsd2*)
10640     shlibpath_overrides_runpath=yes
10641     ;;
10642   freebsd3.[01]* | freebsdelf3.[01]*)
10643     shlibpath_overrides_runpath=yes
10644     hardcode_into_libs=yes
10645     ;;
10646   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10647   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10648     shlibpath_overrides_runpath=no
10649     hardcode_into_libs=yes
10650     ;;
10651   *) # from 4.6 on, and DragonFly
10652     shlibpath_overrides_runpath=yes
10653     hardcode_into_libs=yes
10654     ;;
10655   esac
10656   ;;
10657
10658 gnu*)
10659   version_type=linux
10660   need_lib_prefix=no
10661   need_version=no
10662   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10663   soname_spec='${libname}${release}${shared_ext}$major'
10664   shlibpath_var=LD_LIBRARY_PATH
10665   hardcode_into_libs=yes
10666   ;;
10667
10668 haiku*)
10669   version_type=linux
10670   need_lib_prefix=no
10671   need_version=no
10672   dynamic_linker="$host_os runtime_loader"
10673   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10674   soname_spec='${libname}${release}${shared_ext}$major'
10675   shlibpath_var=LIBRARY_PATH
10676   shlibpath_overrides_runpath=yes
10677   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10678   hardcode_into_libs=yes
10679   ;;
10680
10681 hpux9* | hpux10* | hpux11*)
10682   # Give a soname corresponding to the major version so that dld.sl refuses to
10683   # link against other versions.
10684   version_type=sunos
10685   need_lib_prefix=no
10686   need_version=no
10687   case $host_cpu in
10688   ia64*)
10689     shrext_cmds='.so'
10690     hardcode_into_libs=yes
10691     dynamic_linker="$host_os dld.so"
10692     shlibpath_var=LD_LIBRARY_PATH
10693     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10694     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10695     soname_spec='${libname}${release}${shared_ext}$major'
10696     if test "X$HPUX_IA64_MODE" = X32; then
10697       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10698     else
10699       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10700     fi
10701     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10702     ;;
10703   hppa*64*)
10704     shrext_cmds='.sl'
10705     hardcode_into_libs=yes
10706     dynamic_linker="$host_os dld.sl"
10707     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10708     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10709     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10710     soname_spec='${libname}${release}${shared_ext}$major'
10711     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10712     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10713     ;;
10714   *)
10715     shrext_cmds='.sl'
10716     dynamic_linker="$host_os dld.sl"
10717     shlibpath_var=SHLIB_PATH
10718     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10719     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10720     soname_spec='${libname}${release}${shared_ext}$major'
10721     ;;
10722   esac
10723   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10724   postinstall_cmds='chmod 555 $lib'
10725   # or fails outright, so override atomically:
10726   install_override_mode=555
10727   ;;
10728
10729 interix[3-9]*)
10730   version_type=linux
10731   need_lib_prefix=no
10732   need_version=no
10733   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10734   soname_spec='${libname}${release}${shared_ext}$major'
10735   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10736   shlibpath_var=LD_LIBRARY_PATH
10737   shlibpath_overrides_runpath=no
10738   hardcode_into_libs=yes
10739   ;;
10740
10741 irix5* | irix6* | nonstopux*)
10742   case $host_os in
10743     nonstopux*) version_type=nonstopux ;;
10744     *)
10745         if test "$lt_cv_prog_gnu_ld" = yes; then
10746                 version_type=linux
10747         else
10748                 version_type=irix
10749         fi ;;
10750   esac
10751   need_lib_prefix=no
10752   need_version=no
10753   soname_spec='${libname}${release}${shared_ext}$major'
10754   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10755   case $host_os in
10756   irix5* | nonstopux*)
10757     libsuff= shlibsuff=
10758     ;;
10759   *)
10760     case $LD in # libtool.m4 will add one of these switches to LD
10761     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10762       libsuff= shlibsuff= libmagic=32-bit;;
10763     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10764       libsuff=32 shlibsuff=N32 libmagic=N32;;
10765     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10766       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10767     *) libsuff= shlibsuff= libmagic=never-match;;
10768     esac
10769     ;;
10770   esac
10771   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10772   shlibpath_overrides_runpath=no
10773   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10774   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10775   hardcode_into_libs=yes
10776   ;;
10777
10778 # No shared lib support for Linux oldld, aout, or coff.
10779 linux*oldld* | linux*aout* | linux*coff*)
10780   dynamic_linker=no
10781   ;;
10782
10783 # This must be Linux ELF.
10784 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10785   version_type=linux
10786   need_lib_prefix=no
10787   need_version=no
10788   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10789   soname_spec='${libname}${release}${shared_ext}$major'
10790   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10791   shlibpath_var=LD_LIBRARY_PATH
10792   shlibpath_overrides_runpath=no
10793
10794   # Some binutils ld are patched to set DT_RUNPATH
10795   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10796   $as_echo_n "(cached) " >&6
10797 else
10798   lt_cv_shlibpath_overrides_runpath=no
10799     save_LDFLAGS=$LDFLAGS
10800     save_libdir=$libdir
10801     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10802          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10803     if test x$gcc_no_link = xyes; then
10804   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10805 fi
10806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10807 /* end confdefs.h.  */
10808
10809 int
10810 main ()
10811 {
10812
10813   ;
10814   return 0;
10815 }
10816 _ACEOF
10817 if ac_fn_c_try_link "$LINENO"; then :
10818   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10819   lt_cv_shlibpath_overrides_runpath=yes
10820 fi
10821 fi
10822 rm -f core conftest.err conftest.$ac_objext \
10823     conftest$ac_exeext conftest.$ac_ext
10824     LDFLAGS=$save_LDFLAGS
10825     libdir=$save_libdir
10826
10827 fi
10828
10829   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10830
10831   # This implies no fast_install, which is unacceptable.
10832   # Some rework will be needed to allow for fast_install
10833   # before this can be enabled.
10834   hardcode_into_libs=yes
10835
10836   # Append ld.so.conf contents to the search path
10837   if test -f /etc/ld.so.conf; then
10838     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' ' '`
10839     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10840   fi
10841
10842   # We used to test for /lib/ld.so.1 and disable shared libraries on
10843   # powerpc, because MkLinux only supported shared libraries with the
10844   # GNU dynamic linker.  Since this was broken with cross compilers,
10845   # most powerpc-linux boxes support dynamic linking these days and
10846   # people can always --disable-shared, the test was removed, and we
10847   # assume the GNU/Linux dynamic linker is in use.
10848   dynamic_linker='GNU/Linux ld.so'
10849   ;;
10850
10851 netbsd*)
10852   version_type=sunos
10853   need_lib_prefix=no
10854   need_version=no
10855   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10856     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10857     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10858     dynamic_linker='NetBSD (a.out) ld.so'
10859   else
10860     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10861     soname_spec='${libname}${release}${shared_ext}$major'
10862     dynamic_linker='NetBSD ld.elf_so'
10863   fi
10864   shlibpath_var=LD_LIBRARY_PATH
10865   shlibpath_overrides_runpath=yes
10866   hardcode_into_libs=yes
10867   ;;
10868
10869 newsos6)
10870   version_type=linux
10871   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10872   shlibpath_var=LD_LIBRARY_PATH
10873   shlibpath_overrides_runpath=yes
10874   ;;
10875
10876 *nto* | *qnx*)
10877   version_type=qnx
10878   need_lib_prefix=no
10879   need_version=no
10880   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10881   soname_spec='${libname}${release}${shared_ext}$major'
10882   shlibpath_var=LD_LIBRARY_PATH
10883   shlibpath_overrides_runpath=no
10884   hardcode_into_libs=yes
10885   dynamic_linker='ldqnx.so'
10886   ;;
10887
10888 openbsd*)
10889   version_type=sunos
10890   sys_lib_dlsearch_path_spec="/usr/lib"
10891   need_lib_prefix=no
10892   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10893   case $host_os in
10894     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10895     *)                          need_version=no  ;;
10896   esac
10897   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10898   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10899   shlibpath_var=LD_LIBRARY_PATH
10900   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10901     case $host_os in
10902       openbsd2.[89] | openbsd2.[89].*)
10903         shlibpath_overrides_runpath=no
10904         ;;
10905       *)
10906         shlibpath_overrides_runpath=yes
10907         ;;
10908       esac
10909   else
10910     shlibpath_overrides_runpath=yes
10911   fi
10912   ;;
10913
10914 os2*)
10915   libname_spec='$name'
10916   shrext_cmds=".dll"
10917   need_lib_prefix=no
10918   library_names_spec='$libname${shared_ext} $libname.a'
10919   dynamic_linker='OS/2 ld.exe'
10920   shlibpath_var=LIBPATH
10921   ;;
10922
10923 osf3* | osf4* | osf5*)
10924   version_type=osf
10925   need_lib_prefix=no
10926   need_version=no
10927   soname_spec='${libname}${release}${shared_ext}$major'
10928   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10929   shlibpath_var=LD_LIBRARY_PATH
10930   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10931   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10932   ;;
10933
10934 rdos*)
10935   dynamic_linker=no
10936   ;;
10937
10938 solaris*)
10939   version_type=linux
10940   need_lib_prefix=no
10941   need_version=no
10942   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10943   soname_spec='${libname}${release}${shared_ext}$major'
10944   shlibpath_var=LD_LIBRARY_PATH
10945   shlibpath_overrides_runpath=yes
10946   hardcode_into_libs=yes
10947   # ldd complains unless libraries are executable
10948   postinstall_cmds='chmod +x $lib'
10949   ;;
10950
10951 sunos4*)
10952   version_type=sunos
10953   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10954   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10955   shlibpath_var=LD_LIBRARY_PATH
10956   shlibpath_overrides_runpath=yes
10957   if test "$with_gnu_ld" = yes; then
10958     need_lib_prefix=no
10959   fi
10960   need_version=yes
10961   ;;
10962
10963 sysv4 | sysv4.3*)
10964   version_type=linux
10965   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10966   soname_spec='${libname}${release}${shared_ext}$major'
10967   shlibpath_var=LD_LIBRARY_PATH
10968   case $host_vendor in
10969     sni)
10970       shlibpath_overrides_runpath=no
10971       need_lib_prefix=no
10972       runpath_var=LD_RUN_PATH
10973       ;;
10974     siemens)
10975       need_lib_prefix=no
10976       ;;
10977     motorola)
10978       need_lib_prefix=no
10979       need_version=no
10980       shlibpath_overrides_runpath=no
10981       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10982       ;;
10983   esac
10984   ;;
10985
10986 sysv4*MP*)
10987   if test -d /usr/nec ;then
10988     version_type=linux
10989     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10990     soname_spec='$libname${shared_ext}.$major'
10991     shlibpath_var=LD_LIBRARY_PATH
10992   fi
10993   ;;
10994
10995 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10996   version_type=freebsd-elf
10997   need_lib_prefix=no
10998   need_version=no
10999   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11000   soname_spec='${libname}${release}${shared_ext}$major'
11001   shlibpath_var=LD_LIBRARY_PATH
11002   shlibpath_overrides_runpath=yes
11003   hardcode_into_libs=yes
11004   if test "$with_gnu_ld" = yes; then
11005     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11006   else
11007     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11008     case $host_os in
11009       sco3.2v5*)
11010         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11011         ;;
11012     esac
11013   fi
11014   sys_lib_dlsearch_path_spec='/usr/lib'
11015   ;;
11016
11017 tpf*)
11018   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11019   version_type=linux
11020   need_lib_prefix=no
11021   need_version=no
11022   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11023   shlibpath_var=LD_LIBRARY_PATH
11024   shlibpath_overrides_runpath=no
11025   hardcode_into_libs=yes
11026   ;;
11027
11028 uts4*)
11029   version_type=linux
11030   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11031   soname_spec='${libname}${release}${shared_ext}$major'
11032   shlibpath_var=LD_LIBRARY_PATH
11033   ;;
11034
11035 *)
11036   dynamic_linker=no
11037   ;;
11038 esac
11039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11040 $as_echo "$dynamic_linker" >&6; }
11041 test "$dynamic_linker" = no && can_build_shared=no
11042
11043 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11044 if test "$GCC" = yes; then
11045   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11046 fi
11047
11048 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11049   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11050 fi
11051 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11052   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11053 fi
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11147 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11148 hardcode_action=
11149 if test -n "$hardcode_libdir_flag_spec" ||
11150    test -n "$runpath_var" ||
11151    test "X$hardcode_automatic" = "Xyes" ; then
11152
11153   # We can hardcode non-existent directories.
11154   if test "$hardcode_direct" != no &&
11155      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11156      # have to relink, otherwise we might link with an installed library
11157      # when we should be linking with a yet-to-be-installed one
11158      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11159      test "$hardcode_minus_L" != no; then
11160     # Linking always hardcodes the temporary library directory.
11161     hardcode_action=relink
11162   else
11163     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11164     hardcode_action=immediate
11165   fi
11166 else
11167   # We cannot hardcode anything, or else we can only hardcode existing
11168   # directories.
11169   hardcode_action=unsupported
11170 fi
11171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11172 $as_echo "$hardcode_action" >&6; }
11173
11174 if test "$hardcode_action" = relink ||
11175    test "$inherit_rpath" = yes; then
11176   # Fast installation is not supported
11177   enable_fast_install=no
11178 elif test "$shlibpath_overrides_runpath" = yes ||
11179      test "$enable_shared" = no; then
11180   # Fast installation is not necessary
11181   enable_fast_install=needless
11182 fi
11183
11184
11185
11186
11187
11188
11189   if test "x$enable_dlopen" != xyes; then
11190   enable_dlopen=unknown
11191   enable_dlopen_self=unknown
11192   enable_dlopen_self_static=unknown
11193 else
11194   lt_cv_dlopen=no
11195   lt_cv_dlopen_libs=
11196
11197   case $host_os in
11198   beos*)
11199     lt_cv_dlopen="load_add_on"
11200     lt_cv_dlopen_libs=
11201     lt_cv_dlopen_self=yes
11202     ;;
11203
11204   mingw* | pw32* | cegcc*)
11205     lt_cv_dlopen="LoadLibrary"
11206     lt_cv_dlopen_libs=
11207     ;;
11208
11209   cygwin*)
11210     lt_cv_dlopen="dlopen"
11211     lt_cv_dlopen_libs=
11212     ;;
11213
11214   darwin*)
11215   # if libdl is installed we need to link against it
11216     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11217 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11218 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11219   $as_echo_n "(cached) " >&6
11220 else
11221   ac_check_lib_save_LIBS=$LIBS
11222 LIBS="-ldl  $LIBS"
11223 if test x$gcc_no_link = xyes; then
11224   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11225 fi
11226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11227 /* end confdefs.h.  */
11228
11229 /* Override any GCC internal prototype to avoid an error.
11230    Use char because int might match the return type of a GCC
11231    builtin and then its argument prototype would still apply.  */
11232 #ifdef __cplusplus
11233 extern "C"
11234 #endif
11235 char dlopen ();
11236 int
11237 main ()
11238 {
11239 return dlopen ();
11240   ;
11241   return 0;
11242 }
11243 _ACEOF
11244 if ac_fn_c_try_link "$LINENO"; then :
11245   ac_cv_lib_dl_dlopen=yes
11246 else
11247   ac_cv_lib_dl_dlopen=no
11248 fi
11249 rm -f core conftest.err conftest.$ac_objext \
11250     conftest$ac_exeext conftest.$ac_ext
11251 LIBS=$ac_check_lib_save_LIBS
11252 fi
11253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11254 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11255 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11256   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11257 else
11258
11259     lt_cv_dlopen="dyld"
11260     lt_cv_dlopen_libs=
11261     lt_cv_dlopen_self=yes
11262
11263 fi
11264
11265     ;;
11266
11267   *)
11268     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11269 if test "x$ac_cv_func_shl_load" = x""yes; then :
11270   lt_cv_dlopen="shl_load"
11271 else
11272   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11273 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11274 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11275   $as_echo_n "(cached) " >&6
11276 else
11277   ac_check_lib_save_LIBS=$LIBS
11278 LIBS="-ldld  $LIBS"
11279 if test x$gcc_no_link = xyes; then
11280   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11281 fi
11282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11283 /* end confdefs.h.  */
11284
11285 /* Override any GCC internal prototype to avoid an error.
11286    Use char because int might match the return type of a GCC
11287    builtin and then its argument prototype would still apply.  */
11288 #ifdef __cplusplus
11289 extern "C"
11290 #endif
11291 char shl_load ();
11292 int
11293 main ()
11294 {
11295 return shl_load ();
11296   ;
11297   return 0;
11298 }
11299 _ACEOF
11300 if ac_fn_c_try_link "$LINENO"; then :
11301   ac_cv_lib_dld_shl_load=yes
11302 else
11303   ac_cv_lib_dld_shl_load=no
11304 fi
11305 rm -f core conftest.err conftest.$ac_objext \
11306     conftest$ac_exeext conftest.$ac_ext
11307 LIBS=$ac_check_lib_save_LIBS
11308 fi
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11310 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11311 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11312   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11313 else
11314   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11315 if test "x$ac_cv_func_dlopen" = x""yes; then :
11316   lt_cv_dlopen="dlopen"
11317 else
11318   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11319 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11320 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11321   $as_echo_n "(cached) " >&6
11322 else
11323   ac_check_lib_save_LIBS=$LIBS
11324 LIBS="-ldl  $LIBS"
11325 if test x$gcc_no_link = xyes; then
11326   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11327 fi
11328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11329 /* end confdefs.h.  */
11330
11331 /* Override any GCC internal prototype to avoid an error.
11332    Use char because int might match the return type of a GCC
11333    builtin and then its argument prototype would still apply.  */
11334 #ifdef __cplusplus
11335 extern "C"
11336 #endif
11337 char dlopen ();
11338 int
11339 main ()
11340 {
11341 return dlopen ();
11342   ;
11343   return 0;
11344 }
11345 _ACEOF
11346 if ac_fn_c_try_link "$LINENO"; then :
11347   ac_cv_lib_dl_dlopen=yes
11348 else
11349   ac_cv_lib_dl_dlopen=no
11350 fi
11351 rm -f core conftest.err conftest.$ac_objext \
11352     conftest$ac_exeext conftest.$ac_ext
11353 LIBS=$ac_check_lib_save_LIBS
11354 fi
11355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11356 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11357 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11358   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11359 else
11360   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11361 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11362 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11363   $as_echo_n "(cached) " >&6
11364 else
11365   ac_check_lib_save_LIBS=$LIBS
11366 LIBS="-lsvld  $LIBS"
11367 if test x$gcc_no_link = xyes; then
11368   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11369 fi
11370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11371 /* end confdefs.h.  */
11372
11373 /* Override any GCC internal prototype to avoid an error.
11374    Use char because int might match the return type of a GCC
11375    builtin and then its argument prototype would still apply.  */
11376 #ifdef __cplusplus
11377 extern "C"
11378 #endif
11379 char dlopen ();
11380 int
11381 main ()
11382 {
11383 return dlopen ();
11384   ;
11385   return 0;
11386 }
11387 _ACEOF
11388 if ac_fn_c_try_link "$LINENO"; then :
11389   ac_cv_lib_svld_dlopen=yes
11390 else
11391   ac_cv_lib_svld_dlopen=no
11392 fi
11393 rm -f core conftest.err conftest.$ac_objext \
11394     conftest$ac_exeext conftest.$ac_ext
11395 LIBS=$ac_check_lib_save_LIBS
11396 fi
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11398 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11399 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11400   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11401 else
11402   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11403 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11404 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11405   $as_echo_n "(cached) " >&6
11406 else
11407   ac_check_lib_save_LIBS=$LIBS
11408 LIBS="-ldld  $LIBS"
11409 if test x$gcc_no_link = xyes; then
11410   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11411 fi
11412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11413 /* end confdefs.h.  */
11414
11415 /* Override any GCC internal prototype to avoid an error.
11416    Use char because int might match the return type of a GCC
11417    builtin and then its argument prototype would still apply.  */
11418 #ifdef __cplusplus
11419 extern "C"
11420 #endif
11421 char dld_link ();
11422 int
11423 main ()
11424 {
11425 return dld_link ();
11426   ;
11427   return 0;
11428 }
11429 _ACEOF
11430 if ac_fn_c_try_link "$LINENO"; then :
11431   ac_cv_lib_dld_dld_link=yes
11432 else
11433   ac_cv_lib_dld_dld_link=no
11434 fi
11435 rm -f core conftest.err conftest.$ac_objext \
11436     conftest$ac_exeext conftest.$ac_ext
11437 LIBS=$ac_check_lib_save_LIBS
11438 fi
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11440 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11441 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11442   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11443 fi
11444
11445
11446 fi
11447
11448
11449 fi
11450
11451
11452 fi
11453
11454
11455 fi
11456
11457
11458 fi
11459
11460     ;;
11461   esac
11462
11463   if test "x$lt_cv_dlopen" != xno; then
11464     enable_dlopen=yes
11465   else
11466     enable_dlopen=no
11467   fi
11468
11469   case $lt_cv_dlopen in
11470   dlopen)
11471     save_CPPFLAGS="$CPPFLAGS"
11472     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11473
11474     save_LDFLAGS="$LDFLAGS"
11475     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11476
11477     save_LIBS="$LIBS"
11478     LIBS="$lt_cv_dlopen_libs $LIBS"
11479
11480     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11481 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11482 if test "${lt_cv_dlopen_self+set}" = set; then :
11483   $as_echo_n "(cached) " >&6
11484 else
11485           if test "$cross_compiling" = yes; then :
11486   lt_cv_dlopen_self=cross
11487 else
11488   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11489   lt_status=$lt_dlunknown
11490   cat > conftest.$ac_ext <<_LT_EOF
11491 #line 11491 "configure"
11492 #include "confdefs.h"
11493
11494 #if HAVE_DLFCN_H
11495 #include <dlfcn.h>
11496 #endif
11497
11498 #include <stdio.h>
11499
11500 #ifdef RTLD_GLOBAL
11501 #  define LT_DLGLOBAL           RTLD_GLOBAL
11502 #else
11503 #  ifdef DL_GLOBAL
11504 #    define LT_DLGLOBAL         DL_GLOBAL
11505 #  else
11506 #    define LT_DLGLOBAL         0
11507 #  endif
11508 #endif
11509
11510 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11511    find out it does not work in some platform. */
11512 #ifndef LT_DLLAZY_OR_NOW
11513 #  ifdef RTLD_LAZY
11514 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11515 #  else
11516 #    ifdef DL_LAZY
11517 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11518 #    else
11519 #      ifdef RTLD_NOW
11520 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11521 #      else
11522 #        ifdef DL_NOW
11523 #          define LT_DLLAZY_OR_NOW      DL_NOW
11524 #        else
11525 #          define LT_DLLAZY_OR_NOW      0
11526 #        endif
11527 #      endif
11528 #    endif
11529 #  endif
11530 #endif
11531
11532 /* When -fvisbility=hidden is used, assume the code has been annotated
11533    correspondingly for the symbols needed.  */
11534 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11535 void fnord () __attribute__((visibility("default")));
11536 #endif
11537
11538 void fnord () { int i=42; }
11539 int main ()
11540 {
11541   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11542   int status = $lt_dlunknown;
11543
11544   if (self)
11545     {
11546       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11547       else
11548         {
11549           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11550           else puts (dlerror ());
11551         }
11552       /* dlclose (self); */
11553     }
11554   else
11555     puts (dlerror ());
11556
11557   return status;
11558 }
11559 _LT_EOF
11560   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11561   (eval $ac_link) 2>&5
11562   ac_status=$?
11563   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11564   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11565     (./conftest; exit; ) >&5 2>/dev/null
11566     lt_status=$?
11567     case x$lt_status in
11568       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11569       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11570       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11571     esac
11572   else :
11573     # compilation failed
11574     lt_cv_dlopen_self=no
11575   fi
11576 fi
11577 rm -fr conftest*
11578
11579
11580 fi
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11582 $as_echo "$lt_cv_dlopen_self" >&6; }
11583
11584     if test "x$lt_cv_dlopen_self" = xyes; then
11585       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11586       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11587 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11588 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11589   $as_echo_n "(cached) " >&6
11590 else
11591           if test "$cross_compiling" = yes; then :
11592   lt_cv_dlopen_self_static=cross
11593 else
11594   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11595   lt_status=$lt_dlunknown
11596   cat > conftest.$ac_ext <<_LT_EOF
11597 #line 11597 "configure"
11598 #include "confdefs.h"
11599
11600 #if HAVE_DLFCN_H
11601 #include <dlfcn.h>
11602 #endif
11603
11604 #include <stdio.h>
11605
11606 #ifdef RTLD_GLOBAL
11607 #  define LT_DLGLOBAL           RTLD_GLOBAL
11608 #else
11609 #  ifdef DL_GLOBAL
11610 #    define LT_DLGLOBAL         DL_GLOBAL
11611 #  else
11612 #    define LT_DLGLOBAL         0
11613 #  endif
11614 #endif
11615
11616 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11617    find out it does not work in some platform. */
11618 #ifndef LT_DLLAZY_OR_NOW
11619 #  ifdef RTLD_LAZY
11620 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11621 #  else
11622 #    ifdef DL_LAZY
11623 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11624 #    else
11625 #      ifdef RTLD_NOW
11626 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11627 #      else
11628 #        ifdef DL_NOW
11629 #          define LT_DLLAZY_OR_NOW      DL_NOW
11630 #        else
11631 #          define LT_DLLAZY_OR_NOW      0
11632 #        endif
11633 #      endif
11634 #    endif
11635 #  endif
11636 #endif
11637
11638 /* When -fvisbility=hidden is used, assume the code has been annotated
11639    correspondingly for the symbols needed.  */
11640 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11641 void fnord () __attribute__((visibility("default")));
11642 #endif
11643
11644 void fnord () { int i=42; }
11645 int main ()
11646 {
11647   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11648   int status = $lt_dlunknown;
11649
11650   if (self)
11651     {
11652       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11653       else
11654         {
11655           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11656           else puts (dlerror ());
11657         }
11658       /* dlclose (self); */
11659     }
11660   else
11661     puts (dlerror ());
11662
11663   return status;
11664 }
11665 _LT_EOF
11666   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11667   (eval $ac_link) 2>&5
11668   ac_status=$?
11669   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11670   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11671     (./conftest; exit; ) >&5 2>/dev/null
11672     lt_status=$?
11673     case x$lt_status in
11674       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11675       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11676       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11677     esac
11678   else :
11679     # compilation failed
11680     lt_cv_dlopen_self_static=no
11681   fi
11682 fi
11683 rm -fr conftest*
11684
11685
11686 fi
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11688 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11689     fi
11690
11691     CPPFLAGS="$save_CPPFLAGS"
11692     LDFLAGS="$save_LDFLAGS"
11693     LIBS="$save_LIBS"
11694     ;;
11695   esac
11696
11697   case $lt_cv_dlopen_self in
11698   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11699   *) enable_dlopen_self=unknown ;;
11700   esac
11701
11702   case $lt_cv_dlopen_self_static in
11703   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11704   *) enable_dlopen_self_static=unknown ;;
11705   esac
11706 fi
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724 striplib=
11725 old_striplib=
11726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11727 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11728 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11729   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11730   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11732 $as_echo "yes" >&6; }
11733 else
11734 # FIXME - insert some real tests, host_os isn't really good enough
11735   case $host_os in
11736   darwin*)
11737     if test -n "$STRIP" ; then
11738       striplib="$STRIP -x"
11739       old_striplib="$STRIP -S"
11740       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11741 $as_echo "yes" >&6; }
11742     else
11743       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11744 $as_echo "no" >&6; }
11745     fi
11746     ;;
11747   *)
11748     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11749 $as_echo "no" >&6; }
11750     ;;
11751   esac
11752 fi
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765   # Report which library types will actually be built
11766   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11767 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11769 $as_echo "$can_build_shared" >&6; }
11770
11771   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11772 $as_echo_n "checking whether to build shared libraries... " >&6; }
11773   test "$can_build_shared" = "no" && enable_shared=no
11774
11775   # On AIX, shared libraries and static libraries use the same namespace, and
11776   # are all built from PIC.
11777   case $host_os in
11778   aix3*)
11779     test "$enable_shared" = yes && enable_static=no
11780     if test -n "$RANLIB"; then
11781       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11782       postinstall_cmds='$RANLIB $lib'
11783     fi
11784     ;;
11785
11786   aix[4-9]*)
11787     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11788       test "$enable_shared" = yes && enable_static=no
11789     fi
11790     ;;
11791   esac
11792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11793 $as_echo "$enable_shared" >&6; }
11794
11795   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11796 $as_echo_n "checking whether to build static libraries... " >&6; }
11797   # Make sure either enable_shared or enable_static is yes.
11798   test "$enable_shared" = yes || enable_static=yes
11799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11800 $as_echo "$enable_static" >&6; }
11801
11802
11803
11804
11805 fi
11806 ac_ext=c
11807 ac_cpp='$CPP $CPPFLAGS'
11808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11811
11812 CC="$lt_save_CC"
11813
11814       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11815     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11816     (test "X$CXX" != "Xg++"))) ; then
11817   ac_ext=cpp
11818 ac_cpp='$CXXCPP $CPPFLAGS'
11819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11823 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11824 if test -z "$CXXCPP"; then
11825   if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11826   $as_echo_n "(cached) " >&6
11827 else
11828       # Double quotes because CXXCPP needs to be expanded
11829     for CXXCPP in "$CXX -E" "/lib/cpp"
11830     do
11831       ac_preproc_ok=false
11832 for ac_cxx_preproc_warn_flag in '' yes
11833 do
11834   # Use a header file that comes with gcc, so configuring glibc
11835   # with a fresh cross-compiler works.
11836   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11837   # <limits.h> exists even on freestanding compilers.
11838   # On the NeXT, cc -E runs the code through the compiler's parser,
11839   # not just through cpp. "Syntax error" is here to catch this case.
11840   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11841 /* end confdefs.h.  */
11842 #ifdef __STDC__
11843 # include <limits.h>
11844 #else
11845 # include <assert.h>
11846 #endif
11847                      Syntax error
11848 _ACEOF
11849 if ac_fn_cxx_try_cpp "$LINENO"; then :
11850
11851 else
11852   # Broken: fails on valid input.
11853 continue
11854 fi
11855 rm -f conftest.err conftest.$ac_ext
11856
11857   # OK, works on sane cases.  Now check whether nonexistent headers
11858   # can be detected and how.
11859   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11860 /* end confdefs.h.  */
11861 #include <ac_nonexistent.h>
11862 _ACEOF
11863 if ac_fn_cxx_try_cpp "$LINENO"; then :
11864   # Broken: success on invalid input.
11865 continue
11866 else
11867   # Passes both tests.
11868 ac_preproc_ok=:
11869 break
11870 fi
11871 rm -f conftest.err conftest.$ac_ext
11872
11873 done
11874 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11875 rm -f conftest.err conftest.$ac_ext
11876 if $ac_preproc_ok; then :
11877   break
11878 fi
11879
11880     done
11881     ac_cv_prog_CXXCPP=$CXXCPP
11882
11883 fi
11884   CXXCPP=$ac_cv_prog_CXXCPP
11885 else
11886   ac_cv_prog_CXXCPP=$CXXCPP
11887 fi
11888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11889 $as_echo "$CXXCPP" >&6; }
11890 ac_preproc_ok=false
11891 for ac_cxx_preproc_warn_flag in '' yes
11892 do
11893   # Use a header file that comes with gcc, so configuring glibc
11894   # with a fresh cross-compiler works.
11895   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11896   # <limits.h> exists even on freestanding compilers.
11897   # On the NeXT, cc -E runs the code through the compiler's parser,
11898   # not just through cpp. "Syntax error" is here to catch this case.
11899   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11900 /* end confdefs.h.  */
11901 #ifdef __STDC__
11902 # include <limits.h>
11903 #else
11904 # include <assert.h>
11905 #endif
11906                      Syntax error
11907 _ACEOF
11908 if ac_fn_cxx_try_cpp "$LINENO"; then :
11909
11910 else
11911   # Broken: fails on valid input.
11912 continue
11913 fi
11914 rm -f conftest.err conftest.$ac_ext
11915
11916   # OK, works on sane cases.  Now check whether nonexistent headers
11917   # can be detected and how.
11918   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11919 /* end confdefs.h.  */
11920 #include <ac_nonexistent.h>
11921 _ACEOF
11922 if ac_fn_cxx_try_cpp "$LINENO"; then :
11923   # Broken: success on invalid input.
11924 continue
11925 else
11926   # Passes both tests.
11927 ac_preproc_ok=:
11928 break
11929 fi
11930 rm -f conftest.err conftest.$ac_ext
11931
11932 done
11933 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11934 rm -f conftest.err conftest.$ac_ext
11935 if $ac_preproc_ok; then :
11936
11937 else
11938   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11939 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11940 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11941 See \`config.log' for more details." "$LINENO" 5; }
11942 fi
11943
11944 ac_ext=c
11945 ac_cpp='$CPP $CPPFLAGS'
11946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11949
11950 else
11951   _lt_caught_CXX_error=yes
11952 fi
11953
11954 ac_ext=cpp
11955 ac_cpp='$CXXCPP $CPPFLAGS'
11956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11959
11960 archive_cmds_need_lc_CXX=no
11961 allow_undefined_flag_CXX=
11962 always_export_symbols_CXX=no
11963 archive_expsym_cmds_CXX=
11964 compiler_needs_object_CXX=no
11965 export_dynamic_flag_spec_CXX=
11966 hardcode_direct_CXX=no
11967 hardcode_direct_absolute_CXX=no
11968 hardcode_libdir_flag_spec_CXX=
11969 hardcode_libdir_flag_spec_ld_CXX=
11970 hardcode_libdir_separator_CXX=
11971 hardcode_minus_L_CXX=no
11972 hardcode_shlibpath_var_CXX=unsupported
11973 hardcode_automatic_CXX=no
11974 inherit_rpath_CXX=no
11975 module_cmds_CXX=
11976 module_expsym_cmds_CXX=
11977 link_all_deplibs_CXX=unknown
11978 old_archive_cmds_CXX=$old_archive_cmds
11979 reload_flag_CXX=$reload_flag
11980 reload_cmds_CXX=$reload_cmds
11981 no_undefined_flag_CXX=
11982 whole_archive_flag_spec_CXX=
11983 enable_shared_with_static_runtimes_CXX=no
11984
11985 # Source file extension for C++ test sources.
11986 ac_ext=cpp
11987
11988 # Object file extension for compiled C++ test sources.
11989 objext=o
11990 objext_CXX=$objext
11991
11992 # No sense in running all these tests if we already determined that
11993 # the CXX compiler isn't working.  Some variables (like enable_shared)
11994 # are currently assumed to apply to all compilers on this platform,
11995 # and will be corrupted by setting them based on a non-working compiler.
11996 if test "$_lt_caught_CXX_error" != yes; then
11997   # Code to be used in simple compile tests
11998   lt_simple_compile_test_code="int some_variable = 0;"
11999
12000   # Code to be used in simple link tests
12001   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12002
12003   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12004
12005
12006
12007
12008
12009
12010 # If no C compiler was specified, use CC.
12011 LTCC=${LTCC-"$CC"}
12012
12013 # If no C compiler flags were specified, use CFLAGS.
12014 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12015
12016 # Allow CC to be a program name with arguments.
12017 compiler=$CC
12018
12019
12020   # save warnings/boilerplate of simple test code
12021   ac_outfile=conftest.$ac_objext
12022 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12023 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12024 _lt_compiler_boilerplate=`cat conftest.err`
12025 $RM conftest*
12026
12027   ac_outfile=conftest.$ac_objext
12028 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12029 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12030 _lt_linker_boilerplate=`cat conftest.err`
12031 $RM -r conftest*
12032
12033
12034   # Allow CC to be a program name with arguments.
12035   lt_save_CC=$CC
12036   lt_save_LD=$LD
12037   lt_save_GCC=$GCC
12038   GCC=$GXX
12039   lt_save_with_gnu_ld=$with_gnu_ld
12040   lt_save_path_LD=$lt_cv_path_LD
12041   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12042     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12043   else
12044     $as_unset lt_cv_prog_gnu_ld
12045   fi
12046   if test -n "${lt_cv_path_LDCXX+set}"; then
12047     lt_cv_path_LD=$lt_cv_path_LDCXX
12048   else
12049     $as_unset lt_cv_path_LD
12050   fi
12051   test -z "${LDCXX+set}" || LD=$LDCXX
12052   CC=${CXX-"c++"}
12053   compiler=$CC
12054   compiler_CXX=$CC
12055   for cc_temp in $compiler""; do
12056   case $cc_temp in
12057     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12058     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12059     \-*) ;;
12060     *) break;;
12061   esac
12062 done
12063 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12064
12065
12066   if test -n "$compiler"; then
12067     # We don't want -fno-exception when compiling C++ code, so set the
12068     # no_builtin_flag separately
12069     if test "$GXX" = yes; then
12070       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12071     else
12072       lt_prog_compiler_no_builtin_flag_CXX=
12073     fi
12074
12075     if test "$GXX" = yes; then
12076       # Set up default GNU C++ configuration
12077
12078
12079
12080 # Check whether --with-gnu-ld was given.
12081 if test "${with_gnu_ld+set}" = set; then :
12082   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12083 else
12084   with_gnu_ld=no
12085 fi
12086
12087 ac_prog=ld
12088 if test "$GCC" = yes; then
12089   # Check if gcc -print-prog-name=ld gives a path.
12090   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12091 $as_echo_n "checking for ld used by $CC... " >&6; }
12092   case $host in
12093   *-*-mingw*)
12094     # gcc leaves a trailing carriage return which upsets mingw
12095     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12096   *)
12097     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12098   esac
12099   case $ac_prog in
12100     # Accept absolute paths.
12101     [\\/]* | ?:[\\/]*)
12102       re_direlt='/[^/][^/]*/\.\./'
12103       # Canonicalize the pathname of ld
12104       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12105       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12106         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12107       done
12108       test -z "$LD" && LD="$ac_prog"
12109       ;;
12110   "")
12111     # If it fails, then pretend we aren't using GCC.
12112     ac_prog=ld
12113     ;;
12114   *)
12115     # If it is relative, then search for the first ld in PATH.
12116     with_gnu_ld=unknown
12117     ;;
12118   esac
12119 elif test "$with_gnu_ld" = yes; then
12120   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12121 $as_echo_n "checking for GNU ld... " >&6; }
12122 else
12123   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12124 $as_echo_n "checking for non-GNU ld... " >&6; }
12125 fi
12126 if test "${lt_cv_path_LD+set}" = set; then :
12127   $as_echo_n "(cached) " >&6
12128 else
12129   if test -z "$LD"; then
12130   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12131   for ac_dir in $PATH; do
12132     IFS="$lt_save_ifs"
12133     test -z "$ac_dir" && ac_dir=.
12134     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12135       lt_cv_path_LD="$ac_dir/$ac_prog"
12136       # Check to see if the program is GNU ld.  I'd rather use --version,
12137       # but apparently some variants of GNU ld only accept -v.
12138       # Break only if it was the GNU/non-GNU ld that we prefer.
12139       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12140       *GNU* | *'with BFD'*)
12141         test "$with_gnu_ld" != no && break
12142         ;;
12143       *)
12144         test "$with_gnu_ld" != yes && break
12145         ;;
12146       esac
12147     fi
12148   done
12149   IFS="$lt_save_ifs"
12150 else
12151   lt_cv_path_LD="$LD" # Let the user override the test with a path.
12152 fi
12153 fi
12154
12155 LD="$lt_cv_path_LD"
12156 if test -n "$LD"; then
12157   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12158 $as_echo "$LD" >&6; }
12159 else
12160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12161 $as_echo "no" >&6; }
12162 fi
12163 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12165 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12166 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12167   $as_echo_n "(cached) " >&6
12168 else
12169   # I'd rather use --version here, but apparently some GNU lds only accept -v.
12170 case `$LD -v 2>&1 </dev/null` in
12171 *GNU* | *'with BFD'*)
12172   lt_cv_prog_gnu_ld=yes
12173   ;;
12174 *)
12175   lt_cv_prog_gnu_ld=no
12176   ;;
12177 esac
12178 fi
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12180 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12181 with_gnu_ld=$lt_cv_prog_gnu_ld
12182
12183
12184
12185
12186
12187
12188
12189       # Check if GNU C++ uses GNU ld as the underlying linker, since the
12190       # archiving commands below assume that GNU ld is being used.
12191       if test "$with_gnu_ld" = yes; then
12192         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12193         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'
12194
12195         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12196         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12197
12198         # If archive_cmds runs LD, not CC, wlarc should be empty
12199         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12200         #     investigate it a little bit more. (MM)
12201         wlarc='${wl}'
12202
12203         # ancient GNU ld didn't support --whole-archive et. al.
12204         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12205           $GREP 'no-whole-archive' > /dev/null; then
12206           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12207         else
12208           whole_archive_flag_spec_CXX=
12209         fi
12210       else
12211         with_gnu_ld=no
12212         wlarc=
12213
12214         # A generic and very simple default shared library creation
12215         # command for GNU C++ for the case where it uses the native
12216         # linker, instead of GNU ld.  If possible, this setting should
12217         # overridden to take advantage of the native linker features on
12218         # the platform it is being used on.
12219         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12220       fi
12221
12222       # Commands to make compiler produce verbose output that lists
12223       # what "hidden" libraries, object files and flags are used when
12224       # linking a shared library.
12225       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12226
12227     else
12228       GXX=no
12229       with_gnu_ld=no
12230       wlarc=
12231     fi
12232
12233     # PORTME: fill in a description of your system's C++ link characteristics
12234     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12235 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12236     ld_shlibs_CXX=yes
12237     case $host_os in
12238       aix3*)
12239         # FIXME: insert proper C++ library support
12240         ld_shlibs_CXX=no
12241         ;;
12242       aix[4-9]*)
12243         if test "$host_cpu" = ia64; then
12244           # On IA64, the linker does run time linking by default, so we don't
12245           # have to do anything special.
12246           aix_use_runtimelinking=no
12247           exp_sym_flag='-Bexport'
12248           no_entry_flag=""
12249         else
12250           aix_use_runtimelinking=no
12251
12252           # Test if we are trying to use run time linking or normal
12253           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12254           # need to do runtime linking.
12255           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12256             for ld_flag in $LDFLAGS; do
12257               case $ld_flag in
12258               *-brtl*)
12259                 aix_use_runtimelinking=yes
12260                 break
12261                 ;;
12262               esac
12263             done
12264             ;;
12265           esac
12266
12267           exp_sym_flag='-bexport'
12268           no_entry_flag='-bnoentry'
12269         fi
12270
12271         # When large executables or shared objects are built, AIX ld can
12272         # have problems creating the table of contents.  If linking a library
12273         # or program results in "error TOC overflow" add -mminimal-toc to
12274         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12275         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12276
12277         archive_cmds_CXX=''
12278         hardcode_direct_CXX=yes
12279         hardcode_direct_absolute_CXX=yes
12280         hardcode_libdir_separator_CXX=':'
12281         link_all_deplibs_CXX=yes
12282         file_list_spec_CXX='${wl}-f,'
12283
12284         if test "$GXX" = yes; then
12285           case $host_os in aix4.[012]|aix4.[012].*)
12286           # We only want to do this on AIX 4.2 and lower, the check
12287           # below for broken collect2 doesn't work under 4.3+
12288           collect2name=`${CC} -print-prog-name=collect2`
12289           if test -f "$collect2name" &&
12290              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12291           then
12292             # We have reworked collect2
12293             :
12294           else
12295             # We have old collect2
12296             hardcode_direct_CXX=unsupported
12297             # It fails to find uninstalled libraries when the uninstalled
12298             # path is not listed in the libpath.  Setting hardcode_minus_L
12299             # to unsupported forces relinking
12300             hardcode_minus_L_CXX=yes
12301             hardcode_libdir_flag_spec_CXX='-L$libdir'
12302             hardcode_libdir_separator_CXX=
12303           fi
12304           esac
12305           shared_flag='-shared'
12306           if test "$aix_use_runtimelinking" = yes; then
12307             shared_flag="$shared_flag "'${wl}-G'
12308           fi
12309         else
12310           # not using gcc
12311           if test "$host_cpu" = ia64; then
12312           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12313           # chokes on -Wl,-G. The following line is correct:
12314           shared_flag='-G'
12315           else
12316             if test "$aix_use_runtimelinking" = yes; then
12317               shared_flag='${wl}-G'
12318             else
12319               shared_flag='${wl}-bM:SRE'
12320             fi
12321           fi
12322         fi
12323
12324         export_dynamic_flag_spec_CXX='${wl}-bexpall'
12325         # It seems that -bexpall does not export symbols beginning with
12326         # underscore (_), so it is better to generate a list of symbols to
12327         # export.
12328         always_export_symbols_CXX=yes
12329         if test "$aix_use_runtimelinking" = yes; then
12330           # Warning - without using the other runtime loading flags (-brtl),
12331           # -berok will link without error, but may produce a broken library.
12332           allow_undefined_flag_CXX='-berok'
12333           # Determine the default libpath from the value encoded in an empty
12334           # executable.
12335           if test x$gcc_no_link = xyes; then
12336   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12337 fi
12338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12339 /* end confdefs.h.  */
12340
12341 int
12342 main ()
12343 {
12344
12345   ;
12346   return 0;
12347 }
12348 _ACEOF
12349 if ac_fn_cxx_try_link "$LINENO"; then :
12350
12351 lt_aix_libpath_sed='
12352     /Import File Strings/,/^$/ {
12353         /^0/ {
12354             s/^0  *\(.*\)$/\1/
12355             p
12356         }
12357     }'
12358 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12359 # Check for a 64-bit object if we didn't find anything.
12360 if test -z "$aix_libpath"; then
12361   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12362 fi
12363 fi
12364 rm -f core conftest.err conftest.$ac_objext \
12365     conftest$ac_exeext conftest.$ac_ext
12366 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12367
12368           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12369
12370           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"
12371         else
12372           if test "$host_cpu" = ia64; then
12373             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12374             allow_undefined_flag_CXX="-z nodefs"
12375             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"
12376           else
12377             # Determine the default libpath from the value encoded in an
12378             # empty executable.
12379             if test x$gcc_no_link = xyes; then
12380   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12381 fi
12382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12383 /* end confdefs.h.  */
12384
12385 int
12386 main ()
12387 {
12388
12389   ;
12390   return 0;
12391 }
12392 _ACEOF
12393 if ac_fn_cxx_try_link "$LINENO"; then :
12394
12395 lt_aix_libpath_sed='
12396     /Import File Strings/,/^$/ {
12397         /^0/ {
12398             s/^0  *\(.*\)$/\1/
12399             p
12400         }
12401     }'
12402 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12403 # Check for a 64-bit object if we didn't find anything.
12404 if test -z "$aix_libpath"; then
12405   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12406 fi
12407 fi
12408 rm -f core conftest.err conftest.$ac_objext \
12409     conftest$ac_exeext conftest.$ac_ext
12410 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12411
12412             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12413             # Warning - without using the other run time loading flags,
12414             # -berok will link without error, but may produce a broken library.
12415             no_undefined_flag_CXX=' ${wl}-bernotok'
12416             allow_undefined_flag_CXX=' ${wl}-berok'
12417             if test "$with_gnu_ld" = yes; then
12418               # We only use this code for GNU lds that support --whole-archive.
12419               whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12420             else
12421               # Exported symbols can be pulled into shared objects from archives
12422               whole_archive_flag_spec_CXX='$convenience'
12423             fi
12424             archive_cmds_need_lc_CXX=yes
12425             # This is similar to how AIX traditionally builds its shared
12426             # libraries.
12427             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'
12428           fi
12429         fi
12430         ;;
12431
12432       beos*)
12433         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12434           allow_undefined_flag_CXX=unsupported
12435           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12436           # support --undefined.  This deserves some investigation.  FIXME
12437           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12438         else
12439           ld_shlibs_CXX=no
12440         fi
12441         ;;
12442
12443       chorus*)
12444         case $cc_basename in
12445           *)
12446           # FIXME: insert proper C++ library support
12447           ld_shlibs_CXX=no
12448           ;;
12449         esac
12450         ;;
12451
12452       cygwin* | mingw* | pw32* | cegcc*)
12453         # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12454         # as there is no search path for DLLs.
12455         hardcode_libdir_flag_spec_CXX='-L$libdir'
12456         export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12457         allow_undefined_flag_CXX=unsupported
12458         always_export_symbols_CXX=no
12459         enable_shared_with_static_runtimes_CXX=yes
12460
12461         if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12462           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'
12463           # If the export-symbols file already is a .def file (1st line
12464           # is EXPORTS), use it as is; otherwise, prepend...
12465           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12466             cp $export_symbols $output_objdir/$soname.def;
12467           else
12468             echo EXPORTS > $output_objdir/$soname.def;
12469             cat $export_symbols >> $output_objdir/$soname.def;
12470           fi~
12471           $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'
12472         else
12473           ld_shlibs_CXX=no
12474         fi
12475         ;;
12476       darwin* | rhapsody*)
12477
12478
12479   archive_cmds_need_lc_CXX=no
12480   hardcode_direct_CXX=no
12481   hardcode_automatic_CXX=yes
12482   hardcode_shlibpath_var_CXX=unsupported
12483   if test "$lt_cv_ld_force_load" = "yes"; then
12484     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\"`'
12485   else
12486     whole_archive_flag_spec_CXX=''
12487   fi
12488   link_all_deplibs_CXX=yes
12489   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12490   case $cc_basename in
12491      ifort*) _lt_dar_can_shared=yes ;;
12492      *) _lt_dar_can_shared=$GCC ;;
12493   esac
12494   if test "$_lt_dar_can_shared" = "yes"; then
12495     output_verbose_link_cmd=func_echo_all
12496     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}"
12497     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12498     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}"
12499     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}"
12500        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12501       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}"
12502       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}"
12503     fi
12504
12505   else
12506   ld_shlibs_CXX=no
12507   fi
12508
12509         ;;
12510
12511       dgux*)
12512         case $cc_basename in
12513           ec++*)
12514             # FIXME: insert proper C++ library support
12515             ld_shlibs_CXX=no
12516             ;;
12517           ghcx*)
12518             # Green Hills C++ Compiler
12519             # FIXME: insert proper C++ library support
12520             ld_shlibs_CXX=no
12521             ;;
12522           *)
12523             # FIXME: insert proper C++ library support
12524             ld_shlibs_CXX=no
12525             ;;
12526         esac
12527         ;;
12528
12529       freebsd[12]*)
12530         # C++ shared libraries reported to be fairly broken before
12531         # switch to ELF
12532         ld_shlibs_CXX=no
12533         ;;
12534
12535       freebsd-elf*)
12536         archive_cmds_need_lc_CXX=no
12537         ;;
12538
12539       freebsd* | dragonfly*)
12540         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12541         # conventions
12542         ld_shlibs_CXX=yes
12543         ;;
12544
12545       gnu*)
12546         ;;
12547
12548       haiku*)
12549         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12550         link_all_deplibs_CXX=yes
12551         ;;
12552
12553       hpux9*)
12554         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12555         hardcode_libdir_separator_CXX=:
12556         export_dynamic_flag_spec_CXX='${wl}-E'
12557         hardcode_direct_CXX=yes
12558         hardcode_minus_L_CXX=yes # Not in the search PATH,
12559                                              # but as the default
12560                                              # location of the library.
12561
12562         case $cc_basename in
12563           CC*)
12564             # FIXME: insert proper C++ library support
12565             ld_shlibs_CXX=no
12566             ;;
12567           aCC*)
12568             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'
12569             # Commands to make compiler produce verbose output that lists
12570             # what "hidden" libraries, object files and flags are used when
12571             # linking a shared library.
12572             #
12573             # There doesn't appear to be a way to prevent this compiler from
12574             # explicitly linking system object files so we need to strip them
12575             # from the output so that they don't get included in the library
12576             # dependencies.
12577             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"'
12578             ;;
12579           *)
12580             if test "$GXX" = yes; then
12581               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'
12582             else
12583               # FIXME: insert proper C++ library support
12584               ld_shlibs_CXX=no
12585             fi
12586             ;;
12587         esac
12588         ;;
12589
12590       hpux10*|hpux11*)
12591         if test $with_gnu_ld = no; then
12592           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12593           hardcode_libdir_separator_CXX=:
12594
12595           case $host_cpu in
12596             hppa*64*|ia64*)
12597               ;;
12598             *)
12599               export_dynamic_flag_spec_CXX='${wl}-E'
12600               ;;
12601           esac
12602         fi
12603         case $host_cpu in
12604           hppa*64*|ia64*)
12605             hardcode_direct_CXX=no
12606             hardcode_shlibpath_var_CXX=no
12607             ;;
12608           *)
12609             hardcode_direct_CXX=yes
12610             hardcode_direct_absolute_CXX=yes
12611             hardcode_minus_L_CXX=yes # Not in the search PATH,
12612                                                  # but as the default
12613                                                  # location of the library.
12614             ;;
12615         esac
12616
12617         case $cc_basename in
12618           CC*)
12619             # FIXME: insert proper C++ library support
12620             ld_shlibs_CXX=no
12621             ;;
12622           aCC*)
12623             case $host_cpu in
12624               hppa*64*)
12625                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12626                 ;;
12627               ia64*)
12628                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12629                 ;;
12630               *)
12631                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12632                 ;;
12633             esac
12634             # Commands to make compiler produce verbose output that lists
12635             # what "hidden" libraries, object files and flags are used when
12636             # linking a shared library.
12637             #
12638             # There doesn't appear to be a way to prevent this compiler from
12639             # explicitly linking system object files so we need to strip them
12640             # from the output so that they don't get included in the library
12641             # dependencies.
12642             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"'
12643             ;;
12644           *)
12645             if test "$GXX" = yes; then
12646               if test $with_gnu_ld = no; then
12647                 case $host_cpu in
12648                   hppa*64*)
12649                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12650                     ;;
12651                   ia64*)
12652                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12653                     ;;
12654                   *)
12655                     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'
12656                     ;;
12657                 esac
12658               fi
12659             else
12660               # FIXME: insert proper C++ library support
12661               ld_shlibs_CXX=no
12662             fi
12663             ;;
12664         esac
12665         ;;
12666
12667       interix[3-9]*)
12668         hardcode_direct_CXX=no
12669         hardcode_shlibpath_var_CXX=no
12670         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12671         export_dynamic_flag_spec_CXX='${wl}-E'
12672         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12673         # Instead, shared libraries are loaded at an image base (0x10000000 by
12674         # default) and relocated if they conflict, which is a slow very memory
12675         # consuming and fragmenting process.  To avoid this, we pick a random,
12676         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12677         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12678         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'
12679         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'
12680         ;;
12681       irix5* | irix6*)
12682         case $cc_basename in
12683           CC*)
12684             # SGI C++
12685             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'
12686
12687             # Archives containing C++ object files must be created using
12688             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
12689             # necessary to make sure instantiated templates are included
12690             # in the archive.
12691             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12692             ;;
12693           *)
12694             if test "$GXX" = yes; then
12695               if test "$with_gnu_ld" = no; then
12696                 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'
12697               else
12698                 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'
12699               fi
12700             fi
12701             link_all_deplibs_CXX=yes
12702             ;;
12703         esac
12704         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12705         hardcode_libdir_separator_CXX=:
12706         inherit_rpath_CXX=yes
12707         ;;
12708
12709       linux* | k*bsd*-gnu | kopensolaris*-gnu)
12710         case $cc_basename in
12711           KCC*)
12712             # Kuck and Associates, Inc. (KAI) C++ Compiler
12713
12714             # KCC will only create a shared library if the output file
12715             # ends with ".so" (or ".sl" for HP-UX), so rename the library
12716             # to its proper name (with version) after linking.
12717             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'
12718             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'
12719             # Commands to make compiler produce verbose output that lists
12720             # what "hidden" libraries, object files and flags are used when
12721             # linking a shared library.
12722             #
12723             # There doesn't appear to be a way to prevent this compiler from
12724             # explicitly linking system object files so we need to strip them
12725             # from the output so that they don't get included in the library
12726             # dependencies.
12727             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"'
12728
12729             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12730             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12731
12732             # Archives containing C++ object files must be created using
12733             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12734             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12735             ;;
12736           icpc* | ecpc* )
12737             # Intel C++
12738             with_gnu_ld=yes
12739             # version 8.0 and above of icpc choke on multiply defined symbols
12740             # if we add $predep_objects and $postdep_objects, however 7.1 and
12741             # earlier do not add the objects themselves.
12742             case `$CC -V 2>&1` in
12743               *"Version 7."*)
12744                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12745                 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'
12746                 ;;
12747               *)  # Version 8.0 or newer
12748                 tmp_idyn=
12749                 case $host_cpu in
12750                   ia64*) tmp_idyn=' -i_dynamic';;
12751                 esac
12752                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12753                 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'
12754                 ;;
12755             esac
12756             archive_cmds_need_lc_CXX=no
12757             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12758             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12759             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12760             ;;
12761           pgCC* | pgcpp*)
12762             # Portland Group C++ compiler
12763             case `$CC -V` in
12764             *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12765               prelink_cmds_CXX='tpldir=Template.dir~
12766                 rm -rf $tpldir~
12767                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12768                 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12769               old_archive_cmds_CXX='tpldir=Template.dir~
12770                 rm -rf $tpldir~
12771                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12772                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12773                 $RANLIB $oldlib'
12774               archive_cmds_CXX='tpldir=Template.dir~
12775                 rm -rf $tpldir~
12776                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12777                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12778               archive_expsym_cmds_CXX='tpldir=Template.dir~
12779                 rm -rf $tpldir~
12780                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12781                 $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'
12782               ;;
12783             *) # Version 6 and above use weak symbols
12784               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12785               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'
12786               ;;
12787             esac
12788
12789             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12790             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12791             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'
12792             ;;
12793           cxx*)
12794             # Compaq C++
12795             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12796             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'
12797
12798             runpath_var=LD_RUN_PATH
12799             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12800             hardcode_libdir_separator_CXX=:
12801
12802             # Commands to make compiler produce verbose output that lists
12803             # what "hidden" libraries, object files and flags are used when
12804             # linking a shared library.
12805             #
12806             # There doesn't appear to be a way to prevent this compiler from
12807             # explicitly linking system object files so we need to strip them
12808             # from the output so that they don't get included in the library
12809             # dependencies.
12810             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'
12811             ;;
12812           xl* | mpixl* | bgxl*)
12813             # IBM XL 8.0 on PPC, with GNU ld
12814             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12815             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12816             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12817             if test "x$supports_anon_versioning" = xyes; then
12818               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12819                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12820                 echo "local: *; };" >> $output_objdir/$libname.ver~
12821                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12822             fi
12823             ;;
12824           *)
12825             case `$CC -V 2>&1 | sed 5q` in
12826             *Sun\ C*)
12827               # Sun C++ 5.9
12828               no_undefined_flag_CXX=' -zdefs'
12829               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12830               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'
12831               hardcode_libdir_flag_spec_CXX='-R$libdir'
12832               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'
12833               compiler_needs_object_CXX=yes
12834
12835               # Not sure whether something based on
12836               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12837               # would be better.
12838               output_verbose_link_cmd='func_echo_all'
12839
12840               # Archives containing C++ object files must be created using
12841               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12842               # necessary to make sure instantiated templates are included
12843               # in the archive.
12844               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12845               ;;
12846             esac
12847             ;;
12848         esac
12849         ;;
12850
12851       lynxos*)
12852         # FIXME: insert proper C++ library support
12853         ld_shlibs_CXX=no
12854         ;;
12855
12856       m88k*)
12857         # FIXME: insert proper C++ library support
12858         ld_shlibs_CXX=no
12859         ;;
12860
12861       mvs*)
12862         case $cc_basename in
12863           cxx*)
12864             # FIXME: insert proper C++ library support
12865             ld_shlibs_CXX=no
12866             ;;
12867           *)
12868             # FIXME: insert proper C++ library support
12869             ld_shlibs_CXX=no
12870             ;;
12871         esac
12872         ;;
12873
12874       netbsd*)
12875         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12876           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12877           wlarc=
12878           hardcode_libdir_flag_spec_CXX='-R$libdir'
12879           hardcode_direct_CXX=yes
12880           hardcode_shlibpath_var_CXX=no
12881         fi
12882         # Workaround some broken pre-1.5 toolchains
12883         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12884         ;;
12885
12886       *nto* | *qnx*)
12887         ld_shlibs_CXX=yes
12888         ;;
12889
12890       openbsd2*)
12891         # C++ shared libraries are fairly broken
12892         ld_shlibs_CXX=no
12893         ;;
12894
12895       openbsd*)
12896         if test -f /usr/libexec/ld.so; then
12897           hardcode_direct_CXX=yes
12898           hardcode_shlibpath_var_CXX=no
12899           hardcode_direct_absolute_CXX=yes
12900           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12901           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12902           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12903             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12904             export_dynamic_flag_spec_CXX='${wl}-E'
12905             whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12906           fi
12907           output_verbose_link_cmd=func_echo_all
12908         else
12909           ld_shlibs_CXX=no
12910         fi
12911         ;;
12912
12913       osf3* | osf4* | osf5*)
12914         case $cc_basename in
12915           KCC*)
12916             # Kuck and Associates, Inc. (KAI) C++ Compiler
12917
12918             # KCC will only create a shared library if the output file
12919             # ends with ".so" (or ".sl" for HP-UX), so rename the library
12920             # to its proper name (with version) after linking.
12921             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'
12922
12923             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12924             hardcode_libdir_separator_CXX=:
12925
12926             # Archives containing C++ object files must be created using
12927             # the KAI C++ compiler.
12928             case $host in
12929               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12930               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12931             esac
12932             ;;
12933           RCC*)
12934             # Rational C++ 2.4.1
12935             # FIXME: insert proper C++ library support
12936             ld_shlibs_CXX=no
12937             ;;
12938           cxx*)
12939             case $host in
12940               osf3*)
12941                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12942                 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'
12943                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12944                 ;;
12945               *)
12946                 allow_undefined_flag_CXX=' -expect_unresolved \*'
12947                 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'
12948                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12949                   echo "-hidden">> $lib.exp~
12950                   $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~
12951                   $RM $lib.exp'
12952                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12953                 ;;
12954             esac
12955
12956             hardcode_libdir_separator_CXX=:
12957
12958             # Commands to make compiler produce verbose output that lists
12959             # what "hidden" libraries, object files and flags are used when
12960             # linking a shared library.
12961             #
12962             # There doesn't appear to be a way to prevent this compiler from
12963             # explicitly linking system object files so we need to strip them
12964             # from the output so that they don't get included in the library
12965             # dependencies.
12966             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"'
12967             ;;
12968           *)
12969             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12970               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12971               case $host in
12972                 osf3*)
12973                   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'
12974                   ;;
12975                 *)
12976                   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'
12977                   ;;
12978               esac
12979
12980               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12981               hardcode_libdir_separator_CXX=:
12982
12983               # Commands to make compiler produce verbose output that lists
12984               # what "hidden" libraries, object files and flags are used when
12985               # linking a shared library.
12986               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12987
12988             else
12989               # FIXME: insert proper C++ library support
12990               ld_shlibs_CXX=no
12991             fi
12992             ;;
12993         esac
12994         ;;
12995
12996       psos*)
12997         # FIXME: insert proper C++ library support
12998         ld_shlibs_CXX=no
12999         ;;
13000
13001       sunos4*)
13002         case $cc_basename in
13003           CC*)
13004             # Sun C++ 4.x
13005             # FIXME: insert proper C++ library support
13006             ld_shlibs_CXX=no
13007             ;;
13008           lcc*)
13009             # Lucid
13010             # FIXME: insert proper C++ library support
13011             ld_shlibs_CXX=no
13012             ;;
13013           *)
13014             # FIXME: insert proper C++ library support
13015             ld_shlibs_CXX=no
13016             ;;
13017         esac
13018         ;;
13019
13020       solaris*)
13021         case $cc_basename in
13022           CC*)
13023             # Sun C++ 4.2, 5.x and Centerline C++
13024             archive_cmds_need_lc_CXX=yes
13025             no_undefined_flag_CXX=' -zdefs'
13026             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13027             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13028               $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'
13029
13030             hardcode_libdir_flag_spec_CXX='-R$libdir'
13031             hardcode_shlibpath_var_CXX=no
13032             case $host_os in
13033               solaris2.[0-5] | solaris2.[0-5].*) ;;
13034               *)
13035                 # The compiler driver will combine and reorder linker options,
13036                 # but understands `-z linker_flag'.
13037                 # Supported since Solaris 2.6 (maybe 2.5.1?)
13038                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13039                 ;;
13040             esac
13041             link_all_deplibs_CXX=yes
13042
13043             output_verbose_link_cmd='func_echo_all'
13044
13045             # Archives containing C++ object files must be created using
13046             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13047             # necessary to make sure instantiated templates are included
13048             # in the archive.
13049             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13050             ;;
13051           gcx*)
13052             # Green Hills C++ Compiler
13053             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13054
13055             # The C++ compiler must be used to create the archive.
13056             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13057             ;;
13058           *)
13059             # GNU C++ compiler with Solaris linker
13060             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13061               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13062               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13063                 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13064                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13065                   $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13066
13067                 # Commands to make compiler produce verbose output that lists
13068                 # what "hidden" libraries, object files and flags are used when
13069                 # linking a shared library.
13070                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13071               else
13072                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13073                 # platform.
13074                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13075                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13076                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13077
13078                 # Commands to make compiler produce verbose output that lists
13079                 # what "hidden" libraries, object files and flags are used when
13080                 # linking a shared library.
13081                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13082               fi
13083
13084               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13085               case $host_os in
13086                 solaris2.[0-5] | solaris2.[0-5].*) ;;
13087                 *)
13088                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13089                   ;;
13090               esac
13091             fi
13092             ;;
13093         esac
13094         ;;
13095
13096     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13097       no_undefined_flag_CXX='${wl}-z,text'
13098       archive_cmds_need_lc_CXX=no
13099       hardcode_shlibpath_var_CXX=no
13100       runpath_var='LD_RUN_PATH'
13101
13102       case $cc_basename in
13103         CC*)
13104           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13105           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13106           ;;
13107         *)
13108           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13109           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13110           ;;
13111       esac
13112       ;;
13113
13114       sysv5* | sco3.2v5* | sco5v6*)
13115         # Note: We can NOT use -z defs as we might desire, because we do not
13116         # link with -lc, and that would cause any symbols used from libc to
13117         # always be unresolved, which means just about no library would
13118         # ever link correctly.  If we're not using GNU ld we use -z text
13119         # though, which does catch some bad symbols but isn't as heavy-handed
13120         # as -z defs.
13121         no_undefined_flag_CXX='${wl}-z,text'
13122         allow_undefined_flag_CXX='${wl}-z,nodefs'
13123         archive_cmds_need_lc_CXX=no
13124         hardcode_shlibpath_var_CXX=no
13125         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13126         hardcode_libdir_separator_CXX=':'
13127         link_all_deplibs_CXX=yes
13128         export_dynamic_flag_spec_CXX='${wl}-Bexport'
13129         runpath_var='LD_RUN_PATH'
13130
13131         case $cc_basename in
13132           CC*)
13133             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13134             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13135             old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13136               '"$old_archive_cmds_CXX"
13137             reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13138               '"$reload_cmds_CXX"
13139             ;;
13140           *)
13141             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13142             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13143             ;;
13144         esac
13145       ;;
13146
13147       tandem*)
13148         case $cc_basename in
13149           NCC*)
13150             # NonStop-UX NCC 3.20
13151             # FIXME: insert proper C++ library support
13152             ld_shlibs_CXX=no
13153             ;;
13154           *)
13155             # FIXME: insert proper C++ library support
13156             ld_shlibs_CXX=no
13157             ;;
13158         esac
13159         ;;
13160
13161       vxworks*)
13162         # FIXME: insert proper C++ library support
13163         ld_shlibs_CXX=no
13164         ;;
13165
13166       *)
13167         # FIXME: insert proper C++ library support
13168         ld_shlibs_CXX=no
13169         ;;
13170     esac
13171
13172     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13173 $as_echo "$ld_shlibs_CXX" >&6; }
13174     test "$ld_shlibs_CXX" = no && can_build_shared=no
13175
13176     GCC_CXX="$GXX"
13177     LD_CXX="$LD"
13178
13179     ## CAVEAT EMPTOR:
13180     ## There is no encapsulation within the following macros, do not change
13181     ## the running order or otherwise move them around unless you know exactly
13182     ## what you are doing...
13183     # Dependencies to place before and after the object being linked:
13184 predep_objects_CXX=
13185 postdep_objects_CXX=
13186 predeps_CXX=
13187 postdeps_CXX=
13188 compiler_lib_search_path_CXX=
13189
13190 cat > conftest.$ac_ext <<_LT_EOF
13191 class Foo
13192 {
13193 public:
13194   Foo (void) { a = 0; }
13195 private:
13196   int a;
13197 };
13198 _LT_EOF
13199
13200 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13201   (eval $ac_compile) 2>&5
13202   ac_status=$?
13203   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13204   test $ac_status = 0; }; then
13205   # Parse the compiler output and extract the necessary
13206   # objects, libraries and library flags.
13207
13208   # Sentinel used to keep track of whether or not we are before
13209   # the conftest object file.
13210   pre_test_object_deps_done=no
13211
13212   for p in `eval "$output_verbose_link_cmd"`; do
13213     case $p in
13214
13215     -L* | -R* | -l*)
13216        # Some compilers place space between "-{L,R}" and the path.
13217        # Remove the space.
13218        if test $p = "-L" ||
13219           test $p = "-R"; then
13220          prev=$p
13221          continue
13222        else
13223          prev=
13224        fi
13225
13226        if test "$pre_test_object_deps_done" = no; then
13227          case $p in
13228          -L* | -R*)
13229            # Internal compiler library paths should come after those
13230            # provided the user.  The postdeps already come after the
13231            # user supplied libs so there is no need to process them.
13232            if test -z "$compiler_lib_search_path_CXX"; then
13233              compiler_lib_search_path_CXX="${prev}${p}"
13234            else
13235              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13236            fi
13237            ;;
13238          # The "-l" case would never come before the object being
13239          # linked, so don't bother handling this case.
13240          esac
13241        else
13242          if test -z "$postdeps_CXX"; then
13243            postdeps_CXX="${prev}${p}"
13244          else
13245            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13246          fi
13247        fi
13248        ;;
13249
13250     *.$objext)
13251        # This assumes that the test object file only shows up
13252        # once in the compiler output.
13253        if test "$p" = "conftest.$objext"; then
13254          pre_test_object_deps_done=yes
13255          continue
13256        fi
13257
13258        if test "$pre_test_object_deps_done" = no; then
13259          if test -z "$predep_objects_CXX"; then
13260            predep_objects_CXX="$p"
13261          else
13262            predep_objects_CXX="$predep_objects_CXX $p"
13263          fi
13264        else
13265          if test -z "$postdep_objects_CXX"; then
13266            postdep_objects_CXX="$p"
13267          else
13268            postdep_objects_CXX="$postdep_objects_CXX $p"
13269          fi
13270        fi
13271        ;;
13272
13273     *) ;; # Ignore the rest.
13274
13275     esac
13276   done
13277
13278   # Clean up.
13279   rm -f a.out a.exe
13280 else
13281   echo "libtool.m4: error: problem compiling CXX test program"
13282 fi
13283
13284 $RM -f confest.$objext
13285
13286 # PORTME: override above test on systems where it is broken
13287 case $host_os in
13288 interix[3-9]*)
13289   # Interix 3.5 installs completely hosed .la files for C++, so rather than
13290   # hack all around it, let's just trust "g++" to DTRT.
13291   predep_objects_CXX=
13292   postdep_objects_CXX=
13293   postdeps_CXX=
13294   ;;
13295
13296 linux*)
13297   case `$CC -V 2>&1 | sed 5q` in
13298   *Sun\ C*)
13299     # Sun C++ 5.9
13300
13301     # The more standards-conforming stlport4 library is
13302     # incompatible with the Cstd library. Avoid specifying
13303     # it if it's in CXXFLAGS. Ignore libCrun as
13304     # -library=stlport4 depends on it.
13305     case " $CXX $CXXFLAGS " in
13306     *" -library=stlport4 "*)
13307       solaris_use_stlport4=yes
13308       ;;
13309     esac
13310
13311     if test "$solaris_use_stlport4" != yes; then
13312       postdeps_CXX='-library=Cstd -library=Crun'
13313     fi
13314     ;;
13315   esac
13316   ;;
13317
13318 solaris*)
13319   case $cc_basename in
13320   CC*)
13321     # The more standards-conforming stlport4 library is
13322     # incompatible with the Cstd library. Avoid specifying
13323     # it if it's in CXXFLAGS. Ignore libCrun as
13324     # -library=stlport4 depends on it.
13325     case " $CXX $CXXFLAGS " in
13326     *" -library=stlport4 "*)
13327       solaris_use_stlport4=yes
13328       ;;
13329     esac
13330
13331     # Adding this requires a known-good setup of shared libraries for
13332     # Sun compiler versions before 5.6, else PIC objects from an old
13333     # archive will be linked into the output, leading to subtle bugs.
13334     if test "$solaris_use_stlport4" != yes; then
13335       postdeps_CXX='-library=Cstd -library=Crun'
13336     fi
13337     ;;
13338   esac
13339   ;;
13340 esac
13341
13342
13343 case " $postdeps_CXX " in
13344 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13345 esac
13346  compiler_lib_search_dirs_CXX=
13347 if test -n "${compiler_lib_search_path_CXX}"; then
13348  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13349 fi
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381     lt_prog_compiler_wl_CXX=
13382 lt_prog_compiler_pic_CXX=
13383 lt_prog_compiler_static_CXX=
13384
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13386 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13387
13388   # C++ specific cases for pic, static, wl, etc.
13389   if test "$GXX" = yes; then
13390     lt_prog_compiler_wl_CXX='-Wl,'
13391     lt_prog_compiler_static_CXX='-static'
13392
13393     case $host_os in
13394     aix*)
13395       # All AIX code is PIC.
13396       if test "$host_cpu" = ia64; then
13397         # AIX 5 now supports IA64 processor
13398         lt_prog_compiler_static_CXX='-Bstatic'
13399       fi
13400       ;;
13401
13402     amigaos*)
13403       case $host_cpu in
13404       powerpc)
13405             # see comment about AmigaOS4 .so support
13406             lt_prog_compiler_pic_CXX='-fPIC'
13407         ;;
13408       m68k)
13409             # FIXME: we need at least 68020 code to build shared libraries, but
13410             # adding the `-m68020' flag to GCC prevents building anything better,
13411             # like `-m68040'.
13412             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13413         ;;
13414       esac
13415       ;;
13416
13417     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13418       # PIC is the default for these OSes.
13419       ;;
13420     mingw* | cygwin* | os2* | pw32* | cegcc*)
13421       # This hack is so that the source file can tell whether it is being
13422       # built for inclusion in a dll (and should export symbols for example).
13423       # Although the cygwin gcc ignores -fPIC, still need this for old-style
13424       # (--disable-auto-import) libraries
13425       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13426       ;;
13427     darwin* | rhapsody*)
13428       # PIC is the default on this platform
13429       # Common symbols not allowed in MH_DYLIB files
13430       lt_prog_compiler_pic_CXX='-fno-common'
13431       ;;
13432     *djgpp*)
13433       # DJGPP does not support shared libraries at all
13434       lt_prog_compiler_pic_CXX=
13435       ;;
13436     haiku*)
13437       # PIC is the default for Haiku.
13438       # The "-static" flag exists, but is broken.
13439       lt_prog_compiler_static_CXX=
13440       ;;
13441     interix[3-9]*)
13442       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13443       # Instead, we relocate shared libraries at runtime.
13444       ;;
13445     sysv4*MP*)
13446       if test -d /usr/nec; then
13447         lt_prog_compiler_pic_CXX=-Kconform_pic
13448       fi
13449       ;;
13450     hpux*)
13451       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13452       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
13453       # sets the default TLS model and affects inlining.
13454       case $host_cpu in
13455       hppa*64*)
13456         ;;
13457       *)
13458         lt_prog_compiler_pic_CXX='-fPIC'
13459         ;;
13460       esac
13461       ;;
13462     *qnx* | *nto*)
13463       # QNX uses GNU C++, but need to define -shared option too, otherwise
13464       # it will coredump.
13465       lt_prog_compiler_pic_CXX='-fPIC -shared'
13466       ;;
13467     *)
13468       lt_prog_compiler_pic_CXX='-fPIC'
13469       ;;
13470     esac
13471   else
13472     case $host_os in
13473       aix[4-9]*)
13474         # All AIX code is PIC.
13475         if test "$host_cpu" = ia64; then
13476           # AIX 5 now supports IA64 processor
13477           lt_prog_compiler_static_CXX='-Bstatic'
13478         else
13479           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13480         fi
13481         ;;
13482       chorus*)
13483         case $cc_basename in
13484         cxch68*)
13485           # Green Hills C++ Compiler
13486           # _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"
13487           ;;
13488         esac
13489         ;;
13490       dgux*)
13491         case $cc_basename in
13492           ec++*)
13493             lt_prog_compiler_pic_CXX='-KPIC'
13494             ;;
13495           ghcx*)
13496             # Green Hills C++ Compiler
13497             lt_prog_compiler_pic_CXX='-pic'
13498             ;;
13499           *)
13500             ;;
13501         esac
13502         ;;
13503       freebsd* | dragonfly*)
13504         # FreeBSD uses GNU C++
13505         ;;
13506       hpux9* | hpux10* | hpux11*)
13507         case $cc_basename in
13508           CC*)
13509             lt_prog_compiler_wl_CXX='-Wl,'
13510             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13511             if test "$host_cpu" != ia64; then
13512               lt_prog_compiler_pic_CXX='+Z'
13513             fi
13514             ;;
13515           aCC*)
13516             lt_prog_compiler_wl_CXX='-Wl,'
13517             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13518             case $host_cpu in
13519             hppa*64*|ia64*)
13520               # +Z the default
13521               ;;
13522             *)
13523               lt_prog_compiler_pic_CXX='+Z'
13524               ;;
13525             esac
13526             ;;
13527           *)
13528             ;;
13529         esac
13530         ;;
13531       interix*)
13532         # This is c89, which is MS Visual C++ (no shared libs)
13533         # Anyone wants to do a port?
13534         ;;
13535       irix5* | irix6* | nonstopux*)
13536         case $cc_basename in
13537           CC*)
13538             lt_prog_compiler_wl_CXX='-Wl,'
13539             lt_prog_compiler_static_CXX='-non_shared'
13540             # CC pic flag -KPIC is the default.
13541             ;;
13542           *)
13543             ;;
13544         esac
13545         ;;
13546       linux* | k*bsd*-gnu | kopensolaris*-gnu)
13547         case $cc_basename in
13548           KCC*)
13549             # KAI C++ Compiler
13550             lt_prog_compiler_wl_CXX='--backend -Wl,'
13551             lt_prog_compiler_pic_CXX='-fPIC'
13552             ;;
13553           ecpc* )
13554             # old Intel C++ for x86_64 which still supported -KPIC.
13555             lt_prog_compiler_wl_CXX='-Wl,'
13556             lt_prog_compiler_pic_CXX='-KPIC'
13557             lt_prog_compiler_static_CXX='-static'
13558             ;;
13559           icpc* )
13560             # Intel C++, used to be incompatible with GCC.
13561             # ICC 10 doesn't accept -KPIC any more.
13562             lt_prog_compiler_wl_CXX='-Wl,'
13563             lt_prog_compiler_pic_CXX='-fPIC'
13564             lt_prog_compiler_static_CXX='-static'
13565             ;;
13566           pgCC* | pgcpp*)
13567             # Portland Group C++ compiler
13568             lt_prog_compiler_wl_CXX='-Wl,'
13569             lt_prog_compiler_pic_CXX='-fpic'
13570             lt_prog_compiler_static_CXX='-Bstatic'
13571             ;;
13572           cxx*)
13573             # Compaq C++
13574             # Make sure the PIC flag is empty.  It appears that all Alpha
13575             # Linux and Compaq Tru64 Unix objects are PIC.
13576             lt_prog_compiler_pic_CXX=
13577             lt_prog_compiler_static_CXX='-non_shared'
13578             ;;
13579           xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13580             # IBM XL 8.0, 9.0 on PPC and BlueGene
13581             lt_prog_compiler_wl_CXX='-Wl,'
13582             lt_prog_compiler_pic_CXX='-qpic'
13583             lt_prog_compiler_static_CXX='-qstaticlink'
13584             ;;
13585           *)
13586             case `$CC -V 2>&1 | sed 5q` in
13587             *Sun\ C*)
13588               # Sun C++ 5.9
13589               lt_prog_compiler_pic_CXX='-KPIC'
13590               lt_prog_compiler_static_CXX='-Bstatic'
13591               lt_prog_compiler_wl_CXX='-Qoption ld '
13592               ;;
13593             esac
13594             ;;
13595         esac
13596         ;;
13597       lynxos*)
13598         ;;
13599       m88k*)
13600         ;;
13601       mvs*)
13602         case $cc_basename in
13603           cxx*)
13604             lt_prog_compiler_pic_CXX='-W c,exportall'
13605             ;;
13606           *)
13607             ;;
13608         esac
13609         ;;
13610       netbsd*)
13611         ;;
13612       *qnx* | *nto*)
13613         # QNX uses GNU C++, but need to define -shared option too, otherwise
13614         # it will coredump.
13615         lt_prog_compiler_pic_CXX='-fPIC -shared'
13616         ;;
13617       osf3* | osf4* | osf5*)
13618         case $cc_basename in
13619           KCC*)
13620             lt_prog_compiler_wl_CXX='--backend -Wl,'
13621             ;;
13622           RCC*)
13623             # Rational C++ 2.4.1
13624             lt_prog_compiler_pic_CXX='-pic'
13625             ;;
13626           cxx*)
13627             # Digital/Compaq C++
13628             lt_prog_compiler_wl_CXX='-Wl,'
13629             # Make sure the PIC flag is empty.  It appears that all Alpha
13630             # Linux and Compaq Tru64 Unix objects are PIC.
13631             lt_prog_compiler_pic_CXX=
13632             lt_prog_compiler_static_CXX='-non_shared'
13633             ;;
13634           *)
13635             ;;
13636         esac
13637         ;;
13638       psos*)
13639         ;;
13640       solaris*)
13641         case $cc_basename in
13642           CC*)
13643             # Sun C++ 4.2, 5.x and Centerline C++
13644             lt_prog_compiler_pic_CXX='-KPIC'
13645             lt_prog_compiler_static_CXX='-Bstatic'
13646             lt_prog_compiler_wl_CXX='-Qoption ld '
13647             ;;
13648           gcx*)
13649             # Green Hills C++ Compiler
13650             lt_prog_compiler_pic_CXX='-PIC'
13651             ;;
13652           *)
13653             ;;
13654         esac
13655         ;;
13656       sunos4*)
13657         case $cc_basename in
13658           CC*)
13659             # Sun C++ 4.x
13660             lt_prog_compiler_pic_CXX='-pic'
13661             lt_prog_compiler_static_CXX='-Bstatic'
13662             ;;
13663           lcc*)
13664             # Lucid
13665             lt_prog_compiler_pic_CXX='-pic'
13666             ;;
13667           *)
13668             ;;
13669         esac
13670         ;;
13671       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13672         case $cc_basename in
13673           CC*)
13674             lt_prog_compiler_wl_CXX='-Wl,'
13675             lt_prog_compiler_pic_CXX='-KPIC'
13676             lt_prog_compiler_static_CXX='-Bstatic'
13677             ;;
13678         esac
13679         ;;
13680       tandem*)
13681         case $cc_basename in
13682           NCC*)
13683             # NonStop-UX NCC 3.20
13684             lt_prog_compiler_pic_CXX='-KPIC'
13685             ;;
13686           *)
13687             ;;
13688         esac
13689         ;;
13690       vxworks*)
13691         ;;
13692       *)
13693         lt_prog_compiler_can_build_shared_CXX=no
13694         ;;
13695     esac
13696   fi
13697
13698 case $host_os in
13699   # For platforms which do not support PIC, -DPIC is meaningless:
13700   *djgpp*)
13701     lt_prog_compiler_pic_CXX=
13702     ;;
13703   *)
13704     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13705     ;;
13706 esac
13707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13708 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13709
13710
13711
13712 #
13713 # Check to make sure the PIC flag actually works.
13714 #
13715 if test -n "$lt_prog_compiler_pic_CXX"; then
13716   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13717 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13718 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13719   $as_echo_n "(cached) " >&6
13720 else
13721   lt_cv_prog_compiler_pic_works_CXX=no
13722    ac_outfile=conftest.$ac_objext
13723    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13724    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13725    # Insert the option either (1) after the last *FLAGS variable, or
13726    # (2) before a word containing "conftest.", or (3) at the end.
13727    # Note that $ac_compile itself does not contain backslashes and begins
13728    # with a dollar sign (not a hyphen), so the echo should work correctly.
13729    # The option is referenced via a variable to avoid confusing sed.
13730    lt_compile=`echo "$ac_compile" | $SED \
13731    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13732    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13733    -e 's:$: $lt_compiler_flag:'`
13734    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13735    (eval "$lt_compile" 2>conftest.err)
13736    ac_status=$?
13737    cat conftest.err >&5
13738    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13739    if (exit $ac_status) && test -s "$ac_outfile"; then
13740      # The compiler can only warn and ignore the option if not recognized
13741      # So say no if there are warnings other than the usual output.
13742      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13743      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13744      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13745        lt_cv_prog_compiler_pic_works_CXX=yes
13746      fi
13747    fi
13748    $RM conftest*
13749
13750 fi
13751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13752 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13753
13754 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13755     case $lt_prog_compiler_pic_CXX in
13756      "" | " "*) ;;
13757      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13758      esac
13759 else
13760     lt_prog_compiler_pic_CXX=
13761      lt_prog_compiler_can_build_shared_CXX=no
13762 fi
13763
13764 fi
13765
13766
13767
13768 #
13769 # Check to make sure the static flag actually works.
13770 #
13771 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13773 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13774 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13775   $as_echo_n "(cached) " >&6
13776 else
13777   lt_cv_prog_compiler_static_works_CXX=no
13778    save_LDFLAGS="$LDFLAGS"
13779    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13780    echo "$lt_simple_link_test_code" > conftest.$ac_ext
13781    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13782      # The linker can only warn and ignore the option if not recognized
13783      # So say no if there are warnings
13784      if test -s conftest.err; then
13785        # Append any errors to the config.log.
13786        cat conftest.err 1>&5
13787        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13788        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13789        if diff conftest.exp conftest.er2 >/dev/null; then
13790          lt_cv_prog_compiler_static_works_CXX=yes
13791        fi
13792      else
13793        lt_cv_prog_compiler_static_works_CXX=yes
13794      fi
13795    fi
13796    $RM -r conftest*
13797    LDFLAGS="$save_LDFLAGS"
13798
13799 fi
13800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13801 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13802
13803 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13804     :
13805 else
13806     lt_prog_compiler_static_CXX=
13807 fi
13808
13809
13810
13811
13812     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13813 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13814 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13815   $as_echo_n "(cached) " >&6
13816 else
13817   lt_cv_prog_compiler_c_o_CXX=no
13818    $RM -r conftest 2>/dev/null
13819    mkdir conftest
13820    cd conftest
13821    mkdir out
13822    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13823
13824    lt_compiler_flag="-o out/conftest2.$ac_objext"
13825    # Insert the option either (1) after the last *FLAGS variable, or
13826    # (2) before a word containing "conftest.", or (3) at the end.
13827    # Note that $ac_compile itself does not contain backslashes and begins
13828    # with a dollar sign (not a hyphen), so the echo should work correctly.
13829    lt_compile=`echo "$ac_compile" | $SED \
13830    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13831    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13832    -e 's:$: $lt_compiler_flag:'`
13833    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13834    (eval "$lt_compile" 2>out/conftest.err)
13835    ac_status=$?
13836    cat out/conftest.err >&5
13837    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13838    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13839    then
13840      # The compiler can only warn and ignore the option if not recognized
13841      # So say no if there are warnings
13842      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13843      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13844      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13845        lt_cv_prog_compiler_c_o_CXX=yes
13846      fi
13847    fi
13848    chmod u+w . 2>&5
13849    $RM conftest*
13850    # SGI C++ compiler will create directory out/ii_files/ for
13851    # template instantiation
13852    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13853    $RM out/* && rmdir out
13854    cd ..
13855    $RM -r conftest
13856    $RM conftest*
13857
13858 fi
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13860 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13861
13862
13863
13864     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13865 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13866 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13867   $as_echo_n "(cached) " >&6
13868 else
13869   lt_cv_prog_compiler_c_o_CXX=no
13870    $RM -r conftest 2>/dev/null
13871    mkdir conftest
13872    cd conftest
13873    mkdir out
13874    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13875
13876    lt_compiler_flag="-o out/conftest2.$ac_objext"
13877    # Insert the option either (1) after the last *FLAGS variable, or
13878    # (2) before a word containing "conftest.", or (3) at the end.
13879    # Note that $ac_compile itself does not contain backslashes and begins
13880    # with a dollar sign (not a hyphen), so the echo should work correctly.
13881    lt_compile=`echo "$ac_compile" | $SED \
13882    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13883    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13884    -e 's:$: $lt_compiler_flag:'`
13885    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13886    (eval "$lt_compile" 2>out/conftest.err)
13887    ac_status=$?
13888    cat out/conftest.err >&5
13889    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13890    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13891    then
13892      # The compiler can only warn and ignore the option if not recognized
13893      # So say no if there are warnings
13894      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13895      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13896      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13897        lt_cv_prog_compiler_c_o_CXX=yes
13898      fi
13899    fi
13900    chmod u+w . 2>&5
13901    $RM conftest*
13902    # SGI C++ compiler will create directory out/ii_files/ for
13903    # template instantiation
13904    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13905    $RM out/* && rmdir out
13906    cd ..
13907    $RM -r conftest
13908    $RM conftest*
13909
13910 fi
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13912 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13913
13914
13915
13916
13917 hard_links="nottested"
13918 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13919   # do not overwrite the value of need_locks provided by the user
13920   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13921 $as_echo_n "checking if we can lock with hard links... " >&6; }
13922   hard_links=yes
13923   $RM conftest*
13924   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13925   touch conftest.a
13926   ln conftest.a conftest.b 2>&5 || hard_links=no
13927   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13929 $as_echo "$hard_links" >&6; }
13930   if test "$hard_links" = no; then
13931     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13932 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13933     need_locks=warn
13934   fi
13935 else
13936   need_locks=no
13937 fi
13938
13939
13940
13941     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13942 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13943
13944   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13945   case $host_os in
13946   aix[4-9]*)
13947     # If we're using GNU nm, then we don't want the "-C" option.
13948     # -C means demangle to AIX nm, but means don't demangle with GNU nm
13949     # Also, AIX nm treats weak defined symbols like other global defined
13950     # symbols, whereas GNU nm marks them as "W".
13951     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13952       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'
13953     else
13954       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'
13955     fi
13956     ;;
13957   pw32*)
13958     export_symbols_cmds_CXX="$ltdll_cmds"
13959   ;;
13960   cygwin* | mingw* | cegcc*)
13961     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'
13962   ;;
13963   *)
13964     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13965   ;;
13966   esac
13967   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13968
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13970 $as_echo "$ld_shlibs_CXX" >&6; }
13971 test "$ld_shlibs_CXX" = no && can_build_shared=no
13972
13973 with_gnu_ld_CXX=$with_gnu_ld
13974
13975
13976
13977
13978
13979
13980 #
13981 # Do we need to explicitly link libc?
13982 #
13983 case "x$archive_cmds_need_lc_CXX" in
13984 x|xyes)
13985   # Assume -lc should be added
13986   archive_cmds_need_lc_CXX=yes
13987
13988   if test "$enable_shared" = yes && test "$GCC" = yes; then
13989     case $archive_cmds_CXX in
13990     *'~'*)
13991       # FIXME: we may have to deal with multi-command sequences.
13992       ;;
13993     '$CC '*)
13994       # Test whether the compiler implicitly links with -lc since on some
13995       # systems, -lgcc has to come before -lc. If gcc already passes -lc
13996       # to ld, don't add -lc before -lgcc.
13997       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13998 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13999 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14000   $as_echo_n "(cached) " >&6
14001 else
14002   $RM conftest*
14003         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14004
14005         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14006   (eval $ac_compile) 2>&5
14007   ac_status=$?
14008   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14009   test $ac_status = 0; } 2>conftest.err; then
14010           soname=conftest
14011           lib=conftest
14012           libobjs=conftest.$ac_objext
14013           deplibs=
14014           wl=$lt_prog_compiler_wl_CXX
14015           pic_flag=$lt_prog_compiler_pic_CXX
14016           compiler_flags=-v
14017           linker_flags=-v
14018           verstring=
14019           output_objdir=.
14020           libname=conftest
14021           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14022           allow_undefined_flag_CXX=
14023           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14024   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14025   ac_status=$?
14026   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14027   test $ac_status = 0; }
14028           then
14029             lt_cv_archive_cmds_need_lc_CXX=no
14030           else
14031             lt_cv_archive_cmds_need_lc_CXX=yes
14032           fi
14033           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14034         else
14035           cat conftest.err 1>&5
14036         fi
14037         $RM conftest*
14038
14039 fi
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14041 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14042       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14043       ;;
14044     esac
14045   fi
14046   ;;
14047 esac
14048
14049
14050
14051
14052
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14113 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14114
14115 library_names_spec=
14116 libname_spec='lib$name'
14117 soname_spec=
14118 shrext_cmds=".so"
14119 postinstall_cmds=
14120 postuninstall_cmds=
14121 finish_cmds=
14122 finish_eval=
14123 shlibpath_var=
14124 shlibpath_overrides_runpath=unknown
14125 version_type=none
14126 dynamic_linker="$host_os ld.so"
14127 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14128 need_lib_prefix=unknown
14129 hardcode_into_libs=no
14130
14131 # when you set need_version to no, make sure it does not cause -set_version
14132 # flags to be left without arguments
14133 need_version=unknown
14134
14135 case $host_os in
14136 aix3*)
14137   version_type=linux
14138   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14139   shlibpath_var=LIBPATH
14140
14141   # AIX 3 has no versioning support, so we append a major version to the name.
14142   soname_spec='${libname}${release}${shared_ext}$major'
14143   ;;
14144
14145 aix[4-9]*)
14146   version_type=linux
14147   need_lib_prefix=no
14148   need_version=no
14149   hardcode_into_libs=yes
14150   if test "$host_cpu" = ia64; then
14151     # AIX 5 supports IA64
14152     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14153     shlibpath_var=LD_LIBRARY_PATH
14154   else
14155     # With GCC up to 2.95.x, collect2 would create an import file
14156     # for dependence libraries.  The import file would start with
14157     # the line `#! .'.  This would cause the generated library to
14158     # depend on `.', always an invalid library.  This was fixed in
14159     # development snapshots of GCC prior to 3.0.
14160     case $host_os in
14161       aix4 | aix4.[01] | aix4.[01].*)
14162       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14163            echo ' yes '
14164            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14165         :
14166       else
14167         can_build_shared=no
14168       fi
14169       ;;
14170     esac
14171     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14172     # soname into executable. Probably we can add versioning support to
14173     # collect2, so additional links can be useful in future.
14174     if test "$aix_use_runtimelinking" = yes; then
14175       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14176       # instead of lib<name>.a to let people know that these are not
14177       # typical AIX shared libraries.
14178       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14179     else
14180       # We preserve .a as extension for shared libraries through AIX4.2
14181       # and later when we are not doing run time linking.
14182       library_names_spec='${libname}${release}.a $libname.a'
14183       soname_spec='${libname}${release}${shared_ext}$major'
14184     fi
14185     shlibpath_var=LIBPATH
14186   fi
14187   ;;
14188
14189 amigaos*)
14190   case $host_cpu in
14191   powerpc)
14192     # Since July 2007 AmigaOS4 officially supports .so libraries.
14193     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14194     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14195     ;;
14196   m68k)
14197     library_names_spec='$libname.ixlibrary $libname.a'
14198     # Create ${libname}_ixlibrary.a entries in /sys/libs.
14199     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'
14200     ;;
14201   esac
14202   ;;
14203
14204 beos*)
14205   library_names_spec='${libname}${shared_ext}'
14206   dynamic_linker="$host_os ld.so"
14207   shlibpath_var=LIBRARY_PATH
14208   ;;
14209
14210 bsdi[45]*)
14211   version_type=linux
14212   need_version=no
14213   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14214   soname_spec='${libname}${release}${shared_ext}$major'
14215   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14216   shlibpath_var=LD_LIBRARY_PATH
14217   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14218   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14219   # the default ld.so.conf also contains /usr/contrib/lib and
14220   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14221   # libtool to hard-code these into programs
14222   ;;
14223
14224 cygwin* | mingw* | pw32* | cegcc*)
14225   version_type=windows
14226   shrext_cmds=".dll"
14227   need_version=no
14228   need_lib_prefix=no
14229
14230   case $GCC,$host_os in
14231   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14232     library_names_spec='$libname.dll.a'
14233     # DLL is installed to $(libdir)/../bin by postinstall_cmds
14234     postinstall_cmds='base_file=`basename \${file}`~
14235       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14236       dldir=$destdir/`dirname \$dlpath`~
14237       test -d \$dldir || mkdir -p \$dldir~
14238       $install_prog $dir/$dlname \$dldir/$dlname~
14239       chmod a+x \$dldir/$dlname~
14240       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14241         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14242       fi'
14243     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14244       dlpath=$dir/\$dldll~
14245        $RM \$dlpath'
14246     shlibpath_overrides_runpath=yes
14247
14248     case $host_os in
14249     cygwin*)
14250       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14251       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14252
14253       ;;
14254     mingw* | cegcc*)
14255       # MinGW DLLs use traditional 'lib' prefix
14256       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14257       ;;
14258     pw32*)
14259       # pw32 DLLs use 'pw' prefix rather than 'lib'
14260       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14261       ;;
14262     esac
14263     ;;
14264
14265   *)
14266     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14267     ;;
14268   esac
14269   dynamic_linker='Win32 ld.exe'
14270   # FIXME: first we should search . and the directory the executable is in
14271   shlibpath_var=PATH
14272   ;;
14273
14274 darwin* | rhapsody*)
14275   dynamic_linker="$host_os dyld"
14276   version_type=darwin
14277   need_lib_prefix=no
14278   need_version=no
14279   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14280   soname_spec='${libname}${release}${major}$shared_ext'
14281   shlibpath_overrides_runpath=yes
14282   shlibpath_var=DYLD_LIBRARY_PATH
14283   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14284
14285   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14286   ;;
14287
14288 dgux*)
14289   version_type=linux
14290   need_lib_prefix=no
14291   need_version=no
14292   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14293   soname_spec='${libname}${release}${shared_ext}$major'
14294   shlibpath_var=LD_LIBRARY_PATH
14295   ;;
14296
14297 freebsd* | dragonfly*)
14298   # DragonFly does not have aout.  When/if they implement a new
14299   # versioning mechanism, adjust this.
14300   if test -x /usr/bin/objformat; then
14301     objformat=`/usr/bin/objformat`
14302   else
14303     case $host_os in
14304     freebsd[123]*) objformat=aout ;;
14305     *) objformat=elf ;;
14306     esac
14307   fi
14308   version_type=freebsd-$objformat
14309   case $version_type in
14310     freebsd-elf*)
14311       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14312       need_version=no
14313       need_lib_prefix=no
14314       ;;
14315     freebsd-*)
14316       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14317       need_version=yes
14318       ;;
14319   esac
14320   shlibpath_var=LD_LIBRARY_PATH
14321   case $host_os in
14322   freebsd2*)
14323     shlibpath_overrides_runpath=yes
14324     ;;
14325   freebsd3.[01]* | freebsdelf3.[01]*)
14326     shlibpath_overrides_runpath=yes
14327     hardcode_into_libs=yes
14328     ;;
14329   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14330   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14331     shlibpath_overrides_runpath=no
14332     hardcode_into_libs=yes
14333     ;;
14334   *) # from 4.6 on, and DragonFly
14335     shlibpath_overrides_runpath=yes
14336     hardcode_into_libs=yes
14337     ;;
14338   esac
14339   ;;
14340
14341 gnu*)
14342   version_type=linux
14343   need_lib_prefix=no
14344   need_version=no
14345   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14346   soname_spec='${libname}${release}${shared_ext}$major'
14347   shlibpath_var=LD_LIBRARY_PATH
14348   hardcode_into_libs=yes
14349   ;;
14350
14351 haiku*)
14352   version_type=linux
14353   need_lib_prefix=no
14354   need_version=no
14355   dynamic_linker="$host_os runtime_loader"
14356   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14357   soname_spec='${libname}${release}${shared_ext}$major'
14358   shlibpath_var=LIBRARY_PATH
14359   shlibpath_overrides_runpath=yes
14360   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14361   hardcode_into_libs=yes
14362   ;;
14363
14364 hpux9* | hpux10* | hpux11*)
14365   # Give a soname corresponding to the major version so that dld.sl refuses to
14366   # link against other versions.
14367   version_type=sunos
14368   need_lib_prefix=no
14369   need_version=no
14370   case $host_cpu in
14371   ia64*)
14372     shrext_cmds='.so'
14373     hardcode_into_libs=yes
14374     dynamic_linker="$host_os dld.so"
14375     shlibpath_var=LD_LIBRARY_PATH
14376     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14377     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14378     soname_spec='${libname}${release}${shared_ext}$major'
14379     if test "X$HPUX_IA64_MODE" = X32; then
14380       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14381     else
14382       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14383     fi
14384     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14385     ;;
14386   hppa*64*)
14387     shrext_cmds='.sl'
14388     hardcode_into_libs=yes
14389     dynamic_linker="$host_os dld.sl"
14390     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14391     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14392     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14393     soname_spec='${libname}${release}${shared_ext}$major'
14394     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14395     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14396     ;;
14397   *)
14398     shrext_cmds='.sl'
14399     dynamic_linker="$host_os dld.sl"
14400     shlibpath_var=SHLIB_PATH
14401     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14402     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14403     soname_spec='${libname}${release}${shared_ext}$major'
14404     ;;
14405   esac
14406   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14407   postinstall_cmds='chmod 555 $lib'
14408   # or fails outright, so override atomically:
14409   install_override_mode=555
14410   ;;
14411
14412 interix[3-9]*)
14413   version_type=linux
14414   need_lib_prefix=no
14415   need_version=no
14416   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14417   soname_spec='${libname}${release}${shared_ext}$major'
14418   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14419   shlibpath_var=LD_LIBRARY_PATH
14420   shlibpath_overrides_runpath=no
14421   hardcode_into_libs=yes
14422   ;;
14423
14424 irix5* | irix6* | nonstopux*)
14425   case $host_os in
14426     nonstopux*) version_type=nonstopux ;;
14427     *)
14428         if test "$lt_cv_prog_gnu_ld" = yes; then
14429                 version_type=linux
14430         else
14431                 version_type=irix
14432         fi ;;
14433   esac
14434   need_lib_prefix=no
14435   need_version=no
14436   soname_spec='${libname}${release}${shared_ext}$major'
14437   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14438   case $host_os in
14439   irix5* | nonstopux*)
14440     libsuff= shlibsuff=
14441     ;;
14442   *)
14443     case $LD in # libtool.m4 will add one of these switches to LD
14444     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14445       libsuff= shlibsuff= libmagic=32-bit;;
14446     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14447       libsuff=32 shlibsuff=N32 libmagic=N32;;
14448     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14449       libsuff=64 shlibsuff=64 libmagic=64-bit;;
14450     *) libsuff= shlibsuff= libmagic=never-match;;
14451     esac
14452     ;;
14453   esac
14454   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14455   shlibpath_overrides_runpath=no
14456   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14457   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14458   hardcode_into_libs=yes
14459   ;;
14460
14461 # No shared lib support for Linux oldld, aout, or coff.
14462 linux*oldld* | linux*aout* | linux*coff*)
14463   dynamic_linker=no
14464   ;;
14465
14466 # This must be Linux ELF.
14467 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14468   version_type=linux
14469   need_lib_prefix=no
14470   need_version=no
14471   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14472   soname_spec='${libname}${release}${shared_ext}$major'
14473   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14474   shlibpath_var=LD_LIBRARY_PATH
14475   shlibpath_overrides_runpath=no
14476
14477   # Some binutils ld are patched to set DT_RUNPATH
14478   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14479   $as_echo_n "(cached) " >&6
14480 else
14481   lt_cv_shlibpath_overrides_runpath=no
14482     save_LDFLAGS=$LDFLAGS
14483     save_libdir=$libdir
14484     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14485          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14486     if test x$gcc_no_link = xyes; then
14487   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14488 fi
14489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14490 /* end confdefs.h.  */
14491
14492 int
14493 main ()
14494 {
14495
14496   ;
14497   return 0;
14498 }
14499 _ACEOF
14500 if ac_fn_cxx_try_link "$LINENO"; then :
14501   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14502   lt_cv_shlibpath_overrides_runpath=yes
14503 fi
14504 fi
14505 rm -f core conftest.err conftest.$ac_objext \
14506     conftest$ac_exeext conftest.$ac_ext
14507     LDFLAGS=$save_LDFLAGS
14508     libdir=$save_libdir
14509
14510 fi
14511
14512   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14513
14514   # This implies no fast_install, which is unacceptable.
14515   # Some rework will be needed to allow for fast_install
14516   # before this can be enabled.
14517   hardcode_into_libs=yes
14518
14519   # Append ld.so.conf contents to the search path
14520   if test -f /etc/ld.so.conf; then
14521     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' ' '`
14522     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14523   fi
14524
14525   # We used to test for /lib/ld.so.1 and disable shared libraries on
14526   # powerpc, because MkLinux only supported shared libraries with the
14527   # GNU dynamic linker.  Since this was broken with cross compilers,
14528   # most powerpc-linux boxes support dynamic linking these days and
14529   # people can always --disable-shared, the test was removed, and we
14530   # assume the GNU/Linux dynamic linker is in use.
14531   dynamic_linker='GNU/Linux ld.so'
14532   ;;
14533
14534 netbsd*)
14535   version_type=sunos
14536   need_lib_prefix=no
14537   need_version=no
14538   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14539     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14540     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14541     dynamic_linker='NetBSD (a.out) ld.so'
14542   else
14543     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14544     soname_spec='${libname}${release}${shared_ext}$major'
14545     dynamic_linker='NetBSD ld.elf_so'
14546   fi
14547   shlibpath_var=LD_LIBRARY_PATH
14548   shlibpath_overrides_runpath=yes
14549   hardcode_into_libs=yes
14550   ;;
14551
14552 newsos6)
14553   version_type=linux
14554   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14555   shlibpath_var=LD_LIBRARY_PATH
14556   shlibpath_overrides_runpath=yes
14557   ;;
14558
14559 *nto* | *qnx*)
14560   version_type=qnx
14561   need_lib_prefix=no
14562   need_version=no
14563   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14564   soname_spec='${libname}${release}${shared_ext}$major'
14565   shlibpath_var=LD_LIBRARY_PATH
14566   shlibpath_overrides_runpath=no
14567   hardcode_into_libs=yes
14568   dynamic_linker='ldqnx.so'
14569   ;;
14570
14571 openbsd*)
14572   version_type=sunos
14573   sys_lib_dlsearch_path_spec="/usr/lib"
14574   need_lib_prefix=no
14575   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14576   case $host_os in
14577     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
14578     *)                          need_version=no  ;;
14579   esac
14580   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14581   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14582   shlibpath_var=LD_LIBRARY_PATH
14583   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14584     case $host_os in
14585       openbsd2.[89] | openbsd2.[89].*)
14586         shlibpath_overrides_runpath=no
14587         ;;
14588       *)
14589         shlibpath_overrides_runpath=yes
14590         ;;
14591       esac
14592   else
14593     shlibpath_overrides_runpath=yes
14594   fi
14595   ;;
14596
14597 os2*)
14598   libname_spec='$name'
14599   shrext_cmds=".dll"
14600   need_lib_prefix=no
14601   library_names_spec='$libname${shared_ext} $libname.a'
14602   dynamic_linker='OS/2 ld.exe'
14603   shlibpath_var=LIBPATH
14604   ;;
14605
14606 osf3* | osf4* | osf5*)
14607   version_type=osf
14608   need_lib_prefix=no
14609   need_version=no
14610   soname_spec='${libname}${release}${shared_ext}$major'
14611   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14612   shlibpath_var=LD_LIBRARY_PATH
14613   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14614   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14615   ;;
14616
14617 rdos*)
14618   dynamic_linker=no
14619   ;;
14620
14621 solaris*)
14622   version_type=linux
14623   need_lib_prefix=no
14624   need_version=no
14625   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14626   soname_spec='${libname}${release}${shared_ext}$major'
14627   shlibpath_var=LD_LIBRARY_PATH
14628   shlibpath_overrides_runpath=yes
14629   hardcode_into_libs=yes
14630   # ldd complains unless libraries are executable
14631   postinstall_cmds='chmod +x $lib'
14632   ;;
14633
14634 sunos4*)
14635   version_type=sunos
14636   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14637   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14638   shlibpath_var=LD_LIBRARY_PATH
14639   shlibpath_overrides_runpath=yes
14640   if test "$with_gnu_ld" = yes; then
14641     need_lib_prefix=no
14642   fi
14643   need_version=yes
14644   ;;
14645
14646 sysv4 | sysv4.3*)
14647   version_type=linux
14648   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14649   soname_spec='${libname}${release}${shared_ext}$major'
14650   shlibpath_var=LD_LIBRARY_PATH
14651   case $host_vendor in
14652     sni)
14653       shlibpath_overrides_runpath=no
14654       need_lib_prefix=no
14655       runpath_var=LD_RUN_PATH
14656       ;;
14657     siemens)
14658       need_lib_prefix=no
14659       ;;
14660     motorola)
14661       need_lib_prefix=no
14662       need_version=no
14663       shlibpath_overrides_runpath=no
14664       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14665       ;;
14666   esac
14667   ;;
14668
14669 sysv4*MP*)
14670   if test -d /usr/nec ;then
14671     version_type=linux
14672     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14673     soname_spec='$libname${shared_ext}.$major'
14674     shlibpath_var=LD_LIBRARY_PATH
14675   fi
14676   ;;
14677
14678 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14679   version_type=freebsd-elf
14680   need_lib_prefix=no
14681   need_version=no
14682   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14683   soname_spec='${libname}${release}${shared_ext}$major'
14684   shlibpath_var=LD_LIBRARY_PATH
14685   shlibpath_overrides_runpath=yes
14686   hardcode_into_libs=yes
14687   if test "$with_gnu_ld" = yes; then
14688     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14689   else
14690     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14691     case $host_os in
14692       sco3.2v5*)
14693         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14694         ;;
14695     esac
14696   fi
14697   sys_lib_dlsearch_path_spec='/usr/lib'
14698   ;;
14699
14700 tpf*)
14701   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
14702   version_type=linux
14703   need_lib_prefix=no
14704   need_version=no
14705   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14706   shlibpath_var=LD_LIBRARY_PATH
14707   shlibpath_overrides_runpath=no
14708   hardcode_into_libs=yes
14709   ;;
14710
14711 uts4*)
14712   version_type=linux
14713   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14714   soname_spec='${libname}${release}${shared_ext}$major'
14715   shlibpath_var=LD_LIBRARY_PATH
14716   ;;
14717
14718 *)
14719   dynamic_linker=no
14720   ;;
14721 esac
14722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14723 $as_echo "$dynamic_linker" >&6; }
14724 test "$dynamic_linker" = no && can_build_shared=no
14725
14726 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14727 if test "$GCC" = yes; then
14728   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14729 fi
14730
14731 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14732   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14733 fi
14734 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14735   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14736 fi
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747
14748
14749
14750
14751
14752
14753
14754
14755
14756
14757
14758
14759
14760
14761
14762
14763
14764
14765
14766
14767
14768
14769
14770
14771
14772
14773
14774
14775     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14776 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14777 hardcode_action_CXX=
14778 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14779    test -n "$runpath_var_CXX" ||
14780    test "X$hardcode_automatic_CXX" = "Xyes" ; then
14781
14782   # We can hardcode non-existent directories.
14783   if test "$hardcode_direct_CXX" != no &&
14784      # If the only mechanism to avoid hardcoding is shlibpath_var, we
14785      # have to relink, otherwise we might link with an installed library
14786      # when we should be linking with a yet-to-be-installed one
14787      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14788      test "$hardcode_minus_L_CXX" != no; then
14789     # Linking always hardcodes the temporary library directory.
14790     hardcode_action_CXX=relink
14791   else
14792     # We can link without hardcoding, and we can hardcode nonexisting dirs.
14793     hardcode_action_CXX=immediate
14794   fi
14795 else
14796   # We cannot hardcode anything, or else we can only hardcode existing
14797   # directories.
14798   hardcode_action_CXX=unsupported
14799 fi
14800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14801 $as_echo "$hardcode_action_CXX" >&6; }
14802
14803 if test "$hardcode_action_CXX" = relink ||
14804    test "$inherit_rpath_CXX" = yes; then
14805   # Fast installation is not supported
14806   enable_fast_install=no
14807 elif test "$shlibpath_overrides_runpath" = yes ||
14808      test "$enable_shared" = no; then
14809   # Fast installation is not necessary
14810   enable_fast_install=needless
14811 fi
14812
14813
14814
14815
14816
14817
14818
14819   fi # test -n "$compiler"
14820
14821   CC=$lt_save_CC
14822   LDCXX=$LD
14823   LD=$lt_save_LD
14824   GCC=$lt_save_GCC
14825   with_gnu_ld=$lt_save_with_gnu_ld
14826   lt_cv_path_LDCXX=$lt_cv_path_LD
14827   lt_cv_path_LD=$lt_save_path_LD
14828   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14829   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14830 fi # test "$_lt_caught_CXX_error" != yes
14831
14832 ac_ext=c
14833 ac_cpp='$CPP $CPPFLAGS'
14834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850         ac_config_commands="$ac_config_commands libtool"
14851
14852
14853
14854
14855 # Only expand once:
14856
14857
14858
14859
14860
14861 case $host in
14862   *-cygwin* | *-mingw*)
14863     # 'host' will be top-level target in the case of a target lib,
14864     # we must compare to with_cross_host to decide if this is a native
14865     # or cross-compiler and select where to install dlls appropriately.
14866     if test -n "$with_cross_host" &&
14867         test x"$with_cross_host" != x"no"; then
14868       lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14869     else
14870       lt_host_flags='-no-undefined -bindir "$(bindir)"';
14871     fi
14872     ;;
14873   *)
14874     lt_host_flags=
14875     ;;
14876 esac
14877
14878
14879
14880
14881
14882
14883 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14884 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14885
14886 # Possibly disable most of the library.
14887 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14888 ## than just ignoring the results.  Faster /and/ more correct, win win.
14889
14890   # Check whether --enable-hosted-libstdcxx was given.
14891 if test "${enable_hosted_libstdcxx+set}" = set; then :
14892   enableval=$enable_hosted_libstdcxx;
14893 else
14894   case "$host" in
14895         arm*-*-symbianelf*)
14896             enable_hosted_libstdcxx=no
14897             ;;
14898         *)
14899             enable_hosted_libstdcxx=yes
14900             ;;
14901      esac
14902 fi
14903
14904   if test "$enable_hosted_libstdcxx" = no; then
14905     { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14906 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14907     is_hosted=no
14908     hosted_define=0
14909     enable_abi_check=no
14910     enable_libstdcxx_pch=no
14911   else
14912     is_hosted=yes
14913     hosted_define=1
14914   fi
14915
14916
14917 cat >>confdefs.h <<_ACEOF
14918 #define _GLIBCXX_HOSTED $hosted_define
14919 _ACEOF
14920
14921
14922
14923 # Enable compiler support that doesn't require linking.
14924
14925   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
14926 $as_echo_n "checking for exception model to use... " >&6; }
14927
14928   ac_ext=cpp
14929 ac_cpp='$CXXCPP $CPPFLAGS'
14930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14933
14934    # Check whether --enable-sjlj-exceptions was given.
14935 if test "${enable_sjlj_exceptions+set}" = set; then :
14936   enableval=$enable_sjlj_exceptions;
14937       case "$enableval" in
14938        yes|no|auto) ;;
14939        *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
14940                         esac
14941
14942 else
14943   enable_sjlj_exceptions=auto
14944 fi
14945
14946
14947
14948   if test $enable_sjlj_exceptions = auto; then
14949     # Botheration.  Now we've got to detect the exception model.  Link tests
14950     # against libgcc.a are problematic since we've not been given proper -L
14951     # bits for single-tree newlib and libgloss.
14952     #
14953     # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
14954     cat > conftest.$ac_ext << EOF
14955 #line 14955 "configure"
14956 struct S { ~S(); };
14957 void bar();
14958 void foo()
14959 {
14960   S s;
14961   bar();
14962 }
14963 EOF
14964     old_CXXFLAGS="$CXXFLAGS"
14965     CXXFLAGS=-S
14966     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14967   (eval $ac_compile) 2>&5
14968   ac_status=$?
14969   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14970   test $ac_status = 0; }; then
14971       if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
14972         enable_sjlj_exceptions=yes
14973       elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
14974         enable_sjlj_exceptions=no
14975       elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
14976         enable_sjlj_exceptions=no
14977       fi
14978     fi
14979     CXXFLAGS="$old_CXXFLAGS"
14980     rm -f conftest*
14981   fi
14982
14983   # This is a tad weird, for hysterical raisins.  We have to map
14984   # enable/disable to two different models.
14985   case $enable_sjlj_exceptions in
14986     yes)
14987
14988 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
14989
14990       ac_exception_model_name=sjlj
14991       ;;
14992     no)
14993       ac_exception_model_name="call frame"
14994       ;;
14995     *)
14996       as_fn_error "unable to detect exception model" "$LINENO" 5
14997       ;;
14998   esac
14999  ac_ext=c
15000 ac_cpp='$CPP $CPPFLAGS'
15001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15004
15005  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15006 $as_echo "$ac_exception_model_name" >&6; }
15007
15008
15009    # Check whether --enable-libstdcxx-pch was given.
15010 if test "${enable_libstdcxx_pch+set}" = set; then :
15011   enableval=$enable_libstdcxx_pch;
15012       case "$enableval" in
15013        yes|no) ;;
15014        *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15015       esac
15016
15017 else
15018   enable_libstdcxx_pch=$is_hosted
15019 fi
15020
15021
15022   if test $enable_libstdcxx_pch = yes; then
15023     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15024 $as_echo_n "checking for compiler with PCH support... " >&6; }
15025 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15026   $as_echo_n "(cached) " >&6
15027 else
15028   ac_save_CXXFLAGS="$CXXFLAGS"
15029        CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15030
15031        ac_ext=cpp
15032 ac_cpp='$CXXCPP $CPPFLAGS'
15033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15036
15037        echo '#include <math.h>' > conftest.h
15038        if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15039                           -o conftest.h.gch 1>&5 2>&1 &&
15040                 echo '#error "pch failed"' > conftest.h &&
15041           echo '#include "conftest.h"' > conftest.cc &&
15042                $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15043        then
15044          glibcxx_cv_prog_CXX_pch=yes
15045        else
15046          glibcxx_cv_prog_CXX_pch=no
15047        fi
15048        rm -f conftest*
15049        CXXFLAGS=$ac_save_CXXFLAGS
15050        ac_ext=c
15051 ac_cpp='$CPP $CPPFLAGS'
15052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15055
15056
15057 fi
15058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15059 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15060     enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15061   fi
15062
15063   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15064 $as_echo_n "checking for enabled PCH... " >&6; }
15065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15066 $as_echo "$enable_libstdcxx_pch" >&6; }
15067
15068
15069   if test $enable_libstdcxx_pch = yes; then
15070     glibcxx_PCHFLAGS="-include bits/stdc++.h"
15071   else
15072     glibcxx_PCHFLAGS=""
15073   fi
15074
15075
15076
15077   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15078 $as_echo_n "checking for thread model used by GCC... " >&6; }
15079   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15080   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15081 $as_echo "$target_thread_file" >&6; }
15082
15083   if test $target_thread_file != single; then
15084
15085 $as_echo "#define HAVE_GTHR_DEFAULT 1" >>confdefs.h
15086
15087   fi
15088
15089   glibcxx_thread_h=gthr-$target_thread_file.h
15090
15091     gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
15092   if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
15093     enable_thread=yes
15094   else
15095    enable_thread=no
15096   fi
15097
15098
15099
15100
15101
15102   ac_ext=cpp
15103 ac_cpp='$CXXCPP $CPPFLAGS'
15104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15107
15108   old_CXXFLAGS="$CXXFLAGS"
15109
15110   # Do link tests if possible, instead asm tests, limited to some platforms
15111   # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15112   # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15113   atomic_builtins_link_tests=no
15114   if test x$gcc_no_link != xyes; then
15115     # Can do link tests. Limit to some tested platforms
15116     case "$host" in
15117       *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15118         atomic_builtins_link_tests=yes
15119         ;;
15120     esac
15121   fi
15122
15123   if test x$atomic_builtins_link_tests = xyes; then
15124
15125   # Do link tests.
15126
15127   CXXFLAGS="$CXXFLAGS -fno-exceptions"
15128
15129   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15130 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15131   if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15132   $as_echo_n "(cached) " >&6
15133 else
15134
15135     if test x$gcc_no_link = xyes; then
15136   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15137 fi
15138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15139 /* end confdefs.h.  */
15140
15141 int
15142 main ()
15143 {
15144 typedef bool atomic_type;
15145        atomic_type c1;
15146        atomic_type c2;
15147        const atomic_type c3(0);
15148        __sync_fetch_and_add(&c1, c2);
15149        __sync_val_compare_and_swap(&c1, c3, c2);
15150        __sync_lock_test_and_set(&c1, c3);
15151        __sync_lock_release(&c1);
15152        __sync_synchronize();
15153   ;
15154   return 0;
15155 }
15156 _ACEOF
15157 if ac_fn_cxx_try_link "$LINENO"; then :
15158   glibcxx_cv_atomic_bool=yes
15159 else
15160   glibcxx_cv_atomic_bool=no
15161 fi
15162 rm -f core conftest.err conftest.$ac_objext \
15163     conftest$ac_exeext conftest.$ac_ext
15164
15165 fi
15166
15167   if test $glibcxx_cv_atomic_bool = yes; then
15168
15169 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15170
15171   fi
15172   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15173 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15174
15175   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15176 $as_echo_n "checking for atomic builtins for short... " >&6; }
15177   if test "${glibcxx_cv_atomic_short+set}" = set; then :
15178   $as_echo_n "(cached) " >&6
15179 else
15180
15181     if test x$gcc_no_link = xyes; then
15182   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15183 fi
15184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15185 /* end confdefs.h.  */
15186
15187 int
15188 main ()
15189 {
15190 typedef short atomic_type;
15191        atomic_type c1;
15192        atomic_type c2;
15193        const atomic_type c3(0);
15194        __sync_fetch_and_add(&c1, c2);
15195        __sync_val_compare_and_swap(&c1, c3, c2);
15196        __sync_lock_test_and_set(&c1, c3);
15197        __sync_lock_release(&c1);
15198        __sync_synchronize();
15199   ;
15200   return 0;
15201 }
15202 _ACEOF
15203 if ac_fn_cxx_try_link "$LINENO"; then :
15204   glibcxx_cv_atomic_short=yes
15205 else
15206   glibcxx_cv_atomic_short=no
15207 fi
15208 rm -f core conftest.err conftest.$ac_objext \
15209     conftest$ac_exeext conftest.$ac_ext
15210
15211 fi
15212
15213   if test $glibcxx_cv_atomic_short = yes; then
15214
15215 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15216
15217   fi
15218   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15219 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15220
15221   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15222 $as_echo_n "checking for atomic builtins for int... " >&6; }
15223   if test "${glibcxx_cv_atomic_int+set}" = set; then :
15224   $as_echo_n "(cached) " >&6
15225 else
15226
15227     if test x$gcc_no_link = xyes; then
15228   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15229 fi
15230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15231 /* end confdefs.h.  */
15232
15233 int
15234 main ()
15235 {
15236 typedef int atomic_type;
15237        atomic_type c1;
15238        atomic_type c2;
15239        const atomic_type c3(0);
15240        __sync_fetch_and_add(&c1, c2);
15241        __sync_val_compare_and_swap(&c1, c3, c2);
15242        __sync_lock_test_and_set(&c1, c3);
15243        __sync_lock_release(&c1);
15244        __sync_synchronize();
15245   ;
15246   return 0;
15247 }
15248 _ACEOF
15249 if ac_fn_cxx_try_link "$LINENO"; then :
15250   glibcxx_cv_atomic_int=yes
15251 else
15252   glibcxx_cv_atomic_int=no
15253 fi
15254 rm -f core conftest.err conftest.$ac_objext \
15255     conftest$ac_exeext conftest.$ac_ext
15256
15257 fi
15258
15259   if test $glibcxx_cv_atomic_int = yes; then
15260
15261 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15262
15263   fi
15264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15265 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15266
15267   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15268 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15269   if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15270   $as_echo_n "(cached) " >&6
15271 else
15272
15273     if test x$gcc_no_link = xyes; then
15274   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15275 fi
15276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15277 /* end confdefs.h.  */
15278
15279 int
15280 main ()
15281 {
15282 typedef long long atomic_type;
15283        atomic_type c1;
15284        atomic_type c2;
15285        const atomic_type c3(0);
15286        __sync_fetch_and_add(&c1, c2);
15287        __sync_val_compare_and_swap(&c1, c3, c2);
15288        __sync_lock_test_and_set(&c1, c3);
15289        __sync_lock_release(&c1);
15290        __sync_synchronize();
15291   ;
15292   return 0;
15293 }
15294 _ACEOF
15295 if ac_fn_cxx_try_link "$LINENO"; then :
15296   glibcxx_cv_atomic_long_long=yes
15297 else
15298   glibcxx_cv_atomic_long_long=no
15299 fi
15300 rm -f core conftest.err conftest.$ac_objext \
15301     conftest$ac_exeext conftest.$ac_ext
15302
15303 fi
15304
15305   if test $glibcxx_cv_atomic_long_long = yes; then
15306
15307 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15308
15309   fi
15310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15311 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15312
15313   else
15314
15315   # Do asm tests.
15316
15317   # Compile unoptimized.
15318   CXXFLAGS='-O0 -S'
15319
15320   # Fake what AC_TRY_COMPILE does.
15321
15322     cat > conftest.$ac_ext << EOF
15323 #line 15323 "configure"
15324 int main()
15325 {
15326   typedef bool atomic_type;
15327   atomic_type c1;
15328   atomic_type c2;
15329   const atomic_type c3(0);
15330   __sync_fetch_and_add(&c1, c2);
15331   __sync_val_compare_and_swap(&c1, c3, c2);
15332   __sync_lock_test_and_set(&c1, c3);
15333   __sync_lock_release(&c1);
15334   __sync_synchronize();
15335   return 0;
15336 }
15337 EOF
15338
15339     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15340 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15341     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15342   (eval $ac_compile) 2>&5
15343   ac_status=$?
15344   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15345   test $ac_status = 0; }; then
15346       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15347         glibcxx_cv_atomic_bool=no
15348       else
15349
15350 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15351
15352         glibcxx_cv_atomic_bool=yes
15353       fi
15354     fi
15355     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15356 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15357     rm -f conftest*
15358
15359     cat > conftest.$ac_ext << EOF
15360 #line 15360 "configure"
15361 int main()
15362 {
15363   typedef short atomic_type;
15364   atomic_type c1;
15365   atomic_type c2;
15366   const atomic_type c3(0);
15367   __sync_fetch_and_add(&c1, c2);
15368   __sync_val_compare_and_swap(&c1, c3, c2);
15369   __sync_lock_test_and_set(&c1, c3);
15370   __sync_lock_release(&c1);
15371   __sync_synchronize();
15372   return 0;
15373 }
15374 EOF
15375
15376     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15377 $as_echo_n "checking for atomic builtins for short... " >&6; }
15378     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15379   (eval $ac_compile) 2>&5
15380   ac_status=$?
15381   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15382   test $ac_status = 0; }; then
15383       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15384         glibcxx_cv_atomic_short=no
15385       else
15386
15387 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15388
15389         glibcxx_cv_atomic_short=yes
15390       fi
15391     fi
15392     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15393 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15394     rm -f conftest*
15395
15396     cat > conftest.$ac_ext << EOF
15397 #line 15397 "configure"
15398 int main()
15399 {
15400   // NB: _Atomic_word not necessarily int.
15401   typedef int atomic_type;
15402   atomic_type c1;
15403   atomic_type c2;
15404   const atomic_type c3(0);
15405   __sync_fetch_and_add(&c1, c2);
15406   __sync_val_compare_and_swap(&c1, c3, c2);
15407   __sync_lock_test_and_set(&c1, c3);
15408   __sync_lock_release(&c1);
15409   __sync_synchronize();
15410   return 0;
15411 }
15412 EOF
15413
15414     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15415 $as_echo_n "checking for atomic builtins for int... " >&6; }
15416     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15417   (eval $ac_compile) 2>&5
15418   ac_status=$?
15419   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15420   test $ac_status = 0; }; then
15421       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15422         glibcxx_cv_atomic_int=no
15423       else
15424
15425 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15426
15427         glibcxx_cv_atomic_int=yes
15428       fi
15429     fi
15430     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15431 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15432     rm -f conftest*
15433
15434     cat > conftest.$ac_ext << EOF
15435 #line 15435 "configure"
15436 int main()
15437 {
15438   typedef long long atomic_type;
15439   atomic_type c1;
15440   atomic_type c2;
15441   const atomic_type c3(0);
15442   __sync_fetch_and_add(&c1, c2);
15443   __sync_val_compare_and_swap(&c1, c3, c2);
15444   __sync_lock_test_and_set(&c1, c3);
15445   __sync_lock_release(&c1);
15446   __sync_synchronize();
15447   return 0;
15448 }
15449 EOF
15450
15451     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15452 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15453     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15454   (eval $ac_compile) 2>&5
15455   ac_status=$?
15456   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15457   test $ac_status = 0; }; then
15458       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15459         glibcxx_cv_atomic_long_long=no
15460       else
15461
15462 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15463
15464         glibcxx_cv_atomic_long_long=yes
15465       fi
15466     fi
15467     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15468 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15469     rm -f conftest*
15470
15471   fi
15472
15473   CXXFLAGS="$old_CXXFLAGS"
15474   ac_ext=c
15475 ac_cpp='$CPP $CPPFLAGS'
15476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15479
15480
15481   # Set atomicity_dir to builtins if either of above tests pass.
15482   if test $glibcxx_cv_atomic_int = yes || test $glibcxx_cv_atomic_bool = yes ; then
15483     atomicity_dir=cpu/generic/atomicity_builtins
15484   fi
15485
15486   # If still generic, set to mutex.
15487   if test $atomicity_dir = "cpu/generic" ; then
15488     atomicity_dir=cpu/generic/atomicity_mutex
15489     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15490 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15491       if test "x$target_thread_file" = xsingle; then
15492         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15493 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15494         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15495 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15496       else
15497         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15498 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15499         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15500 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15501       fi
15502   fi
15503
15504
15505
15506
15507   # Fake what AC_TRY_COMPILE does, without linking as this is
15508   # unnecessary for this test.
15509
15510     cat > conftest.$ac_ext << EOF
15511 #line 15511 "configure"
15512 int main()
15513 {
15514   _Decimal32 d1;
15515   _Decimal64 d2;
15516   _Decimal128 d3;
15517   return 0;
15518 }
15519 EOF
15520
15521     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15522 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15523     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15524   (eval $ac_compile) 2>&5
15525   ac_status=$?
15526   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15527   test $ac_status = 0; }; then
15528
15529 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15530
15531       enable_dfp=yes
15532     else
15533       enable_dfp=no
15534     fi
15535     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15536 $as_echo "$enable_dfp" >&6; }
15537     rm -f conftest*
15538
15539
15540 # Checks for compiler support that doesn't require linking.
15541
15542   # All these tests are for C++; save the language and the compiler flags.
15543   # The CXXFLAGS thing is suspicious, but based on similar bits previously
15544   # found in GLIBCXX_CONFIGURE.
15545
15546   ac_ext=cpp
15547 ac_cpp='$CXXCPP $CPPFLAGS'
15548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15551
15552   ac_test_CXXFLAGS="${CXXFLAGS+set}"
15553   ac_save_CXXFLAGS="$CXXFLAGS"
15554
15555   # Check for maintainer-mode bits.
15556   if test x"$USE_MAINTAINER_MODE" = xno; then
15557     WERROR=''
15558   else
15559     WERROR='-Werror'
15560   fi
15561
15562   # Check for -ffunction-sections -fdata-sections
15563   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15564 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15565   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15566   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15567 /* end confdefs.h.  */
15568 int foo; void bar() { };
15569 int
15570 main ()
15571 {
15572
15573   ;
15574   return 0;
15575 }
15576 _ACEOF
15577 if ac_fn_cxx_try_compile "$LINENO"; then :
15578   ac_fdsections=yes
15579 else
15580   ac_fdsections=no
15581 fi
15582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15583   if test "$ac_test_CXXFLAGS" = set; then
15584     CXXFLAGS="$ac_save_CXXFLAGS"
15585   else
15586     # this is the suspicious part
15587     CXXFLAGS=''
15588   fi
15589   if test x"$ac_fdsections" = x"yes"; then
15590     SECTION_FLAGS='-ffunction-sections -fdata-sections'
15591   fi
15592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15593 $as_echo "$ac_fdsections" >&6; }
15594
15595   ac_ext=c
15596 ac_cpp='$CPP $CPPFLAGS'
15597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15600
15601
15602
15603
15604
15605 # Enable all the variable C++ runtime options that don't require linking.
15606
15607   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15608 $as_echo_n "checking for underlying I/O to use... " >&6; }
15609    # Check whether --enable-cstdio was given.
15610 if test "${enable_cstdio+set}" = set; then :
15611   enableval=$enable_cstdio;
15612       case "$enableval" in
15613        stdio) ;;
15614        *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15615                         esac
15616
15617 else
15618   enable_cstdio=stdio
15619 fi
15620
15621
15622
15623   # Now that libio has been removed, you can have any color you want as long
15624   # as it's black.  This is one big no-op until other packages are added, but
15625   # showing the framework never hurts.
15626   case ${enable_cstdio} in
15627     stdio)
15628       CSTDIO_H=config/io/c_io_stdio.h
15629       BASIC_FILE_H=config/io/basic_file_stdio.h
15630       BASIC_FILE_CC=config/io/basic_file_stdio.cc
15631       { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15632 $as_echo "stdio" >&6; }
15633       ;;
15634   esac
15635
15636
15637
15638
15639
15640
15641    # Check whether --enable-clocale was given.
15642 if test "${enable_clocale+set}" = set; then :
15643   enableval=$enable_clocale;
15644       case "$enableval" in
15645        generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
15646        *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15647                         esac
15648
15649 else
15650   enable_clocale=auto
15651 fi
15652
15653
15654
15655   # Deal with gettext issues.  Default to not using it (=no) until we detect
15656   # support for it later.  Let the user turn it off via --e/d, but let that
15657   # default to on for easier handling.
15658   USE_NLS=no
15659   # Check whether --enable-nls was given.
15660 if test "${enable_nls+set}" = set; then :
15661   enableval=$enable_nls;
15662 else
15663   enable_nls=yes
15664 fi
15665
15666
15667   # Either a known packaage, or "auto"
15668   if test $enable_clocale = no || test $enable_clocale = yes; then
15669      enable_clocale=auto
15670   fi
15671   enable_clocale_flag=$enable_clocale
15672
15673   # Probe for locale model to use if none specified.
15674   # Default to "generic".
15675   if test $enable_clocale_flag = auto; then
15676     case ${target_os} in
15677       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15678         enable_clocale_flag=gnu
15679         ;;
15680       darwin* | freebsd*)
15681         enable_clocale_flag=darwin
15682         ;;
15683       *)
15684         enable_clocale_flag=generic
15685         ;;
15686     esac
15687   fi
15688
15689   # Sanity check model, and test for special functionality.
15690   if test $enable_clocale_flag = gnu; then
15691     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15692 /* end confdefs.h.  */
15693
15694     #include <features.h>
15695     #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15696       _GLIBCXX_ok
15697     #endif
15698
15699 _ACEOF
15700 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15701   $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15702   enable_clocale_flag=gnu
15703 else
15704   enable_clocale_flag=generic
15705 fi
15706 rm -f conftest*
15707
15708
15709     # Set it to scream when it hurts.
15710     ac_save_CFLAGS="$CFLAGS"
15711     CFLAGS="-Wimplicit-function-declaration -Werror"
15712
15713     # Use strxfrm_l if available.
15714     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15715 /* end confdefs.h.  */
15716 #define _GNU_SOURCE 1
15717                     #include <string.h>
15718                     #include <locale.h>
15719 int
15720 main ()
15721 {
15722 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15723   ;
15724   return 0;
15725 }
15726 _ACEOF
15727 if ac_fn_c_try_compile "$LINENO"; then :
15728
15729 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15730
15731 fi
15732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15733
15734     # Use strerror_l if available.
15735     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15736 /* end confdefs.h.  */
15737 #define _GNU_SOURCE 1
15738                     #include <string.h>
15739                     #include <locale.h>
15740 int
15741 main ()
15742 {
15743 __locale_t loc; strerror_l(5, loc);
15744   ;
15745   return 0;
15746 }
15747 _ACEOF
15748 if ac_fn_c_try_compile "$LINENO"; then :
15749
15750 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15751
15752 fi
15753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15754
15755     CFLAGS="$ac_save_CFLAGS"
15756   fi
15757
15758   # Perhaps use strerror_r if available, and strerror_l isn't.
15759   ac_save_CFLAGS="$CFLAGS"
15760   CFLAGS="-Wimplicit-function-declaration -Werror"
15761   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15762 /* end confdefs.h.  */
15763 #define _GNU_SOURCE 1
15764                   #include <string.h>
15765                   #include <locale.h>
15766 int
15767 main ()
15768 {
15769 char s[128]; strerror_r(5, s, 128);
15770   ;
15771   return 0;
15772 }
15773 _ACEOF
15774 if ac_fn_c_try_compile "$LINENO"; then :
15775
15776 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15777
15778 fi
15779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15780   CFLAGS="$ac_save_CFLAGS"
15781
15782   # Set configure bits for specified locale package
15783   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15784 $as_echo_n "checking for C locale to use... " >&6; }
15785   case ${enable_clocale_flag} in
15786     generic)
15787       { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15788 $as_echo "generic" >&6; }
15789
15790       CLOCALE_H=config/locale/generic/c_locale.h
15791       CLOCALE_CC=config/locale/generic/c_locale.cc
15792       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15793       CCOLLATE_CC=config/locale/generic/collate_members.cc
15794       CCTYPE_CC=config/locale/generic/ctype_members.cc
15795       CMESSAGES_H=config/locale/generic/messages_members.h
15796       CMESSAGES_CC=config/locale/generic/messages_members.cc
15797       CMONEY_CC=config/locale/generic/monetary_members.cc
15798       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15799       CTIME_H=config/locale/generic/time_members.h
15800       CTIME_CC=config/locale/generic/time_members.cc
15801       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15802       ;;
15803     darwin)
15804       { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15805 $as_echo "darwin or freebsd" >&6; }
15806
15807       CLOCALE_H=config/locale/generic/c_locale.h
15808       CLOCALE_CC=config/locale/generic/c_locale.cc
15809       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15810       CCOLLATE_CC=config/locale/generic/collate_members.cc
15811       CCTYPE_CC=config/locale/darwin/ctype_members.cc
15812       CMESSAGES_H=config/locale/generic/messages_members.h
15813       CMESSAGES_CC=config/locale/generic/messages_members.cc
15814       CMONEY_CC=config/locale/generic/monetary_members.cc
15815       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15816       CTIME_H=config/locale/generic/time_members.h
15817       CTIME_CC=config/locale/generic/time_members.cc
15818       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15819       ;;
15820
15821     gnu)
15822       { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15823 $as_echo "gnu" >&6; }
15824
15825       # Declare intention to use gettext, and add support for specific
15826       # languages.
15827       # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15828       ALL_LINGUAS="de fr"
15829
15830       # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15831       # Extract the first word of "msgfmt", so it can be a program name with args.
15832 set dummy msgfmt; ac_word=$2
15833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15834 $as_echo_n "checking for $ac_word... " >&6; }
15835 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15836   $as_echo_n "(cached) " >&6
15837 else
15838   if test -n "$check_msgfmt"; then
15839   ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15840 else
15841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15842 for as_dir in $PATH
15843 do
15844   IFS=$as_save_IFS
15845   test -z "$as_dir" && as_dir=.
15846     for ac_exec_ext in '' $ac_executable_extensions; do
15847   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15848     ac_cv_prog_check_msgfmt="yes"
15849     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15850     break 2
15851   fi
15852 done
15853   done
15854 IFS=$as_save_IFS
15855
15856   test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15857 fi
15858 fi
15859 check_msgfmt=$ac_cv_prog_check_msgfmt
15860 if test -n "$check_msgfmt"; then
15861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
15862 $as_echo "$check_msgfmt" >&6; }
15863 else
15864   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15865 $as_echo "no" >&6; }
15866 fi
15867
15868
15869       if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15870         USE_NLS=yes
15871       fi
15872       # Export the build objects.
15873       for ling in $ALL_LINGUAS; do \
15874         glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15875         glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15876       done
15877
15878
15879
15880       CLOCALE_H=config/locale/gnu/c_locale.h
15881       CLOCALE_CC=config/locale/gnu/c_locale.cc
15882       CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15883       CCOLLATE_CC=config/locale/gnu/collate_members.cc
15884       CCTYPE_CC=config/locale/gnu/ctype_members.cc
15885       CMESSAGES_H=config/locale/gnu/messages_members.h
15886       CMESSAGES_CC=config/locale/gnu/messages_members.cc
15887       CMONEY_CC=config/locale/gnu/monetary_members.cc
15888       CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15889       CTIME_H=config/locale/gnu/time_members.h
15890       CTIME_CC=config/locale/gnu/time_members.cc
15891       CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15892       ;;
15893     ieee_1003.1-2001)
15894       { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
15895 $as_echo "IEEE 1003.1" >&6; }
15896
15897       CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15898       CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15899       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15900       CCOLLATE_CC=config/locale/generic/collate_members.cc
15901       CCTYPE_CC=config/locale/generic/ctype_members.cc
15902       CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15903       CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
15904       CMONEY_CC=config/locale/generic/monetary_members.cc
15905       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15906       CTIME_H=config/locale/generic/time_members.h
15907       CTIME_CC=config/locale/generic/time_members.cc
15908       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15909       ;;
15910   esac
15911
15912   # This is where the testsuite looks for locale catalogs, using the
15913   # -DLOCALEDIR define during testsuite compilation.
15914   glibcxx_localedir=${glibcxx_builddir}/po/share/locale
15915
15916
15917   # A standalone libintl (e.g., GNU libintl) may be in use.
15918   if test $USE_NLS = yes; then
15919     for ac_header in libintl.h
15920 do :
15921   ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
15922 if test "x$ac_cv_header_libintl_h" = x""yes; then :
15923   cat >>confdefs.h <<_ACEOF
15924 #define HAVE_LIBINTL_H 1
15925 _ACEOF
15926
15927 else
15928   USE_NLS=no
15929 fi
15930
15931 done
15932
15933     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
15934 $as_echo_n "checking for library containing gettext... " >&6; }
15935 if test "${ac_cv_search_gettext+set}" = set; then :
15936   $as_echo_n "(cached) " >&6
15937 else
15938   ac_func_search_save_LIBS=$LIBS
15939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15940 /* end confdefs.h.  */
15941
15942 /* Override any GCC internal prototype to avoid an error.
15943    Use char because int might match the return type of a GCC
15944    builtin and then its argument prototype would still apply.  */
15945 #ifdef __cplusplus
15946 extern "C"
15947 #endif
15948 char gettext ();
15949 int
15950 main ()
15951 {
15952 return gettext ();
15953   ;
15954   return 0;
15955 }
15956 _ACEOF
15957 for ac_lib in '' intl; do
15958   if test -z "$ac_lib"; then
15959     ac_res="none required"
15960   else
15961     ac_res=-l$ac_lib
15962     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
15963   fi
15964   if test x$gcc_no_link = xyes; then
15965   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15966 fi
15967 if ac_fn_c_try_link "$LINENO"; then :
15968   ac_cv_search_gettext=$ac_res
15969 fi
15970 rm -f core conftest.err conftest.$ac_objext \
15971     conftest$ac_exeext
15972   if test "${ac_cv_search_gettext+set}" = set; then :
15973   break
15974 fi
15975 done
15976 if test "${ac_cv_search_gettext+set}" = set; then :
15977
15978 else
15979   ac_cv_search_gettext=no
15980 fi
15981 rm conftest.$ac_ext
15982 LIBS=$ac_func_search_save_LIBS
15983 fi
15984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
15985 $as_echo "$ac_cv_search_gettext" >&6; }
15986 ac_res=$ac_cv_search_gettext
15987 if test "$ac_res" != no; then :
15988   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15989
15990 else
15991   USE_NLS=no
15992 fi
15993
15994   fi
15995   if test $USE_NLS = yes; then
15996
15997 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
15998
15999   fi
16000
16001
16002
16003
16004
16005
16006
16007
16008
16009
16010
16011
16012
16013
16014
16015
16016   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16017 $as_echo_n "checking for std::allocator base class... " >&6; }
16018    # Check whether --enable-libstdcxx-allocator was given.
16019 if test "${enable_libstdcxx_allocator+set}" = set; then :
16020   enableval=$enable_libstdcxx_allocator;
16021       case "$enableval" in
16022        new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16023        *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16024                         esac
16025
16026 else
16027   enable_libstdcxx_allocator=auto
16028 fi
16029
16030
16031
16032   # If they didn't use this option switch, or if they specified --enable
16033   # with no specific model, we'll have to look for one.  If they
16034   # specified --disable (???), do likewise.
16035   if test $enable_libstdcxx_allocator = no ||
16036      test $enable_libstdcxx_allocator = yes;
16037   then
16038      enable_libstdcxx_allocator=auto
16039   fi
16040
16041   # Either a known package, or "auto". Auto implies the default choice
16042   # for a particular platform.
16043   enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16044
16045   # Probe for host-specific support if no specific model is specified.
16046   # Default to "new".
16047   if test $enable_libstdcxx_allocator_flag = auto; then
16048     case ${target_os} in
16049       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16050         enable_libstdcxx_allocator_flag=new
16051         ;;
16052       *)
16053         enable_libstdcxx_allocator_flag=new
16054         ;;
16055     esac
16056   fi
16057   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16058 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16059
16060
16061   # Set configure bits for specified locale package
16062   case ${enable_libstdcxx_allocator_flag} in
16063     bitmap)
16064       ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16065       ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16066       ;;
16067     malloc)
16068       ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16069       ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16070       ;;
16071     mt)
16072       ALLOCATOR_H=config/allocator/mt_allocator_base.h
16073       ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16074       ;;
16075     new)
16076       ALLOCATOR_H=config/allocator/new_allocator_base.h
16077       ALLOCATOR_NAME=__gnu_cxx::new_allocator
16078       ;;
16079     pool)
16080       ALLOCATOR_H=config/allocator/pool_allocator_base.h
16081       ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16082       ;;
16083   esac
16084
16085
16086
16087
16088
16089    # Check whether --enable-cheaders was given.
16090 if test "${enable_cheaders+set}" = set; then :
16091   enableval=$enable_cheaders;
16092       case "$enableval" in
16093        c|c_std|c_global) ;;
16094        *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16095                         esac
16096
16097 else
16098   enable_cheaders=$c_model
16099 fi
16100
16101
16102   { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16103 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16104
16105   C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16106
16107   # Allow overrides to configure.host here.
16108   if test $enable_cheaders = c_global; then
16109      c_compatibility=yes
16110   fi
16111
16112
16113
16114
16115
16116
16117
16118    # Check whether --enable-long-long was given.
16119 if test "${enable_long_long+set}" = set; then :
16120   enableval=$enable_long_long;
16121       case "$enableval" in
16122        yes|no) ;;
16123        *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16124       esac
16125
16126 else
16127   enable_long_long=yes
16128 fi
16129
16130
16131   if test $enable_long_long = yes; then
16132
16133 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16134
16135   fi
16136   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16137 $as_echo_n "checking for enabled long long specializations... " >&6; }
16138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16139 $as_echo "$enable_long_long" >&6; }
16140
16141
16142    # Check whether --enable-wchar_t was given.
16143 if test "${enable_wchar_t+set}" = set; then :
16144   enableval=$enable_wchar_t;
16145       case "$enableval" in
16146        yes|no) ;;
16147        *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16148       esac
16149
16150 else
16151   enable_wchar_t=yes
16152 fi
16153
16154
16155
16156   # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16157   for ac_header in wchar.h
16158 do :
16159   ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16160 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16161   cat >>confdefs.h <<_ACEOF
16162 #define HAVE_WCHAR_H 1
16163 _ACEOF
16164  ac_has_wchar_h=yes
16165 else
16166   ac_has_wchar_h=no
16167 fi
16168
16169 done
16170
16171   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16172 $as_echo_n "checking for mbstate_t... " >&6; }
16173   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16174 /* end confdefs.h.  */
16175 #include <wchar.h>
16176 int
16177 main ()
16178 {
16179 mbstate_t teststate;
16180   ;
16181   return 0;
16182 }
16183 _ACEOF
16184 if ac_fn_c_try_compile "$LINENO"; then :
16185   have_mbstate_t=yes
16186 else
16187   have_mbstate_t=no
16188 fi
16189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16190   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16191 $as_echo "$have_mbstate_t" >&6; }
16192   if test x"$have_mbstate_t" = xyes; then
16193
16194 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16195
16196   fi
16197
16198   # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16199   # ac_has_wchar_h.
16200   for ac_header in wctype.h
16201 do :
16202   ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16203 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16204   cat >>confdefs.h <<_ACEOF
16205 #define HAVE_WCTYPE_H 1
16206 _ACEOF
16207  ac_has_wctype_h=yes
16208 else
16209   ac_has_wctype_h=no
16210 fi
16211
16212 done
16213
16214
16215   if test x"$enable_wchar_t" = x"yes"; then
16216
16217
16218     ac_ext=cpp
16219 ac_cpp='$CXXCPP $CPPFLAGS'
16220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16223
16224
16225     if test x"$ac_has_wchar_h" = xyes &&
16226        test x"$ac_has_wctype_h" = xyes; then
16227       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16228 /* end confdefs.h.  */
16229 #include <wchar.h>
16230                       #include <stddef.h>
16231                       wint_t i;
16232                       long l = WEOF;
16233                       long j = WCHAR_MIN;
16234                       long k = WCHAR_MAX;
16235                       namespace test
16236                       {
16237                         using ::btowc;
16238                         using ::fgetwc;
16239                         using ::fgetws;
16240                         using ::fputwc;
16241                         using ::fputws;
16242                         using ::fwide;
16243                         using ::fwprintf;
16244                         using ::fwscanf;
16245                         using ::getwc;
16246                         using ::getwchar;
16247                         using ::mbrlen;
16248                         using ::mbrtowc;
16249                         using ::mbsinit;
16250                         using ::mbsrtowcs;
16251                         using ::putwc;
16252                         using ::putwchar;
16253                         using ::swprintf;
16254                         using ::swscanf;
16255                         using ::ungetwc;
16256                         using ::vfwprintf;
16257                         using ::vswprintf;
16258                         using ::vwprintf;
16259                         using ::wcrtomb;
16260                         using ::wcscat;
16261                         using ::wcschr;
16262                         using ::wcscmp;
16263                         using ::wcscoll;
16264                         using ::wcscpy;
16265                         using ::wcscspn;
16266                         using ::wcsftime;
16267                         using ::wcslen;
16268                         using ::wcsncat;
16269                         using ::wcsncmp;
16270                         using ::wcsncpy;
16271                         using ::wcspbrk;
16272                         using ::wcsrchr;
16273                         using ::wcsrtombs;
16274                         using ::wcsspn;
16275                         using ::wcsstr;
16276                         using ::wcstod;
16277                         using ::wcstok;
16278                         using ::wcstol;
16279                         using ::wcstoul;
16280                         using ::wcsxfrm;
16281                         using ::wctob;
16282                         using ::wmemchr;
16283                         using ::wmemcmp;
16284                         using ::wmemcpy;
16285                         using ::wmemmove;
16286                         using ::wmemset;
16287                         using ::wprintf;
16288                         using ::wscanf;
16289                       }
16290
16291 int
16292 main ()
16293 {
16294
16295   ;
16296   return 0;
16297 }
16298 _ACEOF
16299 if ac_fn_cxx_try_compile "$LINENO"; then :
16300
16301 else
16302   enable_wchar_t=no
16303 fi
16304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16305     else
16306       enable_wchar_t=no
16307     fi
16308
16309     ac_ext=c
16310 ac_cpp='$CPP $CPPFLAGS'
16311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16314
16315   fi
16316
16317   if test x"$enable_wchar_t" = x"yes"; then
16318
16319 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16320
16321   fi
16322
16323   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16324 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16326 $as_echo "$enable_wchar_t" >&6; }
16327
16328
16329
16330    # Check whether --enable-c99 was given.
16331 if test "${enable_c99+set}" = set; then :
16332   enableval=$enable_c99;
16333       case "$enableval" in
16334        yes|no) ;;
16335        *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16336       esac
16337
16338 else
16339   enable_c99=yes
16340 fi
16341
16342
16343
16344   if test x"$enable_c99" = x"yes"; then
16345
16346
16347   ac_ext=cpp
16348 ac_cpp='$CXXCPP $CPPFLAGS'
16349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16352
16353
16354   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16355   # undefined and fake C99 facilities - like pre-standard snprintf - may be
16356   # spuriously enabled.
16357   # Long term, -std=c++0x could be even better, could manage to explicitely
16358   # request C99 facilities to the underlying C headers.
16359   ac_save_CXXFLAGS="$CXXFLAGS"
16360   CXXFLAGS="$CXXFLAGS -std=c++98"
16361   ac_save_LIBS="$LIBS"
16362   ac_save_gcc_no_link="$gcc_no_link"
16363
16364   if test x$gcc_no_link != xyes; then
16365     # Use -fno-exceptions to that the C driver can link these tests without
16366     # hitting undefined references to personality routines.
16367     CXXFLAGS="$CXXFLAGS -fno-exceptions"
16368     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16369 $as_echo_n "checking for sin in -lm... " >&6; }
16370 if test "${ac_cv_lib_m_sin+set}" = set; then :
16371   $as_echo_n "(cached) " >&6
16372 else
16373   ac_check_lib_save_LIBS=$LIBS
16374 LIBS="-lm  $LIBS"
16375 if test x$gcc_no_link = xyes; then
16376   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16377 fi
16378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16379 /* end confdefs.h.  */
16380
16381 /* Override any GCC internal prototype to avoid an error.
16382    Use char because int might match the return type of a GCC
16383    builtin and then its argument prototype would still apply.  */
16384 #ifdef __cplusplus
16385 extern "C"
16386 #endif
16387 char sin ();
16388 int
16389 main ()
16390 {
16391 return sin ();
16392   ;
16393   return 0;
16394 }
16395 _ACEOF
16396 if ac_fn_cxx_try_link "$LINENO"; then :
16397   ac_cv_lib_m_sin=yes
16398 else
16399   ac_cv_lib_m_sin=no
16400 fi
16401 rm -f core conftest.err conftest.$ac_objext \
16402     conftest$ac_exeext conftest.$ac_ext
16403 LIBS=$ac_check_lib_save_LIBS
16404 fi
16405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16406 $as_echo "$ac_cv_lib_m_sin" >&6; }
16407 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16408
16409       LIBS="$LIBS -lm"
16410
16411 else
16412
16413       # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16414       gcc_no_link=yes
16415
16416 fi
16417
16418   fi
16419
16420   # Check for the existence of <math.h> functions used if C99 is enabled.
16421   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16422 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16423   if test "${glibcxx_cv_c99_math+set}" = set; then :
16424   $as_echo_n "(cached) " >&6
16425 else
16426
16427   if test x$gcc_no_link = xyes; then
16428   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16429 /* end confdefs.h.  */
16430 #include <math.h>
16431       volatile double d1, d2;
16432       volatile int i;
16433 int
16434 main ()
16435 {
16436 i = fpclassify(d1);
16437       i = isfinite(d1);
16438       i = isinf(d1);
16439       i = isnan(d1);
16440       i = isnormal(d1);
16441       i = signbit(d1);
16442       i = isgreater(d1, d2);
16443       i = isgreaterequal(d1, d2);
16444       i = isless(d1, d2);
16445       i = islessequal(d1, d2);
16446       i = islessgreater(d1, d2);
16447       i = islessgreater(d1, d2);
16448       i = isunordered(d1, d2);
16449
16450   ;
16451   return 0;
16452 }
16453 _ACEOF
16454 if ac_fn_cxx_try_compile "$LINENO"; then :
16455   glibcxx_cv_c99_math=yes
16456 else
16457   glibcxx_cv_c99_math=no
16458 fi
16459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16460 else
16461   if test x$gcc_no_link = xyes; then
16462   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16463 fi
16464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16465 /* end confdefs.h.  */
16466 #include <math.h>
16467       volatile double d1, d2;
16468       volatile int i;
16469 int
16470 main ()
16471 {
16472 i = fpclassify(d1);
16473       i = isfinite(d1);
16474       i = isinf(d1);
16475       i = isnan(d1);
16476       i = isnormal(d1);
16477       i = signbit(d1);
16478       i = isgreater(d1, d2);
16479       i = isgreaterequal(d1, d2);
16480       i = isless(d1, d2);
16481       i = islessequal(d1, d2);
16482       i = islessgreater(d1, d2);
16483       i = islessgreater(d1, d2);
16484       i = isunordered(d1, d2);
16485
16486   ;
16487   return 0;
16488 }
16489 _ACEOF
16490 if ac_fn_cxx_try_link "$LINENO"; then :
16491   glibcxx_cv_c99_math=yes
16492 else
16493   glibcxx_cv_c99_math=no
16494 fi
16495 rm -f core conftest.err conftest.$ac_objext \
16496     conftest$ac_exeext conftest.$ac_ext
16497 fi
16498
16499 fi
16500
16501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16502 $as_echo "$glibcxx_cv_c99_math" >&6; }
16503   if test x"$glibcxx_cv_c99_math" = x"yes"; then
16504
16505 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16506
16507   fi
16508
16509   # Check for the existence of <complex.h> complex math functions.
16510   # This is necessary even though libstdc++ uses the builtin versions
16511   # of these functions, because if the builtin cannot be used, a reference
16512   # to the library function is emitted.
16513   for ac_header in tgmath.h
16514 do :
16515   ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16516 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16517   cat >>confdefs.h <<_ACEOF
16518 #define HAVE_TGMATH_H 1
16519 _ACEOF
16520  ac_has_tgmath_h=yes
16521 else
16522   ac_has_tgmath_h=no
16523 fi
16524
16525 done
16526
16527   for ac_header in complex.h
16528 do :
16529   ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16530 if test "x$ac_cv_header_complex_h" = x""yes; then :
16531   cat >>confdefs.h <<_ACEOF
16532 #define HAVE_COMPLEX_H 1
16533 _ACEOF
16534  ac_has_complex_h=yes
16535 else
16536   ac_has_complex_h=no
16537 fi
16538
16539 done
16540
16541   glibcxx_cv_c99_complex=no;
16542   if test x"$ac_has_complex_h" = x"yes"; then
16543     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16544 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16545     if test x$gcc_no_link = xyes; then
16546   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16547 /* end confdefs.h.  */
16548 #include <complex.h>
16549         typedef __complex__ float float_type;
16550         typedef __complex__ double double_type;
16551         typedef __complex__ long double ld_type;
16552         volatile float_type tmpf;
16553         volatile double_type tmpd;
16554         volatile ld_type tmpld;
16555         volatile float f;
16556         volatile double d;
16557         volatile long double ld;
16558 int
16559 main ()
16560 {
16561 f = cabsf(tmpf);
16562         f = cargf(tmpf);
16563         tmpf = ccosf(tmpf);
16564         tmpf = ccoshf(tmpf);
16565         tmpf = cexpf(tmpf);
16566         tmpf = clogf(tmpf);
16567         tmpf = csinf(tmpf);
16568         tmpf = csinhf(tmpf);
16569         tmpf = csqrtf(tmpf);
16570         tmpf = ctanf(tmpf);
16571         tmpf = ctanhf(tmpf);
16572         tmpf = cpowf(tmpf, tmpf);
16573         tmpf = cprojf(tmpf);
16574         d = cabs(tmpd);
16575         d = carg(tmpd);
16576         tmpd = ccos(tmpd);
16577         tmpd = ccosh(tmpd);
16578         tmpd = cexp(tmpd);
16579         tmpd = clog(tmpd);
16580         tmpd = csin(tmpd);
16581         tmpd = csinh(tmpd);
16582         tmpd = csqrt(tmpd);
16583         tmpd = ctan(tmpd);
16584         tmpd = ctanh(tmpd);
16585         tmpd = cpow(tmpd, tmpd);
16586         tmpd = cproj(tmpd);
16587         ld = cabsl(tmpld);
16588         ld = cargl(tmpld);
16589         tmpld = ccosl(tmpld);
16590         tmpld = ccoshl(tmpld);
16591         tmpld = cexpl(tmpld);
16592         tmpld = clogl(tmpld);
16593         tmpld = csinl(tmpld);
16594         tmpld = csinhl(tmpld);
16595         tmpld = csqrtl(tmpld);
16596         tmpld = ctanl(tmpld);
16597         tmpld = ctanhl(tmpld);
16598         tmpld = cpowl(tmpld, tmpld);
16599         tmpld = cprojl(tmpld);
16600
16601   ;
16602   return 0;
16603 }
16604 _ACEOF
16605 if ac_fn_cxx_try_compile "$LINENO"; then :
16606   glibcxx_cv_c99_complex=yes
16607 else
16608   glibcxx_cv_c99_complex=no
16609 fi
16610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16611 else
16612   if test x$gcc_no_link = xyes; then
16613   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16614 fi
16615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16616 /* end confdefs.h.  */
16617 #include <complex.h>
16618         typedef __complex__ float float_type;
16619         typedef __complex__ double double_type;
16620         typedef __complex__ long double ld_type;
16621         volatile float_type tmpf;
16622         volatile double_type tmpd;
16623         volatile ld_type tmpld;
16624         volatile float f;
16625         volatile double d;
16626         volatile long double ld;
16627 int
16628 main ()
16629 {
16630 f = cabsf(tmpf);
16631         f = cargf(tmpf);
16632         tmpf = ccosf(tmpf);
16633         tmpf = ccoshf(tmpf);
16634         tmpf = cexpf(tmpf);
16635         tmpf = clogf(tmpf);
16636         tmpf = csinf(tmpf);
16637         tmpf = csinhf(tmpf);
16638         tmpf = csqrtf(tmpf);
16639         tmpf = ctanf(tmpf);
16640         tmpf = ctanhf(tmpf);
16641         tmpf = cpowf(tmpf, tmpf);
16642         tmpf = cprojf(tmpf);
16643         d = cabs(tmpd);
16644         d = carg(tmpd);
16645         tmpd = ccos(tmpd);
16646         tmpd = ccosh(tmpd);
16647         tmpd = cexp(tmpd);
16648         tmpd = clog(tmpd);
16649         tmpd = csin(tmpd);
16650         tmpd = csinh(tmpd);
16651         tmpd = csqrt(tmpd);
16652         tmpd = ctan(tmpd);
16653         tmpd = ctanh(tmpd);
16654         tmpd = cpow(tmpd, tmpd);
16655         tmpd = cproj(tmpd);
16656         ld = cabsl(tmpld);
16657         ld = cargl(tmpld);
16658         tmpld = ccosl(tmpld);
16659         tmpld = ccoshl(tmpld);
16660         tmpld = cexpl(tmpld);
16661         tmpld = clogl(tmpld);
16662         tmpld = csinl(tmpld);
16663         tmpld = csinhl(tmpld);
16664         tmpld = csqrtl(tmpld);
16665         tmpld = ctanl(tmpld);
16666         tmpld = ctanhl(tmpld);
16667         tmpld = cpowl(tmpld, tmpld);
16668         tmpld = cprojl(tmpld);
16669
16670   ;
16671   return 0;
16672 }
16673 _ACEOF
16674 if ac_fn_cxx_try_link "$LINENO"; then :
16675   glibcxx_cv_c99_complex=yes
16676 else
16677   glibcxx_cv_c99_complex=no
16678 fi
16679 rm -f core conftest.err conftest.$ac_objext \
16680     conftest$ac_exeext conftest.$ac_ext
16681 fi
16682   fi
16683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16684 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16685   if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16686
16687 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16688
16689   fi
16690
16691   # Check for the existence in <stdio.h> of vscanf, et. al.
16692   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16693 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16694   if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16695   $as_echo_n "(cached) " >&6
16696 else
16697
16698   if test x$gcc_no_link = xyes; then
16699   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16700 /* end confdefs.h.  */
16701 #include <stdio.h>
16702       #include <stdarg.h>
16703       void foo(char* fmt, ...)
16704       {
16705         va_list args; va_start(args, fmt);
16706         vfscanf(stderr, "%i", args);
16707         vscanf("%i", args);
16708         vsnprintf(fmt, 0, "%i", args);
16709         vsscanf(fmt, "%i", args);
16710       }
16711 int
16712 main ()
16713 {
16714 snprintf("12", 0, "%i");
16715   ;
16716   return 0;
16717 }
16718 _ACEOF
16719 if ac_fn_cxx_try_compile "$LINENO"; then :
16720   glibcxx_cv_c99_stdio=yes
16721 else
16722   glibcxx_cv_c99_stdio=no
16723 fi
16724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16725 else
16726   if test x$gcc_no_link = xyes; then
16727   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16728 fi
16729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16730 /* end confdefs.h.  */
16731 #include <stdio.h>
16732       #include <stdarg.h>
16733       void foo(char* fmt, ...)
16734       {
16735         va_list args; va_start(args, fmt);
16736         vfscanf(stderr, "%i", args);
16737         vscanf("%i", args);
16738         vsnprintf(fmt, 0, "%i", args);
16739         vsscanf(fmt, "%i", args);
16740       }
16741 int
16742 main ()
16743 {
16744 snprintf("12", 0, "%i");
16745   ;
16746   return 0;
16747 }
16748 _ACEOF
16749 if ac_fn_cxx_try_link "$LINENO"; then :
16750   glibcxx_cv_c99_stdio=yes
16751 else
16752   glibcxx_cv_c99_stdio=no
16753 fi
16754 rm -f core conftest.err conftest.$ac_objext \
16755     conftest$ac_exeext conftest.$ac_ext
16756 fi
16757
16758 fi
16759
16760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16761 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16762
16763   # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16764   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16765 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16766   if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16767   $as_echo_n "(cached) " >&6
16768 else
16769
16770   if test x$gcc_no_link = xyes; then
16771   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16772 /* end confdefs.h.  */
16773 #include <stdlib.h>
16774       volatile float f;
16775       volatile long double ld;
16776       volatile unsigned long long ll;
16777       lldiv_t mydivt;
16778 int
16779 main ()
16780 {
16781 char* tmp;
16782       f = strtof("gnu", &tmp);
16783       ld = strtold("gnu", &tmp);
16784       ll = strtoll("gnu", &tmp, 10);
16785       ll = strtoull("gnu", &tmp, 10);
16786       ll = llabs(10);
16787       mydivt = lldiv(10,1);
16788       ll = mydivt.quot;
16789       ll = mydivt.rem;
16790       ll = atoll("10");
16791       _Exit(0);
16792
16793   ;
16794   return 0;
16795 }
16796 _ACEOF
16797 if ac_fn_cxx_try_compile "$LINENO"; then :
16798   glibcxx_cv_c99_stdlib=yes
16799 else
16800   glibcxx_cv_c99_stdlib=no
16801 fi
16802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16803 else
16804   if test x$gcc_no_link = xyes; then
16805   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16806 fi
16807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16808 /* end confdefs.h.  */
16809 #include <stdlib.h>
16810       volatile float f;
16811       volatile long double ld;
16812       volatile unsigned long long ll;
16813       lldiv_t mydivt;
16814 int
16815 main ()
16816 {
16817 char* tmp;
16818       f = strtof("gnu", &tmp);
16819       ld = strtold("gnu", &tmp);
16820       ll = strtoll("gnu", &tmp, 10);
16821       ll = strtoull("gnu", &tmp, 10);
16822       ll = llabs(10);
16823       mydivt = lldiv(10,1);
16824       ll = mydivt.quot;
16825       ll = mydivt.rem;
16826       ll = atoll("10");
16827       _Exit(0);
16828
16829   ;
16830   return 0;
16831 }
16832 _ACEOF
16833 if ac_fn_cxx_try_link "$LINENO"; then :
16834   glibcxx_cv_c99_stdlib=yes
16835 else
16836   glibcxx_cv_c99_stdlib=no
16837 fi
16838 rm -f core conftest.err conftest.$ac_objext \
16839     conftest$ac_exeext conftest.$ac_ext
16840 fi
16841
16842 fi
16843
16844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
16845 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
16846
16847   # Check for the existence in <wchar.h> of wcstold, etc.
16848   glibcxx_cv_c99_wchar=no;
16849   if test x"$ac_has_wchar_h" = xyes &&
16850      test x"$ac_has_wctype_h" = xyes; then
16851     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
16852 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
16853     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16854 /* end confdefs.h.  */
16855 #include <wchar.h>
16856                     namespace test
16857                     {
16858                       using ::wcstold;
16859                       using ::wcstoll;
16860                       using ::wcstoull;
16861                     }
16862
16863 int
16864 main ()
16865 {
16866
16867   ;
16868   return 0;
16869 }
16870 _ACEOF
16871 if ac_fn_cxx_try_compile "$LINENO"; then :
16872   glibcxx_cv_c99_wchar=yes
16873 else
16874   glibcxx_cv_c99_wchar=no
16875 fi
16876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16877
16878     # Checks for wide character functions that may not be present.
16879     # Injection of these is wrapped with guard macros.
16880     # NB: only put functions here, instead of immediately above, if
16881     # absolutely necessary.
16882     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16883 /* end confdefs.h.  */
16884 #include <wchar.h>
16885                     namespace test { using ::vfwscanf; }
16886 int
16887 main ()
16888 {
16889
16890   ;
16891   return 0;
16892 }
16893 _ACEOF
16894 if ac_fn_cxx_try_compile "$LINENO"; then :
16895
16896 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
16897
16898 fi
16899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16900
16901     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16902 /* end confdefs.h.  */
16903 #include <wchar.h>
16904                     namespace test { using ::vswscanf; }
16905 int
16906 main ()
16907 {
16908
16909   ;
16910   return 0;
16911 }
16912 _ACEOF
16913 if ac_fn_cxx_try_compile "$LINENO"; then :
16914
16915 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
16916
16917 fi
16918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16919
16920     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16921 /* end confdefs.h.  */
16922 #include <wchar.h>
16923                     namespace test { using ::vwscanf; }
16924 int
16925 main ()
16926 {
16927
16928   ;
16929   return 0;
16930 }
16931 _ACEOF
16932 if ac_fn_cxx_try_compile "$LINENO"; then :
16933
16934 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
16935
16936 fi
16937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16938
16939     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16940 /* end confdefs.h.  */
16941 #include <wchar.h>
16942                     namespace test { using ::wcstof; }
16943 int
16944 main ()
16945 {
16946
16947   ;
16948   return 0;
16949 }
16950 _ACEOF
16951 if ac_fn_cxx_try_compile "$LINENO"; then :
16952
16953 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
16954
16955 fi
16956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16957
16958     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16959 /* end confdefs.h.  */
16960 #include <wctype.h>
16961 int
16962 main ()
16963 {
16964  wint_t t; int i = iswblank(t);
16965   ;
16966   return 0;
16967 }
16968 _ACEOF
16969 if ac_fn_cxx_try_compile "$LINENO"; then :
16970
16971 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
16972
16973 fi
16974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16975
16976     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
16977 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
16978   fi
16979
16980   # Option parsed, now set things appropriately.
16981   if test x"$glibcxx_cv_c99_math" = x"no" ||
16982      test x"$glibcxx_cv_c99_complex" = x"no" ||
16983      test x"$glibcxx_cv_c99_stdio" = x"no" ||
16984      test x"$glibcxx_cv_c99_stdlib" = x"no" ||
16985      test x"$glibcxx_cv_c99_wchar" = x"no"; then
16986     enable_c99=no;
16987   else
16988
16989 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
16990
16991   fi
16992
16993   gcc_no_link="$ac_save_gcc_no_link"
16994   LIBS="$ac_save_LIBS"
16995   CXXFLAGS="$ac_save_CXXFLAGS"
16996   ac_ext=c
16997 ac_cpp='$CPP $CPPFLAGS'
16998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17001
17002   fi
17003
17004   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17005 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17006   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17007 $as_echo "$enable_c99" >&6; }
17008
17009
17010    # Check whether --enable-concept-checks was given.
17011 if test "${enable_concept_checks+set}" = set; then :
17012   enableval=$enable_concept_checks;
17013       case "$enableval" in
17014        yes|no) ;;
17015        *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17016       esac
17017
17018 else
17019   enable_concept_checks=no
17020 fi
17021
17022
17023   if test $enable_concept_checks = yes; then
17024
17025 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17026
17027   fi
17028
17029
17030    # Check whether --enable-libstdcxx-debug-flags was given.
17031 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17032   enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17033       xno | x)    enable_libstdcxx_debug_flags= ;;
17034       x-*)        ;;
17035       *)          as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17036      esac
17037 else
17038   enable_libstdcxx_debug_flags="-g3 -O0"
17039 fi
17040
17041
17042
17043   # Option parsed, now set things appropriately
17044   DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17045
17046
17047   { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17048 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17049
17050
17051   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17052 $as_echo_n "checking for additional debug build... " >&6; }
17053    # Check whether --enable-libstdcxx-debug was given.
17054 if test "${enable_libstdcxx_debug+set}" = set; then :
17055   enableval=$enable_libstdcxx_debug;
17056       case "$enableval" in
17057        yes|no) ;;
17058        *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17059       esac
17060
17061 else
17062   enable_libstdcxx_debug=no
17063 fi
17064
17065
17066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17067 $as_echo "$enable_libstdcxx_debug" >&6; }
17068
17069
17070
17071
17072   enable_parallel=no;
17073
17074   # See if configured libgomp/omp.h exists. (libgomp may be in
17075   # noconfigdirs but not explicitly disabled.)
17076   if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17077     enable_parallel=yes;
17078   else
17079     { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17080 $as_echo "$as_me: target-libgomp not built" >&6;}
17081   fi
17082
17083   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17084 $as_echo_n "checking for parallel mode support... " >&6; }
17085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17086 $as_echo "$enable_parallel" >&6; }
17087
17088
17089   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17090 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17091    # Check whether --enable-cxx-flags was given.
17092 if test "${enable_cxx_flags+set}" = set; then :
17093   enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17094       xno | x)   enable_cxx_flags= ;;
17095       x-*)       ;;
17096       *)         as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17097      esac
17098 else
17099   enable_cxx_flags=
17100 fi
17101
17102
17103
17104   # Run through flags (either default or command-line) and set anything
17105   # extra (e.g., #defines) that must accompany particular g++ options.
17106   if test -n "$enable_cxx_flags"; then
17107     for f in $enable_cxx_flags; do
17108       case "$f" in
17109         -fhonor-std)  ;;
17110         -*)  ;;
17111         *)   # and we're trying to pass /what/ exactly?
17112              as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17113       esac
17114     done
17115   fi
17116
17117   EXTRA_CXX_FLAGS="$enable_cxx_flags"
17118   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17119 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17120
17121
17122
17123    # Check whether --enable-fully-dynamic-string was given.
17124 if test "${enable_fully_dynamic_string+set}" = set; then :
17125   enableval=$enable_fully_dynamic_string;
17126       case "$enableval" in
17127        yes|no) ;;
17128        *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17129       esac
17130
17131 else
17132   enable_fully_dynamic_string=no
17133 fi
17134
17135
17136   if test $enable_fully_dynamic_string = yes; then
17137
17138 $as_echo "#define _GLIBCXX_FULLY_DYNAMIC_STRING 1" >>confdefs.h
17139
17140   fi
17141
17142
17143
17144    # Check whether --enable-extern-template was given.
17145 if test "${enable_extern_template+set}" = set; then :
17146   enableval=$enable_extern_template;
17147       case "$enableval" in
17148        yes|no) ;;
17149        *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17150       esac
17151
17152 else
17153   enable_extern_template=yes
17154 fi
17155
17156
17157
17158   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17159 $as_echo_n "checking for extern template support... " >&6; }
17160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17161 $as_echo "$enable_extern_template" >&6; }
17162
17163
17164
17165
17166 # Checks for operating systems support that doesn't require linking.
17167
17168
17169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17170 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17171 if test "${glibcxx_cv_system_error1+set}" = set; then :
17172   $as_echo_n "(cached) " >&6
17173 else
17174
17175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17176 /* end confdefs.h.  */
17177 #include <errno.h>
17178 int
17179 main ()
17180 {
17181 int i = EOWNERDEAD;
17182   ;
17183   return 0;
17184 }
17185 _ACEOF
17186 if ac_fn_c_try_compile "$LINENO"; then :
17187   glibcxx_cv_system_error1=yes
17188 else
17189   glibcxx_cv_system_error1=no
17190 fi
17191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17192
17193 fi
17194
17195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17196 $as_echo "$glibcxx_cv_system_error1" >&6; }
17197 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17198
17199 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17200
17201 fi
17202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17203 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17204 if test "${glibcxx_cv_system_error2+set}" = set; then :
17205   $as_echo_n "(cached) " >&6
17206 else
17207
17208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17209 /* end confdefs.h.  */
17210 #include <errno.h>
17211 int
17212 main ()
17213 {
17214 int i = ENOTRECOVERABLE;
17215   ;
17216   return 0;
17217 }
17218 _ACEOF
17219 if ac_fn_c_try_compile "$LINENO"; then :
17220   glibcxx_cv_system_error2=yes
17221 else
17222   glibcxx_cv_system_error2=no
17223 fi
17224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17225
17226 fi
17227
17228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17229 $as_echo "$glibcxx_cv_system_error2" >&6; }
17230 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17231
17232 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17233
17234 fi
17235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17236 $as_echo_n "checking for ENOLINK... " >&6; }
17237 if test "${glibcxx_cv_system_error3+set}" = set; then :
17238   $as_echo_n "(cached) " >&6
17239 else
17240
17241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17242 /* end confdefs.h.  */
17243 #include <errno.h>
17244 int
17245 main ()
17246 {
17247 int i = ENOLINK;
17248   ;
17249   return 0;
17250 }
17251 _ACEOF
17252 if ac_fn_c_try_compile "$LINENO"; then :
17253   glibcxx_cv_system_error3=yes
17254 else
17255   glibcxx_cv_system_error3=no
17256 fi
17257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17258
17259 fi
17260
17261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17262 $as_echo "$glibcxx_cv_system_error3" >&6; }
17263 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17264
17265 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17266
17267 fi
17268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17269 $as_echo_n "checking for EPROTO... " >&6; }
17270 if test "${glibcxx_cv_system_error4+set}" = set; then :
17271   $as_echo_n "(cached) " >&6
17272 else
17273
17274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17275 /* end confdefs.h.  */
17276 #include <errno.h>
17277 int
17278 main ()
17279 {
17280 int i = EPROTO;
17281   ;
17282   return 0;
17283 }
17284 _ACEOF
17285 if ac_fn_c_try_compile "$LINENO"; then :
17286   glibcxx_cv_system_error4=yes
17287 else
17288   glibcxx_cv_system_error4=no
17289 fi
17290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17291
17292 fi
17293
17294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17295 $as_echo "$glibcxx_cv_system_error4" >&6; }
17296 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17297
17298 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17299
17300 fi
17301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17302 $as_echo_n "checking for ENODATA... " >&6; }
17303 if test "${glibcxx_cv_system_error5+set}" = set; then :
17304   $as_echo_n "(cached) " >&6
17305 else
17306
17307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17308 /* end confdefs.h.  */
17309 #include <errno.h>
17310 int
17311 main ()
17312 {
17313 int i = ENODATA;
17314   ;
17315   return 0;
17316 }
17317 _ACEOF
17318 if ac_fn_c_try_compile "$LINENO"; then :
17319   glibcxx_cv_system_error5=yes
17320 else
17321   glibcxx_cv_system_error5=no
17322 fi
17323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17324
17325 fi
17326
17327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17328 $as_echo "$glibcxx_cv_system_error5" >&6; }
17329 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17330
17331 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17332
17333 fi
17334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17335 $as_echo_n "checking for ENOSR... " >&6; }
17336 if test "${glibcxx_cv_system_error6+set}" = set; then :
17337   $as_echo_n "(cached) " >&6
17338 else
17339
17340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17341 /* end confdefs.h.  */
17342 #include <errno.h>
17343 int
17344 main ()
17345 {
17346 int i = ENOSR;
17347   ;
17348   return 0;
17349 }
17350 _ACEOF
17351 if ac_fn_c_try_compile "$LINENO"; then :
17352   glibcxx_cv_system_error6=yes
17353 else
17354   glibcxx_cv_system_error6=no
17355 fi
17356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17357
17358 fi
17359
17360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17361 $as_echo "$glibcxx_cv_system_error6" >&6; }
17362 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17363
17364 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17365
17366 fi
17367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17368 $as_echo_n "checking for ENOSTR... " >&6; }
17369 if test "${glibcxx_cv_system_error7+set}" = set; then :
17370   $as_echo_n "(cached) " >&6
17371 else
17372
17373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17374 /* end confdefs.h.  */
17375 #include <errno.h>
17376 int
17377 main ()
17378 {
17379 int i = ENOSTR;
17380   ;
17381   return 0;
17382 }
17383 _ACEOF
17384 if ac_fn_c_try_compile "$LINENO"; then :
17385   glibcxx_cv_system_error7=yes
17386 else
17387   glibcxx_cv_system_error7=no
17388 fi
17389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17390
17391 fi
17392
17393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17394 $as_echo "$glibcxx_cv_system_error7" >&6; }
17395 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17396
17397 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17398
17399 fi
17400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17401 $as_echo_n "checking for ETIME... " >&6; }
17402 if test "${glibcxx_cv_system_error8+set}" = set; then :
17403   $as_echo_n "(cached) " >&6
17404 else
17405
17406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17407 /* end confdefs.h.  */
17408 #include <errno.h>
17409 int
17410 main ()
17411 {
17412 int i = ETIME;
17413   ;
17414   return 0;
17415 }
17416 _ACEOF
17417 if ac_fn_c_try_compile "$LINENO"; then :
17418   glibcxx_cv_system_error8=yes
17419 else
17420   glibcxx_cv_system_error8=no
17421 fi
17422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17423
17424 fi
17425
17426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17427 $as_echo "$glibcxx_cv_system_error8" >&6; }
17428 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17429
17430 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17431
17432 fi
17433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17434 $as_echo_n "checking for EBADMSG... " >&6; }
17435 if test "${glibcxx_cv_system_error9+set}" = set; then :
17436   $as_echo_n "(cached) " >&6
17437 else
17438
17439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17440 /* end confdefs.h.  */
17441 #include <errno.h>
17442 int
17443 main ()
17444 {
17445 int i = EBADMSG;
17446   ;
17447   return 0;
17448 }
17449 _ACEOF
17450 if ac_fn_c_try_compile "$LINENO"; then :
17451   glibcxx_cv_system_error9=yes
17452 else
17453   glibcxx_cv_system_error9=no
17454 fi
17455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17456
17457 fi
17458
17459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17460 $as_echo "$glibcxx_cv_system_error9" >&6; }
17461 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17462
17463 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17464
17465 fi
17466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17467 $as_echo_n "checking for ECANCELED... " >&6; }
17468 if test "${glibcxx_cv_system_error10+set}" = set; then :
17469   $as_echo_n "(cached) " >&6
17470 else
17471
17472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17473 /* end confdefs.h.  */
17474 #include <errno.h>
17475 int
17476 main ()
17477 {
17478 int i = ECANCELED;
17479   ;
17480   return 0;
17481 }
17482 _ACEOF
17483 if ac_fn_c_try_compile "$LINENO"; then :
17484   glibcxx_cv_system_error10=yes
17485 else
17486   glibcxx_cv_system_error10=no
17487 fi
17488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17489
17490 fi
17491
17492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17493 $as_echo "$glibcxx_cv_system_error10" >&6; }
17494 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17495
17496 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17497
17498 fi
17499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17500 $as_echo_n "checking for EOVERFLOW... " >&6; }
17501 if test "${glibcxx_cv_system_error11+set}" = set; then :
17502   $as_echo_n "(cached) " >&6
17503 else
17504
17505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17506 /* end confdefs.h.  */
17507 #include <errno.h>
17508 int
17509 main ()
17510 {
17511 int i = EOVERFLOW;
17512   ;
17513   return 0;
17514 }
17515 _ACEOF
17516 if ac_fn_c_try_compile "$LINENO"; then :
17517   glibcxx_cv_system_error11=yes
17518 else
17519   glibcxx_cv_system_error11=no
17520 fi
17521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17522
17523 fi
17524
17525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17526 $as_echo "$glibcxx_cv_system_error11" >&6; }
17527 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17528
17529 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17530
17531 fi
17532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17533 $as_echo_n "checking for ENOTSUP... " >&6; }
17534 if test "${glibcxx_cv_system_error12+set}" = set; then :
17535   $as_echo_n "(cached) " >&6
17536 else
17537
17538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17539 /* end confdefs.h.  */
17540 #include <errno.h>
17541 int
17542 main ()
17543 {
17544 int i = ENOTSUP;
17545   ;
17546   return 0;
17547 }
17548 _ACEOF
17549 if ac_fn_c_try_compile "$LINENO"; then :
17550   glibcxx_cv_system_error12=yes
17551 else
17552   glibcxx_cv_system_error12=no
17553 fi
17554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17555
17556 fi
17557
17558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17559 $as_echo "$glibcxx_cv_system_error12" >&6; }
17560 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17561
17562 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17563
17564 fi
17565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17566 $as_echo_n "checking for EIDRM... " >&6; }
17567 if test "${glibcxx_cv_system_error13+set}" = set; then :
17568   $as_echo_n "(cached) " >&6
17569 else
17570
17571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17572 /* end confdefs.h.  */
17573 #include <errno.h>
17574 int
17575 main ()
17576 {
17577 int i = EIDRM;
17578   ;
17579   return 0;
17580 }
17581 _ACEOF
17582 if ac_fn_c_try_compile "$LINENO"; then :
17583   glibcxx_cv_system_error13=yes
17584 else
17585   glibcxx_cv_system_error13=no
17586 fi
17587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17588
17589 fi
17590
17591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17592 $as_echo "$glibcxx_cv_system_error13" >&6; }
17593 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17594
17595 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17596
17597 fi
17598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17599 $as_echo_n "checking for ETXTBSY... " >&6; }
17600 if test "${glibcxx_cv_system_error14+set}" = set; then :
17601   $as_echo_n "(cached) " >&6
17602 else
17603
17604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17605 /* end confdefs.h.  */
17606 #include <errno.h>
17607 int
17608 main ()
17609 {
17610 int i = ETXTBSY;
17611   ;
17612   return 0;
17613 }
17614 _ACEOF
17615 if ac_fn_c_try_compile "$LINENO"; then :
17616   glibcxx_cv_system_error14=yes
17617 else
17618   glibcxx_cv_system_error14=no
17619 fi
17620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17621
17622 fi
17623
17624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17625 $as_echo "$glibcxx_cv_system_error14" >&6; }
17626 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17627
17628 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17629
17630 fi
17631
17632
17633
17634 # For the streamoff typedef.
17635
17636
17637
17638   ac_ext=cpp
17639 ac_cpp='$CXXCPP $CPPFLAGS'
17640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17643
17644
17645   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
17646 $as_echo_n "checking for int64_t... " >&6; }
17647   if test "${glibcxx_cv_INT64_T+set}" = set; then :
17648   $as_echo_n "(cached) " >&6
17649 else
17650
17651     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17652 /* end confdefs.h.  */
17653 #include <stdint.h>
17654 int
17655 main ()
17656 {
17657 int64_t var;
17658   ;
17659   return 0;
17660 }
17661 _ACEOF
17662 if ac_fn_cxx_try_compile "$LINENO"; then :
17663   glibcxx_cv_INT64_T=yes
17664 else
17665   glibcxx_cv_INT64_T=no
17666 fi
17667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17668
17669 fi
17670
17671
17672   if test $glibcxx_cv_INT64_T = yes; then
17673
17674 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
17675
17676     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
17677 $as_echo "$glibcxx_cv_INT64_T" >&6; }
17678
17679     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
17680 $as_echo_n "checking for int64_t as long... " >&6; }
17681     if test "${glibcxx_cv_int64_t_long+set}" = set; then :
17682   $as_echo_n "(cached) " >&6
17683 else
17684
17685       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17686 /* end confdefs.h.  */
17687 #include <stdint.h>
17688         template<typename, typename> struct same { enum { value = -1 }; };
17689         template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17690         int array[same<int64_t, long>::value];
17691 int
17692 main ()
17693 {
17694
17695   ;
17696   return 0;
17697 }
17698 _ACEOF
17699 if ac_fn_cxx_try_compile "$LINENO"; then :
17700   glibcxx_cv_int64_t_long=yes
17701 else
17702   glibcxx_cv_int64_t_long=no
17703 fi
17704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17705
17706 fi
17707
17708
17709     if test $glibcxx_cv_int64_t_long = yes; then
17710
17711 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
17712
17713       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
17714 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
17715     fi
17716
17717     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
17718 $as_echo_n "checking for int64_t as long long... " >&6; }
17719     if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
17720   $as_echo_n "(cached) " >&6
17721 else
17722
17723       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17724 /* end confdefs.h.  */
17725 #include <stdint.h>
17726         template<typename, typename> struct same { enum { value = -1 }; };
17727         template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17728         int array[same<int64_t, long long>::value];
17729 int
17730 main ()
17731 {
17732
17733   ;
17734   return 0;
17735 }
17736 _ACEOF
17737 if ac_fn_cxx_try_compile "$LINENO"; then :
17738   glibcxx_cv_int64_t_long_long=yes
17739 else
17740   glibcxx_cv_int64_t_long_long=no
17741 fi
17742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17743
17744 fi
17745
17746
17747     if test $glibcxx_cv_int64_t_long_long = yes; then
17748
17749 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
17750
17751       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
17752 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
17753     fi
17754   fi
17755
17756   ac_ext=c
17757 ac_cpp='$CPP $CPPFLAGS'
17758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17761
17762
17763
17764 # For LFS support.
17765
17766
17767   ac_ext=cpp
17768 ac_cpp='$CXXCPP $CPPFLAGS'
17769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17772
17773   ac_save_CXXFLAGS="$CXXFLAGS"
17774   CXXFLAGS="$CXXFLAGS -fno-exceptions"
17775   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
17776 $as_echo_n "checking for LFS support... " >&6; }
17777   if test "${glibcxx_cv_LFS+set}" = set; then :
17778   $as_echo_n "(cached) " >&6
17779 else
17780
17781     if test x$gcc_no_link = xyes; then
17782   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17783 /* end confdefs.h.  */
17784 #include <unistd.h>
17785        #include <stdio.h>
17786        #include <sys/stat.h>
17787
17788 int
17789 main ()
17790 {
17791 FILE* fp;
17792        fopen64("t", "w");
17793        fseeko64(fp, 0, SEEK_CUR);
17794        ftello64(fp);
17795        lseek64(1, 0, SEEK_CUR);
17796        struct stat64 buf;
17797        fstat64(1, &buf);
17798   ;
17799   return 0;
17800 }
17801 _ACEOF
17802 if ac_fn_cxx_try_compile "$LINENO"; then :
17803   glibcxx_cv_LFS=yes
17804 else
17805   glibcxx_cv_LFS=no
17806 fi
17807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17808 else
17809   if test x$gcc_no_link = xyes; then
17810   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17811 fi
17812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17813 /* end confdefs.h.  */
17814 #include <unistd.h>
17815        #include <stdio.h>
17816        #include <sys/stat.h>
17817
17818 int
17819 main ()
17820 {
17821 FILE* fp;
17822        fopen64("t", "w");
17823        fseeko64(fp, 0, SEEK_CUR);
17824        ftello64(fp);
17825        lseek64(1, 0, SEEK_CUR);
17826        struct stat64 buf;
17827        fstat64(1, &buf);
17828   ;
17829   return 0;
17830 }
17831 _ACEOF
17832 if ac_fn_cxx_try_link "$LINENO"; then :
17833   glibcxx_cv_LFS=yes
17834 else
17835   glibcxx_cv_LFS=no
17836 fi
17837 rm -f core conftest.err conftest.$ac_objext \
17838     conftest$ac_exeext conftest.$ac_ext
17839 fi
17840
17841 fi
17842
17843   if test $glibcxx_cv_LFS = yes; then
17844
17845 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
17846
17847   fi
17848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
17849 $as_echo "$glibcxx_cv_LFS" >&6; }
17850   CXXFLAGS="$ac_save_CXXFLAGS"
17851   ac_ext=c
17852 ac_cpp='$CPP $CPPFLAGS'
17853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17856
17857
17858
17859 # For showmanyc_helper().
17860 for ac_header in sys/ioctl.h sys/filio.h
17861 do :
17862   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17863 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17864 eval as_val=\$$as_ac_Header
17865    if test "x$as_val" = x""yes; then :
17866   cat >>confdefs.h <<_ACEOF
17867 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17868 _ACEOF
17869
17870 fi
17871
17872 done
17873
17874
17875
17876
17877   ac_ext=cpp
17878 ac_cpp='$CXXCPP $CPPFLAGS'
17879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17882
17883   ac_save_CXXFLAGS="$CXXFLAGS"
17884   CXXFLAGS="$CXXFLAGS -fno-exceptions"
17885
17886   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
17887 $as_echo_n "checking for poll... " >&6; }
17888   if test "${glibcxx_cv_POLL+set}" = set; then :
17889   $as_echo_n "(cached) " >&6
17890 else
17891
17892     if test x$gcc_no_link = xyes; then
17893   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17894 /* end confdefs.h.  */
17895 #include <poll.h>
17896 int
17897 main ()
17898 {
17899 struct pollfd pfd[1];
17900        pfd[0].events = POLLIN;
17901        poll(pfd, 1, 0);
17902   ;
17903   return 0;
17904 }
17905 _ACEOF
17906 if ac_fn_cxx_try_compile "$LINENO"; then :
17907   glibcxx_cv_POLL=yes
17908 else
17909   glibcxx_cv_POLL=no
17910 fi
17911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17912 else
17913   if test x$gcc_no_link = xyes; then
17914   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17915 fi
17916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17917 /* end confdefs.h.  */
17918 #include <poll.h>
17919 int
17920 main ()
17921 {
17922 struct pollfd pfd[1];
17923        pfd[0].events = POLLIN;
17924        poll(pfd, 1, 0);
17925   ;
17926   return 0;
17927 }
17928 _ACEOF
17929 if ac_fn_cxx_try_link "$LINENO"; then :
17930   glibcxx_cv_POLL=yes
17931 else
17932   glibcxx_cv_POLL=no
17933 fi
17934 rm -f core conftest.err conftest.$ac_objext \
17935     conftest$ac_exeext conftest.$ac_ext
17936 fi
17937
17938 fi
17939
17940   if test $glibcxx_cv_POLL = yes; then
17941
17942 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17943
17944   fi
17945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
17946 $as_echo "$glibcxx_cv_POLL" >&6; }
17947
17948   CXXFLAGS="$ac_save_CXXFLAGS"
17949   ac_ext=c
17950 ac_cpp='$CPP $CPPFLAGS'
17951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17954
17955
17956
17957
17958
17959   ac_ext=cpp
17960 ac_cpp='$CXXCPP $CPPFLAGS'
17961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17964
17965   ac_save_CXXFLAGS="$CXXFLAGS"
17966   CXXFLAGS="$CXXFLAGS -fno-exceptions"
17967
17968   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
17969 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
17970   if test "${glibcxx_cv_S_ISREG+set}" = set; then :
17971   $as_echo_n "(cached) " >&6
17972 else
17973
17974     if test x$gcc_no_link = xyes; then
17975   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17976 /* end confdefs.h.  */
17977 #include <sys/stat.h>
17978 int
17979 main ()
17980 {
17981 struct stat buffer;
17982        fstat(0, &buffer);
17983        S_ISREG(buffer.st_mode);
17984   ;
17985   return 0;
17986 }
17987 _ACEOF
17988 if ac_fn_cxx_try_compile "$LINENO"; then :
17989   glibcxx_cv_S_ISREG=yes
17990 else
17991   glibcxx_cv_S_ISREG=no
17992 fi
17993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17994 else
17995   if test x$gcc_no_link = xyes; then
17996   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17997 fi
17998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17999 /* end confdefs.h.  */
18000 #include <sys/stat.h>
18001 int
18002 main ()
18003 {
18004 struct stat buffer;
18005        fstat(0, &buffer);
18006        S_ISREG(buffer.st_mode);
18007   ;
18008   return 0;
18009 }
18010 _ACEOF
18011 if ac_fn_cxx_try_link "$LINENO"; then :
18012   glibcxx_cv_S_ISREG=yes
18013 else
18014   glibcxx_cv_S_ISREG=no
18015 fi
18016 rm -f core conftest.err conftest.$ac_objext \
18017     conftest$ac_exeext conftest.$ac_ext
18018 fi
18019
18020 fi
18021
18022   if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18023   $as_echo_n "(cached) " >&6
18024 else
18025
18026     if test x$gcc_no_link = xyes; then
18027   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18028 /* end confdefs.h.  */
18029 #include <sys/stat.h>
18030 int
18031 main ()
18032 {
18033 struct stat buffer;
18034        fstat(0, &buffer);
18035        S_IFREG & buffer.st_mode;
18036   ;
18037   return 0;
18038 }
18039 _ACEOF
18040 if ac_fn_cxx_try_compile "$LINENO"; then :
18041   glibcxx_cv_S_IFREG=yes
18042 else
18043   glibcxx_cv_S_IFREG=no
18044 fi
18045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18046 else
18047   if test x$gcc_no_link = xyes; then
18048   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18049 fi
18050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18051 /* end confdefs.h.  */
18052 #include <sys/stat.h>
18053 int
18054 main ()
18055 {
18056 struct stat buffer;
18057        fstat(0, &buffer);
18058        S_IFREG & buffer.st_mode;
18059   ;
18060   return 0;
18061 }
18062 _ACEOF
18063 if ac_fn_cxx_try_link "$LINENO"; then :
18064   glibcxx_cv_S_IFREG=yes
18065 else
18066   glibcxx_cv_S_IFREG=no
18067 fi
18068 rm -f core conftest.err conftest.$ac_objext \
18069     conftest$ac_exeext conftest.$ac_ext
18070 fi
18071
18072 fi
18073
18074   res=no
18075   if test $glibcxx_cv_S_ISREG = yes; then
18076
18077 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18078
18079     res=S_ISREG
18080   elif test $glibcxx_cv_S_IFREG = yes; then
18081
18082 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18083
18084     res=S_IFREG
18085   fi
18086   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18087 $as_echo "$res" >&6; }
18088
18089   CXXFLAGS="$ac_save_CXXFLAGS"
18090   ac_ext=c
18091 ac_cpp='$CPP $CPPFLAGS'
18092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18095
18096
18097
18098 # For xsputn_2().
18099 for ac_header in sys/uio.h
18100 do :
18101   ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18102 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18103   cat >>confdefs.h <<_ACEOF
18104 #define HAVE_SYS_UIO_H 1
18105 _ACEOF
18106
18107 fi
18108
18109 done
18110
18111
18112
18113
18114   ac_ext=cpp
18115 ac_cpp='$CXXCPP $CPPFLAGS'
18116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18119
18120   ac_save_CXXFLAGS="$CXXFLAGS"
18121   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18122
18123   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18124 $as_echo_n "checking for writev... " >&6; }
18125   if test "${glibcxx_cv_WRITEV+set}" = set; then :
18126   $as_echo_n "(cached) " >&6
18127 else
18128
18129     if test x$gcc_no_link = xyes; then
18130   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18131 /* end confdefs.h.  */
18132 #include <sys/uio.h>
18133 int
18134 main ()
18135 {
18136 struct iovec iov[2];
18137        writev(0, iov, 0);
18138   ;
18139   return 0;
18140 }
18141 _ACEOF
18142 if ac_fn_cxx_try_compile "$LINENO"; then :
18143   glibcxx_cv_WRITEV=yes
18144 else
18145   glibcxx_cv_WRITEV=no
18146 fi
18147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18148 else
18149   if test x$gcc_no_link = xyes; then
18150   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18151 fi
18152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18153 /* end confdefs.h.  */
18154 #include <sys/uio.h>
18155 int
18156 main ()
18157 {
18158 struct iovec iov[2];
18159        writev(0, iov, 0);
18160   ;
18161   return 0;
18162 }
18163 _ACEOF
18164 if ac_fn_cxx_try_link "$LINENO"; then :
18165   glibcxx_cv_WRITEV=yes
18166 else
18167   glibcxx_cv_WRITEV=no
18168 fi
18169 rm -f core conftest.err conftest.$ac_objext \
18170     conftest$ac_exeext conftest.$ac_ext
18171 fi
18172
18173 fi
18174
18175   if test $glibcxx_cv_WRITEV = yes; then
18176
18177 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18178
18179   fi
18180   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18181 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18182
18183   CXXFLAGS="$ac_save_CXXFLAGS"
18184   ac_ext=c
18185 ac_cpp='$CPP $CPPFLAGS'
18186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18189
18190
18191
18192 # For C99 support to TR1.
18193
18194
18195
18196   ac_ext=cpp
18197 ac_cpp='$CXXCPP $CPPFLAGS'
18198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18201
18202
18203   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18204   # undefined and fake C99 facilities may be spuriously enabled.
18205   ac_save_CXXFLAGS="$CXXFLAGS"
18206   CXXFLAGS="$CXXFLAGS -std=c++98"
18207
18208   # Check for the existence of <complex.h> complex math functions used
18209   # by tr1/complex.
18210   for ac_header in complex.h
18211 do :
18212   ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18213 if test "x$ac_cv_header_complex_h" = x""yes; then :
18214   cat >>confdefs.h <<_ACEOF
18215 #define HAVE_COMPLEX_H 1
18216 _ACEOF
18217  ac_has_complex_h=yes
18218 else
18219   ac_has_complex_h=no
18220 fi
18221
18222 done
18223
18224   ac_c99_complex_tr1=no;
18225   if test x"$ac_has_complex_h" = x"yes"; then
18226     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18227 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18228     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18229 /* end confdefs.h.  */
18230 #include <complex.h>
18231 int
18232 main ()
18233 {
18234 typedef __complex__ float float_type; float_type tmpf;
18235                     cacosf(tmpf);
18236                     casinf(tmpf);
18237                     catanf(tmpf);
18238                     cacoshf(tmpf);
18239                     casinhf(tmpf);
18240                     catanhf(tmpf);
18241                     typedef __complex__ double double_type; double_type tmpd;
18242                     cacos(tmpd);
18243                     casin(tmpd);
18244                     catan(tmpd);
18245                     cacosh(tmpd);
18246                     casinh(tmpd);
18247                     catanh(tmpd);
18248                     typedef __complex__ long double ld_type; ld_type tmpld;
18249                     cacosl(tmpld);
18250                     casinl(tmpld);
18251                     catanl(tmpld);
18252                     cacoshl(tmpld);
18253                     casinhl(tmpld);
18254                     catanhl(tmpld);
18255
18256   ;
18257   return 0;
18258 }
18259 _ACEOF
18260 if ac_fn_cxx_try_compile "$LINENO"; then :
18261   ac_c99_complex_tr1=yes
18262 else
18263   ac_c99_complex_tr1=no
18264 fi
18265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18266   fi
18267   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18268 $as_echo "$ac_c99_complex_tr1" >&6; }
18269   if test x"$ac_c99_complex_tr1" = x"yes"; then
18270
18271 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18272
18273   fi
18274
18275   # Check for the existence of <ctype.h> functions.
18276   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18277 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18278   if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18279   $as_echo_n "(cached) " >&6
18280 else
18281
18282   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18283 /* end confdefs.h.  */
18284 #include <ctype.h>
18285 int
18286 main ()
18287 {
18288 int ch;
18289                   int ret;
18290                   ret = isblank(ch);
18291
18292   ;
18293   return 0;
18294 }
18295 _ACEOF
18296 if ac_fn_cxx_try_compile "$LINENO"; then :
18297   glibcxx_cv_c99_ctype_tr1=yes
18298 else
18299   glibcxx_cv_c99_ctype_tr1=no
18300 fi
18301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18302
18303 fi
18304
18305   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18306 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18307   if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18308
18309 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18310
18311   fi
18312
18313   # Check for the existence of <fenv.h> functions.
18314   for ac_header in fenv.h
18315 do :
18316   ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18317 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18318   cat >>confdefs.h <<_ACEOF
18319 #define HAVE_FENV_H 1
18320 _ACEOF
18321  ac_has_fenv_h=yes
18322 else
18323   ac_has_fenv_h=no
18324 fi
18325
18326 done
18327
18328   ac_c99_fenv_tr1=no;
18329   if test x"$ac_has_fenv_h" = x"yes"; then
18330     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18331 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18332     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18333 /* end confdefs.h.  */
18334 #include <fenv.h>
18335 int
18336 main ()
18337 {
18338 int except, mode;
18339                     fexcept_t* pflag;
18340                     fenv_t* penv;
18341                     int ret;
18342                     ret = feclearexcept(except);
18343                     ret = fegetexceptflag(pflag, except);
18344                     ret = feraiseexcept(except);
18345                     ret = fesetexceptflag(pflag, except);
18346                     ret = fetestexcept(except);
18347                     ret = fegetround();
18348                     ret = fesetround(mode);
18349                     ret = fegetenv(penv);
18350                     ret = feholdexcept(penv);
18351                     ret = fesetenv(penv);
18352                     ret = feupdateenv(penv);
18353
18354   ;
18355   return 0;
18356 }
18357 _ACEOF
18358 if ac_fn_cxx_try_compile "$LINENO"; then :
18359   ac_c99_fenv_tr1=yes
18360 else
18361   ac_c99_fenv_tr1=no
18362 fi
18363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18364   fi
18365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18366 $as_echo "$ac_c99_fenv_tr1" >&6; }
18367   if test x"$ac_c99_fenv_tr1" = x"yes"; then
18368
18369 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18370
18371   fi
18372
18373   # Check for the existence of <stdint.h> types.
18374   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18375 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18376   if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18377   $as_echo_n "(cached) " >&6
18378 else
18379
18380   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18381 /* end confdefs.h.  */
18382 #define __STDC_LIMIT_MACROS
18383                   #define __STDC_CONSTANT_MACROS
18384                   #include <stdint.h>
18385 int
18386 main ()
18387 {
18388 typedef int8_t          my_int8_t;
18389                   my_int8_t               i8 = INT8_MIN;
18390                   i8 = INT8_MAX;
18391                   typedef int16_t         my_int16_t;
18392                   my_int16_t              i16 = INT16_MIN;
18393                   i16 = INT16_MAX;
18394                   typedef int32_t         my_int32_t;
18395                   my_int32_t              i32 = INT32_MIN;
18396                   i32 = INT32_MAX;
18397                   typedef int64_t         my_int64_t;
18398                   my_int64_t              i64 = INT64_MIN;
18399                   i64 = INT64_MAX;
18400                   typedef int_fast8_t     my_int_fast8_t;
18401                   my_int_fast8_t          if8 = INT_FAST8_MIN;
18402                   if8 = INT_FAST8_MAX;
18403                   typedef int_fast16_t    my_int_fast16_t;
18404                   my_int_fast16_t         if16 = INT_FAST16_MIN;
18405                   if16 = INT_FAST16_MAX;
18406                   typedef int_fast32_t    my_int_fast32_t;
18407                   my_int_fast32_t         if32 = INT_FAST32_MIN;
18408                   if32 = INT_FAST32_MAX;
18409                   typedef int_fast64_t    my_int_fast64_t;
18410                   my_int_fast64_t         if64 = INT_FAST64_MIN;
18411                   if64 = INT_FAST64_MAX;
18412                   typedef int_least8_t    my_int_least8_t;
18413                   my_int_least8_t         il8 = INT_LEAST8_MIN;
18414                   il8 = INT_LEAST8_MAX;
18415                   typedef int_least16_t   my_int_least16_t;
18416                   my_int_least16_t        il16 = INT_LEAST16_MIN;
18417                   il16 = INT_LEAST16_MAX;
18418                   typedef int_least32_t   my_int_least32_t;
18419                   my_int_least32_t        il32 = INT_LEAST32_MIN;
18420                   il32 = INT_LEAST32_MAX;
18421                   typedef int_least64_t   my_int_least64_t;
18422                   my_int_least64_t        il64 = INT_LEAST64_MIN;
18423                   il64 = INT_LEAST64_MAX;
18424                   typedef intmax_t        my_intmax_t;
18425                   my_intmax_t             im = INTMAX_MAX;
18426                   im = INTMAX_MIN;
18427                   typedef intptr_t        my_intptr_t;
18428                   my_intptr_t             ip = INTPTR_MAX;
18429                   ip = INTPTR_MIN;
18430                   typedef uint8_t         my_uint8_t;
18431                   my_uint8_t              ui8 = UINT8_MAX;
18432                   ui8 = UINT8_MAX;
18433                   typedef uint16_t        my_uint16_t;
18434                   my_uint16_t             ui16 = UINT16_MAX;
18435                   ui16 = UINT16_MAX;
18436                   typedef uint32_t        my_uint32_t;
18437                   my_uint32_t             ui32 = UINT32_MAX;
18438                   ui32 = UINT32_MAX;
18439                   typedef uint64_t        my_uint64_t;
18440                   my_uint64_t             ui64 = UINT64_MAX;
18441                   ui64 = UINT64_MAX;
18442                   typedef uint_fast8_t    my_uint_fast8_t;
18443                   my_uint_fast8_t         uif8 = UINT_FAST8_MAX;
18444                   uif8 = UINT_FAST8_MAX;
18445                   typedef uint_fast16_t   my_uint_fast16_t;
18446                   my_uint_fast16_t        uif16 = UINT_FAST16_MAX;
18447                   uif16 = UINT_FAST16_MAX;
18448                   typedef uint_fast32_t   my_uint_fast32_t;
18449                   my_uint_fast32_t        uif32 = UINT_FAST32_MAX;
18450                   uif32 = UINT_FAST32_MAX;
18451                   typedef uint_fast64_t   my_uint_fast64_t;
18452                   my_uint_fast64_t        uif64 = UINT_FAST64_MAX;
18453                   uif64 = UINT_FAST64_MAX;
18454                   typedef uint_least8_t   my_uint_least8_t;
18455                   my_uint_least8_t        uil8 = UINT_LEAST8_MAX;
18456                   uil8 = UINT_LEAST8_MAX;
18457                   typedef uint_least16_t  my_uint_least16_t;
18458                   my_uint_least16_t       uil16 = UINT_LEAST16_MAX;
18459                   uil16 = UINT_LEAST16_MAX;
18460                   typedef uint_least32_t  my_uint_least32_t;
18461                   my_uint_least32_t       uil32 = UINT_LEAST32_MAX;
18462                   uil32 = UINT_LEAST32_MAX;
18463                   typedef uint_least64_t  my_uint_least64_t;
18464                   my_uint_least64_t       uil64 = UINT_LEAST64_MAX;
18465                   uil64 = UINT_LEAST64_MAX;
18466                   typedef uintmax_t       my_uintmax_t;
18467                   my_uintmax_t            uim = UINTMAX_MAX;
18468                   uim = UINTMAX_MAX;
18469                   typedef uintptr_t       my_uintptr_t;
18470                   my_uintptr_t            uip = UINTPTR_MAX;
18471                   uip = UINTPTR_MAX;
18472
18473   ;
18474   return 0;
18475 }
18476 _ACEOF
18477 if ac_fn_cxx_try_compile "$LINENO"; then :
18478   glibcxx_cv_c99_stdint_tr1=yes
18479 else
18480   glibcxx_cv_c99_stdint_tr1=no
18481 fi
18482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18483
18484 fi
18485
18486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18487 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18488   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18489
18490 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18491
18492   fi
18493
18494   # Check for the existence of <math.h> functions.
18495   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18496 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18497   if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18498   $as_echo_n "(cached) " >&6
18499 else
18500
18501   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18502 /* end confdefs.h.  */
18503 #include <math.h>
18504 int
18505 main ()
18506 {
18507 typedef double_t  my_double_t;
18508                   typedef float_t   my_float_t;
18509                   acosh(0.0);
18510                   acoshf(0.0f);
18511                   acoshl(0.0l);
18512                   asinh(0.0);
18513                   asinhf(0.0f);
18514                   asinhl(0.0l);
18515                   atanh(0.0);
18516                   atanhf(0.0f);
18517                   atanhl(0.0l);
18518                   cbrt(0.0);
18519                   cbrtf(0.0f);
18520                   cbrtl(0.0l);
18521                   copysign(0.0, 0.0);
18522                   copysignf(0.0f, 0.0f);
18523                   copysignl(0.0l, 0.0l);
18524                   erf(0.0);
18525                   erff(0.0f);
18526                   erfl(0.0l);
18527                   erfc(0.0);
18528                   erfcf(0.0f);
18529                   erfcl(0.0l);
18530                   exp2(0.0);
18531                   exp2f(0.0f);
18532                   exp2l(0.0l);
18533                   expm1(0.0);
18534                   expm1f(0.0f);
18535                   expm1l(0.0l);
18536                   fdim(0.0, 0.0);
18537                   fdimf(0.0f, 0.0f);
18538                   fdiml(0.0l, 0.0l);
18539                   fma(0.0, 0.0, 0.0);
18540                   fmaf(0.0f, 0.0f, 0.0f);
18541                   fmal(0.0l, 0.0l, 0.0l);
18542                   fmax(0.0, 0.0);
18543                   fmaxf(0.0f, 0.0f);
18544                   fmaxl(0.0l, 0.0l);
18545                   fmin(0.0, 0.0);
18546                   fminf(0.0f, 0.0f);
18547                   fminl(0.0l, 0.0l);
18548                   hypot(0.0, 0.0);
18549                   hypotf(0.0f, 0.0f);
18550                   hypotl(0.0l, 0.0l);
18551                   ilogb(0.0);
18552                   ilogbf(0.0f);
18553                   ilogbl(0.0l);
18554                   lgamma(0.0);
18555                   lgammaf(0.0f);
18556                   lgammal(0.0l);
18557                   llrint(0.0);
18558                   llrintf(0.0f);
18559                   llrintl(0.0l);
18560                   llround(0.0);
18561                   llroundf(0.0f);
18562                   llroundl(0.0l);
18563                   log1p(0.0);
18564                   log1pf(0.0f);
18565                   log1pl(0.0l);
18566                   log2(0.0);
18567                   log2f(0.0f);
18568                   log2l(0.0l);
18569                   logb(0.0);
18570                   logbf(0.0f);
18571                   logbl(0.0l);
18572                   lrint(0.0);
18573                   lrintf(0.0f);
18574                   lrintl(0.0l);
18575                   lround(0.0);
18576                   lroundf(0.0f);
18577                   lroundl(0.0l);
18578                   nan(0);
18579                   nanf(0);
18580                   nanl(0);
18581                   nearbyint(0.0);
18582                   nearbyintf(0.0f);
18583                   nearbyintl(0.0l);
18584                   nextafter(0.0, 0.0);
18585                   nextafterf(0.0f, 0.0f);
18586                   nextafterl(0.0l, 0.0l);
18587                   nexttoward(0.0, 0.0);
18588                   nexttowardf(0.0f, 0.0f);
18589                   nexttowardl(0.0l, 0.0l);
18590                   remainder(0.0, 0.0);
18591                   remainderf(0.0f, 0.0f);
18592                   remainderl(0.0l, 0.0l);
18593                   remquo(0.0, 0.0, 0);
18594                   remquof(0.0f, 0.0f, 0);
18595                   remquol(0.0l, 0.0l, 0);
18596                   rint(0.0);
18597                   rintf(0.0f);
18598                   rintl(0.0l);
18599                   round(0.0);
18600                   roundf(0.0f);
18601                   roundl(0.0l);
18602                   scalbln(0.0, 0l);
18603                   scalblnf(0.0f, 0l);
18604                   scalblnl(0.0l, 0l);
18605                   scalbn(0.0, 0);
18606                   scalbnf(0.0f, 0);
18607                   scalbnl(0.0l, 0);
18608                   tgamma(0.0);
18609                   tgammaf(0.0f);
18610                   tgammal(0.0l);
18611                   trunc(0.0);
18612                   truncf(0.0f);
18613                   truncl(0.0l);
18614
18615   ;
18616   return 0;
18617 }
18618 _ACEOF
18619 if ac_fn_cxx_try_compile "$LINENO"; then :
18620   glibcxx_cv_c99_math_tr1=yes
18621 else
18622   glibcxx_cv_c99_math_tr1=no
18623 fi
18624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18625
18626 fi
18627
18628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
18629 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
18630   if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
18631
18632 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
18633
18634   fi
18635
18636   # Check for the existence of <inttypes.h> functions (NB: doesn't make
18637   # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18638   ac_c99_inttypes_tr1=no;
18639   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18640     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
18641 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18642     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18643 /* end confdefs.h.  */
18644 #include <inttypes.h>
18645 int
18646 main ()
18647 {
18648 intmax_t i, numer, denom, base;
18649                     const char* s;
18650                     char** endptr;
18651                     intmax_t ret = imaxabs(i);
18652                     imaxdiv_t dret = imaxdiv(numer, denom);
18653                     ret = strtoimax(s, endptr, base);
18654                     uintmax_t uret = strtoumax(s, endptr, base);
18655
18656   ;
18657   return 0;
18658 }
18659 _ACEOF
18660 if ac_fn_cxx_try_compile "$LINENO"; then :
18661   ac_c99_inttypes_tr1=yes
18662 else
18663   ac_c99_inttypes_tr1=no
18664 fi
18665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18666   fi
18667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
18668 $as_echo "$ac_c99_inttypes_tr1" >&6; }
18669   if test x"$ac_c99_inttypes_tr1" = x"yes"; then
18670
18671 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
18672
18673   fi
18674
18675   # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
18676   # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18677   ac_c99_inttypes_wchar_t_tr1=no;
18678   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18679     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
18680 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18681     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18682 /* end confdefs.h.  */
18683 #include <inttypes.h>
18684 int
18685 main ()
18686 {
18687 intmax_t base;
18688                     const wchar_t* s;
18689                     wchar_t** endptr;
18690                     intmax_t ret = wcstoimax(s, endptr, base);
18691                     uintmax_t uret = wcstoumax(s, endptr, base);
18692
18693   ;
18694   return 0;
18695 }
18696 _ACEOF
18697 if ac_fn_cxx_try_compile "$LINENO"; then :
18698   ac_c99_inttypes_wchar_t_tr1=yes
18699 else
18700   ac_c99_inttypes_wchar_t_tr1=no
18701 fi
18702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18703   fi
18704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
18705 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
18706   if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
18707
18708 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
18709
18710   fi
18711
18712   # Check for the existence of the <stdbool.h> header.
18713   for ac_header in stdbool.h
18714 do :
18715   ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
18716 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
18717   cat >>confdefs.h <<_ACEOF
18718 #define HAVE_STDBOOL_H 1
18719 _ACEOF
18720
18721 fi
18722
18723 done
18724
18725
18726   CXXFLAGS="$ac_save_CXXFLAGS"
18727   ac_ext=c
18728 ac_cpp='$CPP $CPPFLAGS'
18729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18732
18733
18734
18735 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
18736
18737
18738   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
18739 $as_echo_n "checking for the value of EOF... " >&6; }
18740 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
18741   $as_echo_n "(cached) " >&6
18742 else
18743
18744   if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof"        "#include <stdio.h>"; then :
18745
18746 else
18747   as_fn_error "computing EOF failed" "$LINENO" 5
18748 fi
18749
18750
18751 fi
18752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
18753 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
18754
18755 cat >>confdefs.h <<_ACEOF
18756 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
18757 _ACEOF
18758
18759
18760   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
18761 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
18762 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
18763   $as_echo_n "(cached) " >&6
18764 else
18765
18766   if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur"        "#include <stdio.h>"; then :
18767
18768 else
18769   as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
18770 fi
18771
18772
18773 fi
18774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
18775 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
18776
18777 cat >>confdefs.h <<_ACEOF
18778 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
18779 _ACEOF
18780
18781
18782   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
18783 $as_echo_n "checking for the value of SEEK_END... " >&6; }
18784 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
18785   $as_echo_n "(cached) " >&6
18786 else
18787
18788   if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end"        "#include <stdio.h>"; then :
18789
18790 else
18791   as_fn_error "computing SEEK_END failed" "$LINENO" 5
18792 fi
18793
18794
18795 fi
18796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
18797 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
18798
18799 cat >>confdefs.h <<_ACEOF
18800 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
18801 _ACEOF
18802
18803
18804
18805 # For gettimeofday support.
18806
18807
18808   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18809 $as_echo_n "checking for gettimeofday... " >&6; }
18810
18811
18812   ac_ext=cpp
18813 ac_cpp='$CXXCPP $CPPFLAGS'
18814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18817
18818   ac_save_CXXFLAGS="$CXXFLAGS"
18819   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18820
18821   ac_has_gettimeofday=no;
18822   for ac_header in sys/time.h
18823 do :
18824   ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
18825 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
18826   cat >>confdefs.h <<_ACEOF
18827 #define HAVE_SYS_TIME_H 1
18828 _ACEOF
18829  ac_has_sys_time_h=yes
18830 else
18831   ac_has_sys_time_h=no
18832 fi
18833
18834 done
18835
18836   if test x"$ac_has_sys_time_h" = x"yes"; then
18837     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18838 $as_echo_n "checking for gettimeofday... " >&6; }
18839     if test x$gcc_no_link = xyes; then
18840   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18841 /* end confdefs.h.  */
18842 #include <sys/time.h>
18843 int
18844 main ()
18845 {
18846 timeval tv; gettimeofday(&tv, 0);
18847   ;
18848   return 0;
18849 }
18850 _ACEOF
18851 if ac_fn_cxx_try_compile "$LINENO"; then :
18852   ac_has_gettimeofday=yes
18853 else
18854   ac_has_gettimeofday=no
18855 fi
18856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18857 else
18858   if test x$gcc_no_link = xyes; then
18859   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18860 fi
18861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18862 /* end confdefs.h.  */
18863 #include <sys/time.h>
18864 int
18865 main ()
18866 {
18867 timeval tv; gettimeofday(&tv, 0);
18868   ;
18869   return 0;
18870 }
18871 _ACEOF
18872 if ac_fn_cxx_try_link "$LINENO"; then :
18873   ac_has_gettimeofday=yes
18874 else
18875   ac_has_gettimeofday=no
18876 fi
18877 rm -f core conftest.err conftest.$ac_objext \
18878     conftest$ac_exeext conftest.$ac_ext
18879 fi
18880
18881     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
18882 $as_echo "$ac_has_gettimeofday" >&6; }
18883   fi
18884
18885   if test x"$ac_has_gettimeofday" = x"yes"; then
18886
18887 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
18888
18889   fi
18890
18891   CXXFLAGS="$ac_save_CXXFLAGS"
18892   ac_ext=c
18893 ac_cpp='$CPP $CPPFLAGS'
18894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18897
18898
18899
18900 # For clock_gettime, nanosleep and sched_yield support.
18901 # NB: The default is [no], because otherwise it requires linking.
18902
18903
18904   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
18905 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
18906    # Check whether --enable-libstdcxx-time was given.
18907 if test "${enable_libstdcxx_time+set}" = set; then :
18908   enableval=$enable_libstdcxx_time;
18909       case "$enableval" in
18910        yes|no|rt) ;;
18911        *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
18912                         esac
18913
18914 else
18915   enable_libstdcxx_time=no
18916 fi
18917
18918
18919
18920
18921   ac_ext=cpp
18922 ac_cpp='$CXXCPP $CPPFLAGS'
18923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18926
18927   ac_save_CXXFLAGS="$CXXFLAGS"
18928   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18929   ac_save_LIBS="$LIBS"
18930
18931   ac_has_clock_monotonic=no
18932   ac_has_clock_realtime=no
18933   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
18934 $as_echo "$enable_libstdcxx_time" >&6; }
18935
18936   if test x"$enable_libstdcxx_time" != x"no"; then
18937
18938     if test x"$enable_libstdcxx_time" = x"rt"; then
18939       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18940 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18941 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18942   $as_echo_n "(cached) " >&6
18943 else
18944   ac_func_search_save_LIBS=$LIBS
18945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18946 /* end confdefs.h.  */
18947
18948 /* Override any GCC internal prototype to avoid an error.
18949    Use char because int might match the return type of a GCC
18950    builtin and then its argument prototype would still apply.  */
18951 #ifdef __cplusplus
18952 extern "C"
18953 #endif
18954 char clock_gettime ();
18955 int
18956 main ()
18957 {
18958 return clock_gettime ();
18959   ;
18960   return 0;
18961 }
18962 _ACEOF
18963 for ac_lib in '' rt posix4; do
18964   if test -z "$ac_lib"; then
18965     ac_res="none required"
18966   else
18967     ac_res=-l$ac_lib
18968     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
18969   fi
18970   if test x$gcc_no_link = xyes; then
18971   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18972 fi
18973 if ac_fn_cxx_try_link "$LINENO"; then :
18974   ac_cv_search_clock_gettime=$ac_res
18975 fi
18976 rm -f core conftest.err conftest.$ac_objext \
18977     conftest$ac_exeext
18978   if test "${ac_cv_search_clock_gettime+set}" = set; then :
18979   break
18980 fi
18981 done
18982 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18983
18984 else
18985   ac_cv_search_clock_gettime=no
18986 fi
18987 rm conftest.$ac_ext
18988 LIBS=$ac_func_search_save_LIBS
18989 fi
18990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18991 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18992 ac_res=$ac_cv_search_clock_gettime
18993 if test "$ac_res" != no; then :
18994   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18995
18996 fi
18997
18998       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
18999 $as_echo_n "checking for library containing nanosleep... " >&6; }
19000 if test "${ac_cv_search_nanosleep+set}" = set; then :
19001   $as_echo_n "(cached) " >&6
19002 else
19003   ac_func_search_save_LIBS=$LIBS
19004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19005 /* end confdefs.h.  */
19006
19007 /* Override any GCC internal prototype to avoid an error.
19008    Use char because int might match the return type of a GCC
19009    builtin and then its argument prototype would still apply.  */
19010 #ifdef __cplusplus
19011 extern "C"
19012 #endif
19013 char nanosleep ();
19014 int
19015 main ()
19016 {
19017 return nanosleep ();
19018   ;
19019   return 0;
19020 }
19021 _ACEOF
19022 for ac_lib in '' rt posix4; do
19023   if test -z "$ac_lib"; then
19024     ac_res="none required"
19025   else
19026     ac_res=-l$ac_lib
19027     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19028   fi
19029   if test x$gcc_no_link = xyes; then
19030   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19031 fi
19032 if ac_fn_cxx_try_link "$LINENO"; then :
19033   ac_cv_search_nanosleep=$ac_res
19034 fi
19035 rm -f core conftest.err conftest.$ac_objext \
19036     conftest$ac_exeext
19037   if test "${ac_cv_search_nanosleep+set}" = set; then :
19038   break
19039 fi
19040 done
19041 if test "${ac_cv_search_nanosleep+set}" = set; then :
19042
19043 else
19044   ac_cv_search_nanosleep=no
19045 fi
19046 rm conftest.$ac_ext
19047 LIBS=$ac_func_search_save_LIBS
19048 fi
19049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19050 $as_echo "$ac_cv_search_nanosleep" >&6; }
19051 ac_res=$ac_cv_search_nanosleep
19052 if test "$ac_res" != no; then :
19053   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19054
19055 fi
19056
19057     else
19058       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19059 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19060 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19061   $as_echo_n "(cached) " >&6
19062 else
19063   ac_func_search_save_LIBS=$LIBS
19064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19065 /* end confdefs.h.  */
19066
19067 /* Override any GCC internal prototype to avoid an error.
19068    Use char because int might match the return type of a GCC
19069    builtin and then its argument prototype would still apply.  */
19070 #ifdef __cplusplus
19071 extern "C"
19072 #endif
19073 char clock_gettime ();
19074 int
19075 main ()
19076 {
19077 return clock_gettime ();
19078   ;
19079   return 0;
19080 }
19081 _ACEOF
19082 for ac_lib in '' posix4; do
19083   if test -z "$ac_lib"; then
19084     ac_res="none required"
19085   else
19086     ac_res=-l$ac_lib
19087     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19088   fi
19089   if test x$gcc_no_link = xyes; then
19090   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19091 fi
19092 if ac_fn_cxx_try_link "$LINENO"; then :
19093   ac_cv_search_clock_gettime=$ac_res
19094 fi
19095 rm -f core conftest.err conftest.$ac_objext \
19096     conftest$ac_exeext
19097   if test "${ac_cv_search_clock_gettime+set}" = set; then :
19098   break
19099 fi
19100 done
19101 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19102
19103 else
19104   ac_cv_search_clock_gettime=no
19105 fi
19106 rm conftest.$ac_ext
19107 LIBS=$ac_func_search_save_LIBS
19108 fi
19109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19110 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19111 ac_res=$ac_cv_search_clock_gettime
19112 if test "$ac_res" != no; then :
19113   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19114
19115 fi
19116
19117       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19118 $as_echo_n "checking for library containing nanosleep... " >&6; }
19119 if test "${ac_cv_search_nanosleep+set}" = set; then :
19120   $as_echo_n "(cached) " >&6
19121 else
19122   ac_func_search_save_LIBS=$LIBS
19123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19124 /* end confdefs.h.  */
19125
19126 /* Override any GCC internal prototype to avoid an error.
19127    Use char because int might match the return type of a GCC
19128    builtin and then its argument prototype would still apply.  */
19129 #ifdef __cplusplus
19130 extern "C"
19131 #endif
19132 char nanosleep ();
19133 int
19134 main ()
19135 {
19136 return nanosleep ();
19137   ;
19138   return 0;
19139 }
19140 _ACEOF
19141 for ac_lib in '' posix4; do
19142   if test -z "$ac_lib"; then
19143     ac_res="none required"
19144   else
19145     ac_res=-l$ac_lib
19146     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19147   fi
19148   if test x$gcc_no_link = xyes; then
19149   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19150 fi
19151 if ac_fn_cxx_try_link "$LINENO"; then :
19152   ac_cv_search_nanosleep=$ac_res
19153 fi
19154 rm -f core conftest.err conftest.$ac_objext \
19155     conftest$ac_exeext
19156   if test "${ac_cv_search_nanosleep+set}" = set; then :
19157   break
19158 fi
19159 done
19160 if test "${ac_cv_search_nanosleep+set}" = set; then :
19161
19162 else
19163   ac_cv_search_nanosleep=no
19164 fi
19165 rm conftest.$ac_ext
19166 LIBS=$ac_func_search_save_LIBS
19167 fi
19168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19169 $as_echo "$ac_cv_search_nanosleep" >&6; }
19170 ac_res=$ac_cv_search_nanosleep
19171 if test "$ac_res" != no; then :
19172   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19173
19174 fi
19175
19176     fi
19177
19178     case "$ac_cv_search_clock_gettime" in
19179       -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19180       ;;
19181     esac
19182     case "$ac_cv_search_nanosleep" in
19183       -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19184       ;;
19185     esac
19186
19187     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19188 $as_echo_n "checking for library containing sched_yield... " >&6; }
19189 if test "${ac_cv_search_sched_yield+set}" = set; then :
19190   $as_echo_n "(cached) " >&6
19191 else
19192   ac_func_search_save_LIBS=$LIBS
19193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19194 /* end confdefs.h.  */
19195
19196 /* Override any GCC internal prototype to avoid an error.
19197    Use char because int might match the return type of a GCC
19198    builtin and then its argument prototype would still apply.  */
19199 #ifdef __cplusplus
19200 extern "C"
19201 #endif
19202 char sched_yield ();
19203 int
19204 main ()
19205 {
19206 return sched_yield ();
19207   ;
19208   return 0;
19209 }
19210 _ACEOF
19211 for ac_lib in '' rt posix4; do
19212   if test -z "$ac_lib"; then
19213     ac_res="none required"
19214   else
19215     ac_res=-l$ac_lib
19216     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19217   fi
19218   if test x$gcc_no_link = xyes; then
19219   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19220 fi
19221 if ac_fn_cxx_try_link "$LINENO"; then :
19222   ac_cv_search_sched_yield=$ac_res
19223 fi
19224 rm -f core conftest.err conftest.$ac_objext \
19225     conftest$ac_exeext
19226   if test "${ac_cv_search_sched_yield+set}" = set; then :
19227   break
19228 fi
19229 done
19230 if test "${ac_cv_search_sched_yield+set}" = set; then :
19231
19232 else
19233   ac_cv_search_sched_yield=no
19234 fi
19235 rm conftest.$ac_ext
19236 LIBS=$ac_func_search_save_LIBS
19237 fi
19238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19239 $as_echo "$ac_cv_search_sched_yield" >&6; }
19240 ac_res=$ac_cv_search_sched_yield
19241 if test "$ac_res" != no; then :
19242   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19243
19244 fi
19245
19246
19247     case "$ac_cv_search_sched_yield" in
19248       -lposix4*)
19249       GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19250
19251 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19252
19253       ;;
19254       -lrt*)
19255       if test x"$enable_libstdcxx_time" = x"rt"; then
19256         GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19257
19258 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19259
19260       fi
19261       ;;
19262       *)
19263
19264 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19265
19266       ;;
19267     esac
19268
19269     for ac_header in unistd.h
19270 do :
19271   ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19272 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19273   cat >>confdefs.h <<_ACEOF
19274 #define HAVE_UNISTD_H 1
19275 _ACEOF
19276  ac_has_unistd_h=yes
19277 else
19278   ac_has_unistd_h=no
19279 fi
19280
19281 done
19282
19283
19284     if test x"$ac_has_unistd_h" = x"yes"; then
19285       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19286 $as_echo_n "checking for monotonic clock... " >&6; }
19287       if test x$gcc_no_link = xyes; then
19288   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19289 fi
19290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19291 /* end confdefs.h.  */
19292 #include <unistd.h>
19293          #include <time.h>
19294
19295 int
19296 main ()
19297 {
19298 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19299           timespec tp;
19300          #endif
19301           clock_gettime(CLOCK_MONOTONIC, &tp);
19302
19303   ;
19304   return 0;
19305 }
19306 _ACEOF
19307 if ac_fn_cxx_try_link "$LINENO"; then :
19308   ac_has_clock_monotonic=yes
19309 else
19310   ac_has_clock_monotonic=no
19311 fi
19312 rm -f core conftest.err conftest.$ac_objext \
19313     conftest$ac_exeext conftest.$ac_ext
19314
19315       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19316 $as_echo "$ac_has_clock_monotonic" >&6; }
19317
19318       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19319 $as_echo_n "checking for realtime clock... " >&6; }
19320       if test x$gcc_no_link = xyes; then
19321   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19322 fi
19323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19324 /* end confdefs.h.  */
19325 #include <unistd.h>
19326          #include <time.h>
19327
19328 int
19329 main ()
19330 {
19331 #if _POSIX_TIMERS > 0
19332           timespec tp;
19333          #endif
19334           clock_gettime(CLOCK_REALTIME, &tp);
19335
19336   ;
19337   return 0;
19338 }
19339 _ACEOF
19340 if ac_fn_cxx_try_link "$LINENO"; then :
19341   ac_has_clock_realtime=yes
19342 else
19343   ac_has_clock_realtime=no
19344 fi
19345 rm -f core conftest.err conftest.$ac_objext \
19346     conftest$ac_exeext conftest.$ac_ext
19347
19348       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19349 $as_echo "$ac_has_clock_realtime" >&6; }
19350
19351       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19352 $as_echo_n "checking for nanosleep... " >&6; }
19353       if test x$gcc_no_link = xyes; then
19354   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19355 fi
19356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19357 /* end confdefs.h.  */
19358 #include <unistd.h>
19359          #include <time.h>
19360
19361 int
19362 main ()
19363 {
19364 #if _POSIX_TIMERS > 0
19365           timespec tp;
19366          #endif
19367           nanosleep(&tp, 0);
19368
19369   ;
19370   return 0;
19371 }
19372 _ACEOF
19373 if ac_fn_cxx_try_link "$LINENO"; then :
19374   ac_has_nanosleep=yes
19375 else
19376   ac_has_nanosleep=no
19377 fi
19378 rm -f core conftest.err conftest.$ac_objext \
19379     conftest$ac_exeext conftest.$ac_ext
19380
19381       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19382 $as_echo "$ac_has_nanosleep" >&6; }
19383     fi
19384   fi
19385
19386   if test x"$ac_has_clock_monotonic" = x"yes"; then
19387
19388 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19389
19390   fi
19391
19392   if test x"$ac_has_clock_realtime" = x"yes"; then
19393
19394 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19395
19396   fi
19397
19398   if test x"$ac_has_nanosleep" = x"yes"; then
19399
19400 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19401
19402   fi
19403
19404
19405
19406   CXXFLAGS="$ac_save_CXXFLAGS"
19407   LIBS="$ac_save_LIBS"
19408   ac_ext=c
19409 ac_cpp='$CPP $CPPFLAGS'
19410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19413
19414
19415
19416 # For gthread support
19417
19418
19419   ac_ext=cpp
19420 ac_cpp='$CXXCPP $CPPFLAGS'
19421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19424
19425
19426   ac_save_CXXFLAGS="$CXXFLAGS"
19427   CXXFLAGS="$CXXFLAGS -fno-exceptions -I${toplevel_srcdir}/gcc"
19428
19429   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
19430   case $target_thread_file in
19431     posix)
19432       CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
19433   esac
19434
19435   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
19436 $as_echo_n "checking for gthreads library... " >&6; }
19437
19438   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19439 /* end confdefs.h.  */
19440 #include "gthr.h"
19441 int
19442 main ()
19443 {
19444
19445       #ifndef __GTHREADS_CXX0X
19446       #error
19447       #endif
19448
19449       // In case of POSIX threads check _POSIX_TIMEOUTS too.
19450       #if (defined(_PTHREADS) \
19451            && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
19452       #error
19453       #endif
19454
19455   ;
19456   return 0;
19457 }
19458 _ACEOF
19459 if ac_fn_cxx_try_compile "$LINENO"; then :
19460   ac_has_gthreads=yes
19461 else
19462   ac_has_gthreads=no
19463 fi
19464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19465
19466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
19467 $as_echo "$ac_has_gthreads" >&6; }
19468
19469   if test x"$ac_has_gthreads" = x"yes"; then
19470
19471 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
19472
19473   fi
19474
19475   CXXFLAGS="$ac_save_CXXFLAGS"
19476   ac_ext=c
19477 ac_cpp='$CPP $CPPFLAGS'
19478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19481
19482
19483
19484
19485   ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19486 if test "x$ac_cv_header_locale_h" = x""yes; then :
19487
19488     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19489 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19490 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19491   $as_echo_n "(cached) " >&6
19492 else
19493   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19494 /* end confdefs.h.  */
19495 #include <locale.h>
19496 int
19497 main ()
19498 {
19499 return LC_MESSAGES
19500   ;
19501   return 0;
19502 }
19503 _ACEOF
19504 if ac_fn_c_try_compile "$LINENO"; then :
19505   ac_cv_val_LC_MESSAGES=yes
19506 else
19507   ac_cv_val_LC_MESSAGES=no
19508 fi
19509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19510 fi
19511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19512 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19513     if test $ac_cv_val_LC_MESSAGES = yes; then
19514
19515 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19516
19517     fi
19518
19519 fi
19520
19521
19522
19523
19524 # For hardware_concurrency
19525 for ac_header in sys/sysinfo.h
19526 do :
19527   ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
19528 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
19529   cat >>confdefs.h <<_ACEOF
19530 #define HAVE_SYS_SYSINFO_H 1
19531 _ACEOF
19532
19533 fi
19534
19535 done
19536
19537
19538
19539
19540   ac_ext=cpp
19541 ac_cpp='$CXXCPP $CPPFLAGS'
19542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19545
19546   ac_save_CXXFLAGS="$CXXFLAGS"
19547   CXXFLAGS="$CXXFLAGS -fno-exceptions"
19548
19549   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
19550 $as_echo_n "checking for get_nprocs... " >&6; }
19551   if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
19552   $as_echo_n "(cached) " >&6
19553 else
19554
19555     if test x$gcc_no_link = xyes; then
19556   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19557 /* end confdefs.h.  */
19558 #include <sys/sysinfo.h>
19559 int
19560 main ()
19561 {
19562 int n = get_nprocs();
19563   ;
19564   return 0;
19565 }
19566 _ACEOF
19567 if ac_fn_cxx_try_compile "$LINENO"; then :
19568   glibcxx_cv_GET_NPROCS=yes
19569 else
19570   glibcxx_cv_GET_NPROCS=no
19571 fi
19572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19573 else
19574   if test x$gcc_no_link = xyes; then
19575   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19576 fi
19577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19578 /* end confdefs.h.  */
19579 #include <sys/sysinfo.h>
19580 int
19581 main ()
19582 {
19583 int n = get_nprocs();
19584   ;
19585   return 0;
19586 }
19587 _ACEOF
19588 if ac_fn_cxx_try_link "$LINENO"; then :
19589   glibcxx_cv_GET_NPROCS=yes
19590 else
19591   glibcxx_cv_GET_NPROCS=no
19592 fi
19593 rm -f core conftest.err conftest.$ac_objext \
19594     conftest$ac_exeext conftest.$ac_ext
19595 fi
19596
19597 fi
19598
19599   if test $glibcxx_cv_GET_NPROCS = yes; then
19600
19601 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
19602
19603   fi
19604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
19605 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
19606
19607   CXXFLAGS="$ac_save_CXXFLAGS"
19608   ac_ext=c
19609 ac_cpp='$CPP $CPPFLAGS'
19610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19613
19614
19615 for ac_header in unistd.h
19616 do :
19617   ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19618 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19619   cat >>confdefs.h <<_ACEOF
19620 #define HAVE_UNISTD_H 1
19621 _ACEOF
19622
19623 fi
19624
19625 done
19626
19627
19628
19629
19630   ac_ext=cpp
19631 ac_cpp='$CXXCPP $CPPFLAGS'
19632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19635
19636   ac_save_CXXFLAGS="$CXXFLAGS"
19637   CXXFLAGS="$CXXFLAGS -fno-exceptions"
19638
19639   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
19640 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
19641   if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
19642   $as_echo_n "(cached) " >&6
19643 else
19644
19645     if test x$gcc_no_link = xyes; then
19646   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19647 /* end confdefs.h.  */
19648 #include <unistd.h>
19649 int
19650 main ()
19651 {
19652 int n = sysconf(_SC_NPROCESSORS_ONLN);
19653   ;
19654   return 0;
19655 }
19656 _ACEOF
19657 if ac_fn_cxx_try_compile "$LINENO"; then :
19658   glibcxx_cv_SC_NPROCESSORS_ONLN=yes
19659 else
19660   glibcxx_cv_SC_NPROCESSORS_ONLN=no
19661 fi
19662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19663 else
19664   if test x$gcc_no_link = xyes; then
19665   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19666 fi
19667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19668 /* end confdefs.h.  */
19669 #include <unistd.h>
19670 int
19671 main ()
19672 {
19673 int n = sysconf(_SC_NPROCESSORS_ONLN);
19674   ;
19675   return 0;
19676 }
19677 _ACEOF
19678 if ac_fn_cxx_try_link "$LINENO"; then :
19679   glibcxx_cv_SC_NPROCESSORS_ONLN=yes
19680 else
19681   glibcxx_cv_SC_NPROCESSORS_ONLN=no
19682 fi
19683 rm -f core conftest.err conftest.$ac_objext \
19684     conftest$ac_exeext conftest.$ac_ext
19685 fi
19686
19687 fi
19688
19689   if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
19690
19691 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
19692
19693   fi
19694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
19695 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
19696
19697   CXXFLAGS="$ac_save_CXXFLAGS"
19698   ac_ext=c
19699 ac_cpp='$CPP $CPPFLAGS'
19700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19703
19704
19705
19706 # Check for available headers.
19707 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
19708 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
19709 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
19710 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
19711 wchar.h wctype.h
19712 do :
19713   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19714 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19715 eval as_val=\$$as_ac_Header
19716    if test "x$as_val" = x""yes; then :
19717   cat >>confdefs.h <<_ACEOF
19718 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19719 _ACEOF
19720
19721 fi
19722
19723 done
19724
19725
19726 # Only do link tests if native. Else, hardcode.
19727 if $GLIBCXX_IS_NATIVE; then
19728
19729   # We can do more elaborate tests that assume a working linker.
19730   CANADIAN=no
19731
19732
19733
19734 # Check whether --with-gnu-ld was given.
19735 if test "${with_gnu_ld+set}" = set; then :
19736   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
19737 else
19738   with_gnu_ld=no
19739 fi
19740
19741 ac_prog=ld
19742 if test "$GCC" = yes; then
19743   # Check if gcc -print-prog-name=ld gives a path.
19744   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
19745 $as_echo_n "checking for ld used by $CC... " >&6; }
19746   case $host in
19747   *-*-mingw*)
19748     # gcc leaves a trailing carriage return which upsets mingw
19749     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
19750   *)
19751     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
19752   esac
19753   case $ac_prog in
19754     # Accept absolute paths.
19755     [\\/]* | ?:[\\/]*)
19756       re_direlt='/[^/][^/]*/\.\./'
19757       # Canonicalize the pathname of ld
19758       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
19759       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
19760         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
19761       done
19762       test -z "$LD" && LD="$ac_prog"
19763       ;;
19764   "")
19765     # If it fails, then pretend we aren't using GCC.
19766     ac_prog=ld
19767     ;;
19768   *)
19769     # If it is relative, then search for the first ld in PATH.
19770     with_gnu_ld=unknown
19771     ;;
19772   esac
19773 elif test "$with_gnu_ld" = yes; then
19774   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
19775 $as_echo_n "checking for GNU ld... " >&6; }
19776 else
19777   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
19778 $as_echo_n "checking for non-GNU ld... " >&6; }
19779 fi
19780 if test "${lt_cv_path_LD+set}" = set; then :
19781   $as_echo_n "(cached) " >&6
19782 else
19783   if test -z "$LD"; then
19784   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
19785   for ac_dir in $PATH; do
19786     IFS="$lt_save_ifs"
19787     test -z "$ac_dir" && ac_dir=.
19788     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
19789       lt_cv_path_LD="$ac_dir/$ac_prog"
19790       # Check to see if the program is GNU ld.  I'd rather use --version,
19791       # but apparently some variants of GNU ld only accept -v.
19792       # Break only if it was the GNU/non-GNU ld that we prefer.
19793       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
19794       *GNU* | *'with BFD'*)
19795         test "$with_gnu_ld" != no && break
19796         ;;
19797       *)
19798         test "$with_gnu_ld" != yes && break
19799         ;;
19800       esac
19801     fi
19802   done
19803   IFS="$lt_save_ifs"
19804 else
19805   lt_cv_path_LD="$LD" # Let the user override the test with a path.
19806 fi
19807 fi
19808
19809 LD="$lt_cv_path_LD"
19810 if test -n "$LD"; then
19811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
19812 $as_echo "$LD" >&6; }
19813 else
19814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19815 $as_echo "no" >&6; }
19816 fi
19817 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
19818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
19819 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
19820 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
19821   $as_echo_n "(cached) " >&6
19822 else
19823   # I'd rather use --version here, but apparently some GNU lds only accept -v.
19824 case `$LD -v 2>&1 </dev/null` in
19825 *GNU* | *'with BFD'*)
19826   lt_cv_prog_gnu_ld=yes
19827   ;;
19828 *)
19829   lt_cv_prog_gnu_ld=no
19830   ;;
19831 esac
19832 fi
19833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
19834 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
19835 with_gnu_ld=$lt_cv_prog_gnu_ld
19836
19837
19838
19839
19840
19841
19842
19843   # If we're not using GNU ld, then there's no point in even trying these
19844   # tests.  Check for that first.  We should have already tested for gld
19845   # by now (in libtool), but require it now just to be safe...
19846   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
19847   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
19848
19849
19850
19851   # The name set by libtool depends on the version of libtool.  Shame on us
19852   # for depending on an impl detail, but c'est la vie.  Older versions used
19853   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
19854   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
19855   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
19856   # set (hence we're using an older libtool), then set it.
19857   if test x${with_gnu_ld+set} != xset; then
19858     if test x${ac_cv_prog_gnu_ld+set} != xset; then
19859       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
19860       with_gnu_ld=no
19861     else
19862       with_gnu_ld=$ac_cv_prog_gnu_ld
19863     fi
19864   fi
19865
19866   # Start by getting the version number.  I think the libtool test already
19867   # does some of this, but throws away the result.
19868   glibcxx_ld_is_gold=no
19869   if test x"$with_gnu_ld" = x"yes"; then
19870     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
19871 $as_echo_n "checking for ld version... " >&6; }
19872
19873     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
19874       glibcxx_ld_is_gold=yes
19875     fi
19876     ldver=`$LD --version 2>/dev/null |
19877            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'`
19878
19879     glibcxx_gnu_ld_version=`echo $ldver | \
19880            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
19881     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
19882 $as_echo "$glibcxx_gnu_ld_version" >&6; }
19883   fi
19884
19885   # Set --gc-sections.
19886   glibcxx_have_gc_sections=no
19887   if test "$glibcxx_ld_is_gold" = "yes"; then
19888     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
19889       glibcxx_have_gc_sections=yes
19890     fi
19891   else
19892     glibcxx_gcsections_min_ld=21602
19893     if test x"$with_gnu_ld" = x"yes" &&
19894         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
19895       glibcxx_have_gc_sections=yes
19896     fi
19897   fi
19898   if test "$glibcxx_have_gc_sections" = "yes"; then
19899     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
19900     # NB: This flag only works reliably after 2.16.1. Configure tests
19901     # for this are difficult, so hard wire a value that should work.
19902
19903     ac_test_CFLAGS="${CFLAGS+set}"
19904     ac_save_CFLAGS="$CFLAGS"
19905     CFLAGS='-Wl,--gc-sections'
19906
19907     # Check for -Wl,--gc-sections
19908     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
19909 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
19910     if test x$gcc_no_link = xyes; then
19911   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19912 fi
19913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19914 /* end confdefs.h.  */
19915  int one(void) { return 1; }
19916      int two(void) { return 2; }
19917
19918 int
19919 main ()
19920 {
19921  two();
19922   ;
19923   return 0;
19924 }
19925 _ACEOF
19926 if ac_fn_c_try_link "$LINENO"; then :
19927   ac_gcsections=yes
19928 else
19929   ac_gcsections=no
19930 fi
19931 rm -f core conftest.err conftest.$ac_objext \
19932     conftest$ac_exeext conftest.$ac_ext
19933     if test "$ac_gcsections" = "yes"; then
19934       rm -f conftest.c
19935       touch conftest.c
19936       if $CC -c conftest.c; then
19937         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
19938            grep "Warning: gc-sections option ignored" > /dev/null; then
19939           ac_gcsections=no
19940         fi
19941       fi
19942       rm -f conftest.c conftest.o conftest
19943     fi
19944     if test "$ac_gcsections" = "yes"; then
19945       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
19946     fi
19947     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
19948 $as_echo "$ac_gcsections" >&6; }
19949
19950     if test "$ac_test_CFLAGS" = set; then
19951       CFLAGS="$ac_save_CFLAGS"
19952     else
19953       # this is the suspicious part
19954       CFLAGS=''
19955     fi
19956   fi
19957
19958   # Set -z,relro.
19959   # Note this is only for shared objects.
19960   ac_ld_relro=no
19961   if test x"$with_gnu_ld" = x"yes"; then
19962     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
19963 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
19964     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
19965     if test -n "$cxx_z_relo"; then
19966       OPT_LDFLAGS="-Wl,-z,relro"
19967       ac_ld_relro=yes
19968     fi
19969     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
19970 $as_echo "$ac_ld_relro" >&6; }
19971   fi
19972
19973   # Set linker optimization flags.
19974   if test x"$with_gnu_ld" = x"yes"; then
19975     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
19976   fi
19977
19978
19979
19980
19981
19982   ac_test_CXXFLAGS="${CXXFLAGS+set}"
19983   ac_save_CXXFLAGS="$CXXFLAGS"
19984   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
19985
19986     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
19987 $as_echo_n "checking for sin in -lm... " >&6; }
19988 if test "${ac_cv_lib_m_sin+set}" = set; then :
19989   $as_echo_n "(cached) " >&6
19990 else
19991   ac_check_lib_save_LIBS=$LIBS
19992 LIBS="-lm  $LIBS"
19993 if test x$gcc_no_link = xyes; then
19994   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19995 fi
19996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19997 /* end confdefs.h.  */
19998
19999 /* Override any GCC internal prototype to avoid an error.
20000    Use char because int might match the return type of a GCC
20001    builtin and then its argument prototype would still apply.  */
20002 #ifdef __cplusplus
20003 extern "C"
20004 #endif
20005 char sin ();
20006 int
20007 main ()
20008 {
20009 return sin ();
20010   ;
20011   return 0;
20012 }
20013 _ACEOF
20014 if ac_fn_c_try_link "$LINENO"; then :
20015   ac_cv_lib_m_sin=yes
20016 else
20017   ac_cv_lib_m_sin=no
20018 fi
20019 rm -f core conftest.err conftest.$ac_objext \
20020     conftest$ac_exeext conftest.$ac_ext
20021 LIBS=$ac_check_lib_save_LIBS
20022 fi
20023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20024 $as_echo "$ac_cv_lib_m_sin" >&6; }
20025 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20026   libm="-lm"
20027 fi
20028
20029   ac_save_LIBS="$LIBS"
20030   LIBS="$LIBS $libm"
20031
20032
20033
20034   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
20035 $as_echo_n "checking for isinf declaration... " >&6; }
20036   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
20037     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
20038   $as_echo_n "(cached) " >&6
20039 else
20040
20041
20042       ac_ext=cpp
20043 ac_cpp='$CXXCPP $CPPFLAGS'
20044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20047
20048       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20049 /* end confdefs.h.  */
20050 #include <math.h>
20051                       #ifdef HAVE_IEEEFP_H
20052                       #include <ieeefp.h>
20053                       #endif
20054
20055 int
20056 main ()
20057 {
20058  isinf(0);
20059   ;
20060   return 0;
20061 }
20062 _ACEOF
20063 if ac_fn_cxx_try_compile "$LINENO"; then :
20064   glibcxx_cv_func_isinf_use=yes
20065 else
20066   glibcxx_cv_func_isinf_use=no
20067 fi
20068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20069       ac_ext=c
20070 ac_cpp='$CPP $CPPFLAGS'
20071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20074
20075
20076 fi
20077
20078   fi
20079   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
20080 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
20081
20082   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
20083     for ac_func in isinf
20084 do :
20085   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
20086 if test "x$ac_cv_func_isinf" = x""yes; then :
20087   cat >>confdefs.h <<_ACEOF
20088 #define HAVE_ISINF 1
20089 _ACEOF
20090
20091 fi
20092 done
20093
20094   else
20095
20096   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
20097 $as_echo_n "checking for _isinf declaration... " >&6; }
20098   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
20099     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
20100   $as_echo_n "(cached) " >&6
20101 else
20102
20103
20104       ac_ext=cpp
20105 ac_cpp='$CXXCPP $CPPFLAGS'
20106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20109
20110       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20111 /* end confdefs.h.  */
20112 #include <math.h>
20113                       #ifdef HAVE_IEEEFP_H
20114                       #include <ieeefp.h>
20115                       #endif
20116
20117 int
20118 main ()
20119 {
20120  _isinf(0);
20121   ;
20122   return 0;
20123 }
20124 _ACEOF
20125 if ac_fn_cxx_try_compile "$LINENO"; then :
20126   glibcxx_cv_func__isinf_use=yes
20127 else
20128   glibcxx_cv_func__isinf_use=no
20129 fi
20130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20131       ac_ext=c
20132 ac_cpp='$CPP $CPPFLAGS'
20133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20136
20137
20138 fi
20139
20140   fi
20141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
20142 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
20143
20144     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
20145       for ac_func in _isinf
20146 do :
20147   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
20148 if test "x$ac_cv_func__isinf" = x""yes; then :
20149   cat >>confdefs.h <<_ACEOF
20150 #define HAVE__ISINF 1
20151 _ACEOF
20152
20153 fi
20154 done
20155
20156     fi
20157   fi
20158
20159
20160
20161
20162
20163   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
20164 $as_echo_n "checking for isnan declaration... " >&6; }
20165   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
20166     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
20167   $as_echo_n "(cached) " >&6
20168 else
20169
20170
20171       ac_ext=cpp
20172 ac_cpp='$CXXCPP $CPPFLAGS'
20173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20176
20177       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20178 /* end confdefs.h.  */
20179 #include <math.h>
20180                       #ifdef HAVE_IEEEFP_H
20181                       #include <ieeefp.h>
20182                       #endif
20183
20184 int
20185 main ()
20186 {
20187  isnan(0);
20188   ;
20189   return 0;
20190 }
20191 _ACEOF
20192 if ac_fn_cxx_try_compile "$LINENO"; then :
20193   glibcxx_cv_func_isnan_use=yes
20194 else
20195   glibcxx_cv_func_isnan_use=no
20196 fi
20197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20198       ac_ext=c
20199 ac_cpp='$CPP $CPPFLAGS'
20200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20203
20204
20205 fi
20206
20207   fi
20208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
20209 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
20210
20211   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
20212     for ac_func in isnan
20213 do :
20214   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
20215 if test "x$ac_cv_func_isnan" = x""yes; then :
20216   cat >>confdefs.h <<_ACEOF
20217 #define HAVE_ISNAN 1
20218 _ACEOF
20219
20220 fi
20221 done
20222
20223   else
20224
20225   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
20226 $as_echo_n "checking for _isnan declaration... " >&6; }
20227   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
20228     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
20229   $as_echo_n "(cached) " >&6
20230 else
20231
20232
20233       ac_ext=cpp
20234 ac_cpp='$CXXCPP $CPPFLAGS'
20235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20238
20239       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20240 /* end confdefs.h.  */
20241 #include <math.h>
20242                       #ifdef HAVE_IEEEFP_H
20243                       #include <ieeefp.h>
20244                       #endif
20245
20246 int
20247 main ()
20248 {
20249  _isnan(0);
20250   ;
20251   return 0;
20252 }
20253 _ACEOF
20254 if ac_fn_cxx_try_compile "$LINENO"; then :
20255   glibcxx_cv_func__isnan_use=yes
20256 else
20257   glibcxx_cv_func__isnan_use=no
20258 fi
20259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20260       ac_ext=c
20261 ac_cpp='$CPP $CPPFLAGS'
20262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20265
20266
20267 fi
20268
20269   fi
20270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
20271 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
20272
20273     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20274       for ac_func in _isnan
20275 do :
20276   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20277 if test "x$ac_cv_func__isnan" = x""yes; then :
20278   cat >>confdefs.h <<_ACEOF
20279 #define HAVE__ISNAN 1
20280 _ACEOF
20281
20282 fi
20283 done
20284
20285     fi
20286   fi
20287
20288
20289
20290
20291
20292   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
20293 $as_echo_n "checking for finite declaration... " >&6; }
20294   if test x${glibcxx_cv_func_finite_use+set} != xset; then
20295     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
20296   $as_echo_n "(cached) " >&6
20297 else
20298
20299
20300       ac_ext=cpp
20301 ac_cpp='$CXXCPP $CPPFLAGS'
20302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20305
20306       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20307 /* end confdefs.h.  */
20308 #include <math.h>
20309                       #ifdef HAVE_IEEEFP_H
20310                       #include <ieeefp.h>
20311                       #endif
20312
20313 int
20314 main ()
20315 {
20316  finite(0);
20317   ;
20318   return 0;
20319 }
20320 _ACEOF
20321 if ac_fn_cxx_try_compile "$LINENO"; then :
20322   glibcxx_cv_func_finite_use=yes
20323 else
20324   glibcxx_cv_func_finite_use=no
20325 fi
20326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20327       ac_ext=c
20328 ac_cpp='$CPP $CPPFLAGS'
20329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20332
20333
20334 fi
20335
20336   fi
20337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
20338 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
20339
20340   if test x$glibcxx_cv_func_finite_use = x"yes"; then
20341     for ac_func in finite
20342 do :
20343   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
20344 if test "x$ac_cv_func_finite" = x""yes; then :
20345   cat >>confdefs.h <<_ACEOF
20346 #define HAVE_FINITE 1
20347 _ACEOF
20348
20349 fi
20350 done
20351
20352   else
20353
20354   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
20355 $as_echo_n "checking for _finite declaration... " >&6; }
20356   if test x${glibcxx_cv_func__finite_use+set} != xset; then
20357     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
20358   $as_echo_n "(cached) " >&6
20359 else
20360
20361
20362       ac_ext=cpp
20363 ac_cpp='$CXXCPP $CPPFLAGS'
20364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20367
20368       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20369 /* end confdefs.h.  */
20370 #include <math.h>
20371                       #ifdef HAVE_IEEEFP_H
20372                       #include <ieeefp.h>
20373                       #endif
20374
20375 int
20376 main ()
20377 {
20378  _finite(0);
20379   ;
20380   return 0;
20381 }
20382 _ACEOF
20383 if ac_fn_cxx_try_compile "$LINENO"; then :
20384   glibcxx_cv_func__finite_use=yes
20385 else
20386   glibcxx_cv_func__finite_use=no
20387 fi
20388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20389       ac_ext=c
20390 ac_cpp='$CPP $CPPFLAGS'
20391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20394
20395
20396 fi
20397
20398   fi
20399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
20400 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
20401
20402     if test x$glibcxx_cv_func__finite_use = x"yes"; then
20403       for ac_func in _finite
20404 do :
20405   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
20406 if test "x$ac_cv_func__finite" = x""yes; then :
20407   cat >>confdefs.h <<_ACEOF
20408 #define HAVE__FINITE 1
20409 _ACEOF
20410
20411 fi
20412 done
20413
20414     fi
20415   fi
20416
20417
20418
20419
20420
20421   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
20422 $as_echo_n "checking for sincos declaration... " >&6; }
20423   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
20424     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
20425   $as_echo_n "(cached) " >&6
20426 else
20427
20428
20429       ac_ext=cpp
20430 ac_cpp='$CXXCPP $CPPFLAGS'
20431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20434
20435       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20436 /* end confdefs.h.  */
20437 #include <math.h>
20438 int
20439 main ()
20440 {
20441  sincos(0, 0, 0);
20442   ;
20443   return 0;
20444 }
20445 _ACEOF
20446 if ac_fn_cxx_try_compile "$LINENO"; then :
20447   glibcxx_cv_func_sincos_use=yes
20448 else
20449   glibcxx_cv_func_sincos_use=no
20450 fi
20451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20452       ac_ext=c
20453 ac_cpp='$CPP $CPPFLAGS'
20454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20457
20458
20459 fi
20460
20461   fi
20462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
20463 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
20464
20465   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
20466     for ac_func in sincos
20467 do :
20468   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
20469 if test "x$ac_cv_func_sincos" = x""yes; then :
20470   cat >>confdefs.h <<_ACEOF
20471 #define HAVE_SINCOS 1
20472 _ACEOF
20473
20474 fi
20475 done
20476
20477   else
20478
20479   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
20480 $as_echo_n "checking for _sincos declaration... " >&6; }
20481   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
20482     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
20483   $as_echo_n "(cached) " >&6
20484 else
20485
20486
20487       ac_ext=cpp
20488 ac_cpp='$CXXCPP $CPPFLAGS'
20489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20492
20493       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20494 /* end confdefs.h.  */
20495 #include <math.h>
20496 int
20497 main ()
20498 {
20499  _sincos(0, 0, 0);
20500   ;
20501   return 0;
20502 }
20503 _ACEOF
20504 if ac_fn_cxx_try_compile "$LINENO"; then :
20505   glibcxx_cv_func__sincos_use=yes
20506 else
20507   glibcxx_cv_func__sincos_use=no
20508 fi
20509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20510       ac_ext=c
20511 ac_cpp='$CPP $CPPFLAGS'
20512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20515
20516
20517 fi
20518
20519   fi
20520   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
20521 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
20522
20523     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
20524       for ac_func in _sincos
20525 do :
20526   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
20527 if test "x$ac_cv_func__sincos" = x""yes; then :
20528   cat >>confdefs.h <<_ACEOF
20529 #define HAVE__SINCOS 1
20530 _ACEOF
20531
20532 fi
20533 done
20534
20535     fi
20536   fi
20537
20538
20539
20540
20541
20542   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
20543 $as_echo_n "checking for fpclass declaration... " >&6; }
20544   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
20545     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
20546   $as_echo_n "(cached) " >&6
20547 else
20548
20549
20550       ac_ext=cpp
20551 ac_cpp='$CXXCPP $CPPFLAGS'
20552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20555
20556       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20557 /* end confdefs.h.  */
20558 #include <math.h>
20559                       #ifdef HAVE_IEEEFP_H
20560                       #include <ieeefp.h>
20561                       #endif
20562
20563 int
20564 main ()
20565 {
20566  fpclass(0);
20567   ;
20568   return 0;
20569 }
20570 _ACEOF
20571 if ac_fn_cxx_try_compile "$LINENO"; then :
20572   glibcxx_cv_func_fpclass_use=yes
20573 else
20574   glibcxx_cv_func_fpclass_use=no
20575 fi
20576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20577       ac_ext=c
20578 ac_cpp='$CPP $CPPFLAGS'
20579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20582
20583
20584 fi
20585
20586   fi
20587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
20588 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
20589
20590   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
20591     for ac_func in fpclass
20592 do :
20593   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
20594 if test "x$ac_cv_func_fpclass" = x""yes; then :
20595   cat >>confdefs.h <<_ACEOF
20596 #define HAVE_FPCLASS 1
20597 _ACEOF
20598
20599 fi
20600 done
20601
20602   else
20603
20604   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
20605 $as_echo_n "checking for _fpclass declaration... " >&6; }
20606   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
20607     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
20608   $as_echo_n "(cached) " >&6
20609 else
20610
20611
20612       ac_ext=cpp
20613 ac_cpp='$CXXCPP $CPPFLAGS'
20614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20617
20618       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20619 /* end confdefs.h.  */
20620 #include <math.h>
20621                       #ifdef HAVE_IEEEFP_H
20622                       #include <ieeefp.h>
20623                       #endif
20624
20625 int
20626 main ()
20627 {
20628  _fpclass(0);
20629   ;
20630   return 0;
20631 }
20632 _ACEOF
20633 if ac_fn_cxx_try_compile "$LINENO"; then :
20634   glibcxx_cv_func__fpclass_use=yes
20635 else
20636   glibcxx_cv_func__fpclass_use=no
20637 fi
20638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20639       ac_ext=c
20640 ac_cpp='$CPP $CPPFLAGS'
20641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20644
20645
20646 fi
20647
20648   fi
20649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
20650 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
20651
20652     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
20653       for ac_func in _fpclass
20654 do :
20655   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
20656 if test "x$ac_cv_func__fpclass" = x""yes; then :
20657   cat >>confdefs.h <<_ACEOF
20658 #define HAVE__FPCLASS 1
20659 _ACEOF
20660
20661 fi
20662 done
20663
20664     fi
20665   fi
20666
20667
20668
20669
20670
20671   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
20672 $as_echo_n "checking for qfpclass declaration... " >&6; }
20673   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
20674     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
20675   $as_echo_n "(cached) " >&6
20676 else
20677
20678
20679       ac_ext=cpp
20680 ac_cpp='$CXXCPP $CPPFLAGS'
20681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20684
20685       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20686 /* end confdefs.h.  */
20687 #include <math.h>
20688                       #ifdef HAVE_IEEEFP_H
20689                       #include <ieeefp.h>
20690                       #endif
20691
20692 int
20693 main ()
20694 {
20695  qfpclass(0);
20696   ;
20697   return 0;
20698 }
20699 _ACEOF
20700 if ac_fn_cxx_try_compile "$LINENO"; then :
20701   glibcxx_cv_func_qfpclass_use=yes
20702 else
20703   glibcxx_cv_func_qfpclass_use=no
20704 fi
20705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20706       ac_ext=c
20707 ac_cpp='$CPP $CPPFLAGS'
20708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20711
20712
20713 fi
20714
20715   fi
20716   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
20717 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
20718
20719   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
20720     for ac_func in qfpclass
20721 do :
20722   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
20723 if test "x$ac_cv_func_qfpclass" = x""yes; then :
20724   cat >>confdefs.h <<_ACEOF
20725 #define HAVE_QFPCLASS 1
20726 _ACEOF
20727
20728 fi
20729 done
20730
20731   else
20732
20733   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
20734 $as_echo_n "checking for _qfpclass declaration... " >&6; }
20735   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
20736     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
20737   $as_echo_n "(cached) " >&6
20738 else
20739
20740
20741       ac_ext=cpp
20742 ac_cpp='$CXXCPP $CPPFLAGS'
20743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20746
20747       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20748 /* end confdefs.h.  */
20749 #include <math.h>
20750                       #ifdef HAVE_IEEEFP_H
20751                       #include <ieeefp.h>
20752                       #endif
20753
20754 int
20755 main ()
20756 {
20757  _qfpclass(0);
20758   ;
20759   return 0;
20760 }
20761 _ACEOF
20762 if ac_fn_cxx_try_compile "$LINENO"; then :
20763   glibcxx_cv_func__qfpclass_use=yes
20764 else
20765   glibcxx_cv_func__qfpclass_use=no
20766 fi
20767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20768       ac_ext=c
20769 ac_cpp='$CPP $CPPFLAGS'
20770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20773
20774
20775 fi
20776
20777   fi
20778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
20779 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
20780
20781     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
20782       for ac_func in _qfpclass
20783 do :
20784   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
20785 if test "x$ac_cv_func__qfpclass" = x""yes; then :
20786   cat >>confdefs.h <<_ACEOF
20787 #define HAVE__QFPCLASS 1
20788 _ACEOF
20789
20790 fi
20791 done
20792
20793     fi
20794   fi
20795
20796
20797
20798
20799
20800   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
20801 $as_echo_n "checking for hypot declaration... " >&6; }
20802   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
20803     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
20804   $as_echo_n "(cached) " >&6
20805 else
20806
20807
20808       ac_ext=cpp
20809 ac_cpp='$CXXCPP $CPPFLAGS'
20810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20813
20814       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20815 /* end confdefs.h.  */
20816 #include <math.h>
20817 int
20818 main ()
20819 {
20820  hypot(0, 0);
20821   ;
20822   return 0;
20823 }
20824 _ACEOF
20825 if ac_fn_cxx_try_compile "$LINENO"; then :
20826   glibcxx_cv_func_hypot_use=yes
20827 else
20828   glibcxx_cv_func_hypot_use=no
20829 fi
20830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20831       ac_ext=c
20832 ac_cpp='$CPP $CPPFLAGS'
20833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20836
20837
20838 fi
20839
20840   fi
20841   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
20842 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
20843
20844   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
20845     for ac_func in hypot
20846 do :
20847   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
20848 if test "x$ac_cv_func_hypot" = x""yes; then :
20849   cat >>confdefs.h <<_ACEOF
20850 #define HAVE_HYPOT 1
20851 _ACEOF
20852
20853 fi
20854 done
20855
20856   else
20857
20858   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
20859 $as_echo_n "checking for _hypot declaration... " >&6; }
20860   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
20861     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
20862   $as_echo_n "(cached) " >&6
20863 else
20864
20865
20866       ac_ext=cpp
20867 ac_cpp='$CXXCPP $CPPFLAGS'
20868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20871
20872       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20873 /* end confdefs.h.  */
20874 #include <math.h>
20875 int
20876 main ()
20877 {
20878  _hypot(0, 0);
20879   ;
20880   return 0;
20881 }
20882 _ACEOF
20883 if ac_fn_cxx_try_compile "$LINENO"; then :
20884   glibcxx_cv_func__hypot_use=yes
20885 else
20886   glibcxx_cv_func__hypot_use=no
20887 fi
20888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20889       ac_ext=c
20890 ac_cpp='$CPP $CPPFLAGS'
20891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20894
20895
20896 fi
20897
20898   fi
20899   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
20900 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
20901
20902     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
20903       for ac_func in _hypot
20904 do :
20905   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
20906 if test "x$ac_cv_func__hypot" = x""yes; then :
20907   cat >>confdefs.h <<_ACEOF
20908 #define HAVE__HYPOT 1
20909 _ACEOF
20910
20911 fi
20912 done
20913
20914     fi
20915   fi
20916
20917
20918
20919
20920
20921     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
20922 $as_echo_n "checking for float trig functions... " >&6; }
20923   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
20924   $as_echo_n "(cached) " >&6
20925 else
20926
20927
20928     ac_ext=cpp
20929 ac_cpp='$CXXCPP $CPPFLAGS'
20930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20933
20934     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20935 /* end confdefs.h.  */
20936 #include <math.h>
20937 int
20938 main ()
20939 {
20940 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
20941   ;
20942   return 0;
20943 }
20944 _ACEOF
20945 if ac_fn_cxx_try_compile "$LINENO"; then :
20946   glibcxx_cv_func_float_trig_use=yes
20947 else
20948   glibcxx_cv_func_float_trig_use=no
20949 fi
20950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20951     ac_ext=c
20952 ac_cpp='$CPP $CPPFLAGS'
20953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20956
20957 fi
20958
20959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
20960 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
20961   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
20962     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
20963 do :
20964   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20965 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20966 eval as_val=\$$as_ac_var
20967    if test "x$as_val" = x""yes; then :
20968   cat >>confdefs.h <<_ACEOF
20969 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20970 _ACEOF
20971
20972 fi
20973 done
20974
20975   else
20976     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
20977 $as_echo_n "checking for _float trig functions... " >&6; }
20978     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
20979   $as_echo_n "(cached) " >&6
20980 else
20981
20982
20983       ac_ext=cpp
20984 ac_cpp='$CXXCPP $CPPFLAGS'
20985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20988
20989       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20990 /* end confdefs.h.  */
20991 #include <math.h>
20992 int
20993 main ()
20994 {
20995 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
20996   ;
20997   return 0;
20998 }
20999 _ACEOF
21000 if ac_fn_cxx_try_compile "$LINENO"; then :
21001   glibcxx_cv_func__float_trig_use=yes
21002 else
21003   glibcxx_cv_func__float_trig_use=no
21004 fi
21005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21006       ac_ext=c
21007 ac_cpp='$CPP $CPPFLAGS'
21008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21011
21012 fi
21013
21014     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
21015 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
21016     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21017       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21018 do :
21019   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21020 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21021 eval as_val=\$$as_ac_var
21022    if test "x$as_val" = x""yes; then :
21023   cat >>confdefs.h <<_ACEOF
21024 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21025 _ACEOF
21026
21027 fi
21028 done
21029
21030     fi
21031   fi
21032
21033
21034
21035
21036
21037     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
21038 $as_echo_n "checking for float round functions... " >&6; }
21039   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
21040   $as_echo_n "(cached) " >&6
21041 else
21042
21043
21044     ac_ext=cpp
21045 ac_cpp='$CXXCPP $CPPFLAGS'
21046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21049
21050     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21051 /* end confdefs.h.  */
21052 #include <math.h>
21053 int
21054 main ()
21055 {
21056 ceilf (0); floorf (0);
21057   ;
21058   return 0;
21059 }
21060 _ACEOF
21061 if ac_fn_cxx_try_compile "$LINENO"; then :
21062   glibcxx_cv_func_float_round_use=yes
21063 else
21064   glibcxx_cv_func_float_round_use=no
21065 fi
21066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21067     ac_ext=c
21068 ac_cpp='$CPP $CPPFLAGS'
21069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21072
21073 fi
21074
21075   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
21076 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
21077   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
21078     for ac_func in ceilf floorf
21079 do :
21080   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21081 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21082 eval as_val=\$$as_ac_var
21083    if test "x$as_val" = x""yes; then :
21084   cat >>confdefs.h <<_ACEOF
21085 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21086 _ACEOF
21087
21088 fi
21089 done
21090
21091   else
21092     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
21093 $as_echo_n "checking for _float round functions... " >&6; }
21094     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
21095   $as_echo_n "(cached) " >&6
21096 else
21097
21098
21099       ac_ext=cpp
21100 ac_cpp='$CXXCPP $CPPFLAGS'
21101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21104
21105       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21106 /* end confdefs.h.  */
21107 #include <math.h>
21108 int
21109 main ()
21110 {
21111 _ceilf (0); _floorf (0);
21112   ;
21113   return 0;
21114 }
21115 _ACEOF
21116 if ac_fn_cxx_try_compile "$LINENO"; then :
21117   glibcxx_cv_func__float_round_use=yes
21118 else
21119   glibcxx_cv_func__float_round_use=no
21120 fi
21121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21122       ac_ext=c
21123 ac_cpp='$CPP $CPPFLAGS'
21124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21127
21128 fi
21129
21130     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
21131 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
21132     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21133       for ac_func in _ceilf _floorf
21134 do :
21135   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21136 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21137 eval as_val=\$$as_ac_var
21138    if test "x$as_val" = x""yes; then :
21139   cat >>confdefs.h <<_ACEOF
21140 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21141 _ACEOF
21142
21143 fi
21144 done
21145
21146     fi
21147   fi
21148
21149
21150
21151
21152
21153
21154   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
21155 $as_echo_n "checking for expf declaration... " >&6; }
21156   if test x${glibcxx_cv_func_expf_use+set} != xset; then
21157     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
21158   $as_echo_n "(cached) " >&6
21159 else
21160
21161
21162       ac_ext=cpp
21163 ac_cpp='$CXXCPP $CPPFLAGS'
21164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21167
21168       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21169 /* end confdefs.h.  */
21170 #include <math.h>
21171                       #ifdef HAVE_IEEEFP_H
21172                       #include <ieeefp.h>
21173                       #endif
21174
21175 int
21176 main ()
21177 {
21178  expf(0);
21179   ;
21180   return 0;
21181 }
21182 _ACEOF
21183 if ac_fn_cxx_try_compile "$LINENO"; then :
21184   glibcxx_cv_func_expf_use=yes
21185 else
21186   glibcxx_cv_func_expf_use=no
21187 fi
21188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21189       ac_ext=c
21190 ac_cpp='$CPP $CPPFLAGS'
21191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21194
21195
21196 fi
21197
21198   fi
21199   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
21200 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
21201
21202   if test x$glibcxx_cv_func_expf_use = x"yes"; then
21203     for ac_func in expf
21204 do :
21205   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
21206 if test "x$ac_cv_func_expf" = x""yes; then :
21207   cat >>confdefs.h <<_ACEOF
21208 #define HAVE_EXPF 1
21209 _ACEOF
21210
21211 fi
21212 done
21213
21214   else
21215
21216   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
21217 $as_echo_n "checking for _expf declaration... " >&6; }
21218   if test x${glibcxx_cv_func__expf_use+set} != xset; then
21219     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
21220   $as_echo_n "(cached) " >&6
21221 else
21222
21223
21224       ac_ext=cpp
21225 ac_cpp='$CXXCPP $CPPFLAGS'
21226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21229
21230       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21231 /* end confdefs.h.  */
21232 #include <math.h>
21233                       #ifdef HAVE_IEEEFP_H
21234                       #include <ieeefp.h>
21235                       #endif
21236
21237 int
21238 main ()
21239 {
21240  _expf(0);
21241   ;
21242   return 0;
21243 }
21244 _ACEOF
21245 if ac_fn_cxx_try_compile "$LINENO"; then :
21246   glibcxx_cv_func__expf_use=yes
21247 else
21248   glibcxx_cv_func__expf_use=no
21249 fi
21250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21251       ac_ext=c
21252 ac_cpp='$CPP $CPPFLAGS'
21253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21256
21257
21258 fi
21259
21260   fi
21261   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
21262 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
21263
21264     if test x$glibcxx_cv_func__expf_use = x"yes"; then
21265       for ac_func in _expf
21266 do :
21267   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
21268 if test "x$ac_cv_func__expf" = x""yes; then :
21269   cat >>confdefs.h <<_ACEOF
21270 #define HAVE__EXPF 1
21271 _ACEOF
21272
21273 fi
21274 done
21275
21276     fi
21277   fi
21278
21279
21280
21281
21282
21283   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21284 $as_echo_n "checking for isnanf declaration... " >&6; }
21285   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21286     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21287   $as_echo_n "(cached) " >&6
21288 else
21289
21290
21291       ac_ext=cpp
21292 ac_cpp='$CXXCPP $CPPFLAGS'
21293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21296
21297       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21298 /* end confdefs.h.  */
21299 #include <math.h>
21300                       #ifdef HAVE_IEEEFP_H
21301                       #include <ieeefp.h>
21302                       #endif
21303
21304 int
21305 main ()
21306 {
21307  isnanf(0);
21308   ;
21309   return 0;
21310 }
21311 _ACEOF
21312 if ac_fn_cxx_try_compile "$LINENO"; then :
21313   glibcxx_cv_func_isnanf_use=yes
21314 else
21315   glibcxx_cv_func_isnanf_use=no
21316 fi
21317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21318       ac_ext=c
21319 ac_cpp='$CPP $CPPFLAGS'
21320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21323
21324
21325 fi
21326
21327   fi
21328   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
21329 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
21330
21331   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21332     for ac_func in isnanf
21333 do :
21334   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
21335 if test "x$ac_cv_func_isnanf" = x""yes; then :
21336   cat >>confdefs.h <<_ACEOF
21337 #define HAVE_ISNANF 1
21338 _ACEOF
21339
21340 fi
21341 done
21342
21343   else
21344
21345   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
21346 $as_echo_n "checking for _isnanf declaration... " >&6; }
21347   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
21348     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
21349   $as_echo_n "(cached) " >&6
21350 else
21351
21352
21353       ac_ext=cpp
21354 ac_cpp='$CXXCPP $CPPFLAGS'
21355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21358
21359       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21360 /* end confdefs.h.  */
21361 #include <math.h>
21362                       #ifdef HAVE_IEEEFP_H
21363                       #include <ieeefp.h>
21364                       #endif
21365
21366 int
21367 main ()
21368 {
21369  _isnanf(0);
21370   ;
21371   return 0;
21372 }
21373 _ACEOF
21374 if ac_fn_cxx_try_compile "$LINENO"; then :
21375   glibcxx_cv_func__isnanf_use=yes
21376 else
21377   glibcxx_cv_func__isnanf_use=no
21378 fi
21379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21380       ac_ext=c
21381 ac_cpp='$CPP $CPPFLAGS'
21382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21385
21386
21387 fi
21388
21389   fi
21390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
21391 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
21392
21393     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
21394       for ac_func in _isnanf
21395 do :
21396   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
21397 if test "x$ac_cv_func__isnanf" = x""yes; then :
21398   cat >>confdefs.h <<_ACEOF
21399 #define HAVE__ISNANF 1
21400 _ACEOF
21401
21402 fi
21403 done
21404
21405     fi
21406   fi
21407
21408
21409
21410
21411
21412   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
21413 $as_echo_n "checking for isinff declaration... " >&6; }
21414   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
21415     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
21416   $as_echo_n "(cached) " >&6
21417 else
21418
21419
21420       ac_ext=cpp
21421 ac_cpp='$CXXCPP $CPPFLAGS'
21422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21425
21426       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21427 /* end confdefs.h.  */
21428 #include <math.h>
21429                       #ifdef HAVE_IEEEFP_H
21430                       #include <ieeefp.h>
21431                       #endif
21432
21433 int
21434 main ()
21435 {
21436  isinff(0);
21437   ;
21438   return 0;
21439 }
21440 _ACEOF
21441 if ac_fn_cxx_try_compile "$LINENO"; then :
21442   glibcxx_cv_func_isinff_use=yes
21443 else
21444   glibcxx_cv_func_isinff_use=no
21445 fi
21446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21447       ac_ext=c
21448 ac_cpp='$CPP $CPPFLAGS'
21449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21452
21453
21454 fi
21455
21456   fi
21457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
21458 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
21459
21460   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
21461     for ac_func in isinff
21462 do :
21463   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
21464 if test "x$ac_cv_func_isinff" = x""yes; then :
21465   cat >>confdefs.h <<_ACEOF
21466 #define HAVE_ISINFF 1
21467 _ACEOF
21468
21469 fi
21470 done
21471
21472   else
21473
21474   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
21475 $as_echo_n "checking for _isinff declaration... " >&6; }
21476   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
21477     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
21478   $as_echo_n "(cached) " >&6
21479 else
21480
21481
21482       ac_ext=cpp
21483 ac_cpp='$CXXCPP $CPPFLAGS'
21484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21487
21488       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21489 /* end confdefs.h.  */
21490 #include <math.h>
21491                       #ifdef HAVE_IEEEFP_H
21492                       #include <ieeefp.h>
21493                       #endif
21494
21495 int
21496 main ()
21497 {
21498  _isinff(0);
21499   ;
21500   return 0;
21501 }
21502 _ACEOF
21503 if ac_fn_cxx_try_compile "$LINENO"; then :
21504   glibcxx_cv_func__isinff_use=yes
21505 else
21506   glibcxx_cv_func__isinff_use=no
21507 fi
21508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21509       ac_ext=c
21510 ac_cpp='$CPP $CPPFLAGS'
21511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21514
21515
21516 fi
21517
21518   fi
21519   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
21520 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
21521
21522     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
21523       for ac_func in _isinff
21524 do :
21525   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
21526 if test "x$ac_cv_func__isinff" = x""yes; then :
21527   cat >>confdefs.h <<_ACEOF
21528 #define HAVE__ISINFF 1
21529 _ACEOF
21530
21531 fi
21532 done
21533
21534     fi
21535   fi
21536
21537
21538
21539
21540
21541   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
21542 $as_echo_n "checking for atan2f declaration... " >&6; }
21543   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
21544     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
21545   $as_echo_n "(cached) " >&6
21546 else
21547
21548
21549       ac_ext=cpp
21550 ac_cpp='$CXXCPP $CPPFLAGS'
21551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21554
21555       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21556 /* end confdefs.h.  */
21557 #include <math.h>
21558 int
21559 main ()
21560 {
21561  atan2f(0, 0);
21562   ;
21563   return 0;
21564 }
21565 _ACEOF
21566 if ac_fn_cxx_try_compile "$LINENO"; then :
21567   glibcxx_cv_func_atan2f_use=yes
21568 else
21569   glibcxx_cv_func_atan2f_use=no
21570 fi
21571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21572       ac_ext=c
21573 ac_cpp='$CPP $CPPFLAGS'
21574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21577
21578
21579 fi
21580
21581   fi
21582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
21583 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
21584
21585   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
21586     for ac_func in atan2f
21587 do :
21588   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
21589 if test "x$ac_cv_func_atan2f" = x""yes; then :
21590   cat >>confdefs.h <<_ACEOF
21591 #define HAVE_ATAN2F 1
21592 _ACEOF
21593
21594 fi
21595 done
21596
21597   else
21598
21599   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
21600 $as_echo_n "checking for _atan2f declaration... " >&6; }
21601   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
21602     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
21603   $as_echo_n "(cached) " >&6
21604 else
21605
21606
21607       ac_ext=cpp
21608 ac_cpp='$CXXCPP $CPPFLAGS'
21609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21612
21613       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21614 /* end confdefs.h.  */
21615 #include <math.h>
21616 int
21617 main ()
21618 {
21619  _atan2f(0, 0);
21620   ;
21621   return 0;
21622 }
21623 _ACEOF
21624 if ac_fn_cxx_try_compile "$LINENO"; then :
21625   glibcxx_cv_func__atan2f_use=yes
21626 else
21627   glibcxx_cv_func__atan2f_use=no
21628 fi
21629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21630       ac_ext=c
21631 ac_cpp='$CPP $CPPFLAGS'
21632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21635
21636
21637 fi
21638
21639   fi
21640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
21641 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
21642
21643     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
21644       for ac_func in _atan2f
21645 do :
21646   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
21647 if test "x$ac_cv_func__atan2f" = x""yes; then :
21648   cat >>confdefs.h <<_ACEOF
21649 #define HAVE__ATAN2F 1
21650 _ACEOF
21651
21652 fi
21653 done
21654
21655     fi
21656   fi
21657
21658
21659
21660
21661
21662   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
21663 $as_echo_n "checking for fabsf declaration... " >&6; }
21664   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
21665     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
21666   $as_echo_n "(cached) " >&6
21667 else
21668
21669
21670       ac_ext=cpp
21671 ac_cpp='$CXXCPP $CPPFLAGS'
21672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21675
21676       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21677 /* end confdefs.h.  */
21678 #include <math.h>
21679                       #ifdef HAVE_IEEEFP_H
21680                       #include <ieeefp.h>
21681                       #endif
21682
21683 int
21684 main ()
21685 {
21686  fabsf(0);
21687   ;
21688   return 0;
21689 }
21690 _ACEOF
21691 if ac_fn_cxx_try_compile "$LINENO"; then :
21692   glibcxx_cv_func_fabsf_use=yes
21693 else
21694   glibcxx_cv_func_fabsf_use=no
21695 fi
21696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21697       ac_ext=c
21698 ac_cpp='$CPP $CPPFLAGS'
21699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21702
21703
21704 fi
21705
21706   fi
21707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
21708 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
21709
21710   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
21711     for ac_func in fabsf
21712 do :
21713   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
21714 if test "x$ac_cv_func_fabsf" = x""yes; then :
21715   cat >>confdefs.h <<_ACEOF
21716 #define HAVE_FABSF 1
21717 _ACEOF
21718
21719 fi
21720 done
21721
21722   else
21723
21724   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
21725 $as_echo_n "checking for _fabsf declaration... " >&6; }
21726   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
21727     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
21728   $as_echo_n "(cached) " >&6
21729 else
21730
21731
21732       ac_ext=cpp
21733 ac_cpp='$CXXCPP $CPPFLAGS'
21734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21737
21738       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21739 /* end confdefs.h.  */
21740 #include <math.h>
21741                       #ifdef HAVE_IEEEFP_H
21742                       #include <ieeefp.h>
21743                       #endif
21744
21745 int
21746 main ()
21747 {
21748  _fabsf(0);
21749   ;
21750   return 0;
21751 }
21752 _ACEOF
21753 if ac_fn_cxx_try_compile "$LINENO"; then :
21754   glibcxx_cv_func__fabsf_use=yes
21755 else
21756   glibcxx_cv_func__fabsf_use=no
21757 fi
21758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21759       ac_ext=c
21760 ac_cpp='$CPP $CPPFLAGS'
21761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21764
21765
21766 fi
21767
21768   fi
21769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
21770 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
21771
21772     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
21773       for ac_func in _fabsf
21774 do :
21775   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
21776 if test "x$ac_cv_func__fabsf" = x""yes; then :
21777   cat >>confdefs.h <<_ACEOF
21778 #define HAVE__FABSF 1
21779 _ACEOF
21780
21781 fi
21782 done
21783
21784     fi
21785   fi
21786
21787
21788
21789
21790
21791   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
21792 $as_echo_n "checking for fmodf declaration... " >&6; }
21793   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
21794     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
21795   $as_echo_n "(cached) " >&6
21796 else
21797
21798
21799       ac_ext=cpp
21800 ac_cpp='$CXXCPP $CPPFLAGS'
21801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21804
21805       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21806 /* end confdefs.h.  */
21807 #include <math.h>
21808 int
21809 main ()
21810 {
21811  fmodf(0, 0);
21812   ;
21813   return 0;
21814 }
21815 _ACEOF
21816 if ac_fn_cxx_try_compile "$LINENO"; then :
21817   glibcxx_cv_func_fmodf_use=yes
21818 else
21819   glibcxx_cv_func_fmodf_use=no
21820 fi
21821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21822       ac_ext=c
21823 ac_cpp='$CPP $CPPFLAGS'
21824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21827
21828
21829 fi
21830
21831   fi
21832   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
21833 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
21834
21835   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
21836     for ac_func in fmodf
21837 do :
21838   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
21839 if test "x$ac_cv_func_fmodf" = x""yes; then :
21840   cat >>confdefs.h <<_ACEOF
21841 #define HAVE_FMODF 1
21842 _ACEOF
21843
21844 fi
21845 done
21846
21847   else
21848
21849   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
21850 $as_echo_n "checking for _fmodf declaration... " >&6; }
21851   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
21852     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
21853   $as_echo_n "(cached) " >&6
21854 else
21855
21856
21857       ac_ext=cpp
21858 ac_cpp='$CXXCPP $CPPFLAGS'
21859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21862
21863       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21864 /* end confdefs.h.  */
21865 #include <math.h>
21866 int
21867 main ()
21868 {
21869  _fmodf(0, 0);
21870   ;
21871   return 0;
21872 }
21873 _ACEOF
21874 if ac_fn_cxx_try_compile "$LINENO"; then :
21875   glibcxx_cv_func__fmodf_use=yes
21876 else
21877   glibcxx_cv_func__fmodf_use=no
21878 fi
21879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21880       ac_ext=c
21881 ac_cpp='$CPP $CPPFLAGS'
21882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21885
21886
21887 fi
21888
21889   fi
21890   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
21891 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
21892
21893     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
21894       for ac_func in _fmodf
21895 do :
21896   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
21897 if test "x$ac_cv_func__fmodf" = x""yes; then :
21898   cat >>confdefs.h <<_ACEOF
21899 #define HAVE__FMODF 1
21900 _ACEOF
21901
21902 fi
21903 done
21904
21905     fi
21906   fi
21907
21908
21909
21910
21911
21912   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
21913 $as_echo_n "checking for frexpf declaration... " >&6; }
21914   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
21915     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
21916   $as_echo_n "(cached) " >&6
21917 else
21918
21919
21920       ac_ext=cpp
21921 ac_cpp='$CXXCPP $CPPFLAGS'
21922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21925
21926       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21927 /* end confdefs.h.  */
21928 #include <math.h>
21929 int
21930 main ()
21931 {
21932  frexpf(0, 0);
21933   ;
21934   return 0;
21935 }
21936 _ACEOF
21937 if ac_fn_cxx_try_compile "$LINENO"; then :
21938   glibcxx_cv_func_frexpf_use=yes
21939 else
21940   glibcxx_cv_func_frexpf_use=no
21941 fi
21942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21943       ac_ext=c
21944 ac_cpp='$CPP $CPPFLAGS'
21945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21948
21949
21950 fi
21951
21952   fi
21953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
21954 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
21955
21956   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
21957     for ac_func in frexpf
21958 do :
21959   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
21960 if test "x$ac_cv_func_frexpf" = x""yes; then :
21961   cat >>confdefs.h <<_ACEOF
21962 #define HAVE_FREXPF 1
21963 _ACEOF
21964
21965 fi
21966 done
21967
21968   else
21969
21970   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
21971 $as_echo_n "checking for _frexpf declaration... " >&6; }
21972   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
21973     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
21974   $as_echo_n "(cached) " >&6
21975 else
21976
21977
21978       ac_ext=cpp
21979 ac_cpp='$CXXCPP $CPPFLAGS'
21980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21983
21984       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21985 /* end confdefs.h.  */
21986 #include <math.h>
21987 int
21988 main ()
21989 {
21990  _frexpf(0, 0);
21991   ;
21992   return 0;
21993 }
21994 _ACEOF
21995 if ac_fn_cxx_try_compile "$LINENO"; then :
21996   glibcxx_cv_func__frexpf_use=yes
21997 else
21998   glibcxx_cv_func__frexpf_use=no
21999 fi
22000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22001       ac_ext=c
22002 ac_cpp='$CPP $CPPFLAGS'
22003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22006
22007
22008 fi
22009
22010   fi
22011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
22012 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
22013
22014     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
22015       for ac_func in _frexpf
22016 do :
22017   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
22018 if test "x$ac_cv_func__frexpf" = x""yes; then :
22019   cat >>confdefs.h <<_ACEOF
22020 #define HAVE__FREXPF 1
22021 _ACEOF
22022
22023 fi
22024 done
22025
22026     fi
22027   fi
22028
22029
22030
22031
22032
22033   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
22034 $as_echo_n "checking for hypotf declaration... " >&6; }
22035   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
22036     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
22037   $as_echo_n "(cached) " >&6
22038 else
22039
22040
22041       ac_ext=cpp
22042 ac_cpp='$CXXCPP $CPPFLAGS'
22043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22046
22047       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22048 /* end confdefs.h.  */
22049 #include <math.h>
22050 int
22051 main ()
22052 {
22053  hypotf(0, 0);
22054   ;
22055   return 0;
22056 }
22057 _ACEOF
22058 if ac_fn_cxx_try_compile "$LINENO"; then :
22059   glibcxx_cv_func_hypotf_use=yes
22060 else
22061   glibcxx_cv_func_hypotf_use=no
22062 fi
22063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22064       ac_ext=c
22065 ac_cpp='$CPP $CPPFLAGS'
22066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22069
22070
22071 fi
22072
22073   fi
22074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
22075 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
22076
22077   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
22078     for ac_func in hypotf
22079 do :
22080   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
22081 if test "x$ac_cv_func_hypotf" = x""yes; then :
22082   cat >>confdefs.h <<_ACEOF
22083 #define HAVE_HYPOTF 1
22084 _ACEOF
22085
22086 fi
22087 done
22088
22089   else
22090
22091   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
22092 $as_echo_n "checking for _hypotf declaration... " >&6; }
22093   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
22094     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
22095   $as_echo_n "(cached) " >&6
22096 else
22097
22098
22099       ac_ext=cpp
22100 ac_cpp='$CXXCPP $CPPFLAGS'
22101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22104
22105       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22106 /* end confdefs.h.  */
22107 #include <math.h>
22108 int
22109 main ()
22110 {
22111  _hypotf(0, 0);
22112   ;
22113   return 0;
22114 }
22115 _ACEOF
22116 if ac_fn_cxx_try_compile "$LINENO"; then :
22117   glibcxx_cv_func__hypotf_use=yes
22118 else
22119   glibcxx_cv_func__hypotf_use=no
22120 fi
22121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22122       ac_ext=c
22123 ac_cpp='$CPP $CPPFLAGS'
22124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22127
22128
22129 fi
22130
22131   fi
22132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
22133 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
22134
22135     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
22136       for ac_func in _hypotf
22137 do :
22138   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
22139 if test "x$ac_cv_func__hypotf" = x""yes; then :
22140   cat >>confdefs.h <<_ACEOF
22141 #define HAVE__HYPOTF 1
22142 _ACEOF
22143
22144 fi
22145 done
22146
22147     fi
22148   fi
22149
22150
22151
22152
22153
22154   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
22155 $as_echo_n "checking for ldexpf declaration... " >&6; }
22156   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
22157     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
22158   $as_echo_n "(cached) " >&6
22159 else
22160
22161
22162       ac_ext=cpp
22163 ac_cpp='$CXXCPP $CPPFLAGS'
22164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22167
22168       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22169 /* end confdefs.h.  */
22170 #include <math.h>
22171 int
22172 main ()
22173 {
22174  ldexpf(0, 0);
22175   ;
22176   return 0;
22177 }
22178 _ACEOF
22179 if ac_fn_cxx_try_compile "$LINENO"; then :
22180   glibcxx_cv_func_ldexpf_use=yes
22181 else
22182   glibcxx_cv_func_ldexpf_use=no
22183 fi
22184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22185       ac_ext=c
22186 ac_cpp='$CPP $CPPFLAGS'
22187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22190
22191
22192 fi
22193
22194   fi
22195   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
22196 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
22197
22198   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
22199     for ac_func in ldexpf
22200 do :
22201   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
22202 if test "x$ac_cv_func_ldexpf" = x""yes; then :
22203   cat >>confdefs.h <<_ACEOF
22204 #define HAVE_LDEXPF 1
22205 _ACEOF
22206
22207 fi
22208 done
22209
22210   else
22211
22212   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
22213 $as_echo_n "checking for _ldexpf declaration... " >&6; }
22214   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
22215     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
22216   $as_echo_n "(cached) " >&6
22217 else
22218
22219
22220       ac_ext=cpp
22221 ac_cpp='$CXXCPP $CPPFLAGS'
22222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22225
22226       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22227 /* end confdefs.h.  */
22228 #include <math.h>
22229 int
22230 main ()
22231 {
22232  _ldexpf(0, 0);
22233   ;
22234   return 0;
22235 }
22236 _ACEOF
22237 if ac_fn_cxx_try_compile "$LINENO"; then :
22238   glibcxx_cv_func__ldexpf_use=yes
22239 else
22240   glibcxx_cv_func__ldexpf_use=no
22241 fi
22242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22243       ac_ext=c
22244 ac_cpp='$CPP $CPPFLAGS'
22245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22248
22249
22250 fi
22251
22252   fi
22253   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
22254 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
22255
22256     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
22257       for ac_func in _ldexpf
22258 do :
22259   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
22260 if test "x$ac_cv_func__ldexpf" = x""yes; then :
22261   cat >>confdefs.h <<_ACEOF
22262 #define HAVE__LDEXPF 1
22263 _ACEOF
22264
22265 fi
22266 done
22267
22268     fi
22269   fi
22270
22271
22272
22273
22274
22275   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22276 $as_echo_n "checking for logf declaration... " >&6; }
22277   if test x${glibcxx_cv_func_logf_use+set} != xset; then
22278     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22279   $as_echo_n "(cached) " >&6
22280 else
22281
22282
22283       ac_ext=cpp
22284 ac_cpp='$CXXCPP $CPPFLAGS'
22285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22288
22289       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22290 /* end confdefs.h.  */
22291 #include <math.h>
22292                       #ifdef HAVE_IEEEFP_H
22293                       #include <ieeefp.h>
22294                       #endif
22295
22296 int
22297 main ()
22298 {
22299  logf(0);
22300   ;
22301   return 0;
22302 }
22303 _ACEOF
22304 if ac_fn_cxx_try_compile "$LINENO"; then :
22305   glibcxx_cv_func_logf_use=yes
22306 else
22307   glibcxx_cv_func_logf_use=no
22308 fi
22309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22310       ac_ext=c
22311 ac_cpp='$CPP $CPPFLAGS'
22312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22315
22316
22317 fi
22318
22319   fi
22320   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
22321 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
22322
22323   if test x$glibcxx_cv_func_logf_use = x"yes"; then
22324     for ac_func in logf
22325 do :
22326   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
22327 if test "x$ac_cv_func_logf" = x""yes; then :
22328   cat >>confdefs.h <<_ACEOF
22329 #define HAVE_LOGF 1
22330 _ACEOF
22331
22332 fi
22333 done
22334
22335   else
22336
22337   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
22338 $as_echo_n "checking for _logf declaration... " >&6; }
22339   if test x${glibcxx_cv_func__logf_use+set} != xset; then
22340     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
22341   $as_echo_n "(cached) " >&6
22342 else
22343
22344
22345       ac_ext=cpp
22346 ac_cpp='$CXXCPP $CPPFLAGS'
22347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22350
22351       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22352 /* end confdefs.h.  */
22353 #include <math.h>
22354                       #ifdef HAVE_IEEEFP_H
22355                       #include <ieeefp.h>
22356                       #endif
22357
22358 int
22359 main ()
22360 {
22361  _logf(0);
22362   ;
22363   return 0;
22364 }
22365 _ACEOF
22366 if ac_fn_cxx_try_compile "$LINENO"; then :
22367   glibcxx_cv_func__logf_use=yes
22368 else
22369   glibcxx_cv_func__logf_use=no
22370 fi
22371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22372       ac_ext=c
22373 ac_cpp='$CPP $CPPFLAGS'
22374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22377
22378
22379 fi
22380
22381   fi
22382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
22383 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
22384
22385     if test x$glibcxx_cv_func__logf_use = x"yes"; then
22386       for ac_func in _logf
22387 do :
22388   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
22389 if test "x$ac_cv_func__logf" = x""yes; then :
22390   cat >>confdefs.h <<_ACEOF
22391 #define HAVE__LOGF 1
22392 _ACEOF
22393
22394 fi
22395 done
22396
22397     fi
22398   fi
22399
22400
22401
22402
22403
22404   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
22405 $as_echo_n "checking for log10f declaration... " >&6; }
22406   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
22407     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
22408   $as_echo_n "(cached) " >&6
22409 else
22410
22411
22412       ac_ext=cpp
22413 ac_cpp='$CXXCPP $CPPFLAGS'
22414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22417
22418       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22419 /* end confdefs.h.  */
22420 #include <math.h>
22421                       #ifdef HAVE_IEEEFP_H
22422                       #include <ieeefp.h>
22423                       #endif
22424
22425 int
22426 main ()
22427 {
22428  log10f(0);
22429   ;
22430   return 0;
22431 }
22432 _ACEOF
22433 if ac_fn_cxx_try_compile "$LINENO"; then :
22434   glibcxx_cv_func_log10f_use=yes
22435 else
22436   glibcxx_cv_func_log10f_use=no
22437 fi
22438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22439       ac_ext=c
22440 ac_cpp='$CPP $CPPFLAGS'
22441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22444
22445
22446 fi
22447
22448   fi
22449   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
22450 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
22451
22452   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
22453     for ac_func in log10f
22454 do :
22455   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
22456 if test "x$ac_cv_func_log10f" = x""yes; then :
22457   cat >>confdefs.h <<_ACEOF
22458 #define HAVE_LOG10F 1
22459 _ACEOF
22460
22461 fi
22462 done
22463
22464   else
22465
22466   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
22467 $as_echo_n "checking for _log10f declaration... " >&6; }
22468   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
22469     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
22470   $as_echo_n "(cached) " >&6
22471 else
22472
22473
22474       ac_ext=cpp
22475 ac_cpp='$CXXCPP $CPPFLAGS'
22476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22479
22480       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22481 /* end confdefs.h.  */
22482 #include <math.h>
22483                       #ifdef HAVE_IEEEFP_H
22484                       #include <ieeefp.h>
22485                       #endif
22486
22487 int
22488 main ()
22489 {
22490  _log10f(0);
22491   ;
22492   return 0;
22493 }
22494 _ACEOF
22495 if ac_fn_cxx_try_compile "$LINENO"; then :
22496   glibcxx_cv_func__log10f_use=yes
22497 else
22498   glibcxx_cv_func__log10f_use=no
22499 fi
22500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22501       ac_ext=c
22502 ac_cpp='$CPP $CPPFLAGS'
22503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22506
22507
22508 fi
22509
22510   fi
22511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
22512 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
22513
22514     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
22515       for ac_func in _log10f
22516 do :
22517   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
22518 if test "x$ac_cv_func__log10f" = x""yes; then :
22519   cat >>confdefs.h <<_ACEOF
22520 #define HAVE__LOG10F 1
22521 _ACEOF
22522
22523 fi
22524 done
22525
22526     fi
22527   fi
22528
22529
22530
22531
22532
22533   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
22534 $as_echo_n "checking for modff declaration... " >&6; }
22535   if test x${glibcxx_cv_func_modff_use+set} != xset; then
22536     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
22537   $as_echo_n "(cached) " >&6
22538 else
22539
22540
22541       ac_ext=cpp
22542 ac_cpp='$CXXCPP $CPPFLAGS'
22543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22546
22547       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22548 /* end confdefs.h.  */
22549 #include <math.h>
22550 int
22551 main ()
22552 {
22553  modff(0, 0);
22554   ;
22555   return 0;
22556 }
22557 _ACEOF
22558 if ac_fn_cxx_try_compile "$LINENO"; then :
22559   glibcxx_cv_func_modff_use=yes
22560 else
22561   glibcxx_cv_func_modff_use=no
22562 fi
22563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22564       ac_ext=c
22565 ac_cpp='$CPP $CPPFLAGS'
22566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22569
22570
22571 fi
22572
22573   fi
22574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
22575 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
22576
22577   if test x$glibcxx_cv_func_modff_use = x"yes"; then
22578     for ac_func in modff
22579 do :
22580   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
22581 if test "x$ac_cv_func_modff" = x""yes; then :
22582   cat >>confdefs.h <<_ACEOF
22583 #define HAVE_MODFF 1
22584 _ACEOF
22585
22586 fi
22587 done
22588
22589   else
22590
22591   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
22592 $as_echo_n "checking for _modff declaration... " >&6; }
22593   if test x${glibcxx_cv_func__modff_use+set} != xset; then
22594     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
22595   $as_echo_n "(cached) " >&6
22596 else
22597
22598
22599       ac_ext=cpp
22600 ac_cpp='$CXXCPP $CPPFLAGS'
22601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22604
22605       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22606 /* end confdefs.h.  */
22607 #include <math.h>
22608 int
22609 main ()
22610 {
22611  _modff(0, 0);
22612   ;
22613   return 0;
22614 }
22615 _ACEOF
22616 if ac_fn_cxx_try_compile "$LINENO"; then :
22617   glibcxx_cv_func__modff_use=yes
22618 else
22619   glibcxx_cv_func__modff_use=no
22620 fi
22621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22622       ac_ext=c
22623 ac_cpp='$CPP $CPPFLAGS'
22624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22627
22628
22629 fi
22630
22631   fi
22632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
22633 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
22634
22635     if test x$glibcxx_cv_func__modff_use = x"yes"; then
22636       for ac_func in _modff
22637 do :
22638   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
22639 if test "x$ac_cv_func__modff" = x""yes; then :
22640   cat >>confdefs.h <<_ACEOF
22641 #define HAVE__MODFF 1
22642 _ACEOF
22643
22644 fi
22645 done
22646
22647     fi
22648   fi
22649
22650
22651
22652
22653
22654   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
22655 $as_echo_n "checking for modf declaration... " >&6; }
22656   if test x${glibcxx_cv_func_modf_use+set} != xset; then
22657     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
22658   $as_echo_n "(cached) " >&6
22659 else
22660
22661
22662       ac_ext=cpp
22663 ac_cpp='$CXXCPP $CPPFLAGS'
22664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22667
22668       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22669 /* end confdefs.h.  */
22670 #include <math.h>
22671 int
22672 main ()
22673 {
22674  modf(0, 0);
22675   ;
22676   return 0;
22677 }
22678 _ACEOF
22679 if ac_fn_cxx_try_compile "$LINENO"; then :
22680   glibcxx_cv_func_modf_use=yes
22681 else
22682   glibcxx_cv_func_modf_use=no
22683 fi
22684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22685       ac_ext=c
22686 ac_cpp='$CPP $CPPFLAGS'
22687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22690
22691
22692 fi
22693
22694   fi
22695   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
22696 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
22697
22698   if test x$glibcxx_cv_func_modf_use = x"yes"; then
22699     for ac_func in modf
22700 do :
22701   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
22702 if test "x$ac_cv_func_modf" = x""yes; then :
22703   cat >>confdefs.h <<_ACEOF
22704 #define HAVE_MODF 1
22705 _ACEOF
22706
22707 fi
22708 done
22709
22710   else
22711
22712   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
22713 $as_echo_n "checking for _modf declaration... " >&6; }
22714   if test x${glibcxx_cv_func__modf_use+set} != xset; then
22715     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
22716   $as_echo_n "(cached) " >&6
22717 else
22718
22719
22720       ac_ext=cpp
22721 ac_cpp='$CXXCPP $CPPFLAGS'
22722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22725
22726       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22727 /* end confdefs.h.  */
22728 #include <math.h>
22729 int
22730 main ()
22731 {
22732  _modf(0, 0);
22733   ;
22734   return 0;
22735 }
22736 _ACEOF
22737 if ac_fn_cxx_try_compile "$LINENO"; then :
22738   glibcxx_cv_func__modf_use=yes
22739 else
22740   glibcxx_cv_func__modf_use=no
22741 fi
22742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22743       ac_ext=c
22744 ac_cpp='$CPP $CPPFLAGS'
22745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22748
22749
22750 fi
22751
22752   fi
22753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
22754 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
22755
22756     if test x$glibcxx_cv_func__modf_use = x"yes"; then
22757       for ac_func in _modf
22758 do :
22759   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
22760 if test "x$ac_cv_func__modf" = x""yes; then :
22761   cat >>confdefs.h <<_ACEOF
22762 #define HAVE__MODF 1
22763 _ACEOF
22764
22765 fi
22766 done
22767
22768     fi
22769   fi
22770
22771
22772
22773
22774
22775   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
22776 $as_echo_n "checking for powf declaration... " >&6; }
22777   if test x${glibcxx_cv_func_powf_use+set} != xset; then
22778     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
22779   $as_echo_n "(cached) " >&6
22780 else
22781
22782
22783       ac_ext=cpp
22784 ac_cpp='$CXXCPP $CPPFLAGS'
22785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22788
22789       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22790 /* end confdefs.h.  */
22791 #include <math.h>
22792 int
22793 main ()
22794 {
22795  powf(0, 0);
22796   ;
22797   return 0;
22798 }
22799 _ACEOF
22800 if ac_fn_cxx_try_compile "$LINENO"; then :
22801   glibcxx_cv_func_powf_use=yes
22802 else
22803   glibcxx_cv_func_powf_use=no
22804 fi
22805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22806       ac_ext=c
22807 ac_cpp='$CPP $CPPFLAGS'
22808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22811
22812
22813 fi
22814
22815   fi
22816   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
22817 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
22818
22819   if test x$glibcxx_cv_func_powf_use = x"yes"; then
22820     for ac_func in powf
22821 do :
22822   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
22823 if test "x$ac_cv_func_powf" = x""yes; then :
22824   cat >>confdefs.h <<_ACEOF
22825 #define HAVE_POWF 1
22826 _ACEOF
22827
22828 fi
22829 done
22830
22831   else
22832
22833   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
22834 $as_echo_n "checking for _powf declaration... " >&6; }
22835   if test x${glibcxx_cv_func__powf_use+set} != xset; then
22836     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
22837   $as_echo_n "(cached) " >&6
22838 else
22839
22840
22841       ac_ext=cpp
22842 ac_cpp='$CXXCPP $CPPFLAGS'
22843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22846
22847       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22848 /* end confdefs.h.  */
22849 #include <math.h>
22850 int
22851 main ()
22852 {
22853  _powf(0, 0);
22854   ;
22855   return 0;
22856 }
22857 _ACEOF
22858 if ac_fn_cxx_try_compile "$LINENO"; then :
22859   glibcxx_cv_func__powf_use=yes
22860 else
22861   glibcxx_cv_func__powf_use=no
22862 fi
22863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22864       ac_ext=c
22865 ac_cpp='$CPP $CPPFLAGS'
22866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22869
22870
22871 fi
22872
22873   fi
22874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
22875 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
22876
22877     if test x$glibcxx_cv_func__powf_use = x"yes"; then
22878       for ac_func in _powf
22879 do :
22880   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
22881 if test "x$ac_cv_func__powf" = x""yes; then :
22882   cat >>confdefs.h <<_ACEOF
22883 #define HAVE__POWF 1
22884 _ACEOF
22885
22886 fi
22887 done
22888
22889     fi
22890   fi
22891
22892
22893
22894
22895
22896   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
22897 $as_echo_n "checking for sqrtf declaration... " >&6; }
22898   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
22899     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
22900   $as_echo_n "(cached) " >&6
22901 else
22902
22903
22904       ac_ext=cpp
22905 ac_cpp='$CXXCPP $CPPFLAGS'
22906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22909
22910       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22911 /* end confdefs.h.  */
22912 #include <math.h>
22913                       #ifdef HAVE_IEEEFP_H
22914                       #include <ieeefp.h>
22915                       #endif
22916
22917 int
22918 main ()
22919 {
22920  sqrtf(0);
22921   ;
22922   return 0;
22923 }
22924 _ACEOF
22925 if ac_fn_cxx_try_compile "$LINENO"; then :
22926   glibcxx_cv_func_sqrtf_use=yes
22927 else
22928   glibcxx_cv_func_sqrtf_use=no
22929 fi
22930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22931       ac_ext=c
22932 ac_cpp='$CPP $CPPFLAGS'
22933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22936
22937
22938 fi
22939
22940   fi
22941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
22942 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
22943
22944   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
22945     for ac_func in sqrtf
22946 do :
22947   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
22948 if test "x$ac_cv_func_sqrtf" = x""yes; then :
22949   cat >>confdefs.h <<_ACEOF
22950 #define HAVE_SQRTF 1
22951 _ACEOF
22952
22953 fi
22954 done
22955
22956   else
22957
22958   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
22959 $as_echo_n "checking for _sqrtf declaration... " >&6; }
22960   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
22961     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
22962   $as_echo_n "(cached) " >&6
22963 else
22964
22965
22966       ac_ext=cpp
22967 ac_cpp='$CXXCPP $CPPFLAGS'
22968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22971
22972       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22973 /* end confdefs.h.  */
22974 #include <math.h>
22975                       #ifdef HAVE_IEEEFP_H
22976                       #include <ieeefp.h>
22977                       #endif
22978
22979 int
22980 main ()
22981 {
22982  _sqrtf(0);
22983   ;
22984   return 0;
22985 }
22986 _ACEOF
22987 if ac_fn_cxx_try_compile "$LINENO"; then :
22988   glibcxx_cv_func__sqrtf_use=yes
22989 else
22990   glibcxx_cv_func__sqrtf_use=no
22991 fi
22992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22993       ac_ext=c
22994 ac_cpp='$CPP $CPPFLAGS'
22995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22998
22999
23000 fi
23001
23002   fi
23003   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
23004 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
23005
23006     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
23007       for ac_func in _sqrtf
23008 do :
23009   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
23010 if test "x$ac_cv_func__sqrtf" = x""yes; then :
23011   cat >>confdefs.h <<_ACEOF
23012 #define HAVE__SQRTF 1
23013 _ACEOF
23014
23015 fi
23016 done
23017
23018     fi
23019   fi
23020
23021
23022
23023
23024
23025   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
23026 $as_echo_n "checking for sincosf declaration... " >&6; }
23027   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
23028     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
23029   $as_echo_n "(cached) " >&6
23030 else
23031
23032
23033       ac_ext=cpp
23034 ac_cpp='$CXXCPP $CPPFLAGS'
23035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23038
23039       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23040 /* end confdefs.h.  */
23041 #include <math.h>
23042 int
23043 main ()
23044 {
23045  sincosf(0, 0, 0);
23046   ;
23047   return 0;
23048 }
23049 _ACEOF
23050 if ac_fn_cxx_try_compile "$LINENO"; then :
23051   glibcxx_cv_func_sincosf_use=yes
23052 else
23053   glibcxx_cv_func_sincosf_use=no
23054 fi
23055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23056       ac_ext=c
23057 ac_cpp='$CPP $CPPFLAGS'
23058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23061
23062
23063 fi
23064
23065   fi
23066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
23067 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
23068
23069   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
23070     for ac_func in sincosf
23071 do :
23072   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
23073 if test "x$ac_cv_func_sincosf" = x""yes; then :
23074   cat >>confdefs.h <<_ACEOF
23075 #define HAVE_SINCOSF 1
23076 _ACEOF
23077
23078 fi
23079 done
23080
23081   else
23082
23083   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
23084 $as_echo_n "checking for _sincosf declaration... " >&6; }
23085   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
23086     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
23087   $as_echo_n "(cached) " >&6
23088 else
23089
23090
23091       ac_ext=cpp
23092 ac_cpp='$CXXCPP $CPPFLAGS'
23093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23096
23097       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23098 /* end confdefs.h.  */
23099 #include <math.h>
23100 int
23101 main ()
23102 {
23103  _sincosf(0, 0, 0);
23104   ;
23105   return 0;
23106 }
23107 _ACEOF
23108 if ac_fn_cxx_try_compile "$LINENO"; then :
23109   glibcxx_cv_func__sincosf_use=yes
23110 else
23111   glibcxx_cv_func__sincosf_use=no
23112 fi
23113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23114       ac_ext=c
23115 ac_cpp='$CPP $CPPFLAGS'
23116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23119
23120
23121 fi
23122
23123   fi
23124   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
23125 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
23126
23127     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
23128       for ac_func in _sincosf
23129 do :
23130   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
23131 if test "x$ac_cv_func__sincosf" = x""yes; then :
23132   cat >>confdefs.h <<_ACEOF
23133 #define HAVE__SINCOSF 1
23134 _ACEOF
23135
23136 fi
23137 done
23138
23139     fi
23140   fi
23141
23142
23143
23144
23145
23146   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
23147 $as_echo_n "checking for finitef declaration... " >&6; }
23148   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
23149     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
23150   $as_echo_n "(cached) " >&6
23151 else
23152
23153
23154       ac_ext=cpp
23155 ac_cpp='$CXXCPP $CPPFLAGS'
23156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23159
23160       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23161 /* end confdefs.h.  */
23162 #include <math.h>
23163                       #ifdef HAVE_IEEEFP_H
23164                       #include <ieeefp.h>
23165                       #endif
23166
23167 int
23168 main ()
23169 {
23170  finitef(0);
23171   ;
23172   return 0;
23173 }
23174 _ACEOF
23175 if ac_fn_cxx_try_compile "$LINENO"; then :
23176   glibcxx_cv_func_finitef_use=yes
23177 else
23178   glibcxx_cv_func_finitef_use=no
23179 fi
23180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23181       ac_ext=c
23182 ac_cpp='$CPP $CPPFLAGS'
23183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23186
23187
23188 fi
23189
23190   fi
23191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
23192 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
23193
23194   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
23195     for ac_func in finitef
23196 do :
23197   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
23198 if test "x$ac_cv_func_finitef" = x""yes; then :
23199   cat >>confdefs.h <<_ACEOF
23200 #define HAVE_FINITEF 1
23201 _ACEOF
23202
23203 fi
23204 done
23205
23206   else
23207
23208   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
23209 $as_echo_n "checking for _finitef declaration... " >&6; }
23210   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
23211     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
23212   $as_echo_n "(cached) " >&6
23213 else
23214
23215
23216       ac_ext=cpp
23217 ac_cpp='$CXXCPP $CPPFLAGS'
23218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23221
23222       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23223 /* end confdefs.h.  */
23224 #include <math.h>
23225                       #ifdef HAVE_IEEEFP_H
23226                       #include <ieeefp.h>
23227                       #endif
23228
23229 int
23230 main ()
23231 {
23232  _finitef(0);
23233   ;
23234   return 0;
23235 }
23236 _ACEOF
23237 if ac_fn_cxx_try_compile "$LINENO"; then :
23238   glibcxx_cv_func__finitef_use=yes
23239 else
23240   glibcxx_cv_func__finitef_use=no
23241 fi
23242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23243       ac_ext=c
23244 ac_cpp='$CPP $CPPFLAGS'
23245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23248
23249
23250 fi
23251
23252   fi
23253   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
23254 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
23255
23256     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
23257       for ac_func in _finitef
23258 do :
23259   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
23260 if test "x$ac_cv_func__finitef" = x""yes; then :
23261   cat >>confdefs.h <<_ACEOF
23262 #define HAVE__FINITEF 1
23263 _ACEOF
23264
23265 fi
23266 done
23267
23268     fi
23269   fi
23270
23271
23272
23273
23274
23275     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23276 $as_echo_n "checking for long double trig functions... " >&6; }
23277   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
23278   $as_echo_n "(cached) " >&6
23279 else
23280
23281
23282     ac_ext=cpp
23283 ac_cpp='$CXXCPP $CPPFLAGS'
23284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23287
23288     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23289 /* end confdefs.h.  */
23290 #include <math.h>
23291 int
23292 main ()
23293 {
23294 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
23295   ;
23296   return 0;
23297 }
23298 _ACEOF
23299 if ac_fn_cxx_try_compile "$LINENO"; then :
23300   glibcxx_cv_func_long_double_trig_use=yes
23301 else
23302   glibcxx_cv_func_long_double_trig_use=no
23303 fi
23304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23305     ac_ext=c
23306 ac_cpp='$CPP $CPPFLAGS'
23307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23310
23311 fi
23312
23313   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
23314 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
23315   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
23316     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
23317 do :
23318   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23319 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23320 eval as_val=\$$as_ac_var
23321    if test "x$as_val" = x""yes; then :
23322   cat >>confdefs.h <<_ACEOF
23323 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23324 _ACEOF
23325
23326 fi
23327 done
23328
23329   else
23330     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
23331 $as_echo_n "checking for _long double trig functions... " >&6; }
23332     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
23333   $as_echo_n "(cached) " >&6
23334 else
23335
23336
23337       ac_ext=cpp
23338 ac_cpp='$CXXCPP $CPPFLAGS'
23339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23342
23343       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23344 /* end confdefs.h.  */
23345 #include <math.h>
23346 int
23347 main ()
23348 {
23349 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
23350   ;
23351   return 0;
23352 }
23353 _ACEOF
23354 if ac_fn_cxx_try_compile "$LINENO"; then :
23355   glibcxx_cv_func__long_double_trig_use=yes
23356 else
23357   glibcxx_cv_func__long_double_trig_use=no
23358 fi
23359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23360       ac_ext=c
23361 ac_cpp='$CPP $CPPFLAGS'
23362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23365
23366 fi
23367
23368     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
23369 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
23370     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
23371       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
23372 do :
23373   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23374 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23375 eval as_val=\$$as_ac_var
23376    if test "x$as_val" = x""yes; then :
23377   cat >>confdefs.h <<_ACEOF
23378 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23379 _ACEOF
23380
23381 fi
23382 done
23383
23384     fi
23385   fi
23386
23387
23388
23389
23390
23391     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
23392 $as_echo_n "checking for long double round functions... " >&6; }
23393   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
23394   $as_echo_n "(cached) " >&6
23395 else
23396
23397
23398     ac_ext=cpp
23399 ac_cpp='$CXXCPP $CPPFLAGS'
23400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23403
23404     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23405 /* end confdefs.h.  */
23406 #include <math.h>
23407 int
23408 main ()
23409 {
23410 ceill (0); floorl (0);
23411   ;
23412   return 0;
23413 }
23414 _ACEOF
23415 if ac_fn_cxx_try_compile "$LINENO"; then :
23416   glibcxx_cv_func_long_double_round_use=yes
23417 else
23418   glibcxx_cv_func_long_double_round_use=no
23419 fi
23420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23421     ac_ext=c
23422 ac_cpp='$CPP $CPPFLAGS'
23423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23426
23427 fi
23428
23429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
23430 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
23431   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
23432     for ac_func in ceill floorl
23433 do :
23434   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23435 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23436 eval as_val=\$$as_ac_var
23437    if test "x$as_val" = x""yes; then :
23438   cat >>confdefs.h <<_ACEOF
23439 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23440 _ACEOF
23441
23442 fi
23443 done
23444
23445   else
23446     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
23447 $as_echo_n "checking for _long double round functions... " >&6; }
23448     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
23449   $as_echo_n "(cached) " >&6
23450 else
23451
23452
23453       ac_ext=cpp
23454 ac_cpp='$CXXCPP $CPPFLAGS'
23455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23458
23459       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23460 /* end confdefs.h.  */
23461 #include <math.h>
23462 int
23463 main ()
23464 {
23465 _ceill (0); _floorl (0);
23466   ;
23467   return 0;
23468 }
23469 _ACEOF
23470 if ac_fn_cxx_try_compile "$LINENO"; then :
23471   glibcxx_cv_func__long_double_round_use=yes
23472 else
23473   glibcxx_cv_func__long_double_round_use=no
23474 fi
23475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23476       ac_ext=c
23477 ac_cpp='$CPP $CPPFLAGS'
23478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23481
23482 fi
23483
23484     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
23485 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
23486     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
23487       for ac_func in _ceill _floorl
23488 do :
23489   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23490 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23491 eval as_val=\$$as_ac_var
23492    if test "x$as_val" = x""yes; then :
23493   cat >>confdefs.h <<_ACEOF
23494 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23495 _ACEOF
23496
23497 fi
23498 done
23499
23500     fi
23501   fi
23502
23503
23504
23505
23506
23507
23508   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
23509 $as_echo_n "checking for isnanl declaration... " >&6; }
23510   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
23511     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
23512   $as_echo_n "(cached) " >&6
23513 else
23514
23515
23516       ac_ext=cpp
23517 ac_cpp='$CXXCPP $CPPFLAGS'
23518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23521
23522       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23523 /* end confdefs.h.  */
23524 #include <math.h>
23525                       #ifdef HAVE_IEEEFP_H
23526                       #include <ieeefp.h>
23527                       #endif
23528
23529 int
23530 main ()
23531 {
23532  isnanl(0);
23533   ;
23534   return 0;
23535 }
23536 _ACEOF
23537 if ac_fn_cxx_try_compile "$LINENO"; then :
23538   glibcxx_cv_func_isnanl_use=yes
23539 else
23540   glibcxx_cv_func_isnanl_use=no
23541 fi
23542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23543       ac_ext=c
23544 ac_cpp='$CPP $CPPFLAGS'
23545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23548
23549
23550 fi
23551
23552   fi
23553   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
23554 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
23555
23556   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
23557     for ac_func in isnanl
23558 do :
23559   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
23560 if test "x$ac_cv_func_isnanl" = x""yes; then :
23561   cat >>confdefs.h <<_ACEOF
23562 #define HAVE_ISNANL 1
23563 _ACEOF
23564
23565 fi
23566 done
23567
23568   else
23569
23570   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
23571 $as_echo_n "checking for _isnanl declaration... " >&6; }
23572   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
23573     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
23574   $as_echo_n "(cached) " >&6
23575 else
23576
23577
23578       ac_ext=cpp
23579 ac_cpp='$CXXCPP $CPPFLAGS'
23580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23583
23584       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23585 /* end confdefs.h.  */
23586 #include <math.h>
23587                       #ifdef HAVE_IEEEFP_H
23588                       #include <ieeefp.h>
23589                       #endif
23590
23591 int
23592 main ()
23593 {
23594  _isnanl(0);
23595   ;
23596   return 0;
23597 }
23598 _ACEOF
23599 if ac_fn_cxx_try_compile "$LINENO"; then :
23600   glibcxx_cv_func__isnanl_use=yes
23601 else
23602   glibcxx_cv_func__isnanl_use=no
23603 fi
23604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23605       ac_ext=c
23606 ac_cpp='$CPP $CPPFLAGS'
23607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23610
23611
23612 fi
23613
23614   fi
23615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
23616 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
23617
23618     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
23619       for ac_func in _isnanl
23620 do :
23621   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
23622 if test "x$ac_cv_func__isnanl" = x""yes; then :
23623   cat >>confdefs.h <<_ACEOF
23624 #define HAVE__ISNANL 1
23625 _ACEOF
23626
23627 fi
23628 done
23629
23630     fi
23631   fi
23632
23633
23634
23635
23636
23637   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
23638 $as_echo_n "checking for isinfl declaration... " >&6; }
23639   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
23640     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
23641   $as_echo_n "(cached) " >&6
23642 else
23643
23644
23645       ac_ext=cpp
23646 ac_cpp='$CXXCPP $CPPFLAGS'
23647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23650
23651       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23652 /* end confdefs.h.  */
23653 #include <math.h>
23654                       #ifdef HAVE_IEEEFP_H
23655                       #include <ieeefp.h>
23656                       #endif
23657
23658 int
23659 main ()
23660 {
23661  isinfl(0);
23662   ;
23663   return 0;
23664 }
23665 _ACEOF
23666 if ac_fn_cxx_try_compile "$LINENO"; then :
23667   glibcxx_cv_func_isinfl_use=yes
23668 else
23669   glibcxx_cv_func_isinfl_use=no
23670 fi
23671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23672       ac_ext=c
23673 ac_cpp='$CPP $CPPFLAGS'
23674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23677
23678
23679 fi
23680
23681   fi
23682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
23683 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
23684
23685   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
23686     for ac_func in isinfl
23687 do :
23688   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
23689 if test "x$ac_cv_func_isinfl" = x""yes; then :
23690   cat >>confdefs.h <<_ACEOF
23691 #define HAVE_ISINFL 1
23692 _ACEOF
23693
23694 fi
23695 done
23696
23697   else
23698
23699   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
23700 $as_echo_n "checking for _isinfl declaration... " >&6; }
23701   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
23702     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
23703   $as_echo_n "(cached) " >&6
23704 else
23705
23706
23707       ac_ext=cpp
23708 ac_cpp='$CXXCPP $CPPFLAGS'
23709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23712
23713       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23714 /* end confdefs.h.  */
23715 #include <math.h>
23716                       #ifdef HAVE_IEEEFP_H
23717                       #include <ieeefp.h>
23718                       #endif
23719
23720 int
23721 main ()
23722 {
23723  _isinfl(0);
23724   ;
23725   return 0;
23726 }
23727 _ACEOF
23728 if ac_fn_cxx_try_compile "$LINENO"; then :
23729   glibcxx_cv_func__isinfl_use=yes
23730 else
23731   glibcxx_cv_func__isinfl_use=no
23732 fi
23733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23734       ac_ext=c
23735 ac_cpp='$CPP $CPPFLAGS'
23736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23739
23740
23741 fi
23742
23743   fi
23744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
23745 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
23746
23747     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
23748       for ac_func in _isinfl
23749 do :
23750   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
23751 if test "x$ac_cv_func__isinfl" = x""yes; then :
23752   cat >>confdefs.h <<_ACEOF
23753 #define HAVE__ISINFL 1
23754 _ACEOF
23755
23756 fi
23757 done
23758
23759     fi
23760   fi
23761
23762
23763
23764
23765
23766   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
23767 $as_echo_n "checking for atan2l declaration... " >&6; }
23768   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
23769     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
23770   $as_echo_n "(cached) " >&6
23771 else
23772
23773
23774       ac_ext=cpp
23775 ac_cpp='$CXXCPP $CPPFLAGS'
23776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23779
23780       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23781 /* end confdefs.h.  */
23782 #include <math.h>
23783 int
23784 main ()
23785 {
23786  atan2l(0, 0);
23787   ;
23788   return 0;
23789 }
23790 _ACEOF
23791 if ac_fn_cxx_try_compile "$LINENO"; then :
23792   glibcxx_cv_func_atan2l_use=yes
23793 else
23794   glibcxx_cv_func_atan2l_use=no
23795 fi
23796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23797       ac_ext=c
23798 ac_cpp='$CPP $CPPFLAGS'
23799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23802
23803
23804 fi
23805
23806   fi
23807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
23808 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
23809
23810   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
23811     for ac_func in atan2l
23812 do :
23813   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
23814 if test "x$ac_cv_func_atan2l" = x""yes; then :
23815   cat >>confdefs.h <<_ACEOF
23816 #define HAVE_ATAN2L 1
23817 _ACEOF
23818
23819 fi
23820 done
23821
23822   else
23823
23824   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
23825 $as_echo_n "checking for _atan2l declaration... " >&6; }
23826   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
23827     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
23828   $as_echo_n "(cached) " >&6
23829 else
23830
23831
23832       ac_ext=cpp
23833 ac_cpp='$CXXCPP $CPPFLAGS'
23834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23837
23838       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23839 /* end confdefs.h.  */
23840 #include <math.h>
23841 int
23842 main ()
23843 {
23844  _atan2l(0, 0);
23845   ;
23846   return 0;
23847 }
23848 _ACEOF
23849 if ac_fn_cxx_try_compile "$LINENO"; then :
23850   glibcxx_cv_func__atan2l_use=yes
23851 else
23852   glibcxx_cv_func__atan2l_use=no
23853 fi
23854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23855       ac_ext=c
23856 ac_cpp='$CPP $CPPFLAGS'
23857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23860
23861
23862 fi
23863
23864   fi
23865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
23866 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
23867
23868     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
23869       for ac_func in _atan2l
23870 do :
23871   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
23872 if test "x$ac_cv_func__atan2l" = x""yes; then :
23873   cat >>confdefs.h <<_ACEOF
23874 #define HAVE__ATAN2L 1
23875 _ACEOF
23876
23877 fi
23878 done
23879
23880     fi
23881   fi
23882
23883
23884
23885
23886
23887   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
23888 $as_echo_n "checking for expl declaration... " >&6; }
23889   if test x${glibcxx_cv_func_expl_use+set} != xset; then
23890     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
23891   $as_echo_n "(cached) " >&6
23892 else
23893
23894
23895       ac_ext=cpp
23896 ac_cpp='$CXXCPP $CPPFLAGS'
23897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23900
23901       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23902 /* end confdefs.h.  */
23903 #include <math.h>
23904                       #ifdef HAVE_IEEEFP_H
23905                       #include <ieeefp.h>
23906                       #endif
23907
23908 int
23909 main ()
23910 {
23911  expl(0);
23912   ;
23913   return 0;
23914 }
23915 _ACEOF
23916 if ac_fn_cxx_try_compile "$LINENO"; then :
23917   glibcxx_cv_func_expl_use=yes
23918 else
23919   glibcxx_cv_func_expl_use=no
23920 fi
23921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23922       ac_ext=c
23923 ac_cpp='$CPP $CPPFLAGS'
23924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23927
23928
23929 fi
23930
23931   fi
23932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
23933 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
23934
23935   if test x$glibcxx_cv_func_expl_use = x"yes"; then
23936     for ac_func in expl
23937 do :
23938   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
23939 if test "x$ac_cv_func_expl" = x""yes; then :
23940   cat >>confdefs.h <<_ACEOF
23941 #define HAVE_EXPL 1
23942 _ACEOF
23943
23944 fi
23945 done
23946
23947   else
23948
23949   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
23950 $as_echo_n "checking for _expl declaration... " >&6; }
23951   if test x${glibcxx_cv_func__expl_use+set} != xset; then
23952     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
23953   $as_echo_n "(cached) " >&6
23954 else
23955
23956
23957       ac_ext=cpp
23958 ac_cpp='$CXXCPP $CPPFLAGS'
23959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23962
23963       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23964 /* end confdefs.h.  */
23965 #include <math.h>
23966                       #ifdef HAVE_IEEEFP_H
23967                       #include <ieeefp.h>
23968                       #endif
23969
23970 int
23971 main ()
23972 {
23973  _expl(0);
23974   ;
23975   return 0;
23976 }
23977 _ACEOF
23978 if ac_fn_cxx_try_compile "$LINENO"; then :
23979   glibcxx_cv_func__expl_use=yes
23980 else
23981   glibcxx_cv_func__expl_use=no
23982 fi
23983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23984       ac_ext=c
23985 ac_cpp='$CPP $CPPFLAGS'
23986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23989
23990
23991 fi
23992
23993   fi
23994   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
23995 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
23996
23997     if test x$glibcxx_cv_func__expl_use = x"yes"; then
23998       for ac_func in _expl
23999 do :
24000   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
24001 if test "x$ac_cv_func__expl" = x""yes; then :
24002   cat >>confdefs.h <<_ACEOF
24003 #define HAVE__EXPL 1
24004 _ACEOF
24005
24006 fi
24007 done
24008
24009     fi
24010   fi
24011
24012
24013
24014
24015
24016   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
24017 $as_echo_n "checking for fabsl declaration... " >&6; }
24018   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
24019     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
24020   $as_echo_n "(cached) " >&6
24021 else
24022
24023
24024       ac_ext=cpp
24025 ac_cpp='$CXXCPP $CPPFLAGS'
24026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24029
24030       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24031 /* end confdefs.h.  */
24032 #include <math.h>
24033                       #ifdef HAVE_IEEEFP_H
24034                       #include <ieeefp.h>
24035                       #endif
24036
24037 int
24038 main ()
24039 {
24040  fabsl(0);
24041   ;
24042   return 0;
24043 }
24044 _ACEOF
24045 if ac_fn_cxx_try_compile "$LINENO"; then :
24046   glibcxx_cv_func_fabsl_use=yes
24047 else
24048   glibcxx_cv_func_fabsl_use=no
24049 fi
24050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24051       ac_ext=c
24052 ac_cpp='$CPP $CPPFLAGS'
24053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24056
24057
24058 fi
24059
24060   fi
24061   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
24062 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
24063
24064   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
24065     for ac_func in fabsl
24066 do :
24067   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
24068 if test "x$ac_cv_func_fabsl" = x""yes; then :
24069   cat >>confdefs.h <<_ACEOF
24070 #define HAVE_FABSL 1
24071 _ACEOF
24072
24073 fi
24074 done
24075
24076   else
24077
24078   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
24079 $as_echo_n "checking for _fabsl declaration... " >&6; }
24080   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
24081     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
24082   $as_echo_n "(cached) " >&6
24083 else
24084
24085
24086       ac_ext=cpp
24087 ac_cpp='$CXXCPP $CPPFLAGS'
24088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24091
24092       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24093 /* end confdefs.h.  */
24094 #include <math.h>
24095                       #ifdef HAVE_IEEEFP_H
24096                       #include <ieeefp.h>
24097                       #endif
24098
24099 int
24100 main ()
24101 {
24102  _fabsl(0);
24103   ;
24104   return 0;
24105 }
24106 _ACEOF
24107 if ac_fn_cxx_try_compile "$LINENO"; then :
24108   glibcxx_cv_func__fabsl_use=yes
24109 else
24110   glibcxx_cv_func__fabsl_use=no
24111 fi
24112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24113       ac_ext=c
24114 ac_cpp='$CPP $CPPFLAGS'
24115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24118
24119
24120 fi
24121
24122   fi
24123   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
24124 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
24125
24126     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
24127       for ac_func in _fabsl
24128 do :
24129   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
24130 if test "x$ac_cv_func__fabsl" = x""yes; then :
24131   cat >>confdefs.h <<_ACEOF
24132 #define HAVE__FABSL 1
24133 _ACEOF
24134
24135 fi
24136 done
24137
24138     fi
24139   fi
24140
24141
24142
24143
24144
24145   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
24146 $as_echo_n "checking for fmodl declaration... " >&6; }
24147   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
24148     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
24149   $as_echo_n "(cached) " >&6
24150 else
24151
24152
24153       ac_ext=cpp
24154 ac_cpp='$CXXCPP $CPPFLAGS'
24155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24158
24159       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24160 /* end confdefs.h.  */
24161 #include <math.h>
24162 int
24163 main ()
24164 {
24165  fmodl(0, 0);
24166   ;
24167   return 0;
24168 }
24169 _ACEOF
24170 if ac_fn_cxx_try_compile "$LINENO"; then :
24171   glibcxx_cv_func_fmodl_use=yes
24172 else
24173   glibcxx_cv_func_fmodl_use=no
24174 fi
24175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24176       ac_ext=c
24177 ac_cpp='$CPP $CPPFLAGS'
24178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24181
24182
24183 fi
24184
24185   fi
24186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
24187 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
24188
24189   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
24190     for ac_func in fmodl
24191 do :
24192   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
24193 if test "x$ac_cv_func_fmodl" = x""yes; then :
24194   cat >>confdefs.h <<_ACEOF
24195 #define HAVE_FMODL 1
24196 _ACEOF
24197
24198 fi
24199 done
24200
24201   else
24202
24203   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
24204 $as_echo_n "checking for _fmodl declaration... " >&6; }
24205   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
24206     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
24207   $as_echo_n "(cached) " >&6
24208 else
24209
24210
24211       ac_ext=cpp
24212 ac_cpp='$CXXCPP $CPPFLAGS'
24213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24216
24217       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24218 /* end confdefs.h.  */
24219 #include <math.h>
24220 int
24221 main ()
24222 {
24223  _fmodl(0, 0);
24224   ;
24225   return 0;
24226 }
24227 _ACEOF
24228 if ac_fn_cxx_try_compile "$LINENO"; then :
24229   glibcxx_cv_func__fmodl_use=yes
24230 else
24231   glibcxx_cv_func__fmodl_use=no
24232 fi
24233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24234       ac_ext=c
24235 ac_cpp='$CPP $CPPFLAGS'
24236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24239
24240
24241 fi
24242
24243   fi
24244   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
24245 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
24246
24247     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
24248       for ac_func in _fmodl
24249 do :
24250   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
24251 if test "x$ac_cv_func__fmodl" = x""yes; then :
24252   cat >>confdefs.h <<_ACEOF
24253 #define HAVE__FMODL 1
24254 _ACEOF
24255
24256 fi
24257 done
24258
24259     fi
24260   fi
24261
24262
24263
24264
24265
24266   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
24267 $as_echo_n "checking for frexpl declaration... " >&6; }
24268   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
24269     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
24270   $as_echo_n "(cached) " >&6
24271 else
24272
24273
24274       ac_ext=cpp
24275 ac_cpp='$CXXCPP $CPPFLAGS'
24276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24279
24280       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24281 /* end confdefs.h.  */
24282 #include <math.h>
24283 int
24284 main ()
24285 {
24286  frexpl(0, 0);
24287   ;
24288   return 0;
24289 }
24290 _ACEOF
24291 if ac_fn_cxx_try_compile "$LINENO"; then :
24292   glibcxx_cv_func_frexpl_use=yes
24293 else
24294   glibcxx_cv_func_frexpl_use=no
24295 fi
24296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24297       ac_ext=c
24298 ac_cpp='$CPP $CPPFLAGS'
24299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24302
24303
24304 fi
24305
24306   fi
24307   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
24308 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
24309
24310   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
24311     for ac_func in frexpl
24312 do :
24313   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
24314 if test "x$ac_cv_func_frexpl" = x""yes; then :
24315   cat >>confdefs.h <<_ACEOF
24316 #define HAVE_FREXPL 1
24317 _ACEOF
24318
24319 fi
24320 done
24321
24322   else
24323
24324   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
24325 $as_echo_n "checking for _frexpl declaration... " >&6; }
24326   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
24327     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
24328   $as_echo_n "(cached) " >&6
24329 else
24330
24331
24332       ac_ext=cpp
24333 ac_cpp='$CXXCPP $CPPFLAGS'
24334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24337
24338       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24339 /* end confdefs.h.  */
24340 #include <math.h>
24341 int
24342 main ()
24343 {
24344  _frexpl(0, 0);
24345   ;
24346   return 0;
24347 }
24348 _ACEOF
24349 if ac_fn_cxx_try_compile "$LINENO"; then :
24350   glibcxx_cv_func__frexpl_use=yes
24351 else
24352   glibcxx_cv_func__frexpl_use=no
24353 fi
24354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24355       ac_ext=c
24356 ac_cpp='$CPP $CPPFLAGS'
24357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24360
24361
24362 fi
24363
24364   fi
24365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
24366 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
24367
24368     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
24369       for ac_func in _frexpl
24370 do :
24371   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
24372 if test "x$ac_cv_func__frexpl" = x""yes; then :
24373   cat >>confdefs.h <<_ACEOF
24374 #define HAVE__FREXPL 1
24375 _ACEOF
24376
24377 fi
24378 done
24379
24380     fi
24381   fi
24382
24383
24384
24385
24386
24387   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
24388 $as_echo_n "checking for hypotl declaration... " >&6; }
24389   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
24390     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
24391   $as_echo_n "(cached) " >&6
24392 else
24393
24394
24395       ac_ext=cpp
24396 ac_cpp='$CXXCPP $CPPFLAGS'
24397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24400
24401       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24402 /* end confdefs.h.  */
24403 #include <math.h>
24404 int
24405 main ()
24406 {
24407  hypotl(0, 0);
24408   ;
24409   return 0;
24410 }
24411 _ACEOF
24412 if ac_fn_cxx_try_compile "$LINENO"; then :
24413   glibcxx_cv_func_hypotl_use=yes
24414 else
24415   glibcxx_cv_func_hypotl_use=no
24416 fi
24417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24418       ac_ext=c
24419 ac_cpp='$CPP $CPPFLAGS'
24420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24423
24424
24425 fi
24426
24427   fi
24428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
24429 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
24430
24431   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
24432     for ac_func in hypotl
24433 do :
24434   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
24435 if test "x$ac_cv_func_hypotl" = x""yes; then :
24436   cat >>confdefs.h <<_ACEOF
24437 #define HAVE_HYPOTL 1
24438 _ACEOF
24439
24440 fi
24441 done
24442
24443   else
24444
24445   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
24446 $as_echo_n "checking for _hypotl declaration... " >&6; }
24447   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
24448     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
24449   $as_echo_n "(cached) " >&6
24450 else
24451
24452
24453       ac_ext=cpp
24454 ac_cpp='$CXXCPP $CPPFLAGS'
24455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24458
24459       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24460 /* end confdefs.h.  */
24461 #include <math.h>
24462 int
24463 main ()
24464 {
24465  _hypotl(0, 0);
24466   ;
24467   return 0;
24468 }
24469 _ACEOF
24470 if ac_fn_cxx_try_compile "$LINENO"; then :
24471   glibcxx_cv_func__hypotl_use=yes
24472 else
24473   glibcxx_cv_func__hypotl_use=no
24474 fi
24475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24476       ac_ext=c
24477 ac_cpp='$CPP $CPPFLAGS'
24478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24481
24482
24483 fi
24484
24485   fi
24486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
24487 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
24488
24489     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
24490       for ac_func in _hypotl
24491 do :
24492   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
24493 if test "x$ac_cv_func__hypotl" = x""yes; then :
24494   cat >>confdefs.h <<_ACEOF
24495 #define HAVE__HYPOTL 1
24496 _ACEOF
24497
24498 fi
24499 done
24500
24501     fi
24502   fi
24503
24504
24505
24506
24507
24508   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
24509 $as_echo_n "checking for ldexpl declaration... " >&6; }
24510   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
24511     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
24512   $as_echo_n "(cached) " >&6
24513 else
24514
24515
24516       ac_ext=cpp
24517 ac_cpp='$CXXCPP $CPPFLAGS'
24518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24521
24522       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24523 /* end confdefs.h.  */
24524 #include <math.h>
24525 int
24526 main ()
24527 {
24528  ldexpl(0, 0);
24529   ;
24530   return 0;
24531 }
24532 _ACEOF
24533 if ac_fn_cxx_try_compile "$LINENO"; then :
24534   glibcxx_cv_func_ldexpl_use=yes
24535 else
24536   glibcxx_cv_func_ldexpl_use=no
24537 fi
24538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24539       ac_ext=c
24540 ac_cpp='$CPP $CPPFLAGS'
24541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24544
24545
24546 fi
24547
24548   fi
24549   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
24550 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
24551
24552   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
24553     for ac_func in ldexpl
24554 do :
24555   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
24556 if test "x$ac_cv_func_ldexpl" = x""yes; then :
24557   cat >>confdefs.h <<_ACEOF
24558 #define HAVE_LDEXPL 1
24559 _ACEOF
24560
24561 fi
24562 done
24563
24564   else
24565
24566   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
24567 $as_echo_n "checking for _ldexpl declaration... " >&6; }
24568   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
24569     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
24570   $as_echo_n "(cached) " >&6
24571 else
24572
24573
24574       ac_ext=cpp
24575 ac_cpp='$CXXCPP $CPPFLAGS'
24576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24579
24580       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24581 /* end confdefs.h.  */
24582 #include <math.h>
24583 int
24584 main ()
24585 {
24586  _ldexpl(0, 0);
24587   ;
24588   return 0;
24589 }
24590 _ACEOF
24591 if ac_fn_cxx_try_compile "$LINENO"; then :
24592   glibcxx_cv_func__ldexpl_use=yes
24593 else
24594   glibcxx_cv_func__ldexpl_use=no
24595 fi
24596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24597       ac_ext=c
24598 ac_cpp='$CPP $CPPFLAGS'
24599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24602
24603
24604 fi
24605
24606   fi
24607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
24608 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
24609
24610     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
24611       for ac_func in _ldexpl
24612 do :
24613   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
24614 if test "x$ac_cv_func__ldexpl" = x""yes; then :
24615   cat >>confdefs.h <<_ACEOF
24616 #define HAVE__LDEXPL 1
24617 _ACEOF
24618
24619 fi
24620 done
24621
24622     fi
24623   fi
24624
24625
24626
24627
24628
24629   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
24630 $as_echo_n "checking for logl declaration... " >&6; }
24631   if test x${glibcxx_cv_func_logl_use+set} != xset; then
24632     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
24633   $as_echo_n "(cached) " >&6
24634 else
24635
24636
24637       ac_ext=cpp
24638 ac_cpp='$CXXCPP $CPPFLAGS'
24639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24642
24643       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24644 /* end confdefs.h.  */
24645 #include <math.h>
24646                       #ifdef HAVE_IEEEFP_H
24647                       #include <ieeefp.h>
24648                       #endif
24649
24650 int
24651 main ()
24652 {
24653  logl(0);
24654   ;
24655   return 0;
24656 }
24657 _ACEOF
24658 if ac_fn_cxx_try_compile "$LINENO"; then :
24659   glibcxx_cv_func_logl_use=yes
24660 else
24661   glibcxx_cv_func_logl_use=no
24662 fi
24663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24664       ac_ext=c
24665 ac_cpp='$CPP $CPPFLAGS'
24666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24669
24670
24671 fi
24672
24673   fi
24674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
24675 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
24676
24677   if test x$glibcxx_cv_func_logl_use = x"yes"; then
24678     for ac_func in logl
24679 do :
24680   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
24681 if test "x$ac_cv_func_logl" = x""yes; then :
24682   cat >>confdefs.h <<_ACEOF
24683 #define HAVE_LOGL 1
24684 _ACEOF
24685
24686 fi
24687 done
24688
24689   else
24690
24691   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
24692 $as_echo_n "checking for _logl declaration... " >&6; }
24693   if test x${glibcxx_cv_func__logl_use+set} != xset; then
24694     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
24695   $as_echo_n "(cached) " >&6
24696 else
24697
24698
24699       ac_ext=cpp
24700 ac_cpp='$CXXCPP $CPPFLAGS'
24701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24704
24705       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24706 /* end confdefs.h.  */
24707 #include <math.h>
24708                       #ifdef HAVE_IEEEFP_H
24709                       #include <ieeefp.h>
24710                       #endif
24711
24712 int
24713 main ()
24714 {
24715  _logl(0);
24716   ;
24717   return 0;
24718 }
24719 _ACEOF
24720 if ac_fn_cxx_try_compile "$LINENO"; then :
24721   glibcxx_cv_func__logl_use=yes
24722 else
24723   glibcxx_cv_func__logl_use=no
24724 fi
24725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24726       ac_ext=c
24727 ac_cpp='$CPP $CPPFLAGS'
24728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24731
24732
24733 fi
24734
24735   fi
24736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
24737 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
24738
24739     if test x$glibcxx_cv_func__logl_use = x"yes"; then
24740       for ac_func in _logl
24741 do :
24742   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
24743 if test "x$ac_cv_func__logl" = x""yes; then :
24744   cat >>confdefs.h <<_ACEOF
24745 #define HAVE__LOGL 1
24746 _ACEOF
24747
24748 fi
24749 done
24750
24751     fi
24752   fi
24753
24754
24755
24756
24757
24758   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
24759 $as_echo_n "checking for log10l declaration... " >&6; }
24760   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
24761     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
24762   $as_echo_n "(cached) " >&6
24763 else
24764
24765
24766       ac_ext=cpp
24767 ac_cpp='$CXXCPP $CPPFLAGS'
24768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24771
24772       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24773 /* end confdefs.h.  */
24774 #include <math.h>
24775                       #ifdef HAVE_IEEEFP_H
24776                       #include <ieeefp.h>
24777                       #endif
24778
24779 int
24780 main ()
24781 {
24782  log10l(0);
24783   ;
24784   return 0;
24785 }
24786 _ACEOF
24787 if ac_fn_cxx_try_compile "$LINENO"; then :
24788   glibcxx_cv_func_log10l_use=yes
24789 else
24790   glibcxx_cv_func_log10l_use=no
24791 fi
24792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24793       ac_ext=c
24794 ac_cpp='$CPP $CPPFLAGS'
24795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24798
24799
24800 fi
24801
24802   fi
24803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
24804 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
24805
24806   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
24807     for ac_func in log10l
24808 do :
24809   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
24810 if test "x$ac_cv_func_log10l" = x""yes; then :
24811   cat >>confdefs.h <<_ACEOF
24812 #define HAVE_LOG10L 1
24813 _ACEOF
24814
24815 fi
24816 done
24817
24818   else
24819
24820   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
24821 $as_echo_n "checking for _log10l declaration... " >&6; }
24822   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
24823     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
24824   $as_echo_n "(cached) " >&6
24825 else
24826
24827
24828       ac_ext=cpp
24829 ac_cpp='$CXXCPP $CPPFLAGS'
24830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24833
24834       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24835 /* end confdefs.h.  */
24836 #include <math.h>
24837                       #ifdef HAVE_IEEEFP_H
24838                       #include <ieeefp.h>
24839                       #endif
24840
24841 int
24842 main ()
24843 {
24844  _log10l(0);
24845   ;
24846   return 0;
24847 }
24848 _ACEOF
24849 if ac_fn_cxx_try_compile "$LINENO"; then :
24850   glibcxx_cv_func__log10l_use=yes
24851 else
24852   glibcxx_cv_func__log10l_use=no
24853 fi
24854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24855       ac_ext=c
24856 ac_cpp='$CPP $CPPFLAGS'
24857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24860
24861
24862 fi
24863
24864   fi
24865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
24866 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
24867
24868     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
24869       for ac_func in _log10l
24870 do :
24871   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
24872 if test "x$ac_cv_func__log10l" = x""yes; then :
24873   cat >>confdefs.h <<_ACEOF
24874 #define HAVE__LOG10L 1
24875 _ACEOF
24876
24877 fi
24878 done
24879
24880     fi
24881   fi
24882
24883
24884
24885
24886
24887   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
24888 $as_echo_n "checking for modfl declaration... " >&6; }
24889   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
24890     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
24891   $as_echo_n "(cached) " >&6
24892 else
24893
24894
24895       ac_ext=cpp
24896 ac_cpp='$CXXCPP $CPPFLAGS'
24897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24900
24901       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24902 /* end confdefs.h.  */
24903 #include <math.h>
24904 int
24905 main ()
24906 {
24907  modfl(0, 0);
24908   ;
24909   return 0;
24910 }
24911 _ACEOF
24912 if ac_fn_cxx_try_compile "$LINENO"; then :
24913   glibcxx_cv_func_modfl_use=yes
24914 else
24915   glibcxx_cv_func_modfl_use=no
24916 fi
24917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24918       ac_ext=c
24919 ac_cpp='$CPP $CPPFLAGS'
24920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24923
24924
24925 fi
24926
24927   fi
24928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
24929 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
24930
24931   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
24932     for ac_func in modfl
24933 do :
24934   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
24935 if test "x$ac_cv_func_modfl" = x""yes; then :
24936   cat >>confdefs.h <<_ACEOF
24937 #define HAVE_MODFL 1
24938 _ACEOF
24939
24940 fi
24941 done
24942
24943   else
24944
24945   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
24946 $as_echo_n "checking for _modfl declaration... " >&6; }
24947   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
24948     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
24949   $as_echo_n "(cached) " >&6
24950 else
24951
24952
24953       ac_ext=cpp
24954 ac_cpp='$CXXCPP $CPPFLAGS'
24955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24958
24959       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24960 /* end confdefs.h.  */
24961 #include <math.h>
24962 int
24963 main ()
24964 {
24965  _modfl(0, 0);
24966   ;
24967   return 0;
24968 }
24969 _ACEOF
24970 if ac_fn_cxx_try_compile "$LINENO"; then :
24971   glibcxx_cv_func__modfl_use=yes
24972 else
24973   glibcxx_cv_func__modfl_use=no
24974 fi
24975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24976       ac_ext=c
24977 ac_cpp='$CPP $CPPFLAGS'
24978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24981
24982
24983 fi
24984
24985   fi
24986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
24987 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
24988
24989     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24990       for ac_func in _modfl
24991 do :
24992   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
24993 if test "x$ac_cv_func__modfl" = x""yes; then :
24994   cat >>confdefs.h <<_ACEOF
24995 #define HAVE__MODFL 1
24996 _ACEOF
24997
24998 fi
24999 done
25000
25001     fi
25002   fi
25003
25004
25005
25006
25007
25008   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
25009 $as_echo_n "checking for powl declaration... " >&6; }
25010   if test x${glibcxx_cv_func_powl_use+set} != xset; then
25011     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
25012   $as_echo_n "(cached) " >&6
25013 else
25014
25015
25016       ac_ext=cpp
25017 ac_cpp='$CXXCPP $CPPFLAGS'
25018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25021
25022       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25023 /* end confdefs.h.  */
25024 #include <math.h>
25025 int
25026 main ()
25027 {
25028  powl(0, 0);
25029   ;
25030   return 0;
25031 }
25032 _ACEOF
25033 if ac_fn_cxx_try_compile "$LINENO"; then :
25034   glibcxx_cv_func_powl_use=yes
25035 else
25036   glibcxx_cv_func_powl_use=no
25037 fi
25038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25039       ac_ext=c
25040 ac_cpp='$CPP $CPPFLAGS'
25041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25044
25045
25046 fi
25047
25048   fi
25049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
25050 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
25051
25052   if test x$glibcxx_cv_func_powl_use = x"yes"; then
25053     for ac_func in powl
25054 do :
25055   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
25056 if test "x$ac_cv_func_powl" = x""yes; then :
25057   cat >>confdefs.h <<_ACEOF
25058 #define HAVE_POWL 1
25059 _ACEOF
25060
25061 fi
25062 done
25063
25064   else
25065
25066   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
25067 $as_echo_n "checking for _powl declaration... " >&6; }
25068   if test x${glibcxx_cv_func__powl_use+set} != xset; then
25069     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
25070   $as_echo_n "(cached) " >&6
25071 else
25072
25073
25074       ac_ext=cpp
25075 ac_cpp='$CXXCPP $CPPFLAGS'
25076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25079
25080       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25081 /* end confdefs.h.  */
25082 #include <math.h>
25083 int
25084 main ()
25085 {
25086  _powl(0, 0);
25087   ;
25088   return 0;
25089 }
25090 _ACEOF
25091 if ac_fn_cxx_try_compile "$LINENO"; then :
25092   glibcxx_cv_func__powl_use=yes
25093 else
25094   glibcxx_cv_func__powl_use=no
25095 fi
25096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25097       ac_ext=c
25098 ac_cpp='$CPP $CPPFLAGS'
25099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25102
25103
25104 fi
25105
25106   fi
25107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
25108 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
25109
25110     if test x$glibcxx_cv_func__powl_use = x"yes"; then
25111       for ac_func in _powl
25112 do :
25113   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
25114 if test "x$ac_cv_func__powl" = x""yes; then :
25115   cat >>confdefs.h <<_ACEOF
25116 #define HAVE__POWL 1
25117 _ACEOF
25118
25119 fi
25120 done
25121
25122     fi
25123   fi
25124
25125
25126
25127
25128
25129   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
25130 $as_echo_n "checking for sqrtl declaration... " >&6; }
25131   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
25132     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
25133   $as_echo_n "(cached) " >&6
25134 else
25135
25136
25137       ac_ext=cpp
25138 ac_cpp='$CXXCPP $CPPFLAGS'
25139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25142
25143       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25144 /* end confdefs.h.  */
25145 #include <math.h>
25146                       #ifdef HAVE_IEEEFP_H
25147                       #include <ieeefp.h>
25148                       #endif
25149
25150 int
25151 main ()
25152 {
25153  sqrtl(0);
25154   ;
25155   return 0;
25156 }
25157 _ACEOF
25158 if ac_fn_cxx_try_compile "$LINENO"; then :
25159   glibcxx_cv_func_sqrtl_use=yes
25160 else
25161   glibcxx_cv_func_sqrtl_use=no
25162 fi
25163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25164       ac_ext=c
25165 ac_cpp='$CPP $CPPFLAGS'
25166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25169
25170
25171 fi
25172
25173   fi
25174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
25175 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
25176
25177   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
25178     for ac_func in sqrtl
25179 do :
25180   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
25181 if test "x$ac_cv_func_sqrtl" = x""yes; then :
25182   cat >>confdefs.h <<_ACEOF
25183 #define HAVE_SQRTL 1
25184 _ACEOF
25185
25186 fi
25187 done
25188
25189   else
25190
25191   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
25192 $as_echo_n "checking for _sqrtl declaration... " >&6; }
25193   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
25194     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
25195   $as_echo_n "(cached) " >&6
25196 else
25197
25198
25199       ac_ext=cpp
25200 ac_cpp='$CXXCPP $CPPFLAGS'
25201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25204
25205       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25206 /* end confdefs.h.  */
25207 #include <math.h>
25208                       #ifdef HAVE_IEEEFP_H
25209                       #include <ieeefp.h>
25210                       #endif
25211
25212 int
25213 main ()
25214 {
25215  _sqrtl(0);
25216   ;
25217   return 0;
25218 }
25219 _ACEOF
25220 if ac_fn_cxx_try_compile "$LINENO"; then :
25221   glibcxx_cv_func__sqrtl_use=yes
25222 else
25223   glibcxx_cv_func__sqrtl_use=no
25224 fi
25225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25226       ac_ext=c
25227 ac_cpp='$CPP $CPPFLAGS'
25228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25231
25232
25233 fi
25234
25235   fi
25236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
25237 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
25238
25239     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25240       for ac_func in _sqrtl
25241 do :
25242   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
25243 if test "x$ac_cv_func__sqrtl" = x""yes; then :
25244   cat >>confdefs.h <<_ACEOF
25245 #define HAVE__SQRTL 1
25246 _ACEOF
25247
25248 fi
25249 done
25250
25251     fi
25252   fi
25253
25254
25255
25256
25257
25258   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
25259 $as_echo_n "checking for sincosl declaration... " >&6; }
25260   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25261     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
25262   $as_echo_n "(cached) " >&6
25263 else
25264
25265
25266       ac_ext=cpp
25267 ac_cpp='$CXXCPP $CPPFLAGS'
25268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25271
25272       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25273 /* end confdefs.h.  */
25274 #include <math.h>
25275 int
25276 main ()
25277 {
25278  sincosl(0, 0, 0);
25279   ;
25280   return 0;
25281 }
25282 _ACEOF
25283 if ac_fn_cxx_try_compile "$LINENO"; then :
25284   glibcxx_cv_func_sincosl_use=yes
25285 else
25286   glibcxx_cv_func_sincosl_use=no
25287 fi
25288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25289       ac_ext=c
25290 ac_cpp='$CPP $CPPFLAGS'
25291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25294
25295
25296 fi
25297
25298   fi
25299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
25300 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25301
25302   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25303     for ac_func in sincosl
25304 do :
25305   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
25306 if test "x$ac_cv_func_sincosl" = x""yes; then :
25307   cat >>confdefs.h <<_ACEOF
25308 #define HAVE_SINCOSL 1
25309 _ACEOF
25310
25311 fi
25312 done
25313
25314   else
25315
25316   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
25317 $as_echo_n "checking for _sincosl declaration... " >&6; }
25318   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25319     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
25320   $as_echo_n "(cached) " >&6
25321 else
25322
25323
25324       ac_ext=cpp
25325 ac_cpp='$CXXCPP $CPPFLAGS'
25326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25329
25330       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25331 /* end confdefs.h.  */
25332 #include <math.h>
25333 int
25334 main ()
25335 {
25336  _sincosl(0, 0, 0);
25337   ;
25338   return 0;
25339 }
25340 _ACEOF
25341 if ac_fn_cxx_try_compile "$LINENO"; then :
25342   glibcxx_cv_func__sincosl_use=yes
25343 else
25344   glibcxx_cv_func__sincosl_use=no
25345 fi
25346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25347       ac_ext=c
25348 ac_cpp='$CPP $CPPFLAGS'
25349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25352
25353
25354 fi
25355
25356   fi
25357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
25358 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
25359
25360     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25361       for ac_func in _sincosl
25362 do :
25363   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
25364 if test "x$ac_cv_func__sincosl" = x""yes; then :
25365   cat >>confdefs.h <<_ACEOF
25366 #define HAVE__SINCOSL 1
25367 _ACEOF
25368
25369 fi
25370 done
25371
25372     fi
25373   fi
25374
25375
25376
25377
25378
25379   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
25380 $as_echo_n "checking for finitel declaration... " >&6; }
25381   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25382     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
25383   $as_echo_n "(cached) " >&6
25384 else
25385
25386
25387       ac_ext=cpp
25388 ac_cpp='$CXXCPP $CPPFLAGS'
25389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25392
25393       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25394 /* end confdefs.h.  */
25395 #include <math.h>
25396                       #ifdef HAVE_IEEEFP_H
25397                       #include <ieeefp.h>
25398                       #endif
25399
25400 int
25401 main ()
25402 {
25403  finitel(0);
25404   ;
25405   return 0;
25406 }
25407 _ACEOF
25408 if ac_fn_cxx_try_compile "$LINENO"; then :
25409   glibcxx_cv_func_finitel_use=yes
25410 else
25411   glibcxx_cv_func_finitel_use=no
25412 fi
25413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25414       ac_ext=c
25415 ac_cpp='$CPP $CPPFLAGS'
25416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25419
25420
25421 fi
25422
25423   fi
25424   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
25425 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
25426
25427   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25428     for ac_func in finitel
25429 do :
25430   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
25431 if test "x$ac_cv_func_finitel" = x""yes; then :
25432   cat >>confdefs.h <<_ACEOF
25433 #define HAVE_FINITEL 1
25434 _ACEOF
25435
25436 fi
25437 done
25438
25439   else
25440
25441   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
25442 $as_echo_n "checking for _finitel declaration... " >&6; }
25443   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25444     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
25445   $as_echo_n "(cached) " >&6
25446 else
25447
25448
25449       ac_ext=cpp
25450 ac_cpp='$CXXCPP $CPPFLAGS'
25451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25454
25455       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25456 /* end confdefs.h.  */
25457 #include <math.h>
25458                       #ifdef HAVE_IEEEFP_H
25459                       #include <ieeefp.h>
25460                       #endif
25461
25462 int
25463 main ()
25464 {
25465  _finitel(0);
25466   ;
25467   return 0;
25468 }
25469 _ACEOF
25470 if ac_fn_cxx_try_compile "$LINENO"; then :
25471   glibcxx_cv_func__finitel_use=yes
25472 else
25473   glibcxx_cv_func__finitel_use=no
25474 fi
25475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25476       ac_ext=c
25477 ac_cpp='$CPP $CPPFLAGS'
25478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25481
25482
25483 fi
25484
25485   fi
25486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
25487 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
25488
25489     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25490       for ac_func in _finitel
25491 do :
25492   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
25493 if test "x$ac_cv_func__finitel" = x""yes; then :
25494   cat >>confdefs.h <<_ACEOF
25495 #define HAVE__FINITEL 1
25496 _ACEOF
25497
25498 fi
25499 done
25500
25501     fi
25502   fi
25503
25504
25505
25506
25507   LIBS="$ac_save_LIBS"
25508   CXXFLAGS="$ac_save_CXXFLAGS"
25509
25510
25511   ac_test_CXXFLAGS="${CXXFLAGS+set}"
25512   ac_save_CXXFLAGS="$CXXFLAGS"
25513   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
25514
25515
25516   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
25517 $as_echo_n "checking for strtold declaration... " >&6; }
25518   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
25519     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
25520   $as_echo_n "(cached) " >&6
25521 else
25522
25523
25524       ac_ext=cpp
25525 ac_cpp='$CXXCPP $CPPFLAGS'
25526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25529
25530       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25531 /* end confdefs.h.  */
25532 #include <stdlib.h>
25533 int
25534 main ()
25535 {
25536  strtold(0, 0);
25537   ;
25538   return 0;
25539 }
25540 _ACEOF
25541 if ac_fn_cxx_try_compile "$LINENO"; then :
25542   glibcxx_cv_func_strtold_use=yes
25543 else
25544   glibcxx_cv_func_strtold_use=no
25545 fi
25546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25547       ac_ext=c
25548 ac_cpp='$CPP $CPPFLAGS'
25549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25552
25553
25554 fi
25555
25556   fi
25557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
25558 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
25559   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
25560     for ac_func in strtold
25561 do :
25562   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
25563 if test "x$ac_cv_func_strtold" = x""yes; then :
25564   cat >>confdefs.h <<_ACEOF
25565 #define HAVE_STRTOLD 1
25566 _ACEOF
25567
25568 fi
25569 done
25570
25571   fi
25572
25573
25574
25575
25576   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
25577 $as_echo_n "checking for strtof declaration... " >&6; }
25578   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
25579     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
25580   $as_echo_n "(cached) " >&6
25581 else
25582
25583
25584       ac_ext=cpp
25585 ac_cpp='$CXXCPP $CPPFLAGS'
25586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25589
25590       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25591 /* end confdefs.h.  */
25592 #include <stdlib.h>
25593 int
25594 main ()
25595 {
25596  strtof(0, 0);
25597   ;
25598   return 0;
25599 }
25600 _ACEOF
25601 if ac_fn_cxx_try_compile "$LINENO"; then :
25602   glibcxx_cv_func_strtof_use=yes
25603 else
25604   glibcxx_cv_func_strtof_use=no
25605 fi
25606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25607       ac_ext=c
25608 ac_cpp='$CPP $CPPFLAGS'
25609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25612
25613
25614 fi
25615
25616   fi
25617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
25618 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
25619   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
25620     for ac_func in strtof
25621 do :
25622   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
25623 if test "x$ac_cv_func_strtof" = x""yes; then :
25624   cat >>confdefs.h <<_ACEOF
25625 #define HAVE_STRTOF 1
25626 _ACEOF
25627
25628 fi
25629 done
25630
25631   fi
25632
25633
25634
25635
25636   CXXFLAGS="$ac_save_CXXFLAGS"
25637
25638
25639   # For /dev/random and /dev/urandom for TR1.
25640
25641
25642   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
25643 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
25644   if test "${glibcxx_cv_random_tr1+set}" = set; then :
25645   $as_echo_n "(cached) " >&6
25646 else
25647
25648     if test -r /dev/random && test -r /dev/urandom; then
25649       glibcxx_cv_random_tr1=yes;
25650     else
25651       glibcxx_cv_random_tr1=no;
25652     fi
25653
25654 fi
25655
25656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
25657 $as_echo "$glibcxx_cv_random_tr1" >&6; }
25658
25659   if test x"$glibcxx_cv_random_tr1" = x"yes"; then
25660
25661 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
25662
25663   fi
25664
25665
25666
25667   # For TLS support.
25668
25669
25670    # Check whether --enable-tls was given.
25671 if test "${enable_tls+set}" = set; then :
25672   enableval=$enable_tls;
25673       case "$enableval" in
25674        yes|no) ;;
25675        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
25676       esac
25677
25678 else
25679   enable_tls=yes
25680 fi
25681
25682
25683   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
25684 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
25685 if test "${gcc_cv_have_tls+set}" = set; then :
25686   $as_echo_n "(cached) " >&6
25687 else
25688
25689     if test "$cross_compiling" = yes; then :
25690                 if test x$gcc_no_link = xyes; then
25691   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25692 fi
25693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25694 /* end confdefs.h.  */
25695 __thread int a; int b; int main() { return a = b; }
25696 _ACEOF
25697 if ac_fn_c_try_link "$LINENO"; then :
25698   chktls_save_LDFLAGS="$LDFLAGS"
25699                           case $host in
25700             *-*-linux*)
25701               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
25702               ;;
25703           esac
25704           chktls_save_CFLAGS="$CFLAGS"
25705           CFLAGS="-fPIC $CFLAGS"
25706                   if test x$gcc_no_link = xyes; then
25707   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25708 fi
25709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25710 /* end confdefs.h.  */
25711 int f() { return 0; }
25712 _ACEOF
25713 if ac_fn_c_try_link "$LINENO"; then :
25714   if test x$gcc_no_link = xyes; then
25715   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25716 fi
25717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25718 /* end confdefs.h.  */
25719 __thread int a; int b; int f() { return a = b; }
25720 _ACEOF
25721 if ac_fn_c_try_link "$LINENO"; then :
25722   gcc_cv_have_tls=yes
25723 else
25724   gcc_cv_have_tls=no
25725 fi
25726 rm -f core conftest.err conftest.$ac_objext \
25727     conftest$ac_exeext conftest.$ac_ext
25728 else
25729   gcc_cv_have_tls=yes
25730 fi
25731 rm -f core conftest.err conftest.$ac_objext \
25732     conftest$ac_exeext conftest.$ac_ext
25733           CFLAGS="$chktls_save_CFLAGS"
25734           LDFLAGS="$chktls_save_LDFLAGS"
25735 else
25736   gcc_cv_have_tls=no
25737 fi
25738 rm -f core conftest.err conftest.$ac_objext \
25739     conftest$ac_exeext conftest.$ac_ext
25740
25741
25742 else
25743   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25744 /* end confdefs.h.  */
25745 __thread int a; int b; int main() { return a = b; }
25746 _ACEOF
25747 if ac_fn_c_try_run "$LINENO"; then :
25748                       chktls_save_LDFLAGS="$LDFLAGS"
25749       LDFLAGS="-static $LDFLAGS"
25750       if test x$gcc_no_link = xyes; then
25751   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25752 fi
25753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25754 /* end confdefs.h.  */
25755 int main() { return 0; }
25756 _ACEOF
25757 if ac_fn_c_try_link "$LINENO"; then :
25758   if test "$cross_compiling" = yes; then :
25759   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25760 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25761 as_fn_error "cannot run test program while cross compiling
25762 See \`config.log' for more details." "$LINENO" 5; }
25763 else
25764   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25765 /* end confdefs.h.  */
25766 __thread int a; int b; int main() { return a = b; }
25767 _ACEOF
25768 if ac_fn_c_try_run "$LINENO"; then :
25769   gcc_cv_have_tls=yes
25770 else
25771   gcc_cv_have_tls=no
25772 fi
25773 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25774   conftest.$ac_objext conftest.beam conftest.$ac_ext
25775 fi
25776
25777 else
25778   gcc_cv_have_tls=yes
25779 fi
25780 rm -f core conftest.err conftest.$ac_objext \
25781     conftest$ac_exeext conftest.$ac_ext
25782       LDFLAGS="$chktls_save_LDFLAGS"
25783       if test $gcc_cv_have_tls = yes; then
25784                                                 chktls_save_CFLAGS="$CFLAGS"
25785         thread_CFLAGS=failed
25786         for flag in '' '-pthread' '-lpthread'; do
25787           CFLAGS="$flag $chktls_save_CFLAGS"
25788           if test x$gcc_no_link = xyes; then
25789   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25790 fi
25791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25792 /* end confdefs.h.  */
25793 #include <pthread.h>
25794                 void *g(void *d) { return NULL; }
25795 int
25796 main ()
25797 {
25798 pthread_t t; pthread_create(&t,NULL,g,NULL);
25799   ;
25800   return 0;
25801 }
25802 _ACEOF
25803 if ac_fn_c_try_link "$LINENO"; then :
25804   thread_CFLAGS="$flag"
25805 fi
25806 rm -f core conftest.err conftest.$ac_objext \
25807     conftest$ac_exeext conftest.$ac_ext
25808           if test "X$thread_CFLAGS" != Xfailed; then
25809             break
25810           fi
25811         done
25812         CFLAGS="$chktls_save_CFLAGS"
25813         if test "X$thread_CFLAGS" != Xfailed; then
25814           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
25815                                                   if test "$cross_compiling" = yes; then :
25816   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25817 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25818 as_fn_error "cannot run test program while cross compiling
25819 See \`config.log' for more details." "$LINENO" 5; }
25820 else
25821   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25822 /* end confdefs.h.  */
25823 #include <pthread.h>
25824                 __thread int a;
25825                 static int *volatile a_in_other_thread;
25826                 static void *
25827                 thread_func (void *arg)
25828                 {
25829                   a_in_other_thread = &a;
25830                   return (void *)0;
25831                 }
25832 int
25833 main ()
25834 {
25835 pthread_t thread;
25836                 void *thread_retval;
25837                 int *volatile a_in_main_thread;
25838                 a_in_main_thread = &a;
25839                 if (pthread_create (&thread, (pthread_attr_t *)0,
25840                                     thread_func, (void *)0))
25841                   return 0;
25842                 if (pthread_join (thread, &thread_retval))
25843                   return 0;
25844                 return (a_in_other_thread == a_in_main_thread);
25845   ;
25846   return 0;
25847 }
25848 _ACEOF
25849 if ac_fn_c_try_run "$LINENO"; then :
25850   gcc_cv_have_tls=yes
25851 else
25852   gcc_cv_have_tls=no
25853 fi
25854 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25855   conftest.$ac_objext conftest.beam conftest.$ac_ext
25856 fi
25857
25858           CFLAGS="$chktls_save_CFLAGS"
25859         fi
25860       fi
25861 else
25862   gcc_cv_have_tls=no
25863 fi
25864 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25865   conftest.$ac_objext conftest.beam conftest.$ac_ext
25866 fi
25867
25868 fi
25869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
25870 $as_echo "$gcc_cv_have_tls" >&6; }
25871   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
25872
25873 $as_echo "#define HAVE_TLS 1" >>confdefs.h
25874
25875   fi
25876
25877   # For iconv support.
25878
25879       if test "X$prefix" = "XNONE"; then
25880     acl_final_prefix="$ac_default_prefix"
25881   else
25882     acl_final_prefix="$prefix"
25883   fi
25884   if test "X$exec_prefix" = "XNONE"; then
25885     acl_final_exec_prefix='${prefix}'
25886   else
25887     acl_final_exec_prefix="$exec_prefix"
25888   fi
25889   acl_save_prefix="$prefix"
25890   prefix="$acl_final_prefix"
25891   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
25892   prefix="$acl_save_prefix"
25893
25894
25895 # Check whether --with-gnu-ld was given.
25896 if test "${with_gnu_ld+set}" = set; then :
25897   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
25898 else
25899   with_gnu_ld=no
25900 fi
25901
25902 # Prepare PATH_SEPARATOR.
25903 # The user is always right.
25904 if test "${PATH_SEPARATOR+set}" != set; then
25905   echo "#! /bin/sh" >conf$$.sh
25906   echo  "exit 0"   >>conf$$.sh
25907   chmod +x conf$$.sh
25908   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
25909     PATH_SEPARATOR=';'
25910   else
25911     PATH_SEPARATOR=:
25912   fi
25913   rm -f conf$$.sh
25914 fi
25915 ac_prog=ld
25916 if test "$GCC" = yes; then
25917   # Check if gcc -print-prog-name=ld gives a path.
25918   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
25919 $as_echo_n "checking for ld used by GCC... " >&6; }
25920   case $host in
25921   *-*-mingw*)
25922     # gcc leaves a trailing carriage return which upsets mingw
25923     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
25924   *)
25925     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
25926   esac
25927   case $ac_prog in
25928     # Accept absolute paths.
25929     [\\/]* | [A-Za-z]:[\\/]*)
25930       re_direlt='/[^/][^/]*/\.\./'
25931       # Canonicalize the path of ld
25932       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
25933       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
25934         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
25935       done
25936       test -z "$LD" && LD="$ac_prog"
25937       ;;
25938   "")
25939     # If it fails, then pretend we aren't using GCC.
25940     ac_prog=ld
25941     ;;
25942   *)
25943     # If it is relative, then search for the first ld in PATH.
25944     with_gnu_ld=unknown
25945     ;;
25946   esac
25947 elif test "$with_gnu_ld" = yes; then
25948   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
25949 $as_echo_n "checking for GNU ld... " >&6; }
25950 else
25951   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
25952 $as_echo_n "checking for non-GNU ld... " >&6; }
25953 fi
25954 if test "${acl_cv_path_LD+set}" = set; then :
25955   $as_echo_n "(cached) " >&6
25956 else
25957   if test -z "$LD"; then
25958   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
25959   for ac_dir in $PATH; do
25960     test -z "$ac_dir" && ac_dir=.
25961     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
25962       acl_cv_path_LD="$ac_dir/$ac_prog"
25963       # Check to see if the program is GNU ld.  I'd rather use --version,
25964       # but apparently some GNU ld's only accept -v.
25965       # Break only if it was the GNU/non-GNU ld that we prefer.
25966       if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
25967         test "$with_gnu_ld" != no && break
25968       else
25969         test "$with_gnu_ld" != yes && break
25970       fi
25971     fi
25972   done
25973   IFS="$ac_save_ifs"
25974 else
25975   acl_cv_path_LD="$LD" # Let the user override the test with a path.
25976 fi
25977 fi
25978
25979 LD="$acl_cv_path_LD"
25980 if test -n "$LD"; then
25981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
25982 $as_echo "$LD" >&6; }
25983 else
25984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25985 $as_echo "no" >&6; }
25986 fi
25987 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
25988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
25989 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
25990 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
25991   $as_echo_n "(cached) " >&6
25992 else
25993   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
25994 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
25995   acl_cv_prog_gnu_ld=yes
25996 else
25997   acl_cv_prog_gnu_ld=no
25998 fi
25999 fi
26000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
26001 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
26002 with_gnu_ld=$acl_cv_prog_gnu_ld
26003
26004
26005
26006                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
26007 $as_echo_n "checking for shared library run path origin... " >&6; }
26008 if test "${acl_cv_rpath+set}" = set; then :
26009   $as_echo_n "(cached) " >&6
26010 else
26011
26012     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
26013     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
26014     . ./conftest.sh
26015     rm -f ./conftest.sh
26016     acl_cv_rpath=done
26017
26018 fi
26019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
26020 $as_echo "$acl_cv_rpath" >&6; }
26021   wl="$acl_cv_wl"
26022   libext="$acl_cv_libext"
26023   shlibext="$acl_cv_shlibext"
26024   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
26025   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
26026   hardcode_direct="$acl_cv_hardcode_direct"
26027   hardcode_minus_L="$acl_cv_hardcode_minus_L"
26028     # Check whether --enable-rpath was given.
26029 if test "${enable_rpath+set}" = set; then :
26030   enableval=$enable_rpath; :
26031 else
26032   enable_rpath=yes
26033 fi
26034
26035
26036
26037
26038
26039
26040
26041
26042     use_additional=yes
26043
26044   acl_save_prefix="$prefix"
26045   prefix="$acl_final_prefix"
26046   acl_save_exec_prefix="$exec_prefix"
26047   exec_prefix="$acl_final_exec_prefix"
26048
26049     eval additional_includedir=\"$includedir\"
26050     eval additional_libdir=\"$libdir\"
26051
26052   exec_prefix="$acl_save_exec_prefix"
26053   prefix="$acl_save_prefix"
26054
26055
26056 # Check whether --with-libiconv-prefix was given.
26057 if test "${with_libiconv_prefix+set}" = set; then :
26058   withval=$with_libiconv_prefix;
26059     if test "X$withval" = "Xno"; then
26060       use_additional=no
26061     else
26062       if test "X$withval" = "X"; then
26063
26064   acl_save_prefix="$prefix"
26065   prefix="$acl_final_prefix"
26066   acl_save_exec_prefix="$exec_prefix"
26067   exec_prefix="$acl_final_exec_prefix"
26068
26069           eval additional_includedir=\"$includedir\"
26070           eval additional_libdir=\"$libdir\"
26071
26072   exec_prefix="$acl_save_exec_prefix"
26073   prefix="$acl_save_prefix"
26074
26075       else
26076         additional_includedir="$withval/include"
26077         additional_libdir="$withval/lib"
26078       fi
26079     fi
26080
26081 fi
26082
26083       LIBICONV=
26084   LTLIBICONV=
26085   INCICONV=
26086   rpathdirs=
26087   ltrpathdirs=
26088   names_already_handled=
26089   names_next_round='iconv '
26090   while test -n "$names_next_round"; do
26091     names_this_round="$names_next_round"
26092     names_next_round=
26093     for name in $names_this_round; do
26094       already_handled=
26095       for n in $names_already_handled; do
26096         if test "$n" = "$name"; then
26097           already_handled=yes
26098           break
26099         fi
26100       done
26101       if test -z "$already_handled"; then
26102         names_already_handled="$names_already_handled $name"
26103                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
26104         eval value=\"\$HAVE_LIB$uppername\"
26105         if test -n "$value"; then
26106           if test "$value" = yes; then
26107             eval value=\"\$LIB$uppername\"
26108             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
26109             eval value=\"\$LTLIB$uppername\"
26110             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
26111           else
26112                                     :
26113           fi
26114         else
26115                               found_dir=
26116           found_la=
26117           found_so=
26118           found_a=
26119           if test $use_additional = yes; then
26120             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
26121               found_dir="$additional_libdir"
26122               found_so="$additional_libdir/lib$name.$shlibext"
26123               if test -f "$additional_libdir/lib$name.la"; then
26124                 found_la="$additional_libdir/lib$name.la"
26125               fi
26126             else
26127               if test -f "$additional_libdir/lib$name.$libext"; then
26128                 found_dir="$additional_libdir"
26129                 found_a="$additional_libdir/lib$name.$libext"
26130                 if test -f "$additional_libdir/lib$name.la"; then
26131                   found_la="$additional_libdir/lib$name.la"
26132                 fi
26133               fi
26134             fi
26135           fi
26136           if test "X$found_dir" = "X"; then
26137             for x in $LDFLAGS $LTLIBICONV; do
26138
26139   acl_save_prefix="$prefix"
26140   prefix="$acl_final_prefix"
26141   acl_save_exec_prefix="$exec_prefix"
26142   exec_prefix="$acl_final_exec_prefix"
26143   eval x=\"$x\"
26144   exec_prefix="$acl_save_exec_prefix"
26145   prefix="$acl_save_prefix"
26146
26147               case "$x" in
26148                 -L*)
26149                   dir=`echo "X$x" | sed -e 's/^X-L//'`
26150                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
26151                     found_dir="$dir"
26152                     found_so="$dir/lib$name.$shlibext"
26153                     if test -f "$dir/lib$name.la"; then
26154                       found_la="$dir/lib$name.la"
26155                     fi
26156                   else
26157                     if test -f "$dir/lib$name.$libext"; then
26158                       found_dir="$dir"
26159                       found_a="$dir/lib$name.$libext"
26160                       if test -f "$dir/lib$name.la"; then
26161                         found_la="$dir/lib$name.la"
26162                       fi
26163                     fi
26164                   fi
26165                   ;;
26166               esac
26167               if test "X$found_dir" != "X"; then
26168                 break
26169               fi
26170             done
26171           fi
26172           if test "X$found_dir" != "X"; then
26173                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
26174             if test "X$found_so" != "X"; then
26175                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
26176                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26177               else
26178                                                                                 haveit=
26179                 for x in $ltrpathdirs; do
26180                   if test "X$x" = "X$found_dir"; then
26181                     haveit=yes
26182                     break
26183                   fi
26184                 done
26185                 if test -z "$haveit"; then
26186                   ltrpathdirs="$ltrpathdirs $found_dir"
26187                 fi
26188                                 if test "$hardcode_direct" = yes; then
26189                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26190                 else
26191                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
26192                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26193                                                             haveit=
26194                     for x in $rpathdirs; do
26195                       if test "X$x" = "X$found_dir"; then
26196                         haveit=yes
26197                         break
26198                       fi
26199                     done
26200                     if test -z "$haveit"; then
26201                       rpathdirs="$rpathdirs $found_dir"
26202                     fi
26203                   else
26204                                                                                 haveit=
26205                     for x in $LDFLAGS $LIBICONV; do
26206
26207   acl_save_prefix="$prefix"
26208   prefix="$acl_final_prefix"
26209   acl_save_exec_prefix="$exec_prefix"
26210   exec_prefix="$acl_final_exec_prefix"
26211   eval x=\"$x\"
26212   exec_prefix="$acl_save_exec_prefix"
26213   prefix="$acl_save_prefix"
26214
26215                       if test "X$x" = "X-L$found_dir"; then
26216                         haveit=yes
26217                         break
26218                       fi
26219                     done
26220                     if test -z "$haveit"; then
26221                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
26222                     fi
26223                     if test "$hardcode_minus_L" != no; then
26224                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26225                     else
26226                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26227                     fi
26228                   fi
26229                 fi
26230               fi
26231             else
26232               if test "X$found_a" != "X"; then
26233                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
26234               else
26235                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
26236               fi
26237             fi
26238                         additional_includedir=
26239             case "$found_dir" in
26240               */lib | */lib/)
26241                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
26242                 additional_includedir="$basedir/include"
26243                 ;;
26244             esac
26245             if test "X$additional_includedir" != "X"; then
26246                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
26247                 haveit=
26248                 if test "X$additional_includedir" = "X/usr/local/include"; then
26249                   if test -n "$GCC"; then
26250                     case $host_os in
26251                       linux*) haveit=yes;;
26252                     esac
26253                   fi
26254                 fi
26255                 if test -z "$haveit"; then
26256                   for x in $CPPFLAGS $INCICONV; do
26257
26258   acl_save_prefix="$prefix"
26259   prefix="$acl_final_prefix"
26260   acl_save_exec_prefix="$exec_prefix"
26261   exec_prefix="$acl_final_exec_prefix"
26262   eval x=\"$x\"
26263   exec_prefix="$acl_save_exec_prefix"
26264   prefix="$acl_save_prefix"
26265
26266                     if test "X$x" = "X-I$additional_includedir"; then
26267                       haveit=yes
26268                       break
26269                     fi
26270                   done
26271                   if test -z "$haveit"; then
26272                     if test -d "$additional_includedir"; then
26273                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26274                     fi
26275                   fi
26276                 fi
26277               fi
26278             fi
26279                         if test -n "$found_la"; then
26280                                                         save_libdir="$libdir"
26281               case "$found_la" in
26282                 */* | *\\*) . "$found_la" ;;
26283                 *) . "./$found_la" ;;
26284               esac
26285               libdir="$save_libdir"
26286                             for dep in $dependency_libs; do
26287                 case "$dep" in
26288                   -L*)
26289                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
26290                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
26291                       haveit=
26292                       if test "X$additional_libdir" = "X/usr/local/lib"; then
26293                         if test -n "$GCC"; then
26294                           case $host_os in
26295                             linux*) haveit=yes;;
26296                           esac
26297                         fi
26298                       fi
26299                       if test -z "$haveit"; then
26300                         haveit=
26301                         for x in $LDFLAGS $LIBICONV; do
26302
26303   acl_save_prefix="$prefix"
26304   prefix="$acl_final_prefix"
26305   acl_save_exec_prefix="$exec_prefix"
26306   exec_prefix="$acl_final_exec_prefix"
26307   eval x=\"$x\"
26308   exec_prefix="$acl_save_exec_prefix"
26309   prefix="$acl_save_prefix"
26310
26311                           if test "X$x" = "X-L$additional_libdir"; then
26312                             haveit=yes
26313                             break
26314                           fi
26315                         done
26316                         if test -z "$haveit"; then
26317                           if test -d "$additional_libdir"; then
26318                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
26319                           fi
26320                         fi
26321                         haveit=
26322                         for x in $LDFLAGS $LTLIBICONV; do
26323
26324   acl_save_prefix="$prefix"
26325   prefix="$acl_final_prefix"
26326   acl_save_exec_prefix="$exec_prefix"
26327   exec_prefix="$acl_final_exec_prefix"
26328   eval x=\"$x\"
26329   exec_prefix="$acl_save_exec_prefix"
26330   prefix="$acl_save_prefix"
26331
26332                           if test "X$x" = "X-L$additional_libdir"; then
26333                             haveit=yes
26334                             break
26335                           fi
26336                         done
26337                         if test -z "$haveit"; then
26338                           if test -d "$additional_libdir"; then
26339                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
26340                           fi
26341                         fi
26342                       fi
26343                     fi
26344                     ;;
26345                   -R*)
26346                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
26347                     if test "$enable_rpath" != no; then
26348                                                                   haveit=
26349                       for x in $rpathdirs; do
26350                         if test "X$x" = "X$dir"; then
26351                           haveit=yes
26352                           break
26353                         fi
26354                       done
26355                       if test -z "$haveit"; then
26356                         rpathdirs="$rpathdirs $dir"
26357                       fi
26358                                                                   haveit=
26359                       for x in $ltrpathdirs; do
26360                         if test "X$x" = "X$dir"; then
26361                           haveit=yes
26362                           break
26363                         fi
26364                       done
26365                       if test -z "$haveit"; then
26366                         ltrpathdirs="$ltrpathdirs $dir"
26367                       fi
26368                     fi
26369                     ;;
26370                   -l*)
26371                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
26372                     ;;
26373                   *.la)
26374                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
26375                     ;;
26376                   *)
26377                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
26378                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
26379                     ;;
26380                 esac
26381               done
26382             fi
26383           else
26384                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26385             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
26386           fi
26387         fi
26388       fi
26389     done
26390   done
26391   if test "X$rpathdirs" != "X"; then
26392     if test -n "$hardcode_libdir_separator"; then
26393                         alldirs=
26394       for found_dir in $rpathdirs; do
26395         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
26396       done
26397             acl_save_libdir="$libdir"
26398       libdir="$alldirs"
26399       eval flag=\"$hardcode_libdir_flag_spec\"
26400       libdir="$acl_save_libdir"
26401       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26402     else
26403             for found_dir in $rpathdirs; do
26404         acl_save_libdir="$libdir"
26405         libdir="$found_dir"
26406         eval flag=\"$hardcode_libdir_flag_spec\"
26407         libdir="$acl_save_libdir"
26408         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26409       done
26410     fi
26411   fi
26412   if test "X$ltrpathdirs" != "X"; then
26413             for found_dir in $ltrpathdirs; do
26414       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
26415     done
26416   fi
26417
26418
26419
26420
26421
26422
26423
26424           am_save_CPPFLAGS="$CPPFLAGS"
26425
26426   for element in $INCICONV; do
26427     haveit=
26428     for x in $CPPFLAGS; do
26429
26430   acl_save_prefix="$prefix"
26431   prefix="$acl_final_prefix"
26432   acl_save_exec_prefix="$exec_prefix"
26433   exec_prefix="$acl_final_exec_prefix"
26434   eval x=\"$x\"
26435   exec_prefix="$acl_save_exec_prefix"
26436   prefix="$acl_save_prefix"
26437
26438       if test "X$x" = "X$element"; then
26439         haveit=yes
26440         break
26441       fi
26442     done
26443     if test -z "$haveit"; then
26444       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
26445     fi
26446   done
26447
26448
26449   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
26450 $as_echo_n "checking for iconv... " >&6; }
26451 if test "${am_cv_func_iconv+set}" = set; then :
26452   $as_echo_n "(cached) " >&6
26453 else
26454
26455     am_cv_func_iconv="no, consider installing GNU libiconv"
26456     am_cv_lib_iconv=no
26457     if test x$gcc_no_link = xyes; then
26458   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26459 fi
26460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26461 /* end confdefs.h.  */
26462 #include <stdlib.h>
26463 #include <iconv.h>
26464 int
26465 main ()
26466 {
26467 iconv_t cd = iconv_open("","");
26468        iconv(cd,NULL,NULL,NULL,NULL);
26469        iconv_close(cd);
26470   ;
26471   return 0;
26472 }
26473 _ACEOF
26474 if ac_fn_c_try_link "$LINENO"; then :
26475   am_cv_func_iconv=yes
26476 fi
26477 rm -f core conftest.err conftest.$ac_objext \
26478     conftest$ac_exeext conftest.$ac_ext
26479     if test "$am_cv_func_iconv" != yes; then
26480       am_save_LIBS="$LIBS"
26481       LIBS="$LIBS $LIBICONV"
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 <stdlib.h>
26488 #include <iconv.h>
26489 int
26490 main ()
26491 {
26492 iconv_t cd = iconv_open("","");
26493          iconv(cd,NULL,NULL,NULL,NULL);
26494          iconv_close(cd);
26495   ;
26496   return 0;
26497 }
26498 _ACEOF
26499 if ac_fn_c_try_link "$LINENO"; then :
26500   am_cv_lib_iconv=yes
26501         am_cv_func_iconv=yes
26502 fi
26503 rm -f core conftest.err conftest.$ac_objext \
26504     conftest$ac_exeext conftest.$ac_ext
26505       LIBS="$am_save_LIBS"
26506     fi
26507
26508 fi
26509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
26510 $as_echo "$am_cv_func_iconv" >&6; }
26511   if test "$am_cv_func_iconv" = yes; then
26512
26513 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26514
26515   fi
26516   if test "$am_cv_lib_iconv" = yes; then
26517     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
26518 $as_echo_n "checking how to link with libiconv... " >&6; }
26519     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
26520 $as_echo "$LIBICONV" >&6; }
26521   else
26522             CPPFLAGS="$am_save_CPPFLAGS"
26523     LIBICONV=
26524     LTLIBICONV=
26525   fi
26526
26527
26528
26529   if test "$am_cv_func_iconv" = yes; then
26530     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
26531 $as_echo_n "checking for iconv declaration... " >&6; }
26532     if test "${am_cv_proto_iconv+set}" = set; then :
26533   $as_echo_n "(cached) " >&6
26534 else
26535
26536       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26537 /* end confdefs.h.  */
26538
26539 #include <stdlib.h>
26540 #include <iconv.h>
26541 extern
26542 #ifdef __cplusplus
26543 "C"
26544 #endif
26545 #if defined(__STDC__) || defined(__cplusplus)
26546 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26547 #else
26548 size_t iconv();
26549 #endif
26550
26551 int
26552 main ()
26553 {
26554
26555   ;
26556   return 0;
26557 }
26558 _ACEOF
26559 if ac_fn_c_try_compile "$LINENO"; then :
26560   am_cv_proto_iconv_arg1=""
26561 else
26562   am_cv_proto_iconv_arg1="const"
26563 fi
26564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26565       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);"
26566 fi
26567
26568     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
26569     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
26570          }$am_cv_proto_iconv" >&5
26571 $as_echo "${ac_t:-
26572          }$am_cv_proto_iconv" >&6; }
26573
26574 cat >>confdefs.h <<_ACEOF
26575 #define ICONV_CONST $am_cv_proto_iconv_arg1
26576 _ACEOF
26577
26578   fi
26579
26580
26581 else
26582
26583   # This lets us hard-code the functionality we know we'll have in the cross
26584   # target environment.  "Let" is a sugar-coated word placed on an especially
26585   # dull and tedious hack, actually.
26586   #
26587   # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
26588   # that involve linking, can't be used:
26589   #    "cannot open sim-crt0.o"
26590   #    "cannot open crt0.o"
26591   # etc.  All this is because there currently exists no unified, consistent
26592   # way for top level CC information to be passed down to target directories:
26593   # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
26594   # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
26595   # crosses can be removed.
26596
26597   # If Canadian cross, then don't pick up tools from the build directory.
26598   # Used only in GLIBCXX_EXPORT_INCLUDES.
26599   if test -n "$with_cross_host" &&
26600      test x"$build_alias" != x"$with_cross_host" &&
26601      test x"$build" != x"$target";
26602   then
26603     CANADIAN=yes
26604   else
26605     CANADIAN=no
26606   fi
26607
26608   # Construct crosses by hand, eliminating bits that need ld...
26609   # GLIBCXX_CHECK_MATH_SUPPORT
26610
26611   # First, test for "known" system libraries.  We may be using newlib even
26612   # on a hosted environment.
26613   if test "x${with_newlib}" = "xyes"; then
26614     os_include_dir="os/newlib"
26615     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
26616
26617
26618     # GLIBCXX_CHECK_STDLIB_SUPPORT
26619     $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
26620
26621
26622     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
26623
26624     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
26625
26626     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
26627
26628     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
26629
26630     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
26631
26632     $as_echo "#define HAVE_COSF 1" >>confdefs.h
26633
26634     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
26635
26636     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
26637
26638     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
26639
26640     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
26641
26642     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
26643
26644     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
26645
26646     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
26647
26648     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
26649
26650     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
26651
26652     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
26653
26654     $as_echo "#define HAVE_POWF 1" >>confdefs.h
26655
26656     $as_echo "#define HAVE_SINF 1" >>confdefs.h
26657
26658     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
26659
26660     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
26661
26662     $as_echo "#define HAVE_TANF 1" >>confdefs.h
26663
26664     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
26665
26666
26667     $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26668
26669   else
26670
26671 # Base decisions on target environment.
26672 case "${host}" in
26673   arm*-*-symbianelf*)
26674     # This is a freestanding configuration; there is nothing to do here.
26675     ;;
26676
26677   mips*-sde-elf*)
26678     # These definitions are for the SDE C library rather than newlib.
26679     SECTION_FLAGS='-ffunction-sections -fdata-sections'
26680
26681
26682   # All these tests are for C++; save the language and the compiler flags.
26683   # The CXXFLAGS thing is suspicious, but based on similar bits previously
26684   # found in GLIBCXX_CONFIGURE.
26685
26686   ac_ext=cpp
26687 ac_cpp='$CXXCPP $CPPFLAGS'
26688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26691
26692   ac_test_CXXFLAGS="${CXXFLAGS+set}"
26693   ac_save_CXXFLAGS="$CXXFLAGS"
26694
26695   # Check for maintainer-mode bits.
26696   if test x"$USE_MAINTAINER_MODE" = xno; then
26697     WERROR=''
26698   else
26699     WERROR='-Werror'
26700   fi
26701
26702   # Check for -ffunction-sections -fdata-sections
26703   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
26704 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
26705   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
26706   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26707 /* end confdefs.h.  */
26708 int foo; void bar() { };
26709 int
26710 main ()
26711 {
26712
26713   ;
26714   return 0;
26715 }
26716 _ACEOF
26717 if ac_fn_cxx_try_compile "$LINENO"; then :
26718   ac_fdsections=yes
26719 else
26720   ac_fdsections=no
26721 fi
26722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26723   if test "$ac_test_CXXFLAGS" = set; then
26724     CXXFLAGS="$ac_save_CXXFLAGS"
26725   else
26726     # this is the suspicious part
26727     CXXFLAGS=''
26728   fi
26729   if test x"$ac_fdsections" = x"yes"; then
26730     SECTION_FLAGS='-ffunction-sections -fdata-sections'
26731   fi
26732   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
26733 $as_echo "$ac_fdsections" >&6; }
26734
26735   ac_ext=c
26736 ac_cpp='$CPP $CPPFLAGS'
26737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26740
26741
26742
26743
26744
26745   # If we're not using GNU ld, then there's no point in even trying these
26746   # tests.  Check for that first.  We should have already tested for gld
26747   # by now (in libtool), but require it now just to be safe...
26748   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
26749   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
26750
26751
26752
26753   # The name set by libtool depends on the version of libtool.  Shame on us
26754   # for depending on an impl detail, but c'est la vie.  Older versions used
26755   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
26756   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
26757   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
26758   # set (hence we're using an older libtool), then set it.
26759   if test x${with_gnu_ld+set} != xset; then
26760     if test x${ac_cv_prog_gnu_ld+set} != xset; then
26761       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
26762       with_gnu_ld=no
26763     else
26764       with_gnu_ld=$ac_cv_prog_gnu_ld
26765     fi
26766   fi
26767
26768   # Start by getting the version number.  I think the libtool test already
26769   # does some of this, but throws away the result.
26770   glibcxx_ld_is_gold=no
26771   if test x"$with_gnu_ld" = x"yes"; then
26772     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
26773 $as_echo_n "checking for ld version... " >&6; }
26774
26775     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
26776       glibcxx_ld_is_gold=yes
26777     fi
26778     ldver=`$LD --version 2>/dev/null |
26779            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'`
26780
26781     glibcxx_gnu_ld_version=`echo $ldver | \
26782            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
26783     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
26784 $as_echo "$glibcxx_gnu_ld_version" >&6; }
26785   fi
26786
26787   # Set --gc-sections.
26788   glibcxx_have_gc_sections=no
26789   if test "$glibcxx_ld_is_gold" = "yes"; then
26790     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
26791       glibcxx_have_gc_sections=yes
26792     fi
26793   else
26794     glibcxx_gcsections_min_ld=21602
26795     if test x"$with_gnu_ld" = x"yes" &&
26796         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
26797       glibcxx_have_gc_sections=yes
26798     fi
26799   fi
26800   if test "$glibcxx_have_gc_sections" = "yes"; then
26801     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
26802     # NB: This flag only works reliably after 2.16.1. Configure tests
26803     # for this are difficult, so hard wire a value that should work.
26804
26805     ac_test_CFLAGS="${CFLAGS+set}"
26806     ac_save_CFLAGS="$CFLAGS"
26807     CFLAGS='-Wl,--gc-sections'
26808
26809     # Check for -Wl,--gc-sections
26810     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
26811 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
26812     if test x$gcc_no_link = xyes; then
26813   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26814 fi
26815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26816 /* end confdefs.h.  */
26817  int one(void) { return 1; }
26818      int two(void) { return 2; }
26819
26820 int
26821 main ()
26822 {
26823  two();
26824   ;
26825   return 0;
26826 }
26827 _ACEOF
26828 if ac_fn_c_try_link "$LINENO"; then :
26829   ac_gcsections=yes
26830 else
26831   ac_gcsections=no
26832 fi
26833 rm -f core conftest.err conftest.$ac_objext \
26834     conftest$ac_exeext conftest.$ac_ext
26835     if test "$ac_gcsections" = "yes"; then
26836       rm -f conftest.c
26837       touch conftest.c
26838       if $CC -c conftest.c; then
26839         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
26840            grep "Warning: gc-sections option ignored" > /dev/null; then
26841           ac_gcsections=no
26842         fi
26843       fi
26844       rm -f conftest.c conftest.o conftest
26845     fi
26846     if test "$ac_gcsections" = "yes"; then
26847       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
26848     fi
26849     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
26850 $as_echo "$ac_gcsections" >&6; }
26851
26852     if test "$ac_test_CFLAGS" = set; then
26853       CFLAGS="$ac_save_CFLAGS"
26854     else
26855       # this is the suspicious part
26856       CFLAGS=''
26857     fi
26858   fi
26859
26860   # Set -z,relro.
26861   # Note this is only for shared objects.
26862   ac_ld_relro=no
26863   if test x"$with_gnu_ld" = x"yes"; then
26864     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
26865 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
26866     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
26867     if test -n "$cxx_z_relo"; then
26868       OPT_LDFLAGS="-Wl,-z,relro"
26869       ac_ld_relro=yes
26870     fi
26871     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
26872 $as_echo "$ac_ld_relro" >&6; }
26873   fi
26874
26875   # Set linker optimization flags.
26876   if test x"$with_gnu_ld" = x"yes"; then
26877     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
26878   fi
26879
26880
26881
26882
26883
26884   ac_test_CXXFLAGS="${CXXFLAGS+set}"
26885   ac_save_CXXFLAGS="$CXXFLAGS"
26886   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26887
26888     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
26889 $as_echo_n "checking for sin in -lm... " >&6; }
26890 if test "${ac_cv_lib_m_sin+set}" = set; then :
26891   $as_echo_n "(cached) " >&6
26892 else
26893   ac_check_lib_save_LIBS=$LIBS
26894 LIBS="-lm  $LIBS"
26895 if test x$gcc_no_link = xyes; then
26896   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26897 fi
26898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26899 /* end confdefs.h.  */
26900
26901 /* Override any GCC internal prototype to avoid an error.
26902    Use char because int might match the return type of a GCC
26903    builtin and then its argument prototype would still apply.  */
26904 #ifdef __cplusplus
26905 extern "C"
26906 #endif
26907 char sin ();
26908 int
26909 main ()
26910 {
26911 return sin ();
26912   ;
26913   return 0;
26914 }
26915 _ACEOF
26916 if ac_fn_c_try_link "$LINENO"; then :
26917   ac_cv_lib_m_sin=yes
26918 else
26919   ac_cv_lib_m_sin=no
26920 fi
26921 rm -f core conftest.err conftest.$ac_objext \
26922     conftest$ac_exeext conftest.$ac_ext
26923 LIBS=$ac_check_lib_save_LIBS
26924 fi
26925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
26926 $as_echo "$ac_cv_lib_m_sin" >&6; }
26927 if test "x$ac_cv_lib_m_sin" = x""yes; then :
26928   libm="-lm"
26929 fi
26930
26931   ac_save_LIBS="$LIBS"
26932   LIBS="$LIBS $libm"
26933
26934
26935
26936   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
26937 $as_echo_n "checking for isinf declaration... " >&6; }
26938   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
26939     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
26940   $as_echo_n "(cached) " >&6
26941 else
26942
26943
26944       ac_ext=cpp
26945 ac_cpp='$CXXCPP $CPPFLAGS'
26946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26949
26950       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26951 /* end confdefs.h.  */
26952 #include <math.h>
26953                       #ifdef HAVE_IEEEFP_H
26954                       #include <ieeefp.h>
26955                       #endif
26956
26957 int
26958 main ()
26959 {
26960  isinf(0);
26961   ;
26962   return 0;
26963 }
26964 _ACEOF
26965 if ac_fn_cxx_try_compile "$LINENO"; then :
26966   glibcxx_cv_func_isinf_use=yes
26967 else
26968   glibcxx_cv_func_isinf_use=no
26969 fi
26970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26971       ac_ext=c
26972 ac_cpp='$CPP $CPPFLAGS'
26973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26976
26977
26978 fi
26979
26980   fi
26981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
26982 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
26983
26984   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
26985     for ac_func in isinf
26986 do :
26987   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
26988 if test "x$ac_cv_func_isinf" = x""yes; then :
26989   cat >>confdefs.h <<_ACEOF
26990 #define HAVE_ISINF 1
26991 _ACEOF
26992
26993 fi
26994 done
26995
26996   else
26997
26998   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
26999 $as_echo_n "checking for _isinf declaration... " >&6; }
27000   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
27001     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
27002   $as_echo_n "(cached) " >&6
27003 else
27004
27005
27006       ac_ext=cpp
27007 ac_cpp='$CXXCPP $CPPFLAGS'
27008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27011
27012       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27013 /* end confdefs.h.  */
27014 #include <math.h>
27015                       #ifdef HAVE_IEEEFP_H
27016                       #include <ieeefp.h>
27017                       #endif
27018
27019 int
27020 main ()
27021 {
27022  _isinf(0);
27023   ;
27024   return 0;
27025 }
27026 _ACEOF
27027 if ac_fn_cxx_try_compile "$LINENO"; then :
27028   glibcxx_cv_func__isinf_use=yes
27029 else
27030   glibcxx_cv_func__isinf_use=no
27031 fi
27032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27033       ac_ext=c
27034 ac_cpp='$CPP $CPPFLAGS'
27035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27038
27039
27040 fi
27041
27042   fi
27043   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
27044 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
27045
27046     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
27047       for ac_func in _isinf
27048 do :
27049   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
27050 if test "x$ac_cv_func__isinf" = x""yes; then :
27051   cat >>confdefs.h <<_ACEOF
27052 #define HAVE__ISINF 1
27053 _ACEOF
27054
27055 fi
27056 done
27057
27058     fi
27059   fi
27060
27061
27062
27063
27064
27065   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
27066 $as_echo_n "checking for isnan declaration... " >&6; }
27067   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
27068     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
27069   $as_echo_n "(cached) " >&6
27070 else
27071
27072
27073       ac_ext=cpp
27074 ac_cpp='$CXXCPP $CPPFLAGS'
27075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27078
27079       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27080 /* end confdefs.h.  */
27081 #include <math.h>
27082                       #ifdef HAVE_IEEEFP_H
27083                       #include <ieeefp.h>
27084                       #endif
27085
27086 int
27087 main ()
27088 {
27089  isnan(0);
27090   ;
27091   return 0;
27092 }
27093 _ACEOF
27094 if ac_fn_cxx_try_compile "$LINENO"; then :
27095   glibcxx_cv_func_isnan_use=yes
27096 else
27097   glibcxx_cv_func_isnan_use=no
27098 fi
27099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27100       ac_ext=c
27101 ac_cpp='$CPP $CPPFLAGS'
27102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27105
27106
27107 fi
27108
27109   fi
27110   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
27111 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
27112
27113   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
27114     for ac_func in isnan
27115 do :
27116   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
27117 if test "x$ac_cv_func_isnan" = x""yes; then :
27118   cat >>confdefs.h <<_ACEOF
27119 #define HAVE_ISNAN 1
27120 _ACEOF
27121
27122 fi
27123 done
27124
27125   else
27126
27127   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
27128 $as_echo_n "checking for _isnan declaration... " >&6; }
27129   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
27130     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
27131   $as_echo_n "(cached) " >&6
27132 else
27133
27134
27135       ac_ext=cpp
27136 ac_cpp='$CXXCPP $CPPFLAGS'
27137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27140
27141       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27142 /* end confdefs.h.  */
27143 #include <math.h>
27144                       #ifdef HAVE_IEEEFP_H
27145                       #include <ieeefp.h>
27146                       #endif
27147
27148 int
27149 main ()
27150 {
27151  _isnan(0);
27152   ;
27153   return 0;
27154 }
27155 _ACEOF
27156 if ac_fn_cxx_try_compile "$LINENO"; then :
27157   glibcxx_cv_func__isnan_use=yes
27158 else
27159   glibcxx_cv_func__isnan_use=no
27160 fi
27161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27162       ac_ext=c
27163 ac_cpp='$CPP $CPPFLAGS'
27164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27167
27168
27169 fi
27170
27171   fi
27172   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
27173 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
27174
27175     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
27176       for ac_func in _isnan
27177 do :
27178   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
27179 if test "x$ac_cv_func__isnan" = x""yes; then :
27180   cat >>confdefs.h <<_ACEOF
27181 #define HAVE__ISNAN 1
27182 _ACEOF
27183
27184 fi
27185 done
27186
27187     fi
27188   fi
27189
27190
27191
27192
27193
27194   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
27195 $as_echo_n "checking for finite declaration... " >&6; }
27196   if test x${glibcxx_cv_func_finite_use+set} != xset; then
27197     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
27198   $as_echo_n "(cached) " >&6
27199 else
27200
27201
27202       ac_ext=cpp
27203 ac_cpp='$CXXCPP $CPPFLAGS'
27204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27207
27208       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27209 /* end confdefs.h.  */
27210 #include <math.h>
27211                       #ifdef HAVE_IEEEFP_H
27212                       #include <ieeefp.h>
27213                       #endif
27214
27215 int
27216 main ()
27217 {
27218  finite(0);
27219   ;
27220   return 0;
27221 }
27222 _ACEOF
27223 if ac_fn_cxx_try_compile "$LINENO"; then :
27224   glibcxx_cv_func_finite_use=yes
27225 else
27226   glibcxx_cv_func_finite_use=no
27227 fi
27228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27229       ac_ext=c
27230 ac_cpp='$CPP $CPPFLAGS'
27231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27234
27235
27236 fi
27237
27238   fi
27239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
27240 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
27241
27242   if test x$glibcxx_cv_func_finite_use = x"yes"; then
27243     for ac_func in finite
27244 do :
27245   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
27246 if test "x$ac_cv_func_finite" = x""yes; then :
27247   cat >>confdefs.h <<_ACEOF
27248 #define HAVE_FINITE 1
27249 _ACEOF
27250
27251 fi
27252 done
27253
27254   else
27255
27256   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
27257 $as_echo_n "checking for _finite declaration... " >&6; }
27258   if test x${glibcxx_cv_func__finite_use+set} != xset; then
27259     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
27260   $as_echo_n "(cached) " >&6
27261 else
27262
27263
27264       ac_ext=cpp
27265 ac_cpp='$CXXCPP $CPPFLAGS'
27266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27269
27270       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27271 /* end confdefs.h.  */
27272 #include <math.h>
27273                       #ifdef HAVE_IEEEFP_H
27274                       #include <ieeefp.h>
27275                       #endif
27276
27277 int
27278 main ()
27279 {
27280  _finite(0);
27281   ;
27282   return 0;
27283 }
27284 _ACEOF
27285 if ac_fn_cxx_try_compile "$LINENO"; then :
27286   glibcxx_cv_func__finite_use=yes
27287 else
27288   glibcxx_cv_func__finite_use=no
27289 fi
27290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27291       ac_ext=c
27292 ac_cpp='$CPP $CPPFLAGS'
27293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27296
27297
27298 fi
27299
27300   fi
27301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
27302 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
27303
27304     if test x$glibcxx_cv_func__finite_use = x"yes"; then
27305       for ac_func in _finite
27306 do :
27307   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
27308 if test "x$ac_cv_func__finite" = x""yes; then :
27309   cat >>confdefs.h <<_ACEOF
27310 #define HAVE__FINITE 1
27311 _ACEOF
27312
27313 fi
27314 done
27315
27316     fi
27317   fi
27318
27319
27320
27321
27322
27323   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
27324 $as_echo_n "checking for sincos declaration... " >&6; }
27325   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
27326     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
27327   $as_echo_n "(cached) " >&6
27328 else
27329
27330
27331       ac_ext=cpp
27332 ac_cpp='$CXXCPP $CPPFLAGS'
27333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27336
27337       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27338 /* end confdefs.h.  */
27339 #include <math.h>
27340 int
27341 main ()
27342 {
27343  sincos(0, 0, 0);
27344   ;
27345   return 0;
27346 }
27347 _ACEOF
27348 if ac_fn_cxx_try_compile "$LINENO"; then :
27349   glibcxx_cv_func_sincos_use=yes
27350 else
27351   glibcxx_cv_func_sincos_use=no
27352 fi
27353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27354       ac_ext=c
27355 ac_cpp='$CPP $CPPFLAGS'
27356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27359
27360
27361 fi
27362
27363   fi
27364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
27365 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
27366
27367   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
27368     for ac_func in sincos
27369 do :
27370   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
27371 if test "x$ac_cv_func_sincos" = x""yes; then :
27372   cat >>confdefs.h <<_ACEOF
27373 #define HAVE_SINCOS 1
27374 _ACEOF
27375
27376 fi
27377 done
27378
27379   else
27380
27381   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
27382 $as_echo_n "checking for _sincos declaration... " >&6; }
27383   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
27384     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
27385   $as_echo_n "(cached) " >&6
27386 else
27387
27388
27389       ac_ext=cpp
27390 ac_cpp='$CXXCPP $CPPFLAGS'
27391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27394
27395       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27396 /* end confdefs.h.  */
27397 #include <math.h>
27398 int
27399 main ()
27400 {
27401  _sincos(0, 0, 0);
27402   ;
27403   return 0;
27404 }
27405 _ACEOF
27406 if ac_fn_cxx_try_compile "$LINENO"; then :
27407   glibcxx_cv_func__sincos_use=yes
27408 else
27409   glibcxx_cv_func__sincos_use=no
27410 fi
27411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27412       ac_ext=c
27413 ac_cpp='$CPP $CPPFLAGS'
27414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27417
27418
27419 fi
27420
27421   fi
27422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
27423 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
27424
27425     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
27426       for ac_func in _sincos
27427 do :
27428   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
27429 if test "x$ac_cv_func__sincos" = x""yes; then :
27430   cat >>confdefs.h <<_ACEOF
27431 #define HAVE__SINCOS 1
27432 _ACEOF
27433
27434 fi
27435 done
27436
27437     fi
27438   fi
27439
27440
27441
27442
27443
27444   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
27445 $as_echo_n "checking for fpclass declaration... " >&6; }
27446   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
27447     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
27448   $as_echo_n "(cached) " >&6
27449 else
27450
27451
27452       ac_ext=cpp
27453 ac_cpp='$CXXCPP $CPPFLAGS'
27454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27457
27458       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27459 /* end confdefs.h.  */
27460 #include <math.h>
27461                       #ifdef HAVE_IEEEFP_H
27462                       #include <ieeefp.h>
27463                       #endif
27464
27465 int
27466 main ()
27467 {
27468  fpclass(0);
27469   ;
27470   return 0;
27471 }
27472 _ACEOF
27473 if ac_fn_cxx_try_compile "$LINENO"; then :
27474   glibcxx_cv_func_fpclass_use=yes
27475 else
27476   glibcxx_cv_func_fpclass_use=no
27477 fi
27478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27479       ac_ext=c
27480 ac_cpp='$CPP $CPPFLAGS'
27481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27484
27485
27486 fi
27487
27488   fi
27489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
27490 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
27491
27492   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
27493     for ac_func in fpclass
27494 do :
27495   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
27496 if test "x$ac_cv_func_fpclass" = x""yes; then :
27497   cat >>confdefs.h <<_ACEOF
27498 #define HAVE_FPCLASS 1
27499 _ACEOF
27500
27501 fi
27502 done
27503
27504   else
27505
27506   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
27507 $as_echo_n "checking for _fpclass declaration... " >&6; }
27508   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
27509     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
27510   $as_echo_n "(cached) " >&6
27511 else
27512
27513
27514       ac_ext=cpp
27515 ac_cpp='$CXXCPP $CPPFLAGS'
27516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27519
27520       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27521 /* end confdefs.h.  */
27522 #include <math.h>
27523                       #ifdef HAVE_IEEEFP_H
27524                       #include <ieeefp.h>
27525                       #endif
27526
27527 int
27528 main ()
27529 {
27530  _fpclass(0);
27531   ;
27532   return 0;
27533 }
27534 _ACEOF
27535 if ac_fn_cxx_try_compile "$LINENO"; then :
27536   glibcxx_cv_func__fpclass_use=yes
27537 else
27538   glibcxx_cv_func__fpclass_use=no
27539 fi
27540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27541       ac_ext=c
27542 ac_cpp='$CPP $CPPFLAGS'
27543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27546
27547
27548 fi
27549
27550   fi
27551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
27552 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
27553
27554     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
27555       for ac_func in _fpclass
27556 do :
27557   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
27558 if test "x$ac_cv_func__fpclass" = x""yes; then :
27559   cat >>confdefs.h <<_ACEOF
27560 #define HAVE__FPCLASS 1
27561 _ACEOF
27562
27563 fi
27564 done
27565
27566     fi
27567   fi
27568
27569
27570
27571
27572
27573   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
27574 $as_echo_n "checking for qfpclass declaration... " >&6; }
27575   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
27576     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
27577   $as_echo_n "(cached) " >&6
27578 else
27579
27580
27581       ac_ext=cpp
27582 ac_cpp='$CXXCPP $CPPFLAGS'
27583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27586
27587       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27588 /* end confdefs.h.  */
27589 #include <math.h>
27590                       #ifdef HAVE_IEEEFP_H
27591                       #include <ieeefp.h>
27592                       #endif
27593
27594 int
27595 main ()
27596 {
27597  qfpclass(0);
27598   ;
27599   return 0;
27600 }
27601 _ACEOF
27602 if ac_fn_cxx_try_compile "$LINENO"; then :
27603   glibcxx_cv_func_qfpclass_use=yes
27604 else
27605   glibcxx_cv_func_qfpclass_use=no
27606 fi
27607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27608       ac_ext=c
27609 ac_cpp='$CPP $CPPFLAGS'
27610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27613
27614
27615 fi
27616
27617   fi
27618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
27619 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
27620
27621   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
27622     for ac_func in qfpclass
27623 do :
27624   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
27625 if test "x$ac_cv_func_qfpclass" = x""yes; then :
27626   cat >>confdefs.h <<_ACEOF
27627 #define HAVE_QFPCLASS 1
27628 _ACEOF
27629
27630 fi
27631 done
27632
27633   else
27634
27635   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
27636 $as_echo_n "checking for _qfpclass declaration... " >&6; }
27637   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
27638     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
27639   $as_echo_n "(cached) " >&6
27640 else
27641
27642
27643       ac_ext=cpp
27644 ac_cpp='$CXXCPP $CPPFLAGS'
27645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27648
27649       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27650 /* end confdefs.h.  */
27651 #include <math.h>
27652                       #ifdef HAVE_IEEEFP_H
27653                       #include <ieeefp.h>
27654                       #endif
27655
27656 int
27657 main ()
27658 {
27659  _qfpclass(0);
27660   ;
27661   return 0;
27662 }
27663 _ACEOF
27664 if ac_fn_cxx_try_compile "$LINENO"; then :
27665   glibcxx_cv_func__qfpclass_use=yes
27666 else
27667   glibcxx_cv_func__qfpclass_use=no
27668 fi
27669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27670       ac_ext=c
27671 ac_cpp='$CPP $CPPFLAGS'
27672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27675
27676
27677 fi
27678
27679   fi
27680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
27681 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
27682
27683     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
27684       for ac_func in _qfpclass
27685 do :
27686   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
27687 if test "x$ac_cv_func__qfpclass" = x""yes; then :
27688   cat >>confdefs.h <<_ACEOF
27689 #define HAVE__QFPCLASS 1
27690 _ACEOF
27691
27692 fi
27693 done
27694
27695     fi
27696   fi
27697
27698
27699
27700
27701
27702   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
27703 $as_echo_n "checking for hypot declaration... " >&6; }
27704   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
27705     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
27706   $as_echo_n "(cached) " >&6
27707 else
27708
27709
27710       ac_ext=cpp
27711 ac_cpp='$CXXCPP $CPPFLAGS'
27712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27715
27716       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27717 /* end confdefs.h.  */
27718 #include <math.h>
27719 int
27720 main ()
27721 {
27722  hypot(0, 0);
27723   ;
27724   return 0;
27725 }
27726 _ACEOF
27727 if ac_fn_cxx_try_compile "$LINENO"; then :
27728   glibcxx_cv_func_hypot_use=yes
27729 else
27730   glibcxx_cv_func_hypot_use=no
27731 fi
27732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27733       ac_ext=c
27734 ac_cpp='$CPP $CPPFLAGS'
27735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27738
27739
27740 fi
27741
27742   fi
27743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
27744 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
27745
27746   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
27747     for ac_func in hypot
27748 do :
27749   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
27750 if test "x$ac_cv_func_hypot" = x""yes; then :
27751   cat >>confdefs.h <<_ACEOF
27752 #define HAVE_HYPOT 1
27753 _ACEOF
27754
27755 fi
27756 done
27757
27758   else
27759
27760   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
27761 $as_echo_n "checking for _hypot declaration... " >&6; }
27762   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
27763     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
27764   $as_echo_n "(cached) " >&6
27765 else
27766
27767
27768       ac_ext=cpp
27769 ac_cpp='$CXXCPP $CPPFLAGS'
27770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27773
27774       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27775 /* end confdefs.h.  */
27776 #include <math.h>
27777 int
27778 main ()
27779 {
27780  _hypot(0, 0);
27781   ;
27782   return 0;
27783 }
27784 _ACEOF
27785 if ac_fn_cxx_try_compile "$LINENO"; then :
27786   glibcxx_cv_func__hypot_use=yes
27787 else
27788   glibcxx_cv_func__hypot_use=no
27789 fi
27790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27791       ac_ext=c
27792 ac_cpp='$CPP $CPPFLAGS'
27793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27796
27797
27798 fi
27799
27800   fi
27801   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
27802 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
27803
27804     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
27805       for ac_func in _hypot
27806 do :
27807   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
27808 if test "x$ac_cv_func__hypot" = x""yes; then :
27809   cat >>confdefs.h <<_ACEOF
27810 #define HAVE__HYPOT 1
27811 _ACEOF
27812
27813 fi
27814 done
27815
27816     fi
27817   fi
27818
27819
27820
27821
27822
27823     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
27824 $as_echo_n "checking for float trig functions... " >&6; }
27825   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
27826   $as_echo_n "(cached) " >&6
27827 else
27828
27829
27830     ac_ext=cpp
27831 ac_cpp='$CXXCPP $CPPFLAGS'
27832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27835
27836     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27837 /* end confdefs.h.  */
27838 #include <math.h>
27839 int
27840 main ()
27841 {
27842 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
27843   ;
27844   return 0;
27845 }
27846 _ACEOF
27847 if ac_fn_cxx_try_compile "$LINENO"; then :
27848   glibcxx_cv_func_float_trig_use=yes
27849 else
27850   glibcxx_cv_func_float_trig_use=no
27851 fi
27852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27853     ac_ext=c
27854 ac_cpp='$CPP $CPPFLAGS'
27855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27858
27859 fi
27860
27861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
27862 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
27863   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
27864     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
27865 do :
27866   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27867 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27868 eval as_val=\$$as_ac_var
27869    if test "x$as_val" = x""yes; then :
27870   cat >>confdefs.h <<_ACEOF
27871 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27872 _ACEOF
27873
27874 fi
27875 done
27876
27877   else
27878     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
27879 $as_echo_n "checking for _float trig functions... " >&6; }
27880     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
27881   $as_echo_n "(cached) " >&6
27882 else
27883
27884
27885       ac_ext=cpp
27886 ac_cpp='$CXXCPP $CPPFLAGS'
27887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27890
27891       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27892 /* end confdefs.h.  */
27893 #include <math.h>
27894 int
27895 main ()
27896 {
27897 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
27898   ;
27899   return 0;
27900 }
27901 _ACEOF
27902 if ac_fn_cxx_try_compile "$LINENO"; then :
27903   glibcxx_cv_func__float_trig_use=yes
27904 else
27905   glibcxx_cv_func__float_trig_use=no
27906 fi
27907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27908       ac_ext=c
27909 ac_cpp='$CPP $CPPFLAGS'
27910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27913
27914 fi
27915
27916     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
27917 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
27918     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
27919       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
27920 do :
27921   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27922 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27923 eval as_val=\$$as_ac_var
27924    if test "x$as_val" = x""yes; then :
27925   cat >>confdefs.h <<_ACEOF
27926 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27927 _ACEOF
27928
27929 fi
27930 done
27931
27932     fi
27933   fi
27934
27935
27936
27937
27938
27939     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
27940 $as_echo_n "checking for float round functions... " >&6; }
27941   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
27942   $as_echo_n "(cached) " >&6
27943 else
27944
27945
27946     ac_ext=cpp
27947 ac_cpp='$CXXCPP $CPPFLAGS'
27948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27951
27952     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27953 /* end confdefs.h.  */
27954 #include <math.h>
27955 int
27956 main ()
27957 {
27958 ceilf (0); floorf (0);
27959   ;
27960   return 0;
27961 }
27962 _ACEOF
27963 if ac_fn_cxx_try_compile "$LINENO"; then :
27964   glibcxx_cv_func_float_round_use=yes
27965 else
27966   glibcxx_cv_func_float_round_use=no
27967 fi
27968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27969     ac_ext=c
27970 ac_cpp='$CPP $CPPFLAGS'
27971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27974
27975 fi
27976
27977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
27978 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
27979   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
27980     for ac_func in ceilf floorf
27981 do :
27982   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27983 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27984 eval as_val=\$$as_ac_var
27985    if test "x$as_val" = x""yes; then :
27986   cat >>confdefs.h <<_ACEOF
27987 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27988 _ACEOF
27989
27990 fi
27991 done
27992
27993   else
27994     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
27995 $as_echo_n "checking for _float round functions... " >&6; }
27996     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
27997   $as_echo_n "(cached) " >&6
27998 else
27999
28000
28001       ac_ext=cpp
28002 ac_cpp='$CXXCPP $CPPFLAGS'
28003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28006
28007       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28008 /* end confdefs.h.  */
28009 #include <math.h>
28010 int
28011 main ()
28012 {
28013 _ceilf (0); _floorf (0);
28014   ;
28015   return 0;
28016 }
28017 _ACEOF
28018 if ac_fn_cxx_try_compile "$LINENO"; then :
28019   glibcxx_cv_func__float_round_use=yes
28020 else
28021   glibcxx_cv_func__float_round_use=no
28022 fi
28023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28024       ac_ext=c
28025 ac_cpp='$CPP $CPPFLAGS'
28026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28029
28030 fi
28031
28032     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
28033 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
28034     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
28035       for ac_func in _ceilf _floorf
28036 do :
28037   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28038 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28039 eval as_val=\$$as_ac_var
28040    if test "x$as_val" = x""yes; then :
28041   cat >>confdefs.h <<_ACEOF
28042 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28043 _ACEOF
28044
28045 fi
28046 done
28047
28048     fi
28049   fi
28050
28051
28052
28053
28054
28055
28056   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
28057 $as_echo_n "checking for expf declaration... " >&6; }
28058   if test x${glibcxx_cv_func_expf_use+set} != xset; then
28059     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
28060   $as_echo_n "(cached) " >&6
28061 else
28062
28063
28064       ac_ext=cpp
28065 ac_cpp='$CXXCPP $CPPFLAGS'
28066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28069
28070       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28071 /* end confdefs.h.  */
28072 #include <math.h>
28073                       #ifdef HAVE_IEEEFP_H
28074                       #include <ieeefp.h>
28075                       #endif
28076
28077 int
28078 main ()
28079 {
28080  expf(0);
28081   ;
28082   return 0;
28083 }
28084 _ACEOF
28085 if ac_fn_cxx_try_compile "$LINENO"; then :
28086   glibcxx_cv_func_expf_use=yes
28087 else
28088   glibcxx_cv_func_expf_use=no
28089 fi
28090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28091       ac_ext=c
28092 ac_cpp='$CPP $CPPFLAGS'
28093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28096
28097
28098 fi
28099
28100   fi
28101   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
28102 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
28103
28104   if test x$glibcxx_cv_func_expf_use = x"yes"; then
28105     for ac_func in expf
28106 do :
28107   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
28108 if test "x$ac_cv_func_expf" = x""yes; then :
28109   cat >>confdefs.h <<_ACEOF
28110 #define HAVE_EXPF 1
28111 _ACEOF
28112
28113 fi
28114 done
28115
28116   else
28117
28118   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
28119 $as_echo_n "checking for _expf declaration... " >&6; }
28120   if test x${glibcxx_cv_func__expf_use+set} != xset; then
28121     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
28122   $as_echo_n "(cached) " >&6
28123 else
28124
28125
28126       ac_ext=cpp
28127 ac_cpp='$CXXCPP $CPPFLAGS'
28128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28131
28132       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28133 /* end confdefs.h.  */
28134 #include <math.h>
28135                       #ifdef HAVE_IEEEFP_H
28136                       #include <ieeefp.h>
28137                       #endif
28138
28139 int
28140 main ()
28141 {
28142  _expf(0);
28143   ;
28144   return 0;
28145 }
28146 _ACEOF
28147 if ac_fn_cxx_try_compile "$LINENO"; then :
28148   glibcxx_cv_func__expf_use=yes
28149 else
28150   glibcxx_cv_func__expf_use=no
28151 fi
28152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28153       ac_ext=c
28154 ac_cpp='$CPP $CPPFLAGS'
28155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28158
28159
28160 fi
28161
28162   fi
28163   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
28164 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
28165
28166     if test x$glibcxx_cv_func__expf_use = x"yes"; then
28167       for ac_func in _expf
28168 do :
28169   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
28170 if test "x$ac_cv_func__expf" = x""yes; then :
28171   cat >>confdefs.h <<_ACEOF
28172 #define HAVE__EXPF 1
28173 _ACEOF
28174
28175 fi
28176 done
28177
28178     fi
28179   fi
28180
28181
28182
28183
28184
28185   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
28186 $as_echo_n "checking for isnanf declaration... " >&6; }
28187   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
28188     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
28189   $as_echo_n "(cached) " >&6
28190 else
28191
28192
28193       ac_ext=cpp
28194 ac_cpp='$CXXCPP $CPPFLAGS'
28195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28198
28199       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28200 /* end confdefs.h.  */
28201 #include <math.h>
28202                       #ifdef HAVE_IEEEFP_H
28203                       #include <ieeefp.h>
28204                       #endif
28205
28206 int
28207 main ()
28208 {
28209  isnanf(0);
28210   ;
28211   return 0;
28212 }
28213 _ACEOF
28214 if ac_fn_cxx_try_compile "$LINENO"; then :
28215   glibcxx_cv_func_isnanf_use=yes
28216 else
28217   glibcxx_cv_func_isnanf_use=no
28218 fi
28219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28220       ac_ext=c
28221 ac_cpp='$CPP $CPPFLAGS'
28222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28225
28226
28227 fi
28228
28229   fi
28230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
28231 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
28232
28233   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
28234     for ac_func in isnanf
28235 do :
28236   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
28237 if test "x$ac_cv_func_isnanf" = x""yes; then :
28238   cat >>confdefs.h <<_ACEOF
28239 #define HAVE_ISNANF 1
28240 _ACEOF
28241
28242 fi
28243 done
28244
28245   else
28246
28247   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
28248 $as_echo_n "checking for _isnanf declaration... " >&6; }
28249   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
28250     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
28251   $as_echo_n "(cached) " >&6
28252 else
28253
28254
28255       ac_ext=cpp
28256 ac_cpp='$CXXCPP $CPPFLAGS'
28257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28260
28261       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28262 /* end confdefs.h.  */
28263 #include <math.h>
28264                       #ifdef HAVE_IEEEFP_H
28265                       #include <ieeefp.h>
28266                       #endif
28267
28268 int
28269 main ()
28270 {
28271  _isnanf(0);
28272   ;
28273   return 0;
28274 }
28275 _ACEOF
28276 if ac_fn_cxx_try_compile "$LINENO"; then :
28277   glibcxx_cv_func__isnanf_use=yes
28278 else
28279   glibcxx_cv_func__isnanf_use=no
28280 fi
28281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28282       ac_ext=c
28283 ac_cpp='$CPP $CPPFLAGS'
28284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28287
28288
28289 fi
28290
28291   fi
28292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
28293 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
28294
28295     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28296       for ac_func in _isnanf
28297 do :
28298   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
28299 if test "x$ac_cv_func__isnanf" = x""yes; then :
28300   cat >>confdefs.h <<_ACEOF
28301 #define HAVE__ISNANF 1
28302 _ACEOF
28303
28304 fi
28305 done
28306
28307     fi
28308   fi
28309
28310
28311
28312
28313
28314   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
28315 $as_echo_n "checking for isinff declaration... " >&6; }
28316   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
28317     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
28318   $as_echo_n "(cached) " >&6
28319 else
28320
28321
28322       ac_ext=cpp
28323 ac_cpp='$CXXCPP $CPPFLAGS'
28324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28327
28328       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28329 /* end confdefs.h.  */
28330 #include <math.h>
28331                       #ifdef HAVE_IEEEFP_H
28332                       #include <ieeefp.h>
28333                       #endif
28334
28335 int
28336 main ()
28337 {
28338  isinff(0);
28339   ;
28340   return 0;
28341 }
28342 _ACEOF
28343 if ac_fn_cxx_try_compile "$LINENO"; then :
28344   glibcxx_cv_func_isinff_use=yes
28345 else
28346   glibcxx_cv_func_isinff_use=no
28347 fi
28348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28349       ac_ext=c
28350 ac_cpp='$CPP $CPPFLAGS'
28351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28354
28355
28356 fi
28357
28358   fi
28359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
28360 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
28361
28362   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
28363     for ac_func in isinff
28364 do :
28365   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
28366 if test "x$ac_cv_func_isinff" = x""yes; then :
28367   cat >>confdefs.h <<_ACEOF
28368 #define HAVE_ISINFF 1
28369 _ACEOF
28370
28371 fi
28372 done
28373
28374   else
28375
28376   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
28377 $as_echo_n "checking for _isinff declaration... " >&6; }
28378   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
28379     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
28380   $as_echo_n "(cached) " >&6
28381 else
28382
28383
28384       ac_ext=cpp
28385 ac_cpp='$CXXCPP $CPPFLAGS'
28386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28389
28390       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28391 /* end confdefs.h.  */
28392 #include <math.h>
28393                       #ifdef HAVE_IEEEFP_H
28394                       #include <ieeefp.h>
28395                       #endif
28396
28397 int
28398 main ()
28399 {
28400  _isinff(0);
28401   ;
28402   return 0;
28403 }
28404 _ACEOF
28405 if ac_fn_cxx_try_compile "$LINENO"; then :
28406   glibcxx_cv_func__isinff_use=yes
28407 else
28408   glibcxx_cv_func__isinff_use=no
28409 fi
28410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28411       ac_ext=c
28412 ac_cpp='$CPP $CPPFLAGS'
28413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28416
28417
28418 fi
28419
28420   fi
28421   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
28422 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
28423
28424     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
28425       for ac_func in _isinff
28426 do :
28427   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
28428 if test "x$ac_cv_func__isinff" = x""yes; then :
28429   cat >>confdefs.h <<_ACEOF
28430 #define HAVE__ISINFF 1
28431 _ACEOF
28432
28433 fi
28434 done
28435
28436     fi
28437   fi
28438
28439
28440
28441
28442
28443   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
28444 $as_echo_n "checking for atan2f declaration... " >&6; }
28445   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
28446     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
28447   $as_echo_n "(cached) " >&6
28448 else
28449
28450
28451       ac_ext=cpp
28452 ac_cpp='$CXXCPP $CPPFLAGS'
28453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28456
28457       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28458 /* end confdefs.h.  */
28459 #include <math.h>
28460 int
28461 main ()
28462 {
28463  atan2f(0, 0);
28464   ;
28465   return 0;
28466 }
28467 _ACEOF
28468 if ac_fn_cxx_try_compile "$LINENO"; then :
28469   glibcxx_cv_func_atan2f_use=yes
28470 else
28471   glibcxx_cv_func_atan2f_use=no
28472 fi
28473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28474       ac_ext=c
28475 ac_cpp='$CPP $CPPFLAGS'
28476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28479
28480
28481 fi
28482
28483   fi
28484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
28485 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
28486
28487   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
28488     for ac_func in atan2f
28489 do :
28490   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
28491 if test "x$ac_cv_func_atan2f" = x""yes; then :
28492   cat >>confdefs.h <<_ACEOF
28493 #define HAVE_ATAN2F 1
28494 _ACEOF
28495
28496 fi
28497 done
28498
28499   else
28500
28501   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
28502 $as_echo_n "checking for _atan2f declaration... " >&6; }
28503   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
28504     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
28505   $as_echo_n "(cached) " >&6
28506 else
28507
28508
28509       ac_ext=cpp
28510 ac_cpp='$CXXCPP $CPPFLAGS'
28511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28514
28515       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28516 /* end confdefs.h.  */
28517 #include <math.h>
28518 int
28519 main ()
28520 {
28521  _atan2f(0, 0);
28522   ;
28523   return 0;
28524 }
28525 _ACEOF
28526 if ac_fn_cxx_try_compile "$LINENO"; then :
28527   glibcxx_cv_func__atan2f_use=yes
28528 else
28529   glibcxx_cv_func__atan2f_use=no
28530 fi
28531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28532       ac_ext=c
28533 ac_cpp='$CPP $CPPFLAGS'
28534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28537
28538
28539 fi
28540
28541   fi
28542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
28543 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
28544
28545     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
28546       for ac_func in _atan2f
28547 do :
28548   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
28549 if test "x$ac_cv_func__atan2f" = x""yes; then :
28550   cat >>confdefs.h <<_ACEOF
28551 #define HAVE__ATAN2F 1
28552 _ACEOF
28553
28554 fi
28555 done
28556
28557     fi
28558   fi
28559
28560
28561
28562
28563
28564   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
28565 $as_echo_n "checking for fabsf declaration... " >&6; }
28566   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
28567     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
28568   $as_echo_n "(cached) " >&6
28569 else
28570
28571
28572       ac_ext=cpp
28573 ac_cpp='$CXXCPP $CPPFLAGS'
28574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28577
28578       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28579 /* end confdefs.h.  */
28580 #include <math.h>
28581                       #ifdef HAVE_IEEEFP_H
28582                       #include <ieeefp.h>
28583                       #endif
28584
28585 int
28586 main ()
28587 {
28588  fabsf(0);
28589   ;
28590   return 0;
28591 }
28592 _ACEOF
28593 if ac_fn_cxx_try_compile "$LINENO"; then :
28594   glibcxx_cv_func_fabsf_use=yes
28595 else
28596   glibcxx_cv_func_fabsf_use=no
28597 fi
28598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28599       ac_ext=c
28600 ac_cpp='$CPP $CPPFLAGS'
28601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28604
28605
28606 fi
28607
28608   fi
28609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
28610 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
28611
28612   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
28613     for ac_func in fabsf
28614 do :
28615   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
28616 if test "x$ac_cv_func_fabsf" = x""yes; then :
28617   cat >>confdefs.h <<_ACEOF
28618 #define HAVE_FABSF 1
28619 _ACEOF
28620
28621 fi
28622 done
28623
28624   else
28625
28626   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
28627 $as_echo_n "checking for _fabsf declaration... " >&6; }
28628   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
28629     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
28630   $as_echo_n "(cached) " >&6
28631 else
28632
28633
28634       ac_ext=cpp
28635 ac_cpp='$CXXCPP $CPPFLAGS'
28636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28639
28640       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28641 /* end confdefs.h.  */
28642 #include <math.h>
28643                       #ifdef HAVE_IEEEFP_H
28644                       #include <ieeefp.h>
28645                       #endif
28646
28647 int
28648 main ()
28649 {
28650  _fabsf(0);
28651   ;
28652   return 0;
28653 }
28654 _ACEOF
28655 if ac_fn_cxx_try_compile "$LINENO"; then :
28656   glibcxx_cv_func__fabsf_use=yes
28657 else
28658   glibcxx_cv_func__fabsf_use=no
28659 fi
28660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28661       ac_ext=c
28662 ac_cpp='$CPP $CPPFLAGS'
28663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28666
28667
28668 fi
28669
28670   fi
28671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
28672 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
28673
28674     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
28675       for ac_func in _fabsf
28676 do :
28677   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
28678 if test "x$ac_cv_func__fabsf" = x""yes; then :
28679   cat >>confdefs.h <<_ACEOF
28680 #define HAVE__FABSF 1
28681 _ACEOF
28682
28683 fi
28684 done
28685
28686     fi
28687   fi
28688
28689
28690
28691
28692
28693   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
28694 $as_echo_n "checking for fmodf declaration... " >&6; }
28695   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
28696     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
28697   $as_echo_n "(cached) " >&6
28698 else
28699
28700
28701       ac_ext=cpp
28702 ac_cpp='$CXXCPP $CPPFLAGS'
28703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28706
28707       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28708 /* end confdefs.h.  */
28709 #include <math.h>
28710 int
28711 main ()
28712 {
28713  fmodf(0, 0);
28714   ;
28715   return 0;
28716 }
28717 _ACEOF
28718 if ac_fn_cxx_try_compile "$LINENO"; then :
28719   glibcxx_cv_func_fmodf_use=yes
28720 else
28721   glibcxx_cv_func_fmodf_use=no
28722 fi
28723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28724       ac_ext=c
28725 ac_cpp='$CPP $CPPFLAGS'
28726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28729
28730
28731 fi
28732
28733   fi
28734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
28735 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
28736
28737   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
28738     for ac_func in fmodf
28739 do :
28740   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
28741 if test "x$ac_cv_func_fmodf" = x""yes; then :
28742   cat >>confdefs.h <<_ACEOF
28743 #define HAVE_FMODF 1
28744 _ACEOF
28745
28746 fi
28747 done
28748
28749   else
28750
28751   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
28752 $as_echo_n "checking for _fmodf declaration... " >&6; }
28753   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
28754     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
28755   $as_echo_n "(cached) " >&6
28756 else
28757
28758
28759       ac_ext=cpp
28760 ac_cpp='$CXXCPP $CPPFLAGS'
28761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28764
28765       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28766 /* end confdefs.h.  */
28767 #include <math.h>
28768 int
28769 main ()
28770 {
28771  _fmodf(0, 0);
28772   ;
28773   return 0;
28774 }
28775 _ACEOF
28776 if ac_fn_cxx_try_compile "$LINENO"; then :
28777   glibcxx_cv_func__fmodf_use=yes
28778 else
28779   glibcxx_cv_func__fmodf_use=no
28780 fi
28781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28782       ac_ext=c
28783 ac_cpp='$CPP $CPPFLAGS'
28784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28787
28788
28789 fi
28790
28791   fi
28792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
28793 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
28794
28795     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
28796       for ac_func in _fmodf
28797 do :
28798   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
28799 if test "x$ac_cv_func__fmodf" = x""yes; then :
28800   cat >>confdefs.h <<_ACEOF
28801 #define HAVE__FMODF 1
28802 _ACEOF
28803
28804 fi
28805 done
28806
28807     fi
28808   fi
28809
28810
28811
28812
28813
28814   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
28815 $as_echo_n "checking for frexpf declaration... " >&6; }
28816   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
28817     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
28818   $as_echo_n "(cached) " >&6
28819 else
28820
28821
28822       ac_ext=cpp
28823 ac_cpp='$CXXCPP $CPPFLAGS'
28824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28827
28828       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28829 /* end confdefs.h.  */
28830 #include <math.h>
28831 int
28832 main ()
28833 {
28834  frexpf(0, 0);
28835   ;
28836   return 0;
28837 }
28838 _ACEOF
28839 if ac_fn_cxx_try_compile "$LINENO"; then :
28840   glibcxx_cv_func_frexpf_use=yes
28841 else
28842   glibcxx_cv_func_frexpf_use=no
28843 fi
28844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28845       ac_ext=c
28846 ac_cpp='$CPP $CPPFLAGS'
28847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28850
28851
28852 fi
28853
28854   fi
28855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
28856 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
28857
28858   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
28859     for ac_func in frexpf
28860 do :
28861   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
28862 if test "x$ac_cv_func_frexpf" = x""yes; then :
28863   cat >>confdefs.h <<_ACEOF
28864 #define HAVE_FREXPF 1
28865 _ACEOF
28866
28867 fi
28868 done
28869
28870   else
28871
28872   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
28873 $as_echo_n "checking for _frexpf declaration... " >&6; }
28874   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
28875     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
28876   $as_echo_n "(cached) " >&6
28877 else
28878
28879
28880       ac_ext=cpp
28881 ac_cpp='$CXXCPP $CPPFLAGS'
28882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28885
28886       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28887 /* end confdefs.h.  */
28888 #include <math.h>
28889 int
28890 main ()
28891 {
28892  _frexpf(0, 0);
28893   ;
28894   return 0;
28895 }
28896 _ACEOF
28897 if ac_fn_cxx_try_compile "$LINENO"; then :
28898   glibcxx_cv_func__frexpf_use=yes
28899 else
28900   glibcxx_cv_func__frexpf_use=no
28901 fi
28902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28903       ac_ext=c
28904 ac_cpp='$CPP $CPPFLAGS'
28905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28908
28909
28910 fi
28911
28912   fi
28913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
28914 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
28915
28916     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
28917       for ac_func in _frexpf
28918 do :
28919   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
28920 if test "x$ac_cv_func__frexpf" = x""yes; then :
28921   cat >>confdefs.h <<_ACEOF
28922 #define HAVE__FREXPF 1
28923 _ACEOF
28924
28925 fi
28926 done
28927
28928     fi
28929   fi
28930
28931
28932
28933
28934
28935   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
28936 $as_echo_n "checking for hypotf declaration... " >&6; }
28937   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
28938     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
28939   $as_echo_n "(cached) " >&6
28940 else
28941
28942
28943       ac_ext=cpp
28944 ac_cpp='$CXXCPP $CPPFLAGS'
28945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28948
28949       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28950 /* end confdefs.h.  */
28951 #include <math.h>
28952 int
28953 main ()
28954 {
28955  hypotf(0, 0);
28956   ;
28957   return 0;
28958 }
28959 _ACEOF
28960 if ac_fn_cxx_try_compile "$LINENO"; then :
28961   glibcxx_cv_func_hypotf_use=yes
28962 else
28963   glibcxx_cv_func_hypotf_use=no
28964 fi
28965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28966       ac_ext=c
28967 ac_cpp='$CPP $CPPFLAGS'
28968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28971
28972
28973 fi
28974
28975   fi
28976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
28977 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
28978
28979   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
28980     for ac_func in hypotf
28981 do :
28982   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
28983 if test "x$ac_cv_func_hypotf" = x""yes; then :
28984   cat >>confdefs.h <<_ACEOF
28985 #define HAVE_HYPOTF 1
28986 _ACEOF
28987
28988 fi
28989 done
28990
28991   else
28992
28993   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
28994 $as_echo_n "checking for _hypotf declaration... " >&6; }
28995   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
28996     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
28997   $as_echo_n "(cached) " >&6
28998 else
28999
29000
29001       ac_ext=cpp
29002 ac_cpp='$CXXCPP $CPPFLAGS'
29003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29006
29007       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29008 /* end confdefs.h.  */
29009 #include <math.h>
29010 int
29011 main ()
29012 {
29013  _hypotf(0, 0);
29014   ;
29015   return 0;
29016 }
29017 _ACEOF
29018 if ac_fn_cxx_try_compile "$LINENO"; then :
29019   glibcxx_cv_func__hypotf_use=yes
29020 else
29021   glibcxx_cv_func__hypotf_use=no
29022 fi
29023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29024       ac_ext=c
29025 ac_cpp='$CPP $CPPFLAGS'
29026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29029
29030
29031 fi
29032
29033   fi
29034   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
29035 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
29036
29037     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
29038       for ac_func in _hypotf
29039 do :
29040   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
29041 if test "x$ac_cv_func__hypotf" = x""yes; then :
29042   cat >>confdefs.h <<_ACEOF
29043 #define HAVE__HYPOTF 1
29044 _ACEOF
29045
29046 fi
29047 done
29048
29049     fi
29050   fi
29051
29052
29053
29054
29055
29056   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
29057 $as_echo_n "checking for ldexpf declaration... " >&6; }
29058   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
29059     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
29060   $as_echo_n "(cached) " >&6
29061 else
29062
29063
29064       ac_ext=cpp
29065 ac_cpp='$CXXCPP $CPPFLAGS'
29066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29069
29070       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29071 /* end confdefs.h.  */
29072 #include <math.h>
29073 int
29074 main ()
29075 {
29076  ldexpf(0, 0);
29077   ;
29078   return 0;
29079 }
29080 _ACEOF
29081 if ac_fn_cxx_try_compile "$LINENO"; then :
29082   glibcxx_cv_func_ldexpf_use=yes
29083 else
29084   glibcxx_cv_func_ldexpf_use=no
29085 fi
29086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29087       ac_ext=c
29088 ac_cpp='$CPP $CPPFLAGS'
29089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29092
29093
29094 fi
29095
29096   fi
29097   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
29098 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
29099
29100   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
29101     for ac_func in ldexpf
29102 do :
29103   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
29104 if test "x$ac_cv_func_ldexpf" = x""yes; then :
29105   cat >>confdefs.h <<_ACEOF
29106 #define HAVE_LDEXPF 1
29107 _ACEOF
29108
29109 fi
29110 done
29111
29112   else
29113
29114   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
29115 $as_echo_n "checking for _ldexpf declaration... " >&6; }
29116   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
29117     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
29118   $as_echo_n "(cached) " >&6
29119 else
29120
29121
29122       ac_ext=cpp
29123 ac_cpp='$CXXCPP $CPPFLAGS'
29124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29127
29128       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29129 /* end confdefs.h.  */
29130 #include <math.h>
29131 int
29132 main ()
29133 {
29134  _ldexpf(0, 0);
29135   ;
29136   return 0;
29137 }
29138 _ACEOF
29139 if ac_fn_cxx_try_compile "$LINENO"; then :
29140   glibcxx_cv_func__ldexpf_use=yes
29141 else
29142   glibcxx_cv_func__ldexpf_use=no
29143 fi
29144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29145       ac_ext=c
29146 ac_cpp='$CPP $CPPFLAGS'
29147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29150
29151
29152 fi
29153
29154   fi
29155   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
29156 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
29157
29158     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
29159       for ac_func in _ldexpf
29160 do :
29161   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
29162 if test "x$ac_cv_func__ldexpf" = x""yes; then :
29163   cat >>confdefs.h <<_ACEOF
29164 #define HAVE__LDEXPF 1
29165 _ACEOF
29166
29167 fi
29168 done
29169
29170     fi
29171   fi
29172
29173
29174
29175
29176
29177   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
29178 $as_echo_n "checking for logf declaration... " >&6; }
29179   if test x${glibcxx_cv_func_logf_use+set} != xset; then
29180     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
29181   $as_echo_n "(cached) " >&6
29182 else
29183
29184
29185       ac_ext=cpp
29186 ac_cpp='$CXXCPP $CPPFLAGS'
29187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29190
29191       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29192 /* end confdefs.h.  */
29193 #include <math.h>
29194                       #ifdef HAVE_IEEEFP_H
29195                       #include <ieeefp.h>
29196                       #endif
29197
29198 int
29199 main ()
29200 {
29201  logf(0);
29202   ;
29203   return 0;
29204 }
29205 _ACEOF
29206 if ac_fn_cxx_try_compile "$LINENO"; then :
29207   glibcxx_cv_func_logf_use=yes
29208 else
29209   glibcxx_cv_func_logf_use=no
29210 fi
29211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29212       ac_ext=c
29213 ac_cpp='$CPP $CPPFLAGS'
29214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29217
29218
29219 fi
29220
29221   fi
29222   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
29223 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
29224
29225   if test x$glibcxx_cv_func_logf_use = x"yes"; then
29226     for ac_func in logf
29227 do :
29228   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
29229 if test "x$ac_cv_func_logf" = x""yes; then :
29230   cat >>confdefs.h <<_ACEOF
29231 #define HAVE_LOGF 1
29232 _ACEOF
29233
29234 fi
29235 done
29236
29237   else
29238
29239   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
29240 $as_echo_n "checking for _logf declaration... " >&6; }
29241   if test x${glibcxx_cv_func__logf_use+set} != xset; then
29242     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
29243   $as_echo_n "(cached) " >&6
29244 else
29245
29246
29247       ac_ext=cpp
29248 ac_cpp='$CXXCPP $CPPFLAGS'
29249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29252
29253       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29254 /* end confdefs.h.  */
29255 #include <math.h>
29256                       #ifdef HAVE_IEEEFP_H
29257                       #include <ieeefp.h>
29258                       #endif
29259
29260 int
29261 main ()
29262 {
29263  _logf(0);
29264   ;
29265   return 0;
29266 }
29267 _ACEOF
29268 if ac_fn_cxx_try_compile "$LINENO"; then :
29269   glibcxx_cv_func__logf_use=yes
29270 else
29271   glibcxx_cv_func__logf_use=no
29272 fi
29273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29274       ac_ext=c
29275 ac_cpp='$CPP $CPPFLAGS'
29276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29279
29280
29281 fi
29282
29283   fi
29284   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
29285 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
29286
29287     if test x$glibcxx_cv_func__logf_use = x"yes"; then
29288       for ac_func in _logf
29289 do :
29290   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
29291 if test "x$ac_cv_func__logf" = x""yes; then :
29292   cat >>confdefs.h <<_ACEOF
29293 #define HAVE__LOGF 1
29294 _ACEOF
29295
29296 fi
29297 done
29298
29299     fi
29300   fi
29301
29302
29303
29304
29305
29306   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
29307 $as_echo_n "checking for log10f declaration... " >&6; }
29308   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
29309     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
29310   $as_echo_n "(cached) " >&6
29311 else
29312
29313
29314       ac_ext=cpp
29315 ac_cpp='$CXXCPP $CPPFLAGS'
29316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29319
29320       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29321 /* end confdefs.h.  */
29322 #include <math.h>
29323                       #ifdef HAVE_IEEEFP_H
29324                       #include <ieeefp.h>
29325                       #endif
29326
29327 int
29328 main ()
29329 {
29330  log10f(0);
29331   ;
29332   return 0;
29333 }
29334 _ACEOF
29335 if ac_fn_cxx_try_compile "$LINENO"; then :
29336   glibcxx_cv_func_log10f_use=yes
29337 else
29338   glibcxx_cv_func_log10f_use=no
29339 fi
29340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29341       ac_ext=c
29342 ac_cpp='$CPP $CPPFLAGS'
29343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29346
29347
29348 fi
29349
29350   fi
29351   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
29352 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
29353
29354   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
29355     for ac_func in log10f
29356 do :
29357   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
29358 if test "x$ac_cv_func_log10f" = x""yes; then :
29359   cat >>confdefs.h <<_ACEOF
29360 #define HAVE_LOG10F 1
29361 _ACEOF
29362
29363 fi
29364 done
29365
29366   else
29367
29368   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
29369 $as_echo_n "checking for _log10f declaration... " >&6; }
29370   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
29371     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
29372   $as_echo_n "(cached) " >&6
29373 else
29374
29375
29376       ac_ext=cpp
29377 ac_cpp='$CXXCPP $CPPFLAGS'
29378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29381
29382       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29383 /* end confdefs.h.  */
29384 #include <math.h>
29385                       #ifdef HAVE_IEEEFP_H
29386                       #include <ieeefp.h>
29387                       #endif
29388
29389 int
29390 main ()
29391 {
29392  _log10f(0);
29393   ;
29394   return 0;
29395 }
29396 _ACEOF
29397 if ac_fn_cxx_try_compile "$LINENO"; then :
29398   glibcxx_cv_func__log10f_use=yes
29399 else
29400   glibcxx_cv_func__log10f_use=no
29401 fi
29402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29403       ac_ext=c
29404 ac_cpp='$CPP $CPPFLAGS'
29405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29408
29409
29410 fi
29411
29412   fi
29413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
29414 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
29415
29416     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
29417       for ac_func in _log10f
29418 do :
29419   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
29420 if test "x$ac_cv_func__log10f" = x""yes; then :
29421   cat >>confdefs.h <<_ACEOF
29422 #define HAVE__LOG10F 1
29423 _ACEOF
29424
29425 fi
29426 done
29427
29428     fi
29429   fi
29430
29431
29432
29433
29434
29435   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
29436 $as_echo_n "checking for modff declaration... " >&6; }
29437   if test x${glibcxx_cv_func_modff_use+set} != xset; then
29438     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
29439   $as_echo_n "(cached) " >&6
29440 else
29441
29442
29443       ac_ext=cpp
29444 ac_cpp='$CXXCPP $CPPFLAGS'
29445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29448
29449       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29450 /* end confdefs.h.  */
29451 #include <math.h>
29452 int
29453 main ()
29454 {
29455  modff(0, 0);
29456   ;
29457   return 0;
29458 }
29459 _ACEOF
29460 if ac_fn_cxx_try_compile "$LINENO"; then :
29461   glibcxx_cv_func_modff_use=yes
29462 else
29463   glibcxx_cv_func_modff_use=no
29464 fi
29465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29466       ac_ext=c
29467 ac_cpp='$CPP $CPPFLAGS'
29468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29471
29472
29473 fi
29474
29475   fi
29476   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
29477 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
29478
29479   if test x$glibcxx_cv_func_modff_use = x"yes"; then
29480     for ac_func in modff
29481 do :
29482   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
29483 if test "x$ac_cv_func_modff" = x""yes; then :
29484   cat >>confdefs.h <<_ACEOF
29485 #define HAVE_MODFF 1
29486 _ACEOF
29487
29488 fi
29489 done
29490
29491   else
29492
29493   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
29494 $as_echo_n "checking for _modff declaration... " >&6; }
29495   if test x${glibcxx_cv_func__modff_use+set} != xset; then
29496     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
29497   $as_echo_n "(cached) " >&6
29498 else
29499
29500
29501       ac_ext=cpp
29502 ac_cpp='$CXXCPP $CPPFLAGS'
29503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29506
29507       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29508 /* end confdefs.h.  */
29509 #include <math.h>
29510 int
29511 main ()
29512 {
29513  _modff(0, 0);
29514   ;
29515   return 0;
29516 }
29517 _ACEOF
29518 if ac_fn_cxx_try_compile "$LINENO"; then :
29519   glibcxx_cv_func__modff_use=yes
29520 else
29521   glibcxx_cv_func__modff_use=no
29522 fi
29523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29524       ac_ext=c
29525 ac_cpp='$CPP $CPPFLAGS'
29526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29529
29530
29531 fi
29532
29533   fi
29534   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
29535 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
29536
29537     if test x$glibcxx_cv_func__modff_use = x"yes"; then
29538       for ac_func in _modff
29539 do :
29540   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
29541 if test "x$ac_cv_func__modff" = x""yes; then :
29542   cat >>confdefs.h <<_ACEOF
29543 #define HAVE__MODFF 1
29544 _ACEOF
29545
29546 fi
29547 done
29548
29549     fi
29550   fi
29551
29552
29553
29554
29555
29556   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
29557 $as_echo_n "checking for modf declaration... " >&6; }
29558   if test x${glibcxx_cv_func_modf_use+set} != xset; then
29559     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
29560   $as_echo_n "(cached) " >&6
29561 else
29562
29563
29564       ac_ext=cpp
29565 ac_cpp='$CXXCPP $CPPFLAGS'
29566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29569
29570       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29571 /* end confdefs.h.  */
29572 #include <math.h>
29573 int
29574 main ()
29575 {
29576  modf(0, 0);
29577   ;
29578   return 0;
29579 }
29580 _ACEOF
29581 if ac_fn_cxx_try_compile "$LINENO"; then :
29582   glibcxx_cv_func_modf_use=yes
29583 else
29584   glibcxx_cv_func_modf_use=no
29585 fi
29586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29587       ac_ext=c
29588 ac_cpp='$CPP $CPPFLAGS'
29589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29592
29593
29594 fi
29595
29596   fi
29597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
29598 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
29599
29600   if test x$glibcxx_cv_func_modf_use = x"yes"; then
29601     for ac_func in modf
29602 do :
29603   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
29604 if test "x$ac_cv_func_modf" = x""yes; then :
29605   cat >>confdefs.h <<_ACEOF
29606 #define HAVE_MODF 1
29607 _ACEOF
29608
29609 fi
29610 done
29611
29612   else
29613
29614   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
29615 $as_echo_n "checking for _modf declaration... " >&6; }
29616   if test x${glibcxx_cv_func__modf_use+set} != xset; then
29617     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
29618   $as_echo_n "(cached) " >&6
29619 else
29620
29621
29622       ac_ext=cpp
29623 ac_cpp='$CXXCPP $CPPFLAGS'
29624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29627
29628       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29629 /* end confdefs.h.  */
29630 #include <math.h>
29631 int
29632 main ()
29633 {
29634  _modf(0, 0);
29635   ;
29636   return 0;
29637 }
29638 _ACEOF
29639 if ac_fn_cxx_try_compile "$LINENO"; then :
29640   glibcxx_cv_func__modf_use=yes
29641 else
29642   glibcxx_cv_func__modf_use=no
29643 fi
29644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29645       ac_ext=c
29646 ac_cpp='$CPP $CPPFLAGS'
29647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29650
29651
29652 fi
29653
29654   fi
29655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
29656 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
29657
29658     if test x$glibcxx_cv_func__modf_use = x"yes"; then
29659       for ac_func in _modf
29660 do :
29661   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
29662 if test "x$ac_cv_func__modf" = x""yes; then :
29663   cat >>confdefs.h <<_ACEOF
29664 #define HAVE__MODF 1
29665 _ACEOF
29666
29667 fi
29668 done
29669
29670     fi
29671   fi
29672
29673
29674
29675
29676
29677   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
29678 $as_echo_n "checking for powf declaration... " >&6; }
29679   if test x${glibcxx_cv_func_powf_use+set} != xset; then
29680     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
29681   $as_echo_n "(cached) " >&6
29682 else
29683
29684
29685       ac_ext=cpp
29686 ac_cpp='$CXXCPP $CPPFLAGS'
29687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29690
29691       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29692 /* end confdefs.h.  */
29693 #include <math.h>
29694 int
29695 main ()
29696 {
29697  powf(0, 0);
29698   ;
29699   return 0;
29700 }
29701 _ACEOF
29702 if ac_fn_cxx_try_compile "$LINENO"; then :
29703   glibcxx_cv_func_powf_use=yes
29704 else
29705   glibcxx_cv_func_powf_use=no
29706 fi
29707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29708       ac_ext=c
29709 ac_cpp='$CPP $CPPFLAGS'
29710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29713
29714
29715 fi
29716
29717   fi
29718   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
29719 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
29720
29721   if test x$glibcxx_cv_func_powf_use = x"yes"; then
29722     for ac_func in powf
29723 do :
29724   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
29725 if test "x$ac_cv_func_powf" = x""yes; then :
29726   cat >>confdefs.h <<_ACEOF
29727 #define HAVE_POWF 1
29728 _ACEOF
29729
29730 fi
29731 done
29732
29733   else
29734
29735   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
29736 $as_echo_n "checking for _powf declaration... " >&6; }
29737   if test x${glibcxx_cv_func__powf_use+set} != xset; then
29738     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
29739   $as_echo_n "(cached) " >&6
29740 else
29741
29742
29743       ac_ext=cpp
29744 ac_cpp='$CXXCPP $CPPFLAGS'
29745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29748
29749       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29750 /* end confdefs.h.  */
29751 #include <math.h>
29752 int
29753 main ()
29754 {
29755  _powf(0, 0);
29756   ;
29757   return 0;
29758 }
29759 _ACEOF
29760 if ac_fn_cxx_try_compile "$LINENO"; then :
29761   glibcxx_cv_func__powf_use=yes
29762 else
29763   glibcxx_cv_func__powf_use=no
29764 fi
29765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29766       ac_ext=c
29767 ac_cpp='$CPP $CPPFLAGS'
29768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29771
29772
29773 fi
29774
29775   fi
29776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
29777 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
29778
29779     if test x$glibcxx_cv_func__powf_use = x"yes"; then
29780       for ac_func in _powf
29781 do :
29782   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
29783 if test "x$ac_cv_func__powf" = x""yes; then :
29784   cat >>confdefs.h <<_ACEOF
29785 #define HAVE__POWF 1
29786 _ACEOF
29787
29788 fi
29789 done
29790
29791     fi
29792   fi
29793
29794
29795
29796
29797
29798   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
29799 $as_echo_n "checking for sqrtf declaration... " >&6; }
29800   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
29801     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
29802   $as_echo_n "(cached) " >&6
29803 else
29804
29805
29806       ac_ext=cpp
29807 ac_cpp='$CXXCPP $CPPFLAGS'
29808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29811
29812       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29813 /* end confdefs.h.  */
29814 #include <math.h>
29815                       #ifdef HAVE_IEEEFP_H
29816                       #include <ieeefp.h>
29817                       #endif
29818
29819 int
29820 main ()
29821 {
29822  sqrtf(0);
29823   ;
29824   return 0;
29825 }
29826 _ACEOF
29827 if ac_fn_cxx_try_compile "$LINENO"; then :
29828   glibcxx_cv_func_sqrtf_use=yes
29829 else
29830   glibcxx_cv_func_sqrtf_use=no
29831 fi
29832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29833       ac_ext=c
29834 ac_cpp='$CPP $CPPFLAGS'
29835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29838
29839
29840 fi
29841
29842   fi
29843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
29844 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
29845
29846   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
29847     for ac_func in sqrtf
29848 do :
29849   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
29850 if test "x$ac_cv_func_sqrtf" = x""yes; then :
29851   cat >>confdefs.h <<_ACEOF
29852 #define HAVE_SQRTF 1
29853 _ACEOF
29854
29855 fi
29856 done
29857
29858   else
29859
29860   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
29861 $as_echo_n "checking for _sqrtf declaration... " >&6; }
29862   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
29863     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
29864   $as_echo_n "(cached) " >&6
29865 else
29866
29867
29868       ac_ext=cpp
29869 ac_cpp='$CXXCPP $CPPFLAGS'
29870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29873
29874       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29875 /* end confdefs.h.  */
29876 #include <math.h>
29877                       #ifdef HAVE_IEEEFP_H
29878                       #include <ieeefp.h>
29879                       #endif
29880
29881 int
29882 main ()
29883 {
29884  _sqrtf(0);
29885   ;
29886   return 0;
29887 }
29888 _ACEOF
29889 if ac_fn_cxx_try_compile "$LINENO"; then :
29890   glibcxx_cv_func__sqrtf_use=yes
29891 else
29892   glibcxx_cv_func__sqrtf_use=no
29893 fi
29894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29895       ac_ext=c
29896 ac_cpp='$CPP $CPPFLAGS'
29897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29900
29901
29902 fi
29903
29904   fi
29905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
29906 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
29907
29908     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
29909       for ac_func in _sqrtf
29910 do :
29911   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
29912 if test "x$ac_cv_func__sqrtf" = x""yes; then :
29913   cat >>confdefs.h <<_ACEOF
29914 #define HAVE__SQRTF 1
29915 _ACEOF
29916
29917 fi
29918 done
29919
29920     fi
29921   fi
29922
29923
29924
29925
29926
29927   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
29928 $as_echo_n "checking for sincosf declaration... " >&6; }
29929   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
29930     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
29931   $as_echo_n "(cached) " >&6
29932 else
29933
29934
29935       ac_ext=cpp
29936 ac_cpp='$CXXCPP $CPPFLAGS'
29937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29940
29941       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29942 /* end confdefs.h.  */
29943 #include <math.h>
29944 int
29945 main ()
29946 {
29947  sincosf(0, 0, 0);
29948   ;
29949   return 0;
29950 }
29951 _ACEOF
29952 if ac_fn_cxx_try_compile "$LINENO"; then :
29953   glibcxx_cv_func_sincosf_use=yes
29954 else
29955   glibcxx_cv_func_sincosf_use=no
29956 fi
29957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29958       ac_ext=c
29959 ac_cpp='$CPP $CPPFLAGS'
29960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29963
29964
29965 fi
29966
29967   fi
29968   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
29969 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
29970
29971   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
29972     for ac_func in sincosf
29973 do :
29974   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
29975 if test "x$ac_cv_func_sincosf" = x""yes; then :
29976   cat >>confdefs.h <<_ACEOF
29977 #define HAVE_SINCOSF 1
29978 _ACEOF
29979
29980 fi
29981 done
29982
29983   else
29984
29985   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
29986 $as_echo_n "checking for _sincosf declaration... " >&6; }
29987   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
29988     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
29989   $as_echo_n "(cached) " >&6
29990 else
29991
29992
29993       ac_ext=cpp
29994 ac_cpp='$CXXCPP $CPPFLAGS'
29995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29998
29999       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30000 /* end confdefs.h.  */
30001 #include <math.h>
30002 int
30003 main ()
30004 {
30005  _sincosf(0, 0, 0);
30006   ;
30007   return 0;
30008 }
30009 _ACEOF
30010 if ac_fn_cxx_try_compile "$LINENO"; then :
30011   glibcxx_cv_func__sincosf_use=yes
30012 else
30013   glibcxx_cv_func__sincosf_use=no
30014 fi
30015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30016       ac_ext=c
30017 ac_cpp='$CPP $CPPFLAGS'
30018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30021
30022
30023 fi
30024
30025   fi
30026   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
30027 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
30028
30029     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
30030       for ac_func in _sincosf
30031 do :
30032   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
30033 if test "x$ac_cv_func__sincosf" = x""yes; then :
30034   cat >>confdefs.h <<_ACEOF
30035 #define HAVE__SINCOSF 1
30036 _ACEOF
30037
30038 fi
30039 done
30040
30041     fi
30042   fi
30043
30044
30045
30046
30047
30048   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
30049 $as_echo_n "checking for finitef declaration... " >&6; }
30050   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
30051     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
30052   $as_echo_n "(cached) " >&6
30053 else
30054
30055
30056       ac_ext=cpp
30057 ac_cpp='$CXXCPP $CPPFLAGS'
30058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30061
30062       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30063 /* end confdefs.h.  */
30064 #include <math.h>
30065                       #ifdef HAVE_IEEEFP_H
30066                       #include <ieeefp.h>
30067                       #endif
30068
30069 int
30070 main ()
30071 {
30072  finitef(0);
30073   ;
30074   return 0;
30075 }
30076 _ACEOF
30077 if ac_fn_cxx_try_compile "$LINENO"; then :
30078   glibcxx_cv_func_finitef_use=yes
30079 else
30080   glibcxx_cv_func_finitef_use=no
30081 fi
30082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30083       ac_ext=c
30084 ac_cpp='$CPP $CPPFLAGS'
30085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30088
30089
30090 fi
30091
30092   fi
30093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
30094 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
30095
30096   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
30097     for ac_func in finitef
30098 do :
30099   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
30100 if test "x$ac_cv_func_finitef" = x""yes; then :
30101   cat >>confdefs.h <<_ACEOF
30102 #define HAVE_FINITEF 1
30103 _ACEOF
30104
30105 fi
30106 done
30107
30108   else
30109
30110   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
30111 $as_echo_n "checking for _finitef declaration... " >&6; }
30112   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
30113     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
30114   $as_echo_n "(cached) " >&6
30115 else
30116
30117
30118       ac_ext=cpp
30119 ac_cpp='$CXXCPP $CPPFLAGS'
30120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30123
30124       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30125 /* end confdefs.h.  */
30126 #include <math.h>
30127                       #ifdef HAVE_IEEEFP_H
30128                       #include <ieeefp.h>
30129                       #endif
30130
30131 int
30132 main ()
30133 {
30134  _finitef(0);
30135   ;
30136   return 0;
30137 }
30138 _ACEOF
30139 if ac_fn_cxx_try_compile "$LINENO"; then :
30140   glibcxx_cv_func__finitef_use=yes
30141 else
30142   glibcxx_cv_func__finitef_use=no
30143 fi
30144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30145       ac_ext=c
30146 ac_cpp='$CPP $CPPFLAGS'
30147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30150
30151
30152 fi
30153
30154   fi
30155   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
30156 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
30157
30158     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
30159       for ac_func in _finitef
30160 do :
30161   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
30162 if test "x$ac_cv_func__finitef" = x""yes; then :
30163   cat >>confdefs.h <<_ACEOF
30164 #define HAVE__FINITEF 1
30165 _ACEOF
30166
30167 fi
30168 done
30169
30170     fi
30171   fi
30172
30173
30174
30175
30176
30177     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
30178 $as_echo_n "checking for long double trig functions... " >&6; }
30179   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
30180   $as_echo_n "(cached) " >&6
30181 else
30182
30183
30184     ac_ext=cpp
30185 ac_cpp='$CXXCPP $CPPFLAGS'
30186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30189
30190     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30191 /* end confdefs.h.  */
30192 #include <math.h>
30193 int
30194 main ()
30195 {
30196 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
30197   ;
30198   return 0;
30199 }
30200 _ACEOF
30201 if ac_fn_cxx_try_compile "$LINENO"; then :
30202   glibcxx_cv_func_long_double_trig_use=yes
30203 else
30204   glibcxx_cv_func_long_double_trig_use=no
30205 fi
30206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30207     ac_ext=c
30208 ac_cpp='$CPP $CPPFLAGS'
30209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30212
30213 fi
30214
30215   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
30216 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
30217   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
30218     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
30219 do :
30220   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30221 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30222 eval as_val=\$$as_ac_var
30223    if test "x$as_val" = x""yes; then :
30224   cat >>confdefs.h <<_ACEOF
30225 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30226 _ACEOF
30227
30228 fi
30229 done
30230
30231   else
30232     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
30233 $as_echo_n "checking for _long double trig functions... " >&6; }
30234     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
30235   $as_echo_n "(cached) " >&6
30236 else
30237
30238
30239       ac_ext=cpp
30240 ac_cpp='$CXXCPP $CPPFLAGS'
30241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30244
30245       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30246 /* end confdefs.h.  */
30247 #include <math.h>
30248 int
30249 main ()
30250 {
30251 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
30252   ;
30253   return 0;
30254 }
30255 _ACEOF
30256 if ac_fn_cxx_try_compile "$LINENO"; then :
30257   glibcxx_cv_func__long_double_trig_use=yes
30258 else
30259   glibcxx_cv_func__long_double_trig_use=no
30260 fi
30261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30262       ac_ext=c
30263 ac_cpp='$CPP $CPPFLAGS'
30264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30267
30268 fi
30269
30270     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
30271 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
30272     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
30273       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
30274 do :
30275   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30276 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30277 eval as_val=\$$as_ac_var
30278    if test "x$as_val" = x""yes; then :
30279   cat >>confdefs.h <<_ACEOF
30280 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30281 _ACEOF
30282
30283 fi
30284 done
30285
30286     fi
30287   fi
30288
30289
30290
30291
30292
30293     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30294 $as_echo_n "checking for long double round functions... " >&6; }
30295   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
30296   $as_echo_n "(cached) " >&6
30297 else
30298
30299
30300     ac_ext=cpp
30301 ac_cpp='$CXXCPP $CPPFLAGS'
30302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30305
30306     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30307 /* end confdefs.h.  */
30308 #include <math.h>
30309 int
30310 main ()
30311 {
30312 ceill (0); floorl (0);
30313   ;
30314   return 0;
30315 }
30316 _ACEOF
30317 if ac_fn_cxx_try_compile "$LINENO"; then :
30318   glibcxx_cv_func_long_double_round_use=yes
30319 else
30320   glibcxx_cv_func_long_double_round_use=no
30321 fi
30322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30323     ac_ext=c
30324 ac_cpp='$CPP $CPPFLAGS'
30325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30328
30329 fi
30330
30331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
30332 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
30333   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
30334     for ac_func in ceill floorl
30335 do :
30336   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30337 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30338 eval as_val=\$$as_ac_var
30339    if test "x$as_val" = x""yes; then :
30340   cat >>confdefs.h <<_ACEOF
30341 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30342 _ACEOF
30343
30344 fi
30345 done
30346
30347   else
30348     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
30349 $as_echo_n "checking for _long double round functions... " >&6; }
30350     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
30351   $as_echo_n "(cached) " >&6
30352 else
30353
30354
30355       ac_ext=cpp
30356 ac_cpp='$CXXCPP $CPPFLAGS'
30357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30360
30361       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30362 /* end confdefs.h.  */
30363 #include <math.h>
30364 int
30365 main ()
30366 {
30367 _ceill (0); _floorl (0);
30368   ;
30369   return 0;
30370 }
30371 _ACEOF
30372 if ac_fn_cxx_try_compile "$LINENO"; then :
30373   glibcxx_cv_func__long_double_round_use=yes
30374 else
30375   glibcxx_cv_func__long_double_round_use=no
30376 fi
30377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30378       ac_ext=c
30379 ac_cpp='$CPP $CPPFLAGS'
30380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30383
30384 fi
30385
30386     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
30387 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
30388     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
30389       for ac_func in _ceill _floorl
30390 do :
30391   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30392 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30393 eval as_val=\$$as_ac_var
30394    if test "x$as_val" = x""yes; then :
30395   cat >>confdefs.h <<_ACEOF
30396 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30397 _ACEOF
30398
30399 fi
30400 done
30401
30402     fi
30403   fi
30404
30405
30406
30407
30408
30409
30410   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
30411 $as_echo_n "checking for isnanl declaration... " >&6; }
30412   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
30413     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
30414   $as_echo_n "(cached) " >&6
30415 else
30416
30417
30418       ac_ext=cpp
30419 ac_cpp='$CXXCPP $CPPFLAGS'
30420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30423
30424       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30425 /* end confdefs.h.  */
30426 #include <math.h>
30427                       #ifdef HAVE_IEEEFP_H
30428                       #include <ieeefp.h>
30429                       #endif
30430
30431 int
30432 main ()
30433 {
30434  isnanl(0);
30435   ;
30436   return 0;
30437 }
30438 _ACEOF
30439 if ac_fn_cxx_try_compile "$LINENO"; then :
30440   glibcxx_cv_func_isnanl_use=yes
30441 else
30442   glibcxx_cv_func_isnanl_use=no
30443 fi
30444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30445       ac_ext=c
30446 ac_cpp='$CPP $CPPFLAGS'
30447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30450
30451
30452 fi
30453
30454   fi
30455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
30456 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
30457
30458   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
30459     for ac_func in isnanl
30460 do :
30461   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
30462 if test "x$ac_cv_func_isnanl" = x""yes; then :
30463   cat >>confdefs.h <<_ACEOF
30464 #define HAVE_ISNANL 1
30465 _ACEOF
30466
30467 fi
30468 done
30469
30470   else
30471
30472   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
30473 $as_echo_n "checking for _isnanl declaration... " >&6; }
30474   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
30475     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
30476   $as_echo_n "(cached) " >&6
30477 else
30478
30479
30480       ac_ext=cpp
30481 ac_cpp='$CXXCPP $CPPFLAGS'
30482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30485
30486       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30487 /* end confdefs.h.  */
30488 #include <math.h>
30489                       #ifdef HAVE_IEEEFP_H
30490                       #include <ieeefp.h>
30491                       #endif
30492
30493 int
30494 main ()
30495 {
30496  _isnanl(0);
30497   ;
30498   return 0;
30499 }
30500 _ACEOF
30501 if ac_fn_cxx_try_compile "$LINENO"; then :
30502   glibcxx_cv_func__isnanl_use=yes
30503 else
30504   glibcxx_cv_func__isnanl_use=no
30505 fi
30506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30507       ac_ext=c
30508 ac_cpp='$CPP $CPPFLAGS'
30509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30512
30513
30514 fi
30515
30516   fi
30517   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
30518 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
30519
30520     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
30521       for ac_func in _isnanl
30522 do :
30523   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
30524 if test "x$ac_cv_func__isnanl" = x""yes; then :
30525   cat >>confdefs.h <<_ACEOF
30526 #define HAVE__ISNANL 1
30527 _ACEOF
30528
30529 fi
30530 done
30531
30532     fi
30533   fi
30534
30535
30536
30537
30538
30539   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
30540 $as_echo_n "checking for isinfl declaration... " >&6; }
30541   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
30542     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
30543   $as_echo_n "(cached) " >&6
30544 else
30545
30546
30547       ac_ext=cpp
30548 ac_cpp='$CXXCPP $CPPFLAGS'
30549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30552
30553       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30554 /* end confdefs.h.  */
30555 #include <math.h>
30556                       #ifdef HAVE_IEEEFP_H
30557                       #include <ieeefp.h>
30558                       #endif
30559
30560 int
30561 main ()
30562 {
30563  isinfl(0);
30564   ;
30565   return 0;
30566 }
30567 _ACEOF
30568 if ac_fn_cxx_try_compile "$LINENO"; then :
30569   glibcxx_cv_func_isinfl_use=yes
30570 else
30571   glibcxx_cv_func_isinfl_use=no
30572 fi
30573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30574       ac_ext=c
30575 ac_cpp='$CPP $CPPFLAGS'
30576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30579
30580
30581 fi
30582
30583   fi
30584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
30585 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
30586
30587   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
30588     for ac_func in isinfl
30589 do :
30590   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
30591 if test "x$ac_cv_func_isinfl" = x""yes; then :
30592   cat >>confdefs.h <<_ACEOF
30593 #define HAVE_ISINFL 1
30594 _ACEOF
30595
30596 fi
30597 done
30598
30599   else
30600
30601   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
30602 $as_echo_n "checking for _isinfl declaration... " >&6; }
30603   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
30604     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
30605   $as_echo_n "(cached) " >&6
30606 else
30607
30608
30609       ac_ext=cpp
30610 ac_cpp='$CXXCPP $CPPFLAGS'
30611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30614
30615       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30616 /* end confdefs.h.  */
30617 #include <math.h>
30618                       #ifdef HAVE_IEEEFP_H
30619                       #include <ieeefp.h>
30620                       #endif
30621
30622 int
30623 main ()
30624 {
30625  _isinfl(0);
30626   ;
30627   return 0;
30628 }
30629 _ACEOF
30630 if ac_fn_cxx_try_compile "$LINENO"; then :
30631   glibcxx_cv_func__isinfl_use=yes
30632 else
30633   glibcxx_cv_func__isinfl_use=no
30634 fi
30635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30636       ac_ext=c
30637 ac_cpp='$CPP $CPPFLAGS'
30638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30641
30642
30643 fi
30644
30645   fi
30646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
30647 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
30648
30649     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
30650       for ac_func in _isinfl
30651 do :
30652   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
30653 if test "x$ac_cv_func__isinfl" = x""yes; then :
30654   cat >>confdefs.h <<_ACEOF
30655 #define HAVE__ISINFL 1
30656 _ACEOF
30657
30658 fi
30659 done
30660
30661     fi
30662   fi
30663
30664
30665
30666
30667
30668   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
30669 $as_echo_n "checking for atan2l declaration... " >&6; }
30670   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
30671     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
30672   $as_echo_n "(cached) " >&6
30673 else
30674
30675
30676       ac_ext=cpp
30677 ac_cpp='$CXXCPP $CPPFLAGS'
30678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30681
30682       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30683 /* end confdefs.h.  */
30684 #include <math.h>
30685 int
30686 main ()
30687 {
30688  atan2l(0, 0);
30689   ;
30690   return 0;
30691 }
30692 _ACEOF
30693 if ac_fn_cxx_try_compile "$LINENO"; then :
30694   glibcxx_cv_func_atan2l_use=yes
30695 else
30696   glibcxx_cv_func_atan2l_use=no
30697 fi
30698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30699       ac_ext=c
30700 ac_cpp='$CPP $CPPFLAGS'
30701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30704
30705
30706 fi
30707
30708   fi
30709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
30710 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
30711
30712   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
30713     for ac_func in atan2l
30714 do :
30715   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
30716 if test "x$ac_cv_func_atan2l" = x""yes; then :
30717   cat >>confdefs.h <<_ACEOF
30718 #define HAVE_ATAN2L 1
30719 _ACEOF
30720
30721 fi
30722 done
30723
30724   else
30725
30726   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
30727 $as_echo_n "checking for _atan2l declaration... " >&6; }
30728   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
30729     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
30730   $as_echo_n "(cached) " >&6
30731 else
30732
30733
30734       ac_ext=cpp
30735 ac_cpp='$CXXCPP $CPPFLAGS'
30736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30739
30740       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30741 /* end confdefs.h.  */
30742 #include <math.h>
30743 int
30744 main ()
30745 {
30746  _atan2l(0, 0);
30747   ;
30748   return 0;
30749 }
30750 _ACEOF
30751 if ac_fn_cxx_try_compile "$LINENO"; then :
30752   glibcxx_cv_func__atan2l_use=yes
30753 else
30754   glibcxx_cv_func__atan2l_use=no
30755 fi
30756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30757       ac_ext=c
30758 ac_cpp='$CPP $CPPFLAGS'
30759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30762
30763
30764 fi
30765
30766   fi
30767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
30768 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
30769
30770     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
30771       for ac_func in _atan2l
30772 do :
30773   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
30774 if test "x$ac_cv_func__atan2l" = x""yes; then :
30775   cat >>confdefs.h <<_ACEOF
30776 #define HAVE__ATAN2L 1
30777 _ACEOF
30778
30779 fi
30780 done
30781
30782     fi
30783   fi
30784
30785
30786
30787
30788
30789   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
30790 $as_echo_n "checking for expl declaration... " >&6; }
30791   if test x${glibcxx_cv_func_expl_use+set} != xset; then
30792     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
30793   $as_echo_n "(cached) " >&6
30794 else
30795
30796
30797       ac_ext=cpp
30798 ac_cpp='$CXXCPP $CPPFLAGS'
30799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30802
30803       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30804 /* end confdefs.h.  */
30805 #include <math.h>
30806                       #ifdef HAVE_IEEEFP_H
30807                       #include <ieeefp.h>
30808                       #endif
30809
30810 int
30811 main ()
30812 {
30813  expl(0);
30814   ;
30815   return 0;
30816 }
30817 _ACEOF
30818 if ac_fn_cxx_try_compile "$LINENO"; then :
30819   glibcxx_cv_func_expl_use=yes
30820 else
30821   glibcxx_cv_func_expl_use=no
30822 fi
30823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30824       ac_ext=c
30825 ac_cpp='$CPP $CPPFLAGS'
30826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30829
30830
30831 fi
30832
30833   fi
30834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
30835 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
30836
30837   if test x$glibcxx_cv_func_expl_use = x"yes"; then
30838     for ac_func in expl
30839 do :
30840   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
30841 if test "x$ac_cv_func_expl" = x""yes; then :
30842   cat >>confdefs.h <<_ACEOF
30843 #define HAVE_EXPL 1
30844 _ACEOF
30845
30846 fi
30847 done
30848
30849   else
30850
30851   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
30852 $as_echo_n "checking for _expl declaration... " >&6; }
30853   if test x${glibcxx_cv_func__expl_use+set} != xset; then
30854     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
30855   $as_echo_n "(cached) " >&6
30856 else
30857
30858
30859       ac_ext=cpp
30860 ac_cpp='$CXXCPP $CPPFLAGS'
30861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30864
30865       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30866 /* end confdefs.h.  */
30867 #include <math.h>
30868                       #ifdef HAVE_IEEEFP_H
30869                       #include <ieeefp.h>
30870                       #endif
30871
30872 int
30873 main ()
30874 {
30875  _expl(0);
30876   ;
30877   return 0;
30878 }
30879 _ACEOF
30880 if ac_fn_cxx_try_compile "$LINENO"; then :
30881   glibcxx_cv_func__expl_use=yes
30882 else
30883   glibcxx_cv_func__expl_use=no
30884 fi
30885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30886       ac_ext=c
30887 ac_cpp='$CPP $CPPFLAGS'
30888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30891
30892
30893 fi
30894
30895   fi
30896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
30897 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
30898
30899     if test x$glibcxx_cv_func__expl_use = x"yes"; then
30900       for ac_func in _expl
30901 do :
30902   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
30903 if test "x$ac_cv_func__expl" = x""yes; then :
30904   cat >>confdefs.h <<_ACEOF
30905 #define HAVE__EXPL 1
30906 _ACEOF
30907
30908 fi
30909 done
30910
30911     fi
30912   fi
30913
30914
30915
30916
30917
30918   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
30919 $as_echo_n "checking for fabsl declaration... " >&6; }
30920   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
30921     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
30922   $as_echo_n "(cached) " >&6
30923 else
30924
30925
30926       ac_ext=cpp
30927 ac_cpp='$CXXCPP $CPPFLAGS'
30928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30931
30932       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30933 /* end confdefs.h.  */
30934 #include <math.h>
30935                       #ifdef HAVE_IEEEFP_H
30936                       #include <ieeefp.h>
30937                       #endif
30938
30939 int
30940 main ()
30941 {
30942  fabsl(0);
30943   ;
30944   return 0;
30945 }
30946 _ACEOF
30947 if ac_fn_cxx_try_compile "$LINENO"; then :
30948   glibcxx_cv_func_fabsl_use=yes
30949 else
30950   glibcxx_cv_func_fabsl_use=no
30951 fi
30952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30953       ac_ext=c
30954 ac_cpp='$CPP $CPPFLAGS'
30955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30958
30959
30960 fi
30961
30962   fi
30963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
30964 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
30965
30966   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
30967     for ac_func in fabsl
30968 do :
30969   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
30970 if test "x$ac_cv_func_fabsl" = x""yes; then :
30971   cat >>confdefs.h <<_ACEOF
30972 #define HAVE_FABSL 1
30973 _ACEOF
30974
30975 fi
30976 done
30977
30978   else
30979
30980   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
30981 $as_echo_n "checking for _fabsl declaration... " >&6; }
30982   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
30983     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
30984   $as_echo_n "(cached) " >&6
30985 else
30986
30987
30988       ac_ext=cpp
30989 ac_cpp='$CXXCPP $CPPFLAGS'
30990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30993
30994       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30995 /* end confdefs.h.  */
30996 #include <math.h>
30997                       #ifdef HAVE_IEEEFP_H
30998                       #include <ieeefp.h>
30999                       #endif
31000
31001 int
31002 main ()
31003 {
31004  _fabsl(0);
31005   ;
31006   return 0;
31007 }
31008 _ACEOF
31009 if ac_fn_cxx_try_compile "$LINENO"; then :
31010   glibcxx_cv_func__fabsl_use=yes
31011 else
31012   glibcxx_cv_func__fabsl_use=no
31013 fi
31014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31015       ac_ext=c
31016 ac_cpp='$CPP $CPPFLAGS'
31017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31020
31021
31022 fi
31023
31024   fi
31025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
31026 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
31027
31028     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31029       for ac_func in _fabsl
31030 do :
31031   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
31032 if test "x$ac_cv_func__fabsl" = x""yes; then :
31033   cat >>confdefs.h <<_ACEOF
31034 #define HAVE__FABSL 1
31035 _ACEOF
31036
31037 fi
31038 done
31039
31040     fi
31041   fi
31042
31043
31044
31045
31046
31047   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
31048 $as_echo_n "checking for fmodl declaration... " >&6; }
31049   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31050     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
31051   $as_echo_n "(cached) " >&6
31052 else
31053
31054
31055       ac_ext=cpp
31056 ac_cpp='$CXXCPP $CPPFLAGS'
31057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31060
31061       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31062 /* end confdefs.h.  */
31063 #include <math.h>
31064 int
31065 main ()
31066 {
31067  fmodl(0, 0);
31068   ;
31069   return 0;
31070 }
31071 _ACEOF
31072 if ac_fn_cxx_try_compile "$LINENO"; then :
31073   glibcxx_cv_func_fmodl_use=yes
31074 else
31075   glibcxx_cv_func_fmodl_use=no
31076 fi
31077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31078       ac_ext=c
31079 ac_cpp='$CPP $CPPFLAGS'
31080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31083
31084
31085 fi
31086
31087   fi
31088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
31089 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
31090
31091   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
31092     for ac_func in fmodl
31093 do :
31094   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
31095 if test "x$ac_cv_func_fmodl" = x""yes; then :
31096   cat >>confdefs.h <<_ACEOF
31097 #define HAVE_FMODL 1
31098 _ACEOF
31099
31100 fi
31101 done
31102
31103   else
31104
31105   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
31106 $as_echo_n "checking for _fmodl declaration... " >&6; }
31107   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
31108     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
31109   $as_echo_n "(cached) " >&6
31110 else
31111
31112
31113       ac_ext=cpp
31114 ac_cpp='$CXXCPP $CPPFLAGS'
31115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31118
31119       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31120 /* end confdefs.h.  */
31121 #include <math.h>
31122 int
31123 main ()
31124 {
31125  _fmodl(0, 0);
31126   ;
31127   return 0;
31128 }
31129 _ACEOF
31130 if ac_fn_cxx_try_compile "$LINENO"; then :
31131   glibcxx_cv_func__fmodl_use=yes
31132 else
31133   glibcxx_cv_func__fmodl_use=no
31134 fi
31135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31136       ac_ext=c
31137 ac_cpp='$CPP $CPPFLAGS'
31138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31141
31142
31143 fi
31144
31145   fi
31146   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
31147 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
31148
31149     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
31150       for ac_func in _fmodl
31151 do :
31152   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
31153 if test "x$ac_cv_func__fmodl" = x""yes; then :
31154   cat >>confdefs.h <<_ACEOF
31155 #define HAVE__FMODL 1
31156 _ACEOF
31157
31158 fi
31159 done
31160
31161     fi
31162   fi
31163
31164
31165
31166
31167
31168   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
31169 $as_echo_n "checking for frexpl declaration... " >&6; }
31170   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
31171     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
31172   $as_echo_n "(cached) " >&6
31173 else
31174
31175
31176       ac_ext=cpp
31177 ac_cpp='$CXXCPP $CPPFLAGS'
31178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31181
31182       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31183 /* end confdefs.h.  */
31184 #include <math.h>
31185 int
31186 main ()
31187 {
31188  frexpl(0, 0);
31189   ;
31190   return 0;
31191 }
31192 _ACEOF
31193 if ac_fn_cxx_try_compile "$LINENO"; then :
31194   glibcxx_cv_func_frexpl_use=yes
31195 else
31196   glibcxx_cv_func_frexpl_use=no
31197 fi
31198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31199       ac_ext=c
31200 ac_cpp='$CPP $CPPFLAGS'
31201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31204
31205
31206 fi
31207
31208   fi
31209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
31210 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
31211
31212   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
31213     for ac_func in frexpl
31214 do :
31215   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
31216 if test "x$ac_cv_func_frexpl" = x""yes; then :
31217   cat >>confdefs.h <<_ACEOF
31218 #define HAVE_FREXPL 1
31219 _ACEOF
31220
31221 fi
31222 done
31223
31224   else
31225
31226   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
31227 $as_echo_n "checking for _frexpl declaration... " >&6; }
31228   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
31229     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
31230   $as_echo_n "(cached) " >&6
31231 else
31232
31233
31234       ac_ext=cpp
31235 ac_cpp='$CXXCPP $CPPFLAGS'
31236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31239
31240       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31241 /* end confdefs.h.  */
31242 #include <math.h>
31243 int
31244 main ()
31245 {
31246  _frexpl(0, 0);
31247   ;
31248   return 0;
31249 }
31250 _ACEOF
31251 if ac_fn_cxx_try_compile "$LINENO"; then :
31252   glibcxx_cv_func__frexpl_use=yes
31253 else
31254   glibcxx_cv_func__frexpl_use=no
31255 fi
31256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31257       ac_ext=c
31258 ac_cpp='$CPP $CPPFLAGS'
31259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31262
31263
31264 fi
31265
31266   fi
31267   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
31268 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
31269
31270     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31271       for ac_func in _frexpl
31272 do :
31273   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
31274 if test "x$ac_cv_func__frexpl" = x""yes; then :
31275   cat >>confdefs.h <<_ACEOF
31276 #define HAVE__FREXPL 1
31277 _ACEOF
31278
31279 fi
31280 done
31281
31282     fi
31283   fi
31284
31285
31286
31287
31288
31289   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
31290 $as_echo_n "checking for hypotl declaration... " >&6; }
31291   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31292     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
31293   $as_echo_n "(cached) " >&6
31294 else
31295
31296
31297       ac_ext=cpp
31298 ac_cpp='$CXXCPP $CPPFLAGS'
31299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31302
31303       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31304 /* end confdefs.h.  */
31305 #include <math.h>
31306 int
31307 main ()
31308 {
31309  hypotl(0, 0);
31310   ;
31311   return 0;
31312 }
31313 _ACEOF
31314 if ac_fn_cxx_try_compile "$LINENO"; then :
31315   glibcxx_cv_func_hypotl_use=yes
31316 else
31317   glibcxx_cv_func_hypotl_use=no
31318 fi
31319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31320       ac_ext=c
31321 ac_cpp='$CPP $CPPFLAGS'
31322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31325
31326
31327 fi
31328
31329   fi
31330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
31331 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
31332
31333   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31334     for ac_func in hypotl
31335 do :
31336   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
31337 if test "x$ac_cv_func_hypotl" = x""yes; then :
31338   cat >>confdefs.h <<_ACEOF
31339 #define HAVE_HYPOTL 1
31340 _ACEOF
31341
31342 fi
31343 done
31344
31345   else
31346
31347   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
31348 $as_echo_n "checking for _hypotl declaration... " >&6; }
31349   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
31350     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
31351   $as_echo_n "(cached) " >&6
31352 else
31353
31354
31355       ac_ext=cpp
31356 ac_cpp='$CXXCPP $CPPFLAGS'
31357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31360
31361       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31362 /* end confdefs.h.  */
31363 #include <math.h>
31364 int
31365 main ()
31366 {
31367  _hypotl(0, 0);
31368   ;
31369   return 0;
31370 }
31371 _ACEOF
31372 if ac_fn_cxx_try_compile "$LINENO"; then :
31373   glibcxx_cv_func__hypotl_use=yes
31374 else
31375   glibcxx_cv_func__hypotl_use=no
31376 fi
31377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31378       ac_ext=c
31379 ac_cpp='$CPP $CPPFLAGS'
31380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31383
31384
31385 fi
31386
31387   fi
31388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
31389 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
31390
31391     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
31392       for ac_func in _hypotl
31393 do :
31394   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
31395 if test "x$ac_cv_func__hypotl" = x""yes; then :
31396   cat >>confdefs.h <<_ACEOF
31397 #define HAVE__HYPOTL 1
31398 _ACEOF
31399
31400 fi
31401 done
31402
31403     fi
31404   fi
31405
31406
31407
31408
31409
31410   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
31411 $as_echo_n "checking for ldexpl declaration... " >&6; }
31412   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
31413     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
31414   $as_echo_n "(cached) " >&6
31415 else
31416
31417
31418       ac_ext=cpp
31419 ac_cpp='$CXXCPP $CPPFLAGS'
31420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31423
31424       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31425 /* end confdefs.h.  */
31426 #include <math.h>
31427 int
31428 main ()
31429 {
31430  ldexpl(0, 0);
31431   ;
31432   return 0;
31433 }
31434 _ACEOF
31435 if ac_fn_cxx_try_compile "$LINENO"; then :
31436   glibcxx_cv_func_ldexpl_use=yes
31437 else
31438   glibcxx_cv_func_ldexpl_use=no
31439 fi
31440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31441       ac_ext=c
31442 ac_cpp='$CPP $CPPFLAGS'
31443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31446
31447
31448 fi
31449
31450   fi
31451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
31452 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
31453
31454   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
31455     for ac_func in ldexpl
31456 do :
31457   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
31458 if test "x$ac_cv_func_ldexpl" = x""yes; then :
31459   cat >>confdefs.h <<_ACEOF
31460 #define HAVE_LDEXPL 1
31461 _ACEOF
31462
31463 fi
31464 done
31465
31466   else
31467
31468   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
31469 $as_echo_n "checking for _ldexpl declaration... " >&6; }
31470   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
31471     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
31472   $as_echo_n "(cached) " >&6
31473 else
31474
31475
31476       ac_ext=cpp
31477 ac_cpp='$CXXCPP $CPPFLAGS'
31478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31481
31482       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31483 /* end confdefs.h.  */
31484 #include <math.h>
31485 int
31486 main ()
31487 {
31488  _ldexpl(0, 0);
31489   ;
31490   return 0;
31491 }
31492 _ACEOF
31493 if ac_fn_cxx_try_compile "$LINENO"; then :
31494   glibcxx_cv_func__ldexpl_use=yes
31495 else
31496   glibcxx_cv_func__ldexpl_use=no
31497 fi
31498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31499       ac_ext=c
31500 ac_cpp='$CPP $CPPFLAGS'
31501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31504
31505
31506 fi
31507
31508   fi
31509   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
31510 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
31511
31512     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
31513       for ac_func in _ldexpl
31514 do :
31515   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
31516 if test "x$ac_cv_func__ldexpl" = x""yes; then :
31517   cat >>confdefs.h <<_ACEOF
31518 #define HAVE__LDEXPL 1
31519 _ACEOF
31520
31521 fi
31522 done
31523
31524     fi
31525   fi
31526
31527
31528
31529
31530
31531   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
31532 $as_echo_n "checking for logl declaration... " >&6; }
31533   if test x${glibcxx_cv_func_logl_use+set} != xset; then
31534     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
31535   $as_echo_n "(cached) " >&6
31536 else
31537
31538
31539       ac_ext=cpp
31540 ac_cpp='$CXXCPP $CPPFLAGS'
31541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31544
31545       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31546 /* end confdefs.h.  */
31547 #include <math.h>
31548                       #ifdef HAVE_IEEEFP_H
31549                       #include <ieeefp.h>
31550                       #endif
31551
31552 int
31553 main ()
31554 {
31555  logl(0);
31556   ;
31557   return 0;
31558 }
31559 _ACEOF
31560 if ac_fn_cxx_try_compile "$LINENO"; then :
31561   glibcxx_cv_func_logl_use=yes
31562 else
31563   glibcxx_cv_func_logl_use=no
31564 fi
31565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31566       ac_ext=c
31567 ac_cpp='$CPP $CPPFLAGS'
31568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31571
31572
31573 fi
31574
31575   fi
31576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
31577 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
31578
31579   if test x$glibcxx_cv_func_logl_use = x"yes"; then
31580     for ac_func in logl
31581 do :
31582   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
31583 if test "x$ac_cv_func_logl" = x""yes; then :
31584   cat >>confdefs.h <<_ACEOF
31585 #define HAVE_LOGL 1
31586 _ACEOF
31587
31588 fi
31589 done
31590
31591   else
31592
31593   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
31594 $as_echo_n "checking for _logl declaration... " >&6; }
31595   if test x${glibcxx_cv_func__logl_use+set} != xset; then
31596     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
31597   $as_echo_n "(cached) " >&6
31598 else
31599
31600
31601       ac_ext=cpp
31602 ac_cpp='$CXXCPP $CPPFLAGS'
31603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31606
31607       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31608 /* end confdefs.h.  */
31609 #include <math.h>
31610                       #ifdef HAVE_IEEEFP_H
31611                       #include <ieeefp.h>
31612                       #endif
31613
31614 int
31615 main ()
31616 {
31617  _logl(0);
31618   ;
31619   return 0;
31620 }
31621 _ACEOF
31622 if ac_fn_cxx_try_compile "$LINENO"; then :
31623   glibcxx_cv_func__logl_use=yes
31624 else
31625   glibcxx_cv_func__logl_use=no
31626 fi
31627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31628       ac_ext=c
31629 ac_cpp='$CPP $CPPFLAGS'
31630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31633
31634
31635 fi
31636
31637   fi
31638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
31639 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
31640
31641     if test x$glibcxx_cv_func__logl_use = x"yes"; then
31642       for ac_func in _logl
31643 do :
31644   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
31645 if test "x$ac_cv_func__logl" = x""yes; then :
31646   cat >>confdefs.h <<_ACEOF
31647 #define HAVE__LOGL 1
31648 _ACEOF
31649
31650 fi
31651 done
31652
31653     fi
31654   fi
31655
31656
31657
31658
31659
31660   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
31661 $as_echo_n "checking for log10l declaration... " >&6; }
31662   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
31663     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
31664   $as_echo_n "(cached) " >&6
31665 else
31666
31667
31668       ac_ext=cpp
31669 ac_cpp='$CXXCPP $CPPFLAGS'
31670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31673
31674       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31675 /* end confdefs.h.  */
31676 #include <math.h>
31677                       #ifdef HAVE_IEEEFP_H
31678                       #include <ieeefp.h>
31679                       #endif
31680
31681 int
31682 main ()
31683 {
31684  log10l(0);
31685   ;
31686   return 0;
31687 }
31688 _ACEOF
31689 if ac_fn_cxx_try_compile "$LINENO"; then :
31690   glibcxx_cv_func_log10l_use=yes
31691 else
31692   glibcxx_cv_func_log10l_use=no
31693 fi
31694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31695       ac_ext=c
31696 ac_cpp='$CPP $CPPFLAGS'
31697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31700
31701
31702 fi
31703
31704   fi
31705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
31706 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
31707
31708   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
31709     for ac_func in log10l
31710 do :
31711   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
31712 if test "x$ac_cv_func_log10l" = x""yes; then :
31713   cat >>confdefs.h <<_ACEOF
31714 #define HAVE_LOG10L 1
31715 _ACEOF
31716
31717 fi
31718 done
31719
31720   else
31721
31722   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
31723 $as_echo_n "checking for _log10l declaration... " >&6; }
31724   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
31725     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
31726   $as_echo_n "(cached) " >&6
31727 else
31728
31729
31730       ac_ext=cpp
31731 ac_cpp='$CXXCPP $CPPFLAGS'
31732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31735
31736       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31737 /* end confdefs.h.  */
31738 #include <math.h>
31739                       #ifdef HAVE_IEEEFP_H
31740                       #include <ieeefp.h>
31741                       #endif
31742
31743 int
31744 main ()
31745 {
31746  _log10l(0);
31747   ;
31748   return 0;
31749 }
31750 _ACEOF
31751 if ac_fn_cxx_try_compile "$LINENO"; then :
31752   glibcxx_cv_func__log10l_use=yes
31753 else
31754   glibcxx_cv_func__log10l_use=no
31755 fi
31756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31757       ac_ext=c
31758 ac_cpp='$CPP $CPPFLAGS'
31759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31762
31763
31764 fi
31765
31766   fi
31767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
31768 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
31769
31770     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
31771       for ac_func in _log10l
31772 do :
31773   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
31774 if test "x$ac_cv_func__log10l" = x""yes; then :
31775   cat >>confdefs.h <<_ACEOF
31776 #define HAVE__LOG10L 1
31777 _ACEOF
31778
31779 fi
31780 done
31781
31782     fi
31783   fi
31784
31785
31786
31787
31788
31789   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
31790 $as_echo_n "checking for modfl declaration... " >&6; }
31791   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
31792     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
31793   $as_echo_n "(cached) " >&6
31794 else
31795
31796
31797       ac_ext=cpp
31798 ac_cpp='$CXXCPP $CPPFLAGS'
31799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31802
31803       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31804 /* end confdefs.h.  */
31805 #include <math.h>
31806 int
31807 main ()
31808 {
31809  modfl(0, 0);
31810   ;
31811   return 0;
31812 }
31813 _ACEOF
31814 if ac_fn_cxx_try_compile "$LINENO"; then :
31815   glibcxx_cv_func_modfl_use=yes
31816 else
31817   glibcxx_cv_func_modfl_use=no
31818 fi
31819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31820       ac_ext=c
31821 ac_cpp='$CPP $CPPFLAGS'
31822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31825
31826
31827 fi
31828
31829   fi
31830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
31831 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
31832
31833   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
31834     for ac_func in modfl
31835 do :
31836   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
31837 if test "x$ac_cv_func_modfl" = x""yes; then :
31838   cat >>confdefs.h <<_ACEOF
31839 #define HAVE_MODFL 1
31840 _ACEOF
31841
31842 fi
31843 done
31844
31845   else
31846
31847   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
31848 $as_echo_n "checking for _modfl declaration... " >&6; }
31849   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
31850     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
31851   $as_echo_n "(cached) " >&6
31852 else
31853
31854
31855       ac_ext=cpp
31856 ac_cpp='$CXXCPP $CPPFLAGS'
31857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31860
31861       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31862 /* end confdefs.h.  */
31863 #include <math.h>
31864 int
31865 main ()
31866 {
31867  _modfl(0, 0);
31868   ;
31869   return 0;
31870 }
31871 _ACEOF
31872 if ac_fn_cxx_try_compile "$LINENO"; then :
31873   glibcxx_cv_func__modfl_use=yes
31874 else
31875   glibcxx_cv_func__modfl_use=no
31876 fi
31877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31878       ac_ext=c
31879 ac_cpp='$CPP $CPPFLAGS'
31880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31883
31884
31885 fi
31886
31887   fi
31888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
31889 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
31890
31891     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
31892       for ac_func in _modfl
31893 do :
31894   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
31895 if test "x$ac_cv_func__modfl" = x""yes; then :
31896   cat >>confdefs.h <<_ACEOF
31897 #define HAVE__MODFL 1
31898 _ACEOF
31899
31900 fi
31901 done
31902
31903     fi
31904   fi
31905
31906
31907
31908
31909
31910   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
31911 $as_echo_n "checking for powl declaration... " >&6; }
31912   if test x${glibcxx_cv_func_powl_use+set} != xset; then
31913     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
31914   $as_echo_n "(cached) " >&6
31915 else
31916
31917
31918       ac_ext=cpp
31919 ac_cpp='$CXXCPP $CPPFLAGS'
31920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31923
31924       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31925 /* end confdefs.h.  */
31926 #include <math.h>
31927 int
31928 main ()
31929 {
31930  powl(0, 0);
31931   ;
31932   return 0;
31933 }
31934 _ACEOF
31935 if ac_fn_cxx_try_compile "$LINENO"; then :
31936   glibcxx_cv_func_powl_use=yes
31937 else
31938   glibcxx_cv_func_powl_use=no
31939 fi
31940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31941       ac_ext=c
31942 ac_cpp='$CPP $CPPFLAGS'
31943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31946
31947
31948 fi
31949
31950   fi
31951   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
31952 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
31953
31954   if test x$glibcxx_cv_func_powl_use = x"yes"; then
31955     for ac_func in powl
31956 do :
31957   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
31958 if test "x$ac_cv_func_powl" = x""yes; then :
31959   cat >>confdefs.h <<_ACEOF
31960 #define HAVE_POWL 1
31961 _ACEOF
31962
31963 fi
31964 done
31965
31966   else
31967
31968   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
31969 $as_echo_n "checking for _powl declaration... " >&6; }
31970   if test x${glibcxx_cv_func__powl_use+set} != xset; then
31971     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
31972   $as_echo_n "(cached) " >&6
31973 else
31974
31975
31976       ac_ext=cpp
31977 ac_cpp='$CXXCPP $CPPFLAGS'
31978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31981
31982       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31983 /* end confdefs.h.  */
31984 #include <math.h>
31985 int
31986 main ()
31987 {
31988  _powl(0, 0);
31989   ;
31990   return 0;
31991 }
31992 _ACEOF
31993 if ac_fn_cxx_try_compile "$LINENO"; then :
31994   glibcxx_cv_func__powl_use=yes
31995 else
31996   glibcxx_cv_func__powl_use=no
31997 fi
31998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31999       ac_ext=c
32000 ac_cpp='$CPP $CPPFLAGS'
32001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32004
32005
32006 fi
32007
32008   fi
32009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
32010 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
32011
32012     if test x$glibcxx_cv_func__powl_use = x"yes"; then
32013       for ac_func in _powl
32014 do :
32015   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
32016 if test "x$ac_cv_func__powl" = x""yes; then :
32017   cat >>confdefs.h <<_ACEOF
32018 #define HAVE__POWL 1
32019 _ACEOF
32020
32021 fi
32022 done
32023
32024     fi
32025   fi
32026
32027
32028
32029
32030
32031   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
32032 $as_echo_n "checking for sqrtl declaration... " >&6; }
32033   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
32034     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
32035   $as_echo_n "(cached) " >&6
32036 else
32037
32038
32039       ac_ext=cpp
32040 ac_cpp='$CXXCPP $CPPFLAGS'
32041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32044
32045       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32046 /* end confdefs.h.  */
32047 #include <math.h>
32048                       #ifdef HAVE_IEEEFP_H
32049                       #include <ieeefp.h>
32050                       #endif
32051
32052 int
32053 main ()
32054 {
32055  sqrtl(0);
32056   ;
32057   return 0;
32058 }
32059 _ACEOF
32060 if ac_fn_cxx_try_compile "$LINENO"; then :
32061   glibcxx_cv_func_sqrtl_use=yes
32062 else
32063   glibcxx_cv_func_sqrtl_use=no
32064 fi
32065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32066       ac_ext=c
32067 ac_cpp='$CPP $CPPFLAGS'
32068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32071
32072
32073 fi
32074
32075   fi
32076   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
32077 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
32078
32079   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
32080     for ac_func in sqrtl
32081 do :
32082   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
32083 if test "x$ac_cv_func_sqrtl" = x""yes; then :
32084   cat >>confdefs.h <<_ACEOF
32085 #define HAVE_SQRTL 1
32086 _ACEOF
32087
32088 fi
32089 done
32090
32091   else
32092
32093   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
32094 $as_echo_n "checking for _sqrtl declaration... " >&6; }
32095   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
32096     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
32097   $as_echo_n "(cached) " >&6
32098 else
32099
32100
32101       ac_ext=cpp
32102 ac_cpp='$CXXCPP $CPPFLAGS'
32103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32106
32107       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32108 /* end confdefs.h.  */
32109 #include <math.h>
32110                       #ifdef HAVE_IEEEFP_H
32111                       #include <ieeefp.h>
32112                       #endif
32113
32114 int
32115 main ()
32116 {
32117  _sqrtl(0);
32118   ;
32119   return 0;
32120 }
32121 _ACEOF
32122 if ac_fn_cxx_try_compile "$LINENO"; then :
32123   glibcxx_cv_func__sqrtl_use=yes
32124 else
32125   glibcxx_cv_func__sqrtl_use=no
32126 fi
32127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32128       ac_ext=c
32129 ac_cpp='$CPP $CPPFLAGS'
32130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32133
32134
32135 fi
32136
32137   fi
32138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
32139 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
32140
32141     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
32142       for ac_func in _sqrtl
32143 do :
32144   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
32145 if test "x$ac_cv_func__sqrtl" = x""yes; then :
32146   cat >>confdefs.h <<_ACEOF
32147 #define HAVE__SQRTL 1
32148 _ACEOF
32149
32150 fi
32151 done
32152
32153     fi
32154   fi
32155
32156
32157
32158
32159
32160   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
32161 $as_echo_n "checking for sincosl declaration... " >&6; }
32162   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
32163     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
32164   $as_echo_n "(cached) " >&6
32165 else
32166
32167
32168       ac_ext=cpp
32169 ac_cpp='$CXXCPP $CPPFLAGS'
32170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32173
32174       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32175 /* end confdefs.h.  */
32176 #include <math.h>
32177 int
32178 main ()
32179 {
32180  sincosl(0, 0, 0);
32181   ;
32182   return 0;
32183 }
32184 _ACEOF
32185 if ac_fn_cxx_try_compile "$LINENO"; then :
32186   glibcxx_cv_func_sincosl_use=yes
32187 else
32188   glibcxx_cv_func_sincosl_use=no
32189 fi
32190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32191       ac_ext=c
32192 ac_cpp='$CPP $CPPFLAGS'
32193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32196
32197
32198 fi
32199
32200   fi
32201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
32202 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
32203
32204   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
32205     for ac_func in sincosl
32206 do :
32207   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
32208 if test "x$ac_cv_func_sincosl" = x""yes; then :
32209   cat >>confdefs.h <<_ACEOF
32210 #define HAVE_SINCOSL 1
32211 _ACEOF
32212
32213 fi
32214 done
32215
32216   else
32217
32218   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
32219 $as_echo_n "checking for _sincosl declaration... " >&6; }
32220   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
32221     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
32222   $as_echo_n "(cached) " >&6
32223 else
32224
32225
32226       ac_ext=cpp
32227 ac_cpp='$CXXCPP $CPPFLAGS'
32228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32231
32232       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32233 /* end confdefs.h.  */
32234 #include <math.h>
32235 int
32236 main ()
32237 {
32238  _sincosl(0, 0, 0);
32239   ;
32240   return 0;
32241 }
32242 _ACEOF
32243 if ac_fn_cxx_try_compile "$LINENO"; then :
32244   glibcxx_cv_func__sincosl_use=yes
32245 else
32246   glibcxx_cv_func__sincosl_use=no
32247 fi
32248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32249       ac_ext=c
32250 ac_cpp='$CPP $CPPFLAGS'
32251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32254
32255
32256 fi
32257
32258   fi
32259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
32260 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
32261
32262     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
32263       for ac_func in _sincosl
32264 do :
32265   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
32266 if test "x$ac_cv_func__sincosl" = x""yes; then :
32267   cat >>confdefs.h <<_ACEOF
32268 #define HAVE__SINCOSL 1
32269 _ACEOF
32270
32271 fi
32272 done
32273
32274     fi
32275   fi
32276
32277
32278
32279
32280
32281   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
32282 $as_echo_n "checking for finitel declaration... " >&6; }
32283   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32284     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
32285   $as_echo_n "(cached) " >&6
32286 else
32287
32288
32289       ac_ext=cpp
32290 ac_cpp='$CXXCPP $CPPFLAGS'
32291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32294
32295       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32296 /* end confdefs.h.  */
32297 #include <math.h>
32298                       #ifdef HAVE_IEEEFP_H
32299                       #include <ieeefp.h>
32300                       #endif
32301
32302 int
32303 main ()
32304 {
32305  finitel(0);
32306   ;
32307   return 0;
32308 }
32309 _ACEOF
32310 if ac_fn_cxx_try_compile "$LINENO"; then :
32311   glibcxx_cv_func_finitel_use=yes
32312 else
32313   glibcxx_cv_func_finitel_use=no
32314 fi
32315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32316       ac_ext=c
32317 ac_cpp='$CPP $CPPFLAGS'
32318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32321
32322
32323 fi
32324
32325   fi
32326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
32327 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
32328
32329   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
32330     for ac_func in finitel
32331 do :
32332   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
32333 if test "x$ac_cv_func_finitel" = x""yes; then :
32334   cat >>confdefs.h <<_ACEOF
32335 #define HAVE_FINITEL 1
32336 _ACEOF
32337
32338 fi
32339 done
32340
32341   else
32342
32343   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
32344 $as_echo_n "checking for _finitel declaration... " >&6; }
32345   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
32346     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
32347   $as_echo_n "(cached) " >&6
32348 else
32349
32350
32351       ac_ext=cpp
32352 ac_cpp='$CXXCPP $CPPFLAGS'
32353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32356
32357       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32358 /* end confdefs.h.  */
32359 #include <math.h>
32360                       #ifdef HAVE_IEEEFP_H
32361                       #include <ieeefp.h>
32362                       #endif
32363
32364 int
32365 main ()
32366 {
32367  _finitel(0);
32368   ;
32369   return 0;
32370 }
32371 _ACEOF
32372 if ac_fn_cxx_try_compile "$LINENO"; then :
32373   glibcxx_cv_func__finitel_use=yes
32374 else
32375   glibcxx_cv_func__finitel_use=no
32376 fi
32377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32378       ac_ext=c
32379 ac_cpp='$CPP $CPPFLAGS'
32380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32383
32384
32385 fi
32386
32387   fi
32388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
32389 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
32390
32391     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
32392       for ac_func in _finitel
32393 do :
32394   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
32395 if test "x$ac_cv_func__finitel" = x""yes; then :
32396   cat >>confdefs.h <<_ACEOF
32397 #define HAVE__FINITEL 1
32398 _ACEOF
32399
32400 fi
32401 done
32402
32403     fi
32404   fi
32405
32406
32407
32408
32409   LIBS="$ac_save_LIBS"
32410   CXXFLAGS="$ac_save_CXXFLAGS"
32411
32412
32413   ac_test_CXXFLAGS="${CXXFLAGS+set}"
32414   ac_save_CXXFLAGS="$CXXFLAGS"
32415   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32416
32417
32418   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
32419 $as_echo_n "checking for strtold declaration... " >&6; }
32420   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
32421     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
32422   $as_echo_n "(cached) " >&6
32423 else
32424
32425
32426       ac_ext=cpp
32427 ac_cpp='$CXXCPP $CPPFLAGS'
32428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32431
32432       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32433 /* end confdefs.h.  */
32434 #include <stdlib.h>
32435 int
32436 main ()
32437 {
32438  strtold(0, 0);
32439   ;
32440   return 0;
32441 }
32442 _ACEOF
32443 if ac_fn_cxx_try_compile "$LINENO"; then :
32444   glibcxx_cv_func_strtold_use=yes
32445 else
32446   glibcxx_cv_func_strtold_use=no
32447 fi
32448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32449       ac_ext=c
32450 ac_cpp='$CPP $CPPFLAGS'
32451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32454
32455
32456 fi
32457
32458   fi
32459   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
32460 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
32461   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
32462     for ac_func in strtold
32463 do :
32464   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
32465 if test "x$ac_cv_func_strtold" = x""yes; then :
32466   cat >>confdefs.h <<_ACEOF
32467 #define HAVE_STRTOLD 1
32468 _ACEOF
32469
32470 fi
32471 done
32472
32473   fi
32474
32475
32476
32477
32478   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
32479 $as_echo_n "checking for strtof declaration... " >&6; }
32480   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
32481     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
32482   $as_echo_n "(cached) " >&6
32483 else
32484
32485
32486       ac_ext=cpp
32487 ac_cpp='$CXXCPP $CPPFLAGS'
32488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32491
32492       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32493 /* end confdefs.h.  */
32494 #include <stdlib.h>
32495 int
32496 main ()
32497 {
32498  strtof(0, 0);
32499   ;
32500   return 0;
32501 }
32502 _ACEOF
32503 if ac_fn_cxx_try_compile "$LINENO"; then :
32504   glibcxx_cv_func_strtof_use=yes
32505 else
32506   glibcxx_cv_func_strtof_use=no
32507 fi
32508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32509       ac_ext=c
32510 ac_cpp='$CPP $CPPFLAGS'
32511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32514
32515
32516 fi
32517
32518   fi
32519   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
32520 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
32521   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
32522     for ac_func in strtof
32523 do :
32524   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
32525 if test "x$ac_cv_func_strtof" = x""yes; then :
32526   cat >>confdefs.h <<_ACEOF
32527 #define HAVE_STRTOF 1
32528 _ACEOF
32529
32530 fi
32531 done
32532
32533   fi
32534
32535
32536
32537
32538   CXXFLAGS="$ac_save_CXXFLAGS"
32539
32540
32541     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
32542
32543     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
32544
32545     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
32546
32547     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
32548
32549
32550     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
32551
32552     $as_echo "#define HAVE_MODF 1" >>confdefs.h
32553
32554     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
32555
32556     ;;
32557
32558   *-aix*)
32559
32560   # If we're not using GNU ld, then there's no point in even trying these
32561   # tests.  Check for that first.  We should have already tested for gld
32562   # by now (in libtool), but require it now just to be safe...
32563   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
32564   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
32565
32566
32567
32568   # The name set by libtool depends on the version of libtool.  Shame on us
32569   # for depending on an impl detail, but c'est la vie.  Older versions used
32570   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
32571   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
32572   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
32573   # set (hence we're using an older libtool), then set it.
32574   if test x${with_gnu_ld+set} != xset; then
32575     if test x${ac_cv_prog_gnu_ld+set} != xset; then
32576       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
32577       with_gnu_ld=no
32578     else
32579       with_gnu_ld=$ac_cv_prog_gnu_ld
32580     fi
32581   fi
32582
32583   # Start by getting the version number.  I think the libtool test already
32584   # does some of this, but throws away the result.
32585   glibcxx_ld_is_gold=no
32586   if test x"$with_gnu_ld" = x"yes"; then
32587     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
32588 $as_echo_n "checking for ld version... " >&6; }
32589
32590     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
32591       glibcxx_ld_is_gold=yes
32592     fi
32593     ldver=`$LD --version 2>/dev/null |
32594            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'`
32595
32596     glibcxx_gnu_ld_version=`echo $ldver | \
32597            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
32598     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
32599 $as_echo "$glibcxx_gnu_ld_version" >&6; }
32600   fi
32601
32602   # Set --gc-sections.
32603   glibcxx_have_gc_sections=no
32604   if test "$glibcxx_ld_is_gold" = "yes"; then
32605     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
32606       glibcxx_have_gc_sections=yes
32607     fi
32608   else
32609     glibcxx_gcsections_min_ld=21602
32610     if test x"$with_gnu_ld" = x"yes" &&
32611         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
32612       glibcxx_have_gc_sections=yes
32613     fi
32614   fi
32615   if test "$glibcxx_have_gc_sections" = "yes"; then
32616     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
32617     # NB: This flag only works reliably after 2.16.1. Configure tests
32618     # for this are difficult, so hard wire a value that should work.
32619
32620     ac_test_CFLAGS="${CFLAGS+set}"
32621     ac_save_CFLAGS="$CFLAGS"
32622     CFLAGS='-Wl,--gc-sections'
32623
32624     # Check for -Wl,--gc-sections
32625     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
32626 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
32627     if test x$gcc_no_link = xyes; then
32628   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32629 fi
32630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32631 /* end confdefs.h.  */
32632  int one(void) { return 1; }
32633      int two(void) { return 2; }
32634
32635 int
32636 main ()
32637 {
32638  two();
32639   ;
32640   return 0;
32641 }
32642 _ACEOF
32643 if ac_fn_c_try_link "$LINENO"; then :
32644   ac_gcsections=yes
32645 else
32646   ac_gcsections=no
32647 fi
32648 rm -f core conftest.err conftest.$ac_objext \
32649     conftest$ac_exeext conftest.$ac_ext
32650     if test "$ac_gcsections" = "yes"; then
32651       rm -f conftest.c
32652       touch conftest.c
32653       if $CC -c conftest.c; then
32654         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
32655            grep "Warning: gc-sections option ignored" > /dev/null; then
32656           ac_gcsections=no
32657         fi
32658       fi
32659       rm -f conftest.c conftest.o conftest
32660     fi
32661     if test "$ac_gcsections" = "yes"; then
32662       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
32663     fi
32664     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
32665 $as_echo "$ac_gcsections" >&6; }
32666
32667     if test "$ac_test_CFLAGS" = set; then
32668       CFLAGS="$ac_save_CFLAGS"
32669     else
32670       # this is the suspicious part
32671       CFLAGS=''
32672     fi
32673   fi
32674
32675   # Set -z,relro.
32676   # Note this is only for shared objects.
32677   ac_ld_relro=no
32678   if test x"$with_gnu_ld" = x"yes"; then
32679     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
32680 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
32681     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
32682     if test -n "$cxx_z_relo"; then
32683       OPT_LDFLAGS="-Wl,-z,relro"
32684       ac_ld_relro=yes
32685     fi
32686     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
32687 $as_echo "$ac_ld_relro" >&6; }
32688   fi
32689
32690   # Set linker optimization flags.
32691   if test x"$with_gnu_ld" = x"yes"; then
32692     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
32693   fi
32694
32695
32696
32697
32698
32699   ac_test_CXXFLAGS="${CXXFLAGS+set}"
32700   ac_save_CXXFLAGS="$CXXFLAGS"
32701   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32702
32703     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
32704 $as_echo_n "checking for sin in -lm... " >&6; }
32705 if test "${ac_cv_lib_m_sin+set}" = set; then :
32706   $as_echo_n "(cached) " >&6
32707 else
32708   ac_check_lib_save_LIBS=$LIBS
32709 LIBS="-lm  $LIBS"
32710 if test x$gcc_no_link = xyes; then
32711   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32712 fi
32713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32714 /* end confdefs.h.  */
32715
32716 /* Override any GCC internal prototype to avoid an error.
32717    Use char because int might match the return type of a GCC
32718    builtin and then its argument prototype would still apply.  */
32719 #ifdef __cplusplus
32720 extern "C"
32721 #endif
32722 char sin ();
32723 int
32724 main ()
32725 {
32726 return sin ();
32727   ;
32728   return 0;
32729 }
32730 _ACEOF
32731 if ac_fn_c_try_link "$LINENO"; then :
32732   ac_cv_lib_m_sin=yes
32733 else
32734   ac_cv_lib_m_sin=no
32735 fi
32736 rm -f core conftest.err conftest.$ac_objext \
32737     conftest$ac_exeext conftest.$ac_ext
32738 LIBS=$ac_check_lib_save_LIBS
32739 fi
32740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
32741 $as_echo "$ac_cv_lib_m_sin" >&6; }
32742 if test "x$ac_cv_lib_m_sin" = x""yes; then :
32743   libm="-lm"
32744 fi
32745
32746   ac_save_LIBS="$LIBS"
32747   LIBS="$LIBS $libm"
32748
32749
32750
32751   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
32752 $as_echo_n "checking for isinf declaration... " >&6; }
32753   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
32754     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
32755   $as_echo_n "(cached) " >&6
32756 else
32757
32758
32759       ac_ext=cpp
32760 ac_cpp='$CXXCPP $CPPFLAGS'
32761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32764
32765       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32766 /* end confdefs.h.  */
32767 #include <math.h>
32768                       #ifdef HAVE_IEEEFP_H
32769                       #include <ieeefp.h>
32770                       #endif
32771
32772 int
32773 main ()
32774 {
32775  isinf(0);
32776   ;
32777   return 0;
32778 }
32779 _ACEOF
32780 if ac_fn_cxx_try_compile "$LINENO"; then :
32781   glibcxx_cv_func_isinf_use=yes
32782 else
32783   glibcxx_cv_func_isinf_use=no
32784 fi
32785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32786       ac_ext=c
32787 ac_cpp='$CPP $CPPFLAGS'
32788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32791
32792
32793 fi
32794
32795   fi
32796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
32797 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
32798
32799   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
32800     for ac_func in isinf
32801 do :
32802   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
32803 if test "x$ac_cv_func_isinf" = x""yes; then :
32804   cat >>confdefs.h <<_ACEOF
32805 #define HAVE_ISINF 1
32806 _ACEOF
32807
32808 fi
32809 done
32810
32811   else
32812
32813   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
32814 $as_echo_n "checking for _isinf declaration... " >&6; }
32815   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
32816     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
32817   $as_echo_n "(cached) " >&6
32818 else
32819
32820
32821       ac_ext=cpp
32822 ac_cpp='$CXXCPP $CPPFLAGS'
32823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32826
32827       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32828 /* end confdefs.h.  */
32829 #include <math.h>
32830                       #ifdef HAVE_IEEEFP_H
32831                       #include <ieeefp.h>
32832                       #endif
32833
32834 int
32835 main ()
32836 {
32837  _isinf(0);
32838   ;
32839   return 0;
32840 }
32841 _ACEOF
32842 if ac_fn_cxx_try_compile "$LINENO"; then :
32843   glibcxx_cv_func__isinf_use=yes
32844 else
32845   glibcxx_cv_func__isinf_use=no
32846 fi
32847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32848       ac_ext=c
32849 ac_cpp='$CPP $CPPFLAGS'
32850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32853
32854
32855 fi
32856
32857   fi
32858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
32859 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
32860
32861     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
32862       for ac_func in _isinf
32863 do :
32864   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
32865 if test "x$ac_cv_func__isinf" = x""yes; then :
32866   cat >>confdefs.h <<_ACEOF
32867 #define HAVE__ISINF 1
32868 _ACEOF
32869
32870 fi
32871 done
32872
32873     fi
32874   fi
32875
32876
32877
32878
32879
32880   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
32881 $as_echo_n "checking for isnan declaration... " >&6; }
32882   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
32883     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
32884   $as_echo_n "(cached) " >&6
32885 else
32886
32887
32888       ac_ext=cpp
32889 ac_cpp='$CXXCPP $CPPFLAGS'
32890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32893
32894       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32895 /* end confdefs.h.  */
32896 #include <math.h>
32897                       #ifdef HAVE_IEEEFP_H
32898                       #include <ieeefp.h>
32899                       #endif
32900
32901 int
32902 main ()
32903 {
32904  isnan(0);
32905   ;
32906   return 0;
32907 }
32908 _ACEOF
32909 if ac_fn_cxx_try_compile "$LINENO"; then :
32910   glibcxx_cv_func_isnan_use=yes
32911 else
32912   glibcxx_cv_func_isnan_use=no
32913 fi
32914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32915       ac_ext=c
32916 ac_cpp='$CPP $CPPFLAGS'
32917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32920
32921
32922 fi
32923
32924   fi
32925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
32926 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
32927
32928   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
32929     for ac_func in isnan
32930 do :
32931   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
32932 if test "x$ac_cv_func_isnan" = x""yes; then :
32933   cat >>confdefs.h <<_ACEOF
32934 #define HAVE_ISNAN 1
32935 _ACEOF
32936
32937 fi
32938 done
32939
32940   else
32941
32942   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
32943 $as_echo_n "checking for _isnan declaration... " >&6; }
32944   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
32945     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
32946   $as_echo_n "(cached) " >&6
32947 else
32948
32949
32950       ac_ext=cpp
32951 ac_cpp='$CXXCPP $CPPFLAGS'
32952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32955
32956       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32957 /* end confdefs.h.  */
32958 #include <math.h>
32959                       #ifdef HAVE_IEEEFP_H
32960                       #include <ieeefp.h>
32961                       #endif
32962
32963 int
32964 main ()
32965 {
32966  _isnan(0);
32967   ;
32968   return 0;
32969 }
32970 _ACEOF
32971 if ac_fn_cxx_try_compile "$LINENO"; then :
32972   glibcxx_cv_func__isnan_use=yes
32973 else
32974   glibcxx_cv_func__isnan_use=no
32975 fi
32976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32977       ac_ext=c
32978 ac_cpp='$CPP $CPPFLAGS'
32979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32982
32983
32984 fi
32985
32986   fi
32987   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
32988 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
32989
32990     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
32991       for ac_func in _isnan
32992 do :
32993   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
32994 if test "x$ac_cv_func__isnan" = x""yes; then :
32995   cat >>confdefs.h <<_ACEOF
32996 #define HAVE__ISNAN 1
32997 _ACEOF
32998
32999 fi
33000 done
33001
33002     fi
33003   fi
33004
33005
33006
33007
33008
33009   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
33010 $as_echo_n "checking for finite declaration... " >&6; }
33011   if test x${glibcxx_cv_func_finite_use+set} != xset; then
33012     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
33013   $as_echo_n "(cached) " >&6
33014 else
33015
33016
33017       ac_ext=cpp
33018 ac_cpp='$CXXCPP $CPPFLAGS'
33019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33022
33023       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33024 /* end confdefs.h.  */
33025 #include <math.h>
33026                       #ifdef HAVE_IEEEFP_H
33027                       #include <ieeefp.h>
33028                       #endif
33029
33030 int
33031 main ()
33032 {
33033  finite(0);
33034   ;
33035   return 0;
33036 }
33037 _ACEOF
33038 if ac_fn_cxx_try_compile "$LINENO"; then :
33039   glibcxx_cv_func_finite_use=yes
33040 else
33041   glibcxx_cv_func_finite_use=no
33042 fi
33043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33044       ac_ext=c
33045 ac_cpp='$CPP $CPPFLAGS'
33046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33049
33050
33051 fi
33052
33053   fi
33054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
33055 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
33056
33057   if test x$glibcxx_cv_func_finite_use = x"yes"; then
33058     for ac_func in finite
33059 do :
33060   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
33061 if test "x$ac_cv_func_finite" = x""yes; then :
33062   cat >>confdefs.h <<_ACEOF
33063 #define HAVE_FINITE 1
33064 _ACEOF
33065
33066 fi
33067 done
33068
33069   else
33070
33071   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
33072 $as_echo_n "checking for _finite declaration... " >&6; }
33073   if test x${glibcxx_cv_func__finite_use+set} != xset; then
33074     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
33075   $as_echo_n "(cached) " >&6
33076 else
33077
33078
33079       ac_ext=cpp
33080 ac_cpp='$CXXCPP $CPPFLAGS'
33081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33084
33085       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33086 /* end confdefs.h.  */
33087 #include <math.h>
33088                       #ifdef HAVE_IEEEFP_H
33089                       #include <ieeefp.h>
33090                       #endif
33091
33092 int
33093 main ()
33094 {
33095  _finite(0);
33096   ;
33097   return 0;
33098 }
33099 _ACEOF
33100 if ac_fn_cxx_try_compile "$LINENO"; then :
33101   glibcxx_cv_func__finite_use=yes
33102 else
33103   glibcxx_cv_func__finite_use=no
33104 fi
33105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33106       ac_ext=c
33107 ac_cpp='$CPP $CPPFLAGS'
33108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33111
33112
33113 fi
33114
33115   fi
33116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
33117 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
33118
33119     if test x$glibcxx_cv_func__finite_use = x"yes"; then
33120       for ac_func in _finite
33121 do :
33122   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
33123 if test "x$ac_cv_func__finite" = x""yes; then :
33124   cat >>confdefs.h <<_ACEOF
33125 #define HAVE__FINITE 1
33126 _ACEOF
33127
33128 fi
33129 done
33130
33131     fi
33132   fi
33133
33134
33135
33136
33137
33138   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
33139 $as_echo_n "checking for sincos declaration... " >&6; }
33140   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
33141     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
33142   $as_echo_n "(cached) " >&6
33143 else
33144
33145
33146       ac_ext=cpp
33147 ac_cpp='$CXXCPP $CPPFLAGS'
33148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33151
33152       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33153 /* end confdefs.h.  */
33154 #include <math.h>
33155 int
33156 main ()
33157 {
33158  sincos(0, 0, 0);
33159   ;
33160   return 0;
33161 }
33162 _ACEOF
33163 if ac_fn_cxx_try_compile "$LINENO"; then :
33164   glibcxx_cv_func_sincos_use=yes
33165 else
33166   glibcxx_cv_func_sincos_use=no
33167 fi
33168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33169       ac_ext=c
33170 ac_cpp='$CPP $CPPFLAGS'
33171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33174
33175
33176 fi
33177
33178   fi
33179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
33180 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
33181
33182   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
33183     for ac_func in sincos
33184 do :
33185   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
33186 if test "x$ac_cv_func_sincos" = x""yes; then :
33187   cat >>confdefs.h <<_ACEOF
33188 #define HAVE_SINCOS 1
33189 _ACEOF
33190
33191 fi
33192 done
33193
33194   else
33195
33196   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
33197 $as_echo_n "checking for _sincos declaration... " >&6; }
33198   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33199     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
33200   $as_echo_n "(cached) " >&6
33201 else
33202
33203
33204       ac_ext=cpp
33205 ac_cpp='$CXXCPP $CPPFLAGS'
33206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33209
33210       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33211 /* end confdefs.h.  */
33212 #include <math.h>
33213 int
33214 main ()
33215 {
33216  _sincos(0, 0, 0);
33217   ;
33218   return 0;
33219 }
33220 _ACEOF
33221 if ac_fn_cxx_try_compile "$LINENO"; then :
33222   glibcxx_cv_func__sincos_use=yes
33223 else
33224   glibcxx_cv_func__sincos_use=no
33225 fi
33226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33227       ac_ext=c
33228 ac_cpp='$CPP $CPPFLAGS'
33229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33232
33233
33234 fi
33235
33236   fi
33237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
33238 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
33239
33240     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33241       for ac_func in _sincos
33242 do :
33243   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
33244 if test "x$ac_cv_func__sincos" = x""yes; then :
33245   cat >>confdefs.h <<_ACEOF
33246 #define HAVE__SINCOS 1
33247 _ACEOF
33248
33249 fi
33250 done
33251
33252     fi
33253   fi
33254
33255
33256
33257
33258
33259   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
33260 $as_echo_n "checking for fpclass declaration... " >&6; }
33261   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33262     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
33263   $as_echo_n "(cached) " >&6
33264 else
33265
33266
33267       ac_ext=cpp
33268 ac_cpp='$CXXCPP $CPPFLAGS'
33269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33272
33273       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33274 /* end confdefs.h.  */
33275 #include <math.h>
33276                       #ifdef HAVE_IEEEFP_H
33277                       #include <ieeefp.h>
33278                       #endif
33279
33280 int
33281 main ()
33282 {
33283  fpclass(0);
33284   ;
33285   return 0;
33286 }
33287 _ACEOF
33288 if ac_fn_cxx_try_compile "$LINENO"; then :
33289   glibcxx_cv_func_fpclass_use=yes
33290 else
33291   glibcxx_cv_func_fpclass_use=no
33292 fi
33293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33294       ac_ext=c
33295 ac_cpp='$CPP $CPPFLAGS'
33296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33299
33300
33301 fi
33302
33303   fi
33304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
33305 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
33306
33307   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33308     for ac_func in fpclass
33309 do :
33310   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
33311 if test "x$ac_cv_func_fpclass" = x""yes; then :
33312   cat >>confdefs.h <<_ACEOF
33313 #define HAVE_FPCLASS 1
33314 _ACEOF
33315
33316 fi
33317 done
33318
33319   else
33320
33321   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
33322 $as_echo_n "checking for _fpclass declaration... " >&6; }
33323   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33324     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
33325   $as_echo_n "(cached) " >&6
33326 else
33327
33328
33329       ac_ext=cpp
33330 ac_cpp='$CXXCPP $CPPFLAGS'
33331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33334
33335       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33336 /* end confdefs.h.  */
33337 #include <math.h>
33338                       #ifdef HAVE_IEEEFP_H
33339                       #include <ieeefp.h>
33340                       #endif
33341
33342 int
33343 main ()
33344 {
33345  _fpclass(0);
33346   ;
33347   return 0;
33348 }
33349 _ACEOF
33350 if ac_fn_cxx_try_compile "$LINENO"; then :
33351   glibcxx_cv_func__fpclass_use=yes
33352 else
33353   glibcxx_cv_func__fpclass_use=no
33354 fi
33355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33356       ac_ext=c
33357 ac_cpp='$CPP $CPPFLAGS'
33358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33361
33362
33363 fi
33364
33365   fi
33366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
33367 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
33368
33369     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33370       for ac_func in _fpclass
33371 do :
33372   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
33373 if test "x$ac_cv_func__fpclass" = x""yes; then :
33374   cat >>confdefs.h <<_ACEOF
33375 #define HAVE__FPCLASS 1
33376 _ACEOF
33377
33378 fi
33379 done
33380
33381     fi
33382   fi
33383
33384
33385
33386
33387
33388   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
33389 $as_echo_n "checking for qfpclass declaration... " >&6; }
33390   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33391     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
33392   $as_echo_n "(cached) " >&6
33393 else
33394
33395
33396       ac_ext=cpp
33397 ac_cpp='$CXXCPP $CPPFLAGS'
33398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33401
33402       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33403 /* end confdefs.h.  */
33404 #include <math.h>
33405                       #ifdef HAVE_IEEEFP_H
33406                       #include <ieeefp.h>
33407                       #endif
33408
33409 int
33410 main ()
33411 {
33412  qfpclass(0);
33413   ;
33414   return 0;
33415 }
33416 _ACEOF
33417 if ac_fn_cxx_try_compile "$LINENO"; then :
33418   glibcxx_cv_func_qfpclass_use=yes
33419 else
33420   glibcxx_cv_func_qfpclass_use=no
33421 fi
33422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33423       ac_ext=c
33424 ac_cpp='$CPP $CPPFLAGS'
33425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33428
33429
33430 fi
33431
33432   fi
33433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
33434 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
33435
33436   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33437     for ac_func in qfpclass
33438 do :
33439   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
33440 if test "x$ac_cv_func_qfpclass" = x""yes; then :
33441   cat >>confdefs.h <<_ACEOF
33442 #define HAVE_QFPCLASS 1
33443 _ACEOF
33444
33445 fi
33446 done
33447
33448   else
33449
33450   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
33451 $as_echo_n "checking for _qfpclass declaration... " >&6; }
33452   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33453     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
33454   $as_echo_n "(cached) " >&6
33455 else
33456
33457
33458       ac_ext=cpp
33459 ac_cpp='$CXXCPP $CPPFLAGS'
33460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33463
33464       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33465 /* end confdefs.h.  */
33466 #include <math.h>
33467                       #ifdef HAVE_IEEEFP_H
33468                       #include <ieeefp.h>
33469                       #endif
33470
33471 int
33472 main ()
33473 {
33474  _qfpclass(0);
33475   ;
33476   return 0;
33477 }
33478 _ACEOF
33479 if ac_fn_cxx_try_compile "$LINENO"; then :
33480   glibcxx_cv_func__qfpclass_use=yes
33481 else
33482   glibcxx_cv_func__qfpclass_use=no
33483 fi
33484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33485       ac_ext=c
33486 ac_cpp='$CPP $CPPFLAGS'
33487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33490
33491
33492 fi
33493
33494   fi
33495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
33496 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
33497
33498     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33499       for ac_func in _qfpclass
33500 do :
33501   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
33502 if test "x$ac_cv_func__qfpclass" = x""yes; then :
33503   cat >>confdefs.h <<_ACEOF
33504 #define HAVE__QFPCLASS 1
33505 _ACEOF
33506
33507 fi
33508 done
33509
33510     fi
33511   fi
33512
33513
33514
33515
33516
33517   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
33518 $as_echo_n "checking for hypot declaration... " >&6; }
33519   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
33520     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
33521   $as_echo_n "(cached) " >&6
33522 else
33523
33524
33525       ac_ext=cpp
33526 ac_cpp='$CXXCPP $CPPFLAGS'
33527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33530
33531       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33532 /* end confdefs.h.  */
33533 #include <math.h>
33534 int
33535 main ()
33536 {
33537  hypot(0, 0);
33538   ;
33539   return 0;
33540 }
33541 _ACEOF
33542 if ac_fn_cxx_try_compile "$LINENO"; then :
33543   glibcxx_cv_func_hypot_use=yes
33544 else
33545   glibcxx_cv_func_hypot_use=no
33546 fi
33547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33548       ac_ext=c
33549 ac_cpp='$CPP $CPPFLAGS'
33550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33553
33554
33555 fi
33556
33557   fi
33558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
33559 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
33560
33561   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
33562     for ac_func in hypot
33563 do :
33564   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
33565 if test "x$ac_cv_func_hypot" = x""yes; then :
33566   cat >>confdefs.h <<_ACEOF
33567 #define HAVE_HYPOT 1
33568 _ACEOF
33569
33570 fi
33571 done
33572
33573   else
33574
33575   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
33576 $as_echo_n "checking for _hypot declaration... " >&6; }
33577   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
33578     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
33579   $as_echo_n "(cached) " >&6
33580 else
33581
33582
33583       ac_ext=cpp
33584 ac_cpp='$CXXCPP $CPPFLAGS'
33585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33588
33589       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33590 /* end confdefs.h.  */
33591 #include <math.h>
33592 int
33593 main ()
33594 {
33595  _hypot(0, 0);
33596   ;
33597   return 0;
33598 }
33599 _ACEOF
33600 if ac_fn_cxx_try_compile "$LINENO"; then :
33601   glibcxx_cv_func__hypot_use=yes
33602 else
33603   glibcxx_cv_func__hypot_use=no
33604 fi
33605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33606       ac_ext=c
33607 ac_cpp='$CPP $CPPFLAGS'
33608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33611
33612
33613 fi
33614
33615   fi
33616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
33617 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
33618
33619     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
33620       for ac_func in _hypot
33621 do :
33622   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
33623 if test "x$ac_cv_func__hypot" = x""yes; then :
33624   cat >>confdefs.h <<_ACEOF
33625 #define HAVE__HYPOT 1
33626 _ACEOF
33627
33628 fi
33629 done
33630
33631     fi
33632   fi
33633
33634
33635
33636
33637
33638     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
33639 $as_echo_n "checking for float trig functions... " >&6; }
33640   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
33641   $as_echo_n "(cached) " >&6
33642 else
33643
33644
33645     ac_ext=cpp
33646 ac_cpp='$CXXCPP $CPPFLAGS'
33647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33650
33651     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33652 /* end confdefs.h.  */
33653 #include <math.h>
33654 int
33655 main ()
33656 {
33657 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
33658   ;
33659   return 0;
33660 }
33661 _ACEOF
33662 if ac_fn_cxx_try_compile "$LINENO"; then :
33663   glibcxx_cv_func_float_trig_use=yes
33664 else
33665   glibcxx_cv_func_float_trig_use=no
33666 fi
33667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33668     ac_ext=c
33669 ac_cpp='$CPP $CPPFLAGS'
33670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33673
33674 fi
33675
33676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
33677 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
33678   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
33679     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
33680 do :
33681   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33682 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33683 eval as_val=\$$as_ac_var
33684    if test "x$as_val" = x""yes; then :
33685   cat >>confdefs.h <<_ACEOF
33686 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33687 _ACEOF
33688
33689 fi
33690 done
33691
33692   else
33693     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
33694 $as_echo_n "checking for _float trig functions... " >&6; }
33695     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
33696   $as_echo_n "(cached) " >&6
33697 else
33698
33699
33700       ac_ext=cpp
33701 ac_cpp='$CXXCPP $CPPFLAGS'
33702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33705
33706       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33707 /* end confdefs.h.  */
33708 #include <math.h>
33709 int
33710 main ()
33711 {
33712 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
33713   ;
33714   return 0;
33715 }
33716 _ACEOF
33717 if ac_fn_cxx_try_compile "$LINENO"; then :
33718   glibcxx_cv_func__float_trig_use=yes
33719 else
33720   glibcxx_cv_func__float_trig_use=no
33721 fi
33722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33723       ac_ext=c
33724 ac_cpp='$CPP $CPPFLAGS'
33725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33728
33729 fi
33730
33731     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
33732 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
33733     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
33734       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
33735 do :
33736   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33737 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33738 eval as_val=\$$as_ac_var
33739    if test "x$as_val" = x""yes; then :
33740   cat >>confdefs.h <<_ACEOF
33741 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33742 _ACEOF
33743
33744 fi
33745 done
33746
33747     fi
33748   fi
33749
33750
33751
33752
33753
33754     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
33755 $as_echo_n "checking for float round functions... " >&6; }
33756   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
33757   $as_echo_n "(cached) " >&6
33758 else
33759
33760
33761     ac_ext=cpp
33762 ac_cpp='$CXXCPP $CPPFLAGS'
33763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33766
33767     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33768 /* end confdefs.h.  */
33769 #include <math.h>
33770 int
33771 main ()
33772 {
33773 ceilf (0); floorf (0);
33774   ;
33775   return 0;
33776 }
33777 _ACEOF
33778 if ac_fn_cxx_try_compile "$LINENO"; then :
33779   glibcxx_cv_func_float_round_use=yes
33780 else
33781   glibcxx_cv_func_float_round_use=no
33782 fi
33783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33784     ac_ext=c
33785 ac_cpp='$CPP $CPPFLAGS'
33786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33789
33790 fi
33791
33792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
33793 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
33794   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
33795     for ac_func in ceilf floorf
33796 do :
33797   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33798 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33799 eval as_val=\$$as_ac_var
33800    if test "x$as_val" = x""yes; then :
33801   cat >>confdefs.h <<_ACEOF
33802 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33803 _ACEOF
33804
33805 fi
33806 done
33807
33808   else
33809     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
33810 $as_echo_n "checking for _float round functions... " >&6; }
33811     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
33812   $as_echo_n "(cached) " >&6
33813 else
33814
33815
33816       ac_ext=cpp
33817 ac_cpp='$CXXCPP $CPPFLAGS'
33818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33821
33822       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33823 /* end confdefs.h.  */
33824 #include <math.h>
33825 int
33826 main ()
33827 {
33828 _ceilf (0); _floorf (0);
33829   ;
33830   return 0;
33831 }
33832 _ACEOF
33833 if ac_fn_cxx_try_compile "$LINENO"; then :
33834   glibcxx_cv_func__float_round_use=yes
33835 else
33836   glibcxx_cv_func__float_round_use=no
33837 fi
33838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33839       ac_ext=c
33840 ac_cpp='$CPP $CPPFLAGS'
33841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33844
33845 fi
33846
33847     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
33848 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
33849     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
33850       for ac_func in _ceilf _floorf
33851 do :
33852   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33853 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33854 eval as_val=\$$as_ac_var
33855    if test "x$as_val" = x""yes; then :
33856   cat >>confdefs.h <<_ACEOF
33857 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33858 _ACEOF
33859
33860 fi
33861 done
33862
33863     fi
33864   fi
33865
33866
33867
33868
33869
33870
33871   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
33872 $as_echo_n "checking for expf declaration... " >&6; }
33873   if test x${glibcxx_cv_func_expf_use+set} != xset; then
33874     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
33875   $as_echo_n "(cached) " >&6
33876 else
33877
33878
33879       ac_ext=cpp
33880 ac_cpp='$CXXCPP $CPPFLAGS'
33881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33884
33885       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33886 /* end confdefs.h.  */
33887 #include <math.h>
33888                       #ifdef HAVE_IEEEFP_H
33889                       #include <ieeefp.h>
33890                       #endif
33891
33892 int
33893 main ()
33894 {
33895  expf(0);
33896   ;
33897   return 0;
33898 }
33899 _ACEOF
33900 if ac_fn_cxx_try_compile "$LINENO"; then :
33901   glibcxx_cv_func_expf_use=yes
33902 else
33903   glibcxx_cv_func_expf_use=no
33904 fi
33905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33906       ac_ext=c
33907 ac_cpp='$CPP $CPPFLAGS'
33908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33911
33912
33913 fi
33914
33915   fi
33916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
33917 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
33918
33919   if test x$glibcxx_cv_func_expf_use = x"yes"; then
33920     for ac_func in expf
33921 do :
33922   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
33923 if test "x$ac_cv_func_expf" = x""yes; then :
33924   cat >>confdefs.h <<_ACEOF
33925 #define HAVE_EXPF 1
33926 _ACEOF
33927
33928 fi
33929 done
33930
33931   else
33932
33933   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
33934 $as_echo_n "checking for _expf declaration... " >&6; }
33935   if test x${glibcxx_cv_func__expf_use+set} != xset; then
33936     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
33937   $as_echo_n "(cached) " >&6
33938 else
33939
33940
33941       ac_ext=cpp
33942 ac_cpp='$CXXCPP $CPPFLAGS'
33943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33946
33947       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33948 /* end confdefs.h.  */
33949 #include <math.h>
33950                       #ifdef HAVE_IEEEFP_H
33951                       #include <ieeefp.h>
33952                       #endif
33953
33954 int
33955 main ()
33956 {
33957  _expf(0);
33958   ;
33959   return 0;
33960 }
33961 _ACEOF
33962 if ac_fn_cxx_try_compile "$LINENO"; then :
33963   glibcxx_cv_func__expf_use=yes
33964 else
33965   glibcxx_cv_func__expf_use=no
33966 fi
33967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33968       ac_ext=c
33969 ac_cpp='$CPP $CPPFLAGS'
33970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33973
33974
33975 fi
33976
33977   fi
33978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
33979 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
33980
33981     if test x$glibcxx_cv_func__expf_use = x"yes"; then
33982       for ac_func in _expf
33983 do :
33984   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
33985 if test "x$ac_cv_func__expf" = x""yes; then :
33986   cat >>confdefs.h <<_ACEOF
33987 #define HAVE__EXPF 1
33988 _ACEOF
33989
33990 fi
33991 done
33992
33993     fi
33994   fi
33995
33996
33997
33998
33999
34000   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
34001 $as_echo_n "checking for isnanf declaration... " >&6; }
34002   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
34003     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
34004   $as_echo_n "(cached) " >&6
34005 else
34006
34007
34008       ac_ext=cpp
34009 ac_cpp='$CXXCPP $CPPFLAGS'
34010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34013
34014       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34015 /* end confdefs.h.  */
34016 #include <math.h>
34017                       #ifdef HAVE_IEEEFP_H
34018                       #include <ieeefp.h>
34019                       #endif
34020
34021 int
34022 main ()
34023 {
34024  isnanf(0);
34025   ;
34026   return 0;
34027 }
34028 _ACEOF
34029 if ac_fn_cxx_try_compile "$LINENO"; then :
34030   glibcxx_cv_func_isnanf_use=yes
34031 else
34032   glibcxx_cv_func_isnanf_use=no
34033 fi
34034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34035       ac_ext=c
34036 ac_cpp='$CPP $CPPFLAGS'
34037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34040
34041
34042 fi
34043
34044   fi
34045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
34046 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
34047
34048   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
34049     for ac_func in isnanf
34050 do :
34051   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
34052 if test "x$ac_cv_func_isnanf" = x""yes; then :
34053   cat >>confdefs.h <<_ACEOF
34054 #define HAVE_ISNANF 1
34055 _ACEOF
34056
34057 fi
34058 done
34059
34060   else
34061
34062   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
34063 $as_echo_n "checking for _isnanf declaration... " >&6; }
34064   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
34065     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
34066   $as_echo_n "(cached) " >&6
34067 else
34068
34069
34070       ac_ext=cpp
34071 ac_cpp='$CXXCPP $CPPFLAGS'
34072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34075
34076       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34077 /* end confdefs.h.  */
34078 #include <math.h>
34079                       #ifdef HAVE_IEEEFP_H
34080                       #include <ieeefp.h>
34081                       #endif
34082
34083 int
34084 main ()
34085 {
34086  _isnanf(0);
34087   ;
34088   return 0;
34089 }
34090 _ACEOF
34091 if ac_fn_cxx_try_compile "$LINENO"; then :
34092   glibcxx_cv_func__isnanf_use=yes
34093 else
34094   glibcxx_cv_func__isnanf_use=no
34095 fi
34096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34097       ac_ext=c
34098 ac_cpp='$CPP $CPPFLAGS'
34099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34102
34103
34104 fi
34105
34106   fi
34107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
34108 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
34109
34110     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
34111       for ac_func in _isnanf
34112 do :
34113   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
34114 if test "x$ac_cv_func__isnanf" = x""yes; then :
34115   cat >>confdefs.h <<_ACEOF
34116 #define HAVE__ISNANF 1
34117 _ACEOF
34118
34119 fi
34120 done
34121
34122     fi
34123   fi
34124
34125
34126
34127
34128
34129   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
34130 $as_echo_n "checking for isinff declaration... " >&6; }
34131   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
34132     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
34133   $as_echo_n "(cached) " >&6
34134 else
34135
34136
34137       ac_ext=cpp
34138 ac_cpp='$CXXCPP $CPPFLAGS'
34139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34142
34143       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34144 /* end confdefs.h.  */
34145 #include <math.h>
34146                       #ifdef HAVE_IEEEFP_H
34147                       #include <ieeefp.h>
34148                       #endif
34149
34150 int
34151 main ()
34152 {
34153  isinff(0);
34154   ;
34155   return 0;
34156 }
34157 _ACEOF
34158 if ac_fn_cxx_try_compile "$LINENO"; then :
34159   glibcxx_cv_func_isinff_use=yes
34160 else
34161   glibcxx_cv_func_isinff_use=no
34162 fi
34163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34164       ac_ext=c
34165 ac_cpp='$CPP $CPPFLAGS'
34166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34169
34170
34171 fi
34172
34173   fi
34174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
34175 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
34176
34177   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
34178     for ac_func in isinff
34179 do :
34180   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
34181 if test "x$ac_cv_func_isinff" = x""yes; then :
34182   cat >>confdefs.h <<_ACEOF
34183 #define HAVE_ISINFF 1
34184 _ACEOF
34185
34186 fi
34187 done
34188
34189   else
34190
34191   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
34192 $as_echo_n "checking for _isinff declaration... " >&6; }
34193   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
34194     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
34195   $as_echo_n "(cached) " >&6
34196 else
34197
34198
34199       ac_ext=cpp
34200 ac_cpp='$CXXCPP $CPPFLAGS'
34201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34204
34205       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34206 /* end confdefs.h.  */
34207 #include <math.h>
34208                       #ifdef HAVE_IEEEFP_H
34209                       #include <ieeefp.h>
34210                       #endif
34211
34212 int
34213 main ()
34214 {
34215  _isinff(0);
34216   ;
34217   return 0;
34218 }
34219 _ACEOF
34220 if ac_fn_cxx_try_compile "$LINENO"; then :
34221   glibcxx_cv_func__isinff_use=yes
34222 else
34223   glibcxx_cv_func__isinff_use=no
34224 fi
34225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34226       ac_ext=c
34227 ac_cpp='$CPP $CPPFLAGS'
34228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34231
34232
34233 fi
34234
34235   fi
34236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
34237 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
34238
34239     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
34240       for ac_func in _isinff
34241 do :
34242   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
34243 if test "x$ac_cv_func__isinff" = x""yes; then :
34244   cat >>confdefs.h <<_ACEOF
34245 #define HAVE__ISINFF 1
34246 _ACEOF
34247
34248 fi
34249 done
34250
34251     fi
34252   fi
34253
34254
34255
34256
34257
34258   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
34259 $as_echo_n "checking for atan2f declaration... " >&6; }
34260   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
34261     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
34262   $as_echo_n "(cached) " >&6
34263 else
34264
34265
34266       ac_ext=cpp
34267 ac_cpp='$CXXCPP $CPPFLAGS'
34268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34271
34272       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34273 /* end confdefs.h.  */
34274 #include <math.h>
34275 int
34276 main ()
34277 {
34278  atan2f(0, 0);
34279   ;
34280   return 0;
34281 }
34282 _ACEOF
34283 if ac_fn_cxx_try_compile "$LINENO"; then :
34284   glibcxx_cv_func_atan2f_use=yes
34285 else
34286   glibcxx_cv_func_atan2f_use=no
34287 fi
34288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34289       ac_ext=c
34290 ac_cpp='$CPP $CPPFLAGS'
34291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34294
34295
34296 fi
34297
34298   fi
34299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
34300 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
34301
34302   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
34303     for ac_func in atan2f
34304 do :
34305   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
34306 if test "x$ac_cv_func_atan2f" = x""yes; then :
34307   cat >>confdefs.h <<_ACEOF
34308 #define HAVE_ATAN2F 1
34309 _ACEOF
34310
34311 fi
34312 done
34313
34314   else
34315
34316   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
34317 $as_echo_n "checking for _atan2f declaration... " >&6; }
34318   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
34319     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
34320   $as_echo_n "(cached) " >&6
34321 else
34322
34323
34324       ac_ext=cpp
34325 ac_cpp='$CXXCPP $CPPFLAGS'
34326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34329
34330       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34331 /* end confdefs.h.  */
34332 #include <math.h>
34333 int
34334 main ()
34335 {
34336  _atan2f(0, 0);
34337   ;
34338   return 0;
34339 }
34340 _ACEOF
34341 if ac_fn_cxx_try_compile "$LINENO"; then :
34342   glibcxx_cv_func__atan2f_use=yes
34343 else
34344   glibcxx_cv_func__atan2f_use=no
34345 fi
34346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34347       ac_ext=c
34348 ac_cpp='$CPP $CPPFLAGS'
34349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34352
34353
34354 fi
34355
34356   fi
34357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
34358 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
34359
34360     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
34361       for ac_func in _atan2f
34362 do :
34363   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
34364 if test "x$ac_cv_func__atan2f" = x""yes; then :
34365   cat >>confdefs.h <<_ACEOF
34366 #define HAVE__ATAN2F 1
34367 _ACEOF
34368
34369 fi
34370 done
34371
34372     fi
34373   fi
34374
34375
34376
34377
34378
34379   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
34380 $as_echo_n "checking for fabsf declaration... " >&6; }
34381   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
34382     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
34383   $as_echo_n "(cached) " >&6
34384 else
34385
34386
34387       ac_ext=cpp
34388 ac_cpp='$CXXCPP $CPPFLAGS'
34389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34392
34393       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34394 /* end confdefs.h.  */
34395 #include <math.h>
34396                       #ifdef HAVE_IEEEFP_H
34397                       #include <ieeefp.h>
34398                       #endif
34399
34400 int
34401 main ()
34402 {
34403  fabsf(0);
34404   ;
34405   return 0;
34406 }
34407 _ACEOF
34408 if ac_fn_cxx_try_compile "$LINENO"; then :
34409   glibcxx_cv_func_fabsf_use=yes
34410 else
34411   glibcxx_cv_func_fabsf_use=no
34412 fi
34413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34414       ac_ext=c
34415 ac_cpp='$CPP $CPPFLAGS'
34416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34419
34420
34421 fi
34422
34423   fi
34424   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
34425 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
34426
34427   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
34428     for ac_func in fabsf
34429 do :
34430   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
34431 if test "x$ac_cv_func_fabsf" = x""yes; then :
34432   cat >>confdefs.h <<_ACEOF
34433 #define HAVE_FABSF 1
34434 _ACEOF
34435
34436 fi
34437 done
34438
34439   else
34440
34441   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
34442 $as_echo_n "checking for _fabsf declaration... " >&6; }
34443   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
34444     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
34445   $as_echo_n "(cached) " >&6
34446 else
34447
34448
34449       ac_ext=cpp
34450 ac_cpp='$CXXCPP $CPPFLAGS'
34451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34454
34455       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34456 /* end confdefs.h.  */
34457 #include <math.h>
34458                       #ifdef HAVE_IEEEFP_H
34459                       #include <ieeefp.h>
34460                       #endif
34461
34462 int
34463 main ()
34464 {
34465  _fabsf(0);
34466   ;
34467   return 0;
34468 }
34469 _ACEOF
34470 if ac_fn_cxx_try_compile "$LINENO"; then :
34471   glibcxx_cv_func__fabsf_use=yes
34472 else
34473   glibcxx_cv_func__fabsf_use=no
34474 fi
34475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34476       ac_ext=c
34477 ac_cpp='$CPP $CPPFLAGS'
34478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34481
34482
34483 fi
34484
34485   fi
34486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
34487 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
34488
34489     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
34490       for ac_func in _fabsf
34491 do :
34492   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
34493 if test "x$ac_cv_func__fabsf" = x""yes; then :
34494   cat >>confdefs.h <<_ACEOF
34495 #define HAVE__FABSF 1
34496 _ACEOF
34497
34498 fi
34499 done
34500
34501     fi
34502   fi
34503
34504
34505
34506
34507
34508   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
34509 $as_echo_n "checking for fmodf declaration... " >&6; }
34510   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
34511     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
34512   $as_echo_n "(cached) " >&6
34513 else
34514
34515
34516       ac_ext=cpp
34517 ac_cpp='$CXXCPP $CPPFLAGS'
34518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34521
34522       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34523 /* end confdefs.h.  */
34524 #include <math.h>
34525 int
34526 main ()
34527 {
34528  fmodf(0, 0);
34529   ;
34530   return 0;
34531 }
34532 _ACEOF
34533 if ac_fn_cxx_try_compile "$LINENO"; then :
34534   glibcxx_cv_func_fmodf_use=yes
34535 else
34536   glibcxx_cv_func_fmodf_use=no
34537 fi
34538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34539       ac_ext=c
34540 ac_cpp='$CPP $CPPFLAGS'
34541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34544
34545
34546 fi
34547
34548   fi
34549   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
34550 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
34551
34552   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
34553     for ac_func in fmodf
34554 do :
34555   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
34556 if test "x$ac_cv_func_fmodf" = x""yes; then :
34557   cat >>confdefs.h <<_ACEOF
34558 #define HAVE_FMODF 1
34559 _ACEOF
34560
34561 fi
34562 done
34563
34564   else
34565
34566   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
34567 $as_echo_n "checking for _fmodf declaration... " >&6; }
34568   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
34569     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
34570   $as_echo_n "(cached) " >&6
34571 else
34572
34573
34574       ac_ext=cpp
34575 ac_cpp='$CXXCPP $CPPFLAGS'
34576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34579
34580       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34581 /* end confdefs.h.  */
34582 #include <math.h>
34583 int
34584 main ()
34585 {
34586  _fmodf(0, 0);
34587   ;
34588   return 0;
34589 }
34590 _ACEOF
34591 if ac_fn_cxx_try_compile "$LINENO"; then :
34592   glibcxx_cv_func__fmodf_use=yes
34593 else
34594   glibcxx_cv_func__fmodf_use=no
34595 fi
34596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34597       ac_ext=c
34598 ac_cpp='$CPP $CPPFLAGS'
34599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34602
34603
34604 fi
34605
34606   fi
34607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
34608 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
34609
34610     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
34611       for ac_func in _fmodf
34612 do :
34613   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
34614 if test "x$ac_cv_func__fmodf" = x""yes; then :
34615   cat >>confdefs.h <<_ACEOF
34616 #define HAVE__FMODF 1
34617 _ACEOF
34618
34619 fi
34620 done
34621
34622     fi
34623   fi
34624
34625
34626
34627
34628
34629   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
34630 $as_echo_n "checking for frexpf declaration... " >&6; }
34631   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
34632     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
34633   $as_echo_n "(cached) " >&6
34634 else
34635
34636
34637       ac_ext=cpp
34638 ac_cpp='$CXXCPP $CPPFLAGS'
34639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34642
34643       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34644 /* end confdefs.h.  */
34645 #include <math.h>
34646 int
34647 main ()
34648 {
34649  frexpf(0, 0);
34650   ;
34651   return 0;
34652 }
34653 _ACEOF
34654 if ac_fn_cxx_try_compile "$LINENO"; then :
34655   glibcxx_cv_func_frexpf_use=yes
34656 else
34657   glibcxx_cv_func_frexpf_use=no
34658 fi
34659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34660       ac_ext=c
34661 ac_cpp='$CPP $CPPFLAGS'
34662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34665
34666
34667 fi
34668
34669   fi
34670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
34671 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
34672
34673   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
34674     for ac_func in frexpf
34675 do :
34676   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
34677 if test "x$ac_cv_func_frexpf" = x""yes; then :
34678   cat >>confdefs.h <<_ACEOF
34679 #define HAVE_FREXPF 1
34680 _ACEOF
34681
34682 fi
34683 done
34684
34685   else
34686
34687   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
34688 $as_echo_n "checking for _frexpf declaration... " >&6; }
34689   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
34690     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
34691   $as_echo_n "(cached) " >&6
34692 else
34693
34694
34695       ac_ext=cpp
34696 ac_cpp='$CXXCPP $CPPFLAGS'
34697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34700
34701       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34702 /* end confdefs.h.  */
34703 #include <math.h>
34704 int
34705 main ()
34706 {
34707  _frexpf(0, 0);
34708   ;
34709   return 0;
34710 }
34711 _ACEOF
34712 if ac_fn_cxx_try_compile "$LINENO"; then :
34713   glibcxx_cv_func__frexpf_use=yes
34714 else
34715   glibcxx_cv_func__frexpf_use=no
34716 fi
34717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34718       ac_ext=c
34719 ac_cpp='$CPP $CPPFLAGS'
34720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34723
34724
34725 fi
34726
34727   fi
34728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
34729 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
34730
34731     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
34732       for ac_func in _frexpf
34733 do :
34734   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
34735 if test "x$ac_cv_func__frexpf" = x""yes; then :
34736   cat >>confdefs.h <<_ACEOF
34737 #define HAVE__FREXPF 1
34738 _ACEOF
34739
34740 fi
34741 done
34742
34743     fi
34744   fi
34745
34746
34747
34748
34749
34750   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
34751 $as_echo_n "checking for hypotf declaration... " >&6; }
34752   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
34753     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
34754   $as_echo_n "(cached) " >&6
34755 else
34756
34757
34758       ac_ext=cpp
34759 ac_cpp='$CXXCPP $CPPFLAGS'
34760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34763
34764       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34765 /* end confdefs.h.  */
34766 #include <math.h>
34767 int
34768 main ()
34769 {
34770  hypotf(0, 0);
34771   ;
34772   return 0;
34773 }
34774 _ACEOF
34775 if ac_fn_cxx_try_compile "$LINENO"; then :
34776   glibcxx_cv_func_hypotf_use=yes
34777 else
34778   glibcxx_cv_func_hypotf_use=no
34779 fi
34780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34781       ac_ext=c
34782 ac_cpp='$CPP $CPPFLAGS'
34783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34786
34787
34788 fi
34789
34790   fi
34791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
34792 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
34793
34794   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
34795     for ac_func in hypotf
34796 do :
34797   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
34798 if test "x$ac_cv_func_hypotf" = x""yes; then :
34799   cat >>confdefs.h <<_ACEOF
34800 #define HAVE_HYPOTF 1
34801 _ACEOF
34802
34803 fi
34804 done
34805
34806   else
34807
34808   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
34809 $as_echo_n "checking for _hypotf declaration... " >&6; }
34810   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
34811     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
34812   $as_echo_n "(cached) " >&6
34813 else
34814
34815
34816       ac_ext=cpp
34817 ac_cpp='$CXXCPP $CPPFLAGS'
34818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34821
34822       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34823 /* end confdefs.h.  */
34824 #include <math.h>
34825 int
34826 main ()
34827 {
34828  _hypotf(0, 0);
34829   ;
34830   return 0;
34831 }
34832 _ACEOF
34833 if ac_fn_cxx_try_compile "$LINENO"; then :
34834   glibcxx_cv_func__hypotf_use=yes
34835 else
34836   glibcxx_cv_func__hypotf_use=no
34837 fi
34838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34839       ac_ext=c
34840 ac_cpp='$CPP $CPPFLAGS'
34841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34844
34845
34846 fi
34847
34848   fi
34849   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
34850 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
34851
34852     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
34853       for ac_func in _hypotf
34854 do :
34855   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
34856 if test "x$ac_cv_func__hypotf" = x""yes; then :
34857   cat >>confdefs.h <<_ACEOF
34858 #define HAVE__HYPOTF 1
34859 _ACEOF
34860
34861 fi
34862 done
34863
34864     fi
34865   fi
34866
34867
34868
34869
34870
34871   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
34872 $as_echo_n "checking for ldexpf declaration... " >&6; }
34873   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
34874     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
34875   $as_echo_n "(cached) " >&6
34876 else
34877
34878
34879       ac_ext=cpp
34880 ac_cpp='$CXXCPP $CPPFLAGS'
34881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34884
34885       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34886 /* end confdefs.h.  */
34887 #include <math.h>
34888 int
34889 main ()
34890 {
34891  ldexpf(0, 0);
34892   ;
34893   return 0;
34894 }
34895 _ACEOF
34896 if ac_fn_cxx_try_compile "$LINENO"; then :
34897   glibcxx_cv_func_ldexpf_use=yes
34898 else
34899   glibcxx_cv_func_ldexpf_use=no
34900 fi
34901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34902       ac_ext=c
34903 ac_cpp='$CPP $CPPFLAGS'
34904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34907
34908
34909 fi
34910
34911   fi
34912   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
34913 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
34914
34915   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
34916     for ac_func in ldexpf
34917 do :
34918   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
34919 if test "x$ac_cv_func_ldexpf" = x""yes; then :
34920   cat >>confdefs.h <<_ACEOF
34921 #define HAVE_LDEXPF 1
34922 _ACEOF
34923
34924 fi
34925 done
34926
34927   else
34928
34929   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
34930 $as_echo_n "checking for _ldexpf declaration... " >&6; }
34931   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
34932     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
34933   $as_echo_n "(cached) " >&6
34934 else
34935
34936
34937       ac_ext=cpp
34938 ac_cpp='$CXXCPP $CPPFLAGS'
34939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34942
34943       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34944 /* end confdefs.h.  */
34945 #include <math.h>
34946 int
34947 main ()
34948 {
34949  _ldexpf(0, 0);
34950   ;
34951   return 0;
34952 }
34953 _ACEOF
34954 if ac_fn_cxx_try_compile "$LINENO"; then :
34955   glibcxx_cv_func__ldexpf_use=yes
34956 else
34957   glibcxx_cv_func__ldexpf_use=no
34958 fi
34959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34960       ac_ext=c
34961 ac_cpp='$CPP $CPPFLAGS'
34962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34965
34966
34967 fi
34968
34969   fi
34970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
34971 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
34972
34973     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
34974       for ac_func in _ldexpf
34975 do :
34976   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
34977 if test "x$ac_cv_func__ldexpf" = x""yes; then :
34978   cat >>confdefs.h <<_ACEOF
34979 #define HAVE__LDEXPF 1
34980 _ACEOF
34981
34982 fi
34983 done
34984
34985     fi
34986   fi
34987
34988
34989
34990
34991
34992   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
34993 $as_echo_n "checking for logf declaration... " >&6; }
34994   if test x${glibcxx_cv_func_logf_use+set} != xset; then
34995     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
34996   $as_echo_n "(cached) " >&6
34997 else
34998
34999
35000       ac_ext=cpp
35001 ac_cpp='$CXXCPP $CPPFLAGS'
35002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35005
35006       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35007 /* end confdefs.h.  */
35008 #include <math.h>
35009                       #ifdef HAVE_IEEEFP_H
35010                       #include <ieeefp.h>
35011                       #endif
35012
35013 int
35014 main ()
35015 {
35016  logf(0);
35017   ;
35018   return 0;
35019 }
35020 _ACEOF
35021 if ac_fn_cxx_try_compile "$LINENO"; then :
35022   glibcxx_cv_func_logf_use=yes
35023 else
35024   glibcxx_cv_func_logf_use=no
35025 fi
35026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35027       ac_ext=c
35028 ac_cpp='$CPP $CPPFLAGS'
35029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35032
35033
35034 fi
35035
35036   fi
35037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
35038 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
35039
35040   if test x$glibcxx_cv_func_logf_use = x"yes"; then
35041     for ac_func in logf
35042 do :
35043   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
35044 if test "x$ac_cv_func_logf" = x""yes; then :
35045   cat >>confdefs.h <<_ACEOF
35046 #define HAVE_LOGF 1
35047 _ACEOF
35048
35049 fi
35050 done
35051
35052   else
35053
35054   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
35055 $as_echo_n "checking for _logf declaration... " >&6; }
35056   if test x${glibcxx_cv_func__logf_use+set} != xset; then
35057     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
35058   $as_echo_n "(cached) " >&6
35059 else
35060
35061
35062       ac_ext=cpp
35063 ac_cpp='$CXXCPP $CPPFLAGS'
35064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35067
35068       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35069 /* end confdefs.h.  */
35070 #include <math.h>
35071                       #ifdef HAVE_IEEEFP_H
35072                       #include <ieeefp.h>
35073                       #endif
35074
35075 int
35076 main ()
35077 {
35078  _logf(0);
35079   ;
35080   return 0;
35081 }
35082 _ACEOF
35083 if ac_fn_cxx_try_compile "$LINENO"; then :
35084   glibcxx_cv_func__logf_use=yes
35085 else
35086   glibcxx_cv_func__logf_use=no
35087 fi
35088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35089       ac_ext=c
35090 ac_cpp='$CPP $CPPFLAGS'
35091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35094
35095
35096 fi
35097
35098   fi
35099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
35100 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
35101
35102     if test x$glibcxx_cv_func__logf_use = x"yes"; then
35103       for ac_func in _logf
35104 do :
35105   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
35106 if test "x$ac_cv_func__logf" = x""yes; then :
35107   cat >>confdefs.h <<_ACEOF
35108 #define HAVE__LOGF 1
35109 _ACEOF
35110
35111 fi
35112 done
35113
35114     fi
35115   fi
35116
35117
35118
35119
35120
35121   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
35122 $as_echo_n "checking for log10f declaration... " >&6; }
35123   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
35124     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
35125   $as_echo_n "(cached) " >&6
35126 else
35127
35128
35129       ac_ext=cpp
35130 ac_cpp='$CXXCPP $CPPFLAGS'
35131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35134
35135       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35136 /* end confdefs.h.  */
35137 #include <math.h>
35138                       #ifdef HAVE_IEEEFP_H
35139                       #include <ieeefp.h>
35140                       #endif
35141
35142 int
35143 main ()
35144 {
35145  log10f(0);
35146   ;
35147   return 0;
35148 }
35149 _ACEOF
35150 if ac_fn_cxx_try_compile "$LINENO"; then :
35151   glibcxx_cv_func_log10f_use=yes
35152 else
35153   glibcxx_cv_func_log10f_use=no
35154 fi
35155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35156       ac_ext=c
35157 ac_cpp='$CPP $CPPFLAGS'
35158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35161
35162
35163 fi
35164
35165   fi
35166   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
35167 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
35168
35169   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
35170     for ac_func in log10f
35171 do :
35172   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
35173 if test "x$ac_cv_func_log10f" = x""yes; then :
35174   cat >>confdefs.h <<_ACEOF
35175 #define HAVE_LOG10F 1
35176 _ACEOF
35177
35178 fi
35179 done
35180
35181   else
35182
35183   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
35184 $as_echo_n "checking for _log10f declaration... " >&6; }
35185   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
35186     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
35187   $as_echo_n "(cached) " >&6
35188 else
35189
35190
35191       ac_ext=cpp
35192 ac_cpp='$CXXCPP $CPPFLAGS'
35193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35196
35197       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35198 /* end confdefs.h.  */
35199 #include <math.h>
35200                       #ifdef HAVE_IEEEFP_H
35201                       #include <ieeefp.h>
35202                       #endif
35203
35204 int
35205 main ()
35206 {
35207  _log10f(0);
35208   ;
35209   return 0;
35210 }
35211 _ACEOF
35212 if ac_fn_cxx_try_compile "$LINENO"; then :
35213   glibcxx_cv_func__log10f_use=yes
35214 else
35215   glibcxx_cv_func__log10f_use=no
35216 fi
35217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35218       ac_ext=c
35219 ac_cpp='$CPP $CPPFLAGS'
35220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35223
35224
35225 fi
35226
35227   fi
35228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
35229 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
35230
35231     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
35232       for ac_func in _log10f
35233 do :
35234   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
35235 if test "x$ac_cv_func__log10f" = x""yes; then :
35236   cat >>confdefs.h <<_ACEOF
35237 #define HAVE__LOG10F 1
35238 _ACEOF
35239
35240 fi
35241 done
35242
35243     fi
35244   fi
35245
35246
35247
35248
35249
35250   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
35251 $as_echo_n "checking for modff declaration... " >&6; }
35252   if test x${glibcxx_cv_func_modff_use+set} != xset; then
35253     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
35254   $as_echo_n "(cached) " >&6
35255 else
35256
35257
35258       ac_ext=cpp
35259 ac_cpp='$CXXCPP $CPPFLAGS'
35260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35263
35264       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35265 /* end confdefs.h.  */
35266 #include <math.h>
35267 int
35268 main ()
35269 {
35270  modff(0, 0);
35271   ;
35272   return 0;
35273 }
35274 _ACEOF
35275 if ac_fn_cxx_try_compile "$LINENO"; then :
35276   glibcxx_cv_func_modff_use=yes
35277 else
35278   glibcxx_cv_func_modff_use=no
35279 fi
35280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35281       ac_ext=c
35282 ac_cpp='$CPP $CPPFLAGS'
35283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35286
35287
35288 fi
35289
35290   fi
35291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
35292 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
35293
35294   if test x$glibcxx_cv_func_modff_use = x"yes"; then
35295     for ac_func in modff
35296 do :
35297   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
35298 if test "x$ac_cv_func_modff" = x""yes; then :
35299   cat >>confdefs.h <<_ACEOF
35300 #define HAVE_MODFF 1
35301 _ACEOF
35302
35303 fi
35304 done
35305
35306   else
35307
35308   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
35309 $as_echo_n "checking for _modff declaration... " >&6; }
35310   if test x${glibcxx_cv_func__modff_use+set} != xset; then
35311     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
35312   $as_echo_n "(cached) " >&6
35313 else
35314
35315
35316       ac_ext=cpp
35317 ac_cpp='$CXXCPP $CPPFLAGS'
35318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35321
35322       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35323 /* end confdefs.h.  */
35324 #include <math.h>
35325 int
35326 main ()
35327 {
35328  _modff(0, 0);
35329   ;
35330   return 0;
35331 }
35332 _ACEOF
35333 if ac_fn_cxx_try_compile "$LINENO"; then :
35334   glibcxx_cv_func__modff_use=yes
35335 else
35336   glibcxx_cv_func__modff_use=no
35337 fi
35338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35339       ac_ext=c
35340 ac_cpp='$CPP $CPPFLAGS'
35341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35344
35345
35346 fi
35347
35348   fi
35349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
35350 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
35351
35352     if test x$glibcxx_cv_func__modff_use = x"yes"; then
35353       for ac_func in _modff
35354 do :
35355   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
35356 if test "x$ac_cv_func__modff" = x""yes; then :
35357   cat >>confdefs.h <<_ACEOF
35358 #define HAVE__MODFF 1
35359 _ACEOF
35360
35361 fi
35362 done
35363
35364     fi
35365   fi
35366
35367
35368
35369
35370
35371   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
35372 $as_echo_n "checking for modf declaration... " >&6; }
35373   if test x${glibcxx_cv_func_modf_use+set} != xset; then
35374     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
35375   $as_echo_n "(cached) " >&6
35376 else
35377
35378
35379       ac_ext=cpp
35380 ac_cpp='$CXXCPP $CPPFLAGS'
35381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35384
35385       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35386 /* end confdefs.h.  */
35387 #include <math.h>
35388 int
35389 main ()
35390 {
35391  modf(0, 0);
35392   ;
35393   return 0;
35394 }
35395 _ACEOF
35396 if ac_fn_cxx_try_compile "$LINENO"; then :
35397   glibcxx_cv_func_modf_use=yes
35398 else
35399   glibcxx_cv_func_modf_use=no
35400 fi
35401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35402       ac_ext=c
35403 ac_cpp='$CPP $CPPFLAGS'
35404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35407
35408
35409 fi
35410
35411   fi
35412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
35413 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
35414
35415   if test x$glibcxx_cv_func_modf_use = x"yes"; then
35416     for ac_func in modf
35417 do :
35418   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
35419 if test "x$ac_cv_func_modf" = x""yes; then :
35420   cat >>confdefs.h <<_ACEOF
35421 #define HAVE_MODF 1
35422 _ACEOF
35423
35424 fi
35425 done
35426
35427   else
35428
35429   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
35430 $as_echo_n "checking for _modf declaration... " >&6; }
35431   if test x${glibcxx_cv_func__modf_use+set} != xset; then
35432     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
35433   $as_echo_n "(cached) " >&6
35434 else
35435
35436
35437       ac_ext=cpp
35438 ac_cpp='$CXXCPP $CPPFLAGS'
35439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35442
35443       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35444 /* end confdefs.h.  */
35445 #include <math.h>
35446 int
35447 main ()
35448 {
35449  _modf(0, 0);
35450   ;
35451   return 0;
35452 }
35453 _ACEOF
35454 if ac_fn_cxx_try_compile "$LINENO"; then :
35455   glibcxx_cv_func__modf_use=yes
35456 else
35457   glibcxx_cv_func__modf_use=no
35458 fi
35459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35460       ac_ext=c
35461 ac_cpp='$CPP $CPPFLAGS'
35462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35465
35466
35467 fi
35468
35469   fi
35470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
35471 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
35472
35473     if test x$glibcxx_cv_func__modf_use = x"yes"; then
35474       for ac_func in _modf
35475 do :
35476   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
35477 if test "x$ac_cv_func__modf" = x""yes; then :
35478   cat >>confdefs.h <<_ACEOF
35479 #define HAVE__MODF 1
35480 _ACEOF
35481
35482 fi
35483 done
35484
35485     fi
35486   fi
35487
35488
35489
35490
35491
35492   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
35493 $as_echo_n "checking for powf declaration... " >&6; }
35494   if test x${glibcxx_cv_func_powf_use+set} != xset; then
35495     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
35496   $as_echo_n "(cached) " >&6
35497 else
35498
35499
35500       ac_ext=cpp
35501 ac_cpp='$CXXCPP $CPPFLAGS'
35502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35505
35506       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35507 /* end confdefs.h.  */
35508 #include <math.h>
35509 int
35510 main ()
35511 {
35512  powf(0, 0);
35513   ;
35514   return 0;
35515 }
35516 _ACEOF
35517 if ac_fn_cxx_try_compile "$LINENO"; then :
35518   glibcxx_cv_func_powf_use=yes
35519 else
35520   glibcxx_cv_func_powf_use=no
35521 fi
35522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35523       ac_ext=c
35524 ac_cpp='$CPP $CPPFLAGS'
35525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35528
35529
35530 fi
35531
35532   fi
35533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
35534 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
35535
35536   if test x$glibcxx_cv_func_powf_use = x"yes"; then
35537     for ac_func in powf
35538 do :
35539   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
35540 if test "x$ac_cv_func_powf" = x""yes; then :
35541   cat >>confdefs.h <<_ACEOF
35542 #define HAVE_POWF 1
35543 _ACEOF
35544
35545 fi
35546 done
35547
35548   else
35549
35550   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
35551 $as_echo_n "checking for _powf declaration... " >&6; }
35552   if test x${glibcxx_cv_func__powf_use+set} != xset; then
35553     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
35554   $as_echo_n "(cached) " >&6
35555 else
35556
35557
35558       ac_ext=cpp
35559 ac_cpp='$CXXCPP $CPPFLAGS'
35560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35563
35564       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35565 /* end confdefs.h.  */
35566 #include <math.h>
35567 int
35568 main ()
35569 {
35570  _powf(0, 0);
35571   ;
35572   return 0;
35573 }
35574 _ACEOF
35575 if ac_fn_cxx_try_compile "$LINENO"; then :
35576   glibcxx_cv_func__powf_use=yes
35577 else
35578   glibcxx_cv_func__powf_use=no
35579 fi
35580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35581       ac_ext=c
35582 ac_cpp='$CPP $CPPFLAGS'
35583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35586
35587
35588 fi
35589
35590   fi
35591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
35592 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
35593
35594     if test x$glibcxx_cv_func__powf_use = x"yes"; then
35595       for ac_func in _powf
35596 do :
35597   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
35598 if test "x$ac_cv_func__powf" = x""yes; then :
35599   cat >>confdefs.h <<_ACEOF
35600 #define HAVE__POWF 1
35601 _ACEOF
35602
35603 fi
35604 done
35605
35606     fi
35607   fi
35608
35609
35610
35611
35612
35613   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
35614 $as_echo_n "checking for sqrtf declaration... " >&6; }
35615   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
35616     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
35617   $as_echo_n "(cached) " >&6
35618 else
35619
35620
35621       ac_ext=cpp
35622 ac_cpp='$CXXCPP $CPPFLAGS'
35623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35626
35627       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35628 /* end confdefs.h.  */
35629 #include <math.h>
35630                       #ifdef HAVE_IEEEFP_H
35631                       #include <ieeefp.h>
35632                       #endif
35633
35634 int
35635 main ()
35636 {
35637  sqrtf(0);
35638   ;
35639   return 0;
35640 }
35641 _ACEOF
35642 if ac_fn_cxx_try_compile "$LINENO"; then :
35643   glibcxx_cv_func_sqrtf_use=yes
35644 else
35645   glibcxx_cv_func_sqrtf_use=no
35646 fi
35647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35648       ac_ext=c
35649 ac_cpp='$CPP $CPPFLAGS'
35650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35653
35654
35655 fi
35656
35657   fi
35658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
35659 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
35660
35661   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
35662     for ac_func in sqrtf
35663 do :
35664   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
35665 if test "x$ac_cv_func_sqrtf" = x""yes; then :
35666   cat >>confdefs.h <<_ACEOF
35667 #define HAVE_SQRTF 1
35668 _ACEOF
35669
35670 fi
35671 done
35672
35673   else
35674
35675   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
35676 $as_echo_n "checking for _sqrtf declaration... " >&6; }
35677   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
35678     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
35679   $as_echo_n "(cached) " >&6
35680 else
35681
35682
35683       ac_ext=cpp
35684 ac_cpp='$CXXCPP $CPPFLAGS'
35685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35688
35689       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35690 /* end confdefs.h.  */
35691 #include <math.h>
35692                       #ifdef HAVE_IEEEFP_H
35693                       #include <ieeefp.h>
35694                       #endif
35695
35696 int
35697 main ()
35698 {
35699  _sqrtf(0);
35700   ;
35701   return 0;
35702 }
35703 _ACEOF
35704 if ac_fn_cxx_try_compile "$LINENO"; then :
35705   glibcxx_cv_func__sqrtf_use=yes
35706 else
35707   glibcxx_cv_func__sqrtf_use=no
35708 fi
35709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35710       ac_ext=c
35711 ac_cpp='$CPP $CPPFLAGS'
35712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35715
35716
35717 fi
35718
35719   fi
35720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
35721 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
35722
35723     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
35724       for ac_func in _sqrtf
35725 do :
35726   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
35727 if test "x$ac_cv_func__sqrtf" = x""yes; then :
35728   cat >>confdefs.h <<_ACEOF
35729 #define HAVE__SQRTF 1
35730 _ACEOF
35731
35732 fi
35733 done
35734
35735     fi
35736   fi
35737
35738
35739
35740
35741
35742   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
35743 $as_echo_n "checking for sincosf declaration... " >&6; }
35744   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
35745     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
35746   $as_echo_n "(cached) " >&6
35747 else
35748
35749
35750       ac_ext=cpp
35751 ac_cpp='$CXXCPP $CPPFLAGS'
35752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35755
35756       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35757 /* end confdefs.h.  */
35758 #include <math.h>
35759 int
35760 main ()
35761 {
35762  sincosf(0, 0, 0);
35763   ;
35764   return 0;
35765 }
35766 _ACEOF
35767 if ac_fn_cxx_try_compile "$LINENO"; then :
35768   glibcxx_cv_func_sincosf_use=yes
35769 else
35770   glibcxx_cv_func_sincosf_use=no
35771 fi
35772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35773       ac_ext=c
35774 ac_cpp='$CPP $CPPFLAGS'
35775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35778
35779
35780 fi
35781
35782   fi
35783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
35784 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
35785
35786   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
35787     for ac_func in sincosf
35788 do :
35789   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
35790 if test "x$ac_cv_func_sincosf" = x""yes; then :
35791   cat >>confdefs.h <<_ACEOF
35792 #define HAVE_SINCOSF 1
35793 _ACEOF
35794
35795 fi
35796 done
35797
35798   else
35799
35800   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
35801 $as_echo_n "checking for _sincosf declaration... " >&6; }
35802   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
35803     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
35804   $as_echo_n "(cached) " >&6
35805 else
35806
35807
35808       ac_ext=cpp
35809 ac_cpp='$CXXCPP $CPPFLAGS'
35810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35813
35814       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35815 /* end confdefs.h.  */
35816 #include <math.h>
35817 int
35818 main ()
35819 {
35820  _sincosf(0, 0, 0);
35821   ;
35822   return 0;
35823 }
35824 _ACEOF
35825 if ac_fn_cxx_try_compile "$LINENO"; then :
35826   glibcxx_cv_func__sincosf_use=yes
35827 else
35828   glibcxx_cv_func__sincosf_use=no
35829 fi
35830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35831       ac_ext=c
35832 ac_cpp='$CPP $CPPFLAGS'
35833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35836
35837
35838 fi
35839
35840   fi
35841   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
35842 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
35843
35844     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
35845       for ac_func in _sincosf
35846 do :
35847   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
35848 if test "x$ac_cv_func__sincosf" = x""yes; then :
35849   cat >>confdefs.h <<_ACEOF
35850 #define HAVE__SINCOSF 1
35851 _ACEOF
35852
35853 fi
35854 done
35855
35856     fi
35857   fi
35858
35859
35860
35861
35862
35863   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
35864 $as_echo_n "checking for finitef declaration... " >&6; }
35865   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
35866     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
35867   $as_echo_n "(cached) " >&6
35868 else
35869
35870
35871       ac_ext=cpp
35872 ac_cpp='$CXXCPP $CPPFLAGS'
35873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35876
35877       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35878 /* end confdefs.h.  */
35879 #include <math.h>
35880                       #ifdef HAVE_IEEEFP_H
35881                       #include <ieeefp.h>
35882                       #endif
35883
35884 int
35885 main ()
35886 {
35887  finitef(0);
35888   ;
35889   return 0;
35890 }
35891 _ACEOF
35892 if ac_fn_cxx_try_compile "$LINENO"; then :
35893   glibcxx_cv_func_finitef_use=yes
35894 else
35895   glibcxx_cv_func_finitef_use=no
35896 fi
35897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35898       ac_ext=c
35899 ac_cpp='$CPP $CPPFLAGS'
35900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35903
35904
35905 fi
35906
35907   fi
35908   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
35909 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
35910
35911   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
35912     for ac_func in finitef
35913 do :
35914   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
35915 if test "x$ac_cv_func_finitef" = x""yes; then :
35916   cat >>confdefs.h <<_ACEOF
35917 #define HAVE_FINITEF 1
35918 _ACEOF
35919
35920 fi
35921 done
35922
35923   else
35924
35925   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
35926 $as_echo_n "checking for _finitef declaration... " >&6; }
35927   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
35928     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
35929   $as_echo_n "(cached) " >&6
35930 else
35931
35932
35933       ac_ext=cpp
35934 ac_cpp='$CXXCPP $CPPFLAGS'
35935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35938
35939       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35940 /* end confdefs.h.  */
35941 #include <math.h>
35942                       #ifdef HAVE_IEEEFP_H
35943                       #include <ieeefp.h>
35944                       #endif
35945
35946 int
35947 main ()
35948 {
35949  _finitef(0);
35950   ;
35951   return 0;
35952 }
35953 _ACEOF
35954 if ac_fn_cxx_try_compile "$LINENO"; then :
35955   glibcxx_cv_func__finitef_use=yes
35956 else
35957   glibcxx_cv_func__finitef_use=no
35958 fi
35959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35960       ac_ext=c
35961 ac_cpp='$CPP $CPPFLAGS'
35962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35965
35966
35967 fi
35968
35969   fi
35970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
35971 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
35972
35973     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
35974       for ac_func in _finitef
35975 do :
35976   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
35977 if test "x$ac_cv_func__finitef" = x""yes; then :
35978   cat >>confdefs.h <<_ACEOF
35979 #define HAVE__FINITEF 1
35980 _ACEOF
35981
35982 fi
35983 done
35984
35985     fi
35986   fi
35987
35988
35989
35990
35991
35992     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
35993 $as_echo_n "checking for long double trig functions... " >&6; }
35994   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
35995   $as_echo_n "(cached) " >&6
35996 else
35997
35998
35999     ac_ext=cpp
36000 ac_cpp='$CXXCPP $CPPFLAGS'
36001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36004
36005     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36006 /* end confdefs.h.  */
36007 #include <math.h>
36008 int
36009 main ()
36010 {
36011 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
36012   ;
36013   return 0;
36014 }
36015 _ACEOF
36016 if ac_fn_cxx_try_compile "$LINENO"; then :
36017   glibcxx_cv_func_long_double_trig_use=yes
36018 else
36019   glibcxx_cv_func_long_double_trig_use=no
36020 fi
36021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36022     ac_ext=c
36023 ac_cpp='$CPP $CPPFLAGS'
36024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36027
36028 fi
36029
36030   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
36031 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
36032   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
36033     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
36034 do :
36035   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36036 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36037 eval as_val=\$$as_ac_var
36038    if test "x$as_val" = x""yes; then :
36039   cat >>confdefs.h <<_ACEOF
36040 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36041 _ACEOF
36042
36043 fi
36044 done
36045
36046   else
36047     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
36048 $as_echo_n "checking for _long double trig functions... " >&6; }
36049     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
36050   $as_echo_n "(cached) " >&6
36051 else
36052
36053
36054       ac_ext=cpp
36055 ac_cpp='$CXXCPP $CPPFLAGS'
36056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36059
36060       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36061 /* end confdefs.h.  */
36062 #include <math.h>
36063 int
36064 main ()
36065 {
36066 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
36067   ;
36068   return 0;
36069 }
36070 _ACEOF
36071 if ac_fn_cxx_try_compile "$LINENO"; then :
36072   glibcxx_cv_func__long_double_trig_use=yes
36073 else
36074   glibcxx_cv_func__long_double_trig_use=no
36075 fi
36076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36077       ac_ext=c
36078 ac_cpp='$CPP $CPPFLAGS'
36079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36082
36083 fi
36084
36085     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
36086 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
36087     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
36088       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
36089 do :
36090   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36091 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36092 eval as_val=\$$as_ac_var
36093    if test "x$as_val" = x""yes; then :
36094   cat >>confdefs.h <<_ACEOF
36095 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36096 _ACEOF
36097
36098 fi
36099 done
36100
36101     fi
36102   fi
36103
36104
36105
36106
36107
36108     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
36109 $as_echo_n "checking for long double round functions... " >&6; }
36110   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
36111   $as_echo_n "(cached) " >&6
36112 else
36113
36114
36115     ac_ext=cpp
36116 ac_cpp='$CXXCPP $CPPFLAGS'
36117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36120
36121     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36122 /* end confdefs.h.  */
36123 #include <math.h>
36124 int
36125 main ()
36126 {
36127 ceill (0); floorl (0);
36128   ;
36129   return 0;
36130 }
36131 _ACEOF
36132 if ac_fn_cxx_try_compile "$LINENO"; then :
36133   glibcxx_cv_func_long_double_round_use=yes
36134 else
36135   glibcxx_cv_func_long_double_round_use=no
36136 fi
36137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36138     ac_ext=c
36139 ac_cpp='$CPP $CPPFLAGS'
36140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36143
36144 fi
36145
36146   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
36147 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
36148   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
36149     for ac_func in ceill floorl
36150 do :
36151   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36152 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36153 eval as_val=\$$as_ac_var
36154    if test "x$as_val" = x""yes; then :
36155   cat >>confdefs.h <<_ACEOF
36156 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36157 _ACEOF
36158
36159 fi
36160 done
36161
36162   else
36163     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
36164 $as_echo_n "checking for _long double round functions... " >&6; }
36165     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
36166   $as_echo_n "(cached) " >&6
36167 else
36168
36169
36170       ac_ext=cpp
36171 ac_cpp='$CXXCPP $CPPFLAGS'
36172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36175
36176       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36177 /* end confdefs.h.  */
36178 #include <math.h>
36179 int
36180 main ()
36181 {
36182 _ceill (0); _floorl (0);
36183   ;
36184   return 0;
36185 }
36186 _ACEOF
36187 if ac_fn_cxx_try_compile "$LINENO"; then :
36188   glibcxx_cv_func__long_double_round_use=yes
36189 else
36190   glibcxx_cv_func__long_double_round_use=no
36191 fi
36192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36193       ac_ext=c
36194 ac_cpp='$CPP $CPPFLAGS'
36195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36198
36199 fi
36200
36201     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
36202 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
36203     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
36204       for ac_func in _ceill _floorl
36205 do :
36206   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36207 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36208 eval as_val=\$$as_ac_var
36209    if test "x$as_val" = x""yes; then :
36210   cat >>confdefs.h <<_ACEOF
36211 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36212 _ACEOF
36213
36214 fi
36215 done
36216
36217     fi
36218   fi
36219
36220
36221
36222
36223
36224
36225   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
36226 $as_echo_n "checking for isnanl declaration... " >&6; }
36227   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
36228     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
36229   $as_echo_n "(cached) " >&6
36230 else
36231
36232
36233       ac_ext=cpp
36234 ac_cpp='$CXXCPP $CPPFLAGS'
36235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36238
36239       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36240 /* end confdefs.h.  */
36241 #include <math.h>
36242                       #ifdef HAVE_IEEEFP_H
36243                       #include <ieeefp.h>
36244                       #endif
36245
36246 int
36247 main ()
36248 {
36249  isnanl(0);
36250   ;
36251   return 0;
36252 }
36253 _ACEOF
36254 if ac_fn_cxx_try_compile "$LINENO"; then :
36255   glibcxx_cv_func_isnanl_use=yes
36256 else
36257   glibcxx_cv_func_isnanl_use=no
36258 fi
36259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36260       ac_ext=c
36261 ac_cpp='$CPP $CPPFLAGS'
36262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36265
36266
36267 fi
36268
36269   fi
36270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
36271 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
36272
36273   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36274     for ac_func in isnanl
36275 do :
36276   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
36277 if test "x$ac_cv_func_isnanl" = x""yes; then :
36278   cat >>confdefs.h <<_ACEOF
36279 #define HAVE_ISNANL 1
36280 _ACEOF
36281
36282 fi
36283 done
36284
36285   else
36286
36287   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
36288 $as_echo_n "checking for _isnanl declaration... " >&6; }
36289   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36290     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
36291   $as_echo_n "(cached) " >&6
36292 else
36293
36294
36295       ac_ext=cpp
36296 ac_cpp='$CXXCPP $CPPFLAGS'
36297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36300
36301       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36302 /* end confdefs.h.  */
36303 #include <math.h>
36304                       #ifdef HAVE_IEEEFP_H
36305                       #include <ieeefp.h>
36306                       #endif
36307
36308 int
36309 main ()
36310 {
36311  _isnanl(0);
36312   ;
36313   return 0;
36314 }
36315 _ACEOF
36316 if ac_fn_cxx_try_compile "$LINENO"; then :
36317   glibcxx_cv_func__isnanl_use=yes
36318 else
36319   glibcxx_cv_func__isnanl_use=no
36320 fi
36321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36322       ac_ext=c
36323 ac_cpp='$CPP $CPPFLAGS'
36324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36327
36328
36329 fi
36330
36331   fi
36332   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
36333 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
36334
36335     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36336       for ac_func in _isnanl
36337 do :
36338   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
36339 if test "x$ac_cv_func__isnanl" = x""yes; then :
36340   cat >>confdefs.h <<_ACEOF
36341 #define HAVE__ISNANL 1
36342 _ACEOF
36343
36344 fi
36345 done
36346
36347     fi
36348   fi
36349
36350
36351
36352
36353
36354   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
36355 $as_echo_n "checking for isinfl declaration... " >&6; }
36356   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
36357     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
36358   $as_echo_n "(cached) " >&6
36359 else
36360
36361
36362       ac_ext=cpp
36363 ac_cpp='$CXXCPP $CPPFLAGS'
36364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36367
36368       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36369 /* end confdefs.h.  */
36370 #include <math.h>
36371                       #ifdef HAVE_IEEEFP_H
36372                       #include <ieeefp.h>
36373                       #endif
36374
36375 int
36376 main ()
36377 {
36378  isinfl(0);
36379   ;
36380   return 0;
36381 }
36382 _ACEOF
36383 if ac_fn_cxx_try_compile "$LINENO"; then :
36384   glibcxx_cv_func_isinfl_use=yes
36385 else
36386   glibcxx_cv_func_isinfl_use=no
36387 fi
36388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36389       ac_ext=c
36390 ac_cpp='$CPP $CPPFLAGS'
36391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36394
36395
36396 fi
36397
36398   fi
36399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
36400 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
36401
36402   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
36403     for ac_func in isinfl
36404 do :
36405   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
36406 if test "x$ac_cv_func_isinfl" = x""yes; then :
36407   cat >>confdefs.h <<_ACEOF
36408 #define HAVE_ISINFL 1
36409 _ACEOF
36410
36411 fi
36412 done
36413
36414   else
36415
36416   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
36417 $as_echo_n "checking for _isinfl declaration... " >&6; }
36418   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
36419     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
36420   $as_echo_n "(cached) " >&6
36421 else
36422
36423
36424       ac_ext=cpp
36425 ac_cpp='$CXXCPP $CPPFLAGS'
36426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36429
36430       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36431 /* end confdefs.h.  */
36432 #include <math.h>
36433                       #ifdef HAVE_IEEEFP_H
36434                       #include <ieeefp.h>
36435                       #endif
36436
36437 int
36438 main ()
36439 {
36440  _isinfl(0);
36441   ;
36442   return 0;
36443 }
36444 _ACEOF
36445 if ac_fn_cxx_try_compile "$LINENO"; then :
36446   glibcxx_cv_func__isinfl_use=yes
36447 else
36448   glibcxx_cv_func__isinfl_use=no
36449 fi
36450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36451       ac_ext=c
36452 ac_cpp='$CPP $CPPFLAGS'
36453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36456
36457
36458 fi
36459
36460   fi
36461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
36462 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
36463
36464     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
36465       for ac_func in _isinfl
36466 do :
36467   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
36468 if test "x$ac_cv_func__isinfl" = x""yes; then :
36469   cat >>confdefs.h <<_ACEOF
36470 #define HAVE__ISINFL 1
36471 _ACEOF
36472
36473 fi
36474 done
36475
36476     fi
36477   fi
36478
36479
36480
36481
36482
36483   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
36484 $as_echo_n "checking for atan2l declaration... " >&6; }
36485   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
36486     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
36487   $as_echo_n "(cached) " >&6
36488 else
36489
36490
36491       ac_ext=cpp
36492 ac_cpp='$CXXCPP $CPPFLAGS'
36493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36496
36497       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36498 /* end confdefs.h.  */
36499 #include <math.h>
36500 int
36501 main ()
36502 {
36503  atan2l(0, 0);
36504   ;
36505   return 0;
36506 }
36507 _ACEOF
36508 if ac_fn_cxx_try_compile "$LINENO"; then :
36509   glibcxx_cv_func_atan2l_use=yes
36510 else
36511   glibcxx_cv_func_atan2l_use=no
36512 fi
36513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36514       ac_ext=c
36515 ac_cpp='$CPP $CPPFLAGS'
36516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36519
36520
36521 fi
36522
36523   fi
36524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
36525 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
36526
36527   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
36528     for ac_func in atan2l
36529 do :
36530   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
36531 if test "x$ac_cv_func_atan2l" = x""yes; then :
36532   cat >>confdefs.h <<_ACEOF
36533 #define HAVE_ATAN2L 1
36534 _ACEOF
36535
36536 fi
36537 done
36538
36539   else
36540
36541   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
36542 $as_echo_n "checking for _atan2l declaration... " >&6; }
36543   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
36544     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
36545   $as_echo_n "(cached) " >&6
36546 else
36547
36548
36549       ac_ext=cpp
36550 ac_cpp='$CXXCPP $CPPFLAGS'
36551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36554
36555       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36556 /* end confdefs.h.  */
36557 #include <math.h>
36558 int
36559 main ()
36560 {
36561  _atan2l(0, 0);
36562   ;
36563   return 0;
36564 }
36565 _ACEOF
36566 if ac_fn_cxx_try_compile "$LINENO"; then :
36567   glibcxx_cv_func__atan2l_use=yes
36568 else
36569   glibcxx_cv_func__atan2l_use=no
36570 fi
36571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36572       ac_ext=c
36573 ac_cpp='$CPP $CPPFLAGS'
36574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36577
36578
36579 fi
36580
36581   fi
36582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
36583 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
36584
36585     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
36586       for ac_func in _atan2l
36587 do :
36588   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
36589 if test "x$ac_cv_func__atan2l" = x""yes; then :
36590   cat >>confdefs.h <<_ACEOF
36591 #define HAVE__ATAN2L 1
36592 _ACEOF
36593
36594 fi
36595 done
36596
36597     fi
36598   fi
36599
36600
36601
36602
36603
36604   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
36605 $as_echo_n "checking for expl declaration... " >&6; }
36606   if test x${glibcxx_cv_func_expl_use+set} != xset; then
36607     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
36608   $as_echo_n "(cached) " >&6
36609 else
36610
36611
36612       ac_ext=cpp
36613 ac_cpp='$CXXCPP $CPPFLAGS'
36614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36617
36618       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36619 /* end confdefs.h.  */
36620 #include <math.h>
36621                       #ifdef HAVE_IEEEFP_H
36622                       #include <ieeefp.h>
36623                       #endif
36624
36625 int
36626 main ()
36627 {
36628  expl(0);
36629   ;
36630   return 0;
36631 }
36632 _ACEOF
36633 if ac_fn_cxx_try_compile "$LINENO"; then :
36634   glibcxx_cv_func_expl_use=yes
36635 else
36636   glibcxx_cv_func_expl_use=no
36637 fi
36638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36639       ac_ext=c
36640 ac_cpp='$CPP $CPPFLAGS'
36641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36644
36645
36646 fi
36647
36648   fi
36649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
36650 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
36651
36652   if test x$glibcxx_cv_func_expl_use = x"yes"; then
36653     for ac_func in expl
36654 do :
36655   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
36656 if test "x$ac_cv_func_expl" = x""yes; then :
36657   cat >>confdefs.h <<_ACEOF
36658 #define HAVE_EXPL 1
36659 _ACEOF
36660
36661 fi
36662 done
36663
36664   else
36665
36666   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
36667 $as_echo_n "checking for _expl declaration... " >&6; }
36668   if test x${glibcxx_cv_func__expl_use+set} != xset; then
36669     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
36670   $as_echo_n "(cached) " >&6
36671 else
36672
36673
36674       ac_ext=cpp
36675 ac_cpp='$CXXCPP $CPPFLAGS'
36676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36679
36680       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36681 /* end confdefs.h.  */
36682 #include <math.h>
36683                       #ifdef HAVE_IEEEFP_H
36684                       #include <ieeefp.h>
36685                       #endif
36686
36687 int
36688 main ()
36689 {
36690  _expl(0);
36691   ;
36692   return 0;
36693 }
36694 _ACEOF
36695 if ac_fn_cxx_try_compile "$LINENO"; then :
36696   glibcxx_cv_func__expl_use=yes
36697 else
36698   glibcxx_cv_func__expl_use=no
36699 fi
36700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36701       ac_ext=c
36702 ac_cpp='$CPP $CPPFLAGS'
36703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36706
36707
36708 fi
36709
36710   fi
36711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
36712 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
36713
36714     if test x$glibcxx_cv_func__expl_use = x"yes"; then
36715       for ac_func in _expl
36716 do :
36717   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
36718 if test "x$ac_cv_func__expl" = x""yes; then :
36719   cat >>confdefs.h <<_ACEOF
36720 #define HAVE__EXPL 1
36721 _ACEOF
36722
36723 fi
36724 done
36725
36726     fi
36727   fi
36728
36729
36730
36731
36732
36733   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
36734 $as_echo_n "checking for fabsl declaration... " >&6; }
36735   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
36736     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
36737   $as_echo_n "(cached) " >&6
36738 else
36739
36740
36741       ac_ext=cpp
36742 ac_cpp='$CXXCPP $CPPFLAGS'
36743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36746
36747       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36748 /* end confdefs.h.  */
36749 #include <math.h>
36750                       #ifdef HAVE_IEEEFP_H
36751                       #include <ieeefp.h>
36752                       #endif
36753
36754 int
36755 main ()
36756 {
36757  fabsl(0);
36758   ;
36759   return 0;
36760 }
36761 _ACEOF
36762 if ac_fn_cxx_try_compile "$LINENO"; then :
36763   glibcxx_cv_func_fabsl_use=yes
36764 else
36765   glibcxx_cv_func_fabsl_use=no
36766 fi
36767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36768       ac_ext=c
36769 ac_cpp='$CPP $CPPFLAGS'
36770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36773
36774
36775 fi
36776
36777   fi
36778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
36779 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
36780
36781   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
36782     for ac_func in fabsl
36783 do :
36784   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
36785 if test "x$ac_cv_func_fabsl" = x""yes; then :
36786   cat >>confdefs.h <<_ACEOF
36787 #define HAVE_FABSL 1
36788 _ACEOF
36789
36790 fi
36791 done
36792
36793   else
36794
36795   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
36796 $as_echo_n "checking for _fabsl declaration... " >&6; }
36797   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
36798     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
36799   $as_echo_n "(cached) " >&6
36800 else
36801
36802
36803       ac_ext=cpp
36804 ac_cpp='$CXXCPP $CPPFLAGS'
36805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36808
36809       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36810 /* end confdefs.h.  */
36811 #include <math.h>
36812                       #ifdef HAVE_IEEEFP_H
36813                       #include <ieeefp.h>
36814                       #endif
36815
36816 int
36817 main ()
36818 {
36819  _fabsl(0);
36820   ;
36821   return 0;
36822 }
36823 _ACEOF
36824 if ac_fn_cxx_try_compile "$LINENO"; then :
36825   glibcxx_cv_func__fabsl_use=yes
36826 else
36827   glibcxx_cv_func__fabsl_use=no
36828 fi
36829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36830       ac_ext=c
36831 ac_cpp='$CPP $CPPFLAGS'
36832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36835
36836
36837 fi
36838
36839   fi
36840   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
36841 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
36842
36843     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
36844       for ac_func in _fabsl
36845 do :
36846   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
36847 if test "x$ac_cv_func__fabsl" = x""yes; then :
36848   cat >>confdefs.h <<_ACEOF
36849 #define HAVE__FABSL 1
36850 _ACEOF
36851
36852 fi
36853 done
36854
36855     fi
36856   fi
36857
36858
36859
36860
36861
36862   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
36863 $as_echo_n "checking for fmodl declaration... " >&6; }
36864   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
36865     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
36866   $as_echo_n "(cached) " >&6
36867 else
36868
36869
36870       ac_ext=cpp
36871 ac_cpp='$CXXCPP $CPPFLAGS'
36872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36875
36876       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36877 /* end confdefs.h.  */
36878 #include <math.h>
36879 int
36880 main ()
36881 {
36882  fmodl(0, 0);
36883   ;
36884   return 0;
36885 }
36886 _ACEOF
36887 if ac_fn_cxx_try_compile "$LINENO"; then :
36888   glibcxx_cv_func_fmodl_use=yes
36889 else
36890   glibcxx_cv_func_fmodl_use=no
36891 fi
36892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36893       ac_ext=c
36894 ac_cpp='$CPP $CPPFLAGS'
36895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36898
36899
36900 fi
36901
36902   fi
36903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
36904 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
36905
36906   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
36907     for ac_func in fmodl
36908 do :
36909   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
36910 if test "x$ac_cv_func_fmodl" = x""yes; then :
36911   cat >>confdefs.h <<_ACEOF
36912 #define HAVE_FMODL 1
36913 _ACEOF
36914
36915 fi
36916 done
36917
36918   else
36919
36920   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
36921 $as_echo_n "checking for _fmodl declaration... " >&6; }
36922   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
36923     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
36924   $as_echo_n "(cached) " >&6
36925 else
36926
36927
36928       ac_ext=cpp
36929 ac_cpp='$CXXCPP $CPPFLAGS'
36930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36933
36934       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36935 /* end confdefs.h.  */
36936 #include <math.h>
36937 int
36938 main ()
36939 {
36940  _fmodl(0, 0);
36941   ;
36942   return 0;
36943 }
36944 _ACEOF
36945 if ac_fn_cxx_try_compile "$LINENO"; then :
36946   glibcxx_cv_func__fmodl_use=yes
36947 else
36948   glibcxx_cv_func__fmodl_use=no
36949 fi
36950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36951       ac_ext=c
36952 ac_cpp='$CPP $CPPFLAGS'
36953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36956
36957
36958 fi
36959
36960   fi
36961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
36962 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
36963
36964     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
36965       for ac_func in _fmodl
36966 do :
36967   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
36968 if test "x$ac_cv_func__fmodl" = x""yes; then :
36969   cat >>confdefs.h <<_ACEOF
36970 #define HAVE__FMODL 1
36971 _ACEOF
36972
36973 fi
36974 done
36975
36976     fi
36977   fi
36978
36979
36980
36981
36982
36983   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
36984 $as_echo_n "checking for frexpl declaration... " >&6; }
36985   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
36986     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
36987   $as_echo_n "(cached) " >&6
36988 else
36989
36990
36991       ac_ext=cpp
36992 ac_cpp='$CXXCPP $CPPFLAGS'
36993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36996
36997       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36998 /* end confdefs.h.  */
36999 #include <math.h>
37000 int
37001 main ()
37002 {
37003  frexpl(0, 0);
37004   ;
37005   return 0;
37006 }
37007 _ACEOF
37008 if ac_fn_cxx_try_compile "$LINENO"; then :
37009   glibcxx_cv_func_frexpl_use=yes
37010 else
37011   glibcxx_cv_func_frexpl_use=no
37012 fi
37013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37014       ac_ext=c
37015 ac_cpp='$CPP $CPPFLAGS'
37016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37019
37020
37021 fi
37022
37023   fi
37024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
37025 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
37026
37027   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
37028     for ac_func in frexpl
37029 do :
37030   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
37031 if test "x$ac_cv_func_frexpl" = x""yes; then :
37032   cat >>confdefs.h <<_ACEOF
37033 #define HAVE_FREXPL 1
37034 _ACEOF
37035
37036 fi
37037 done
37038
37039   else
37040
37041   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
37042 $as_echo_n "checking for _frexpl declaration... " >&6; }
37043   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
37044     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
37045   $as_echo_n "(cached) " >&6
37046 else
37047
37048
37049       ac_ext=cpp
37050 ac_cpp='$CXXCPP $CPPFLAGS'
37051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37054
37055       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37056 /* end confdefs.h.  */
37057 #include <math.h>
37058 int
37059 main ()
37060 {
37061  _frexpl(0, 0);
37062   ;
37063   return 0;
37064 }
37065 _ACEOF
37066 if ac_fn_cxx_try_compile "$LINENO"; then :
37067   glibcxx_cv_func__frexpl_use=yes
37068 else
37069   glibcxx_cv_func__frexpl_use=no
37070 fi
37071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37072       ac_ext=c
37073 ac_cpp='$CPP $CPPFLAGS'
37074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37077
37078
37079 fi
37080
37081   fi
37082   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
37083 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
37084
37085     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
37086       for ac_func in _frexpl
37087 do :
37088   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
37089 if test "x$ac_cv_func__frexpl" = x""yes; then :
37090   cat >>confdefs.h <<_ACEOF
37091 #define HAVE__FREXPL 1
37092 _ACEOF
37093
37094 fi
37095 done
37096
37097     fi
37098   fi
37099
37100
37101
37102
37103
37104   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
37105 $as_echo_n "checking for hypotl declaration... " >&6; }
37106   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
37107     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
37108   $as_echo_n "(cached) " >&6
37109 else
37110
37111
37112       ac_ext=cpp
37113 ac_cpp='$CXXCPP $CPPFLAGS'
37114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37117
37118       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37119 /* end confdefs.h.  */
37120 #include <math.h>
37121 int
37122 main ()
37123 {
37124  hypotl(0, 0);
37125   ;
37126   return 0;
37127 }
37128 _ACEOF
37129 if ac_fn_cxx_try_compile "$LINENO"; then :
37130   glibcxx_cv_func_hypotl_use=yes
37131 else
37132   glibcxx_cv_func_hypotl_use=no
37133 fi
37134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37135       ac_ext=c
37136 ac_cpp='$CPP $CPPFLAGS'
37137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37140
37141
37142 fi
37143
37144   fi
37145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
37146 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
37147
37148   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
37149     for ac_func in hypotl
37150 do :
37151   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
37152 if test "x$ac_cv_func_hypotl" = x""yes; then :
37153   cat >>confdefs.h <<_ACEOF
37154 #define HAVE_HYPOTL 1
37155 _ACEOF
37156
37157 fi
37158 done
37159
37160   else
37161
37162   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
37163 $as_echo_n "checking for _hypotl declaration... " >&6; }
37164   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
37165     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
37166   $as_echo_n "(cached) " >&6
37167 else
37168
37169
37170       ac_ext=cpp
37171 ac_cpp='$CXXCPP $CPPFLAGS'
37172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37175
37176       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37177 /* end confdefs.h.  */
37178 #include <math.h>
37179 int
37180 main ()
37181 {
37182  _hypotl(0, 0);
37183   ;
37184   return 0;
37185 }
37186 _ACEOF
37187 if ac_fn_cxx_try_compile "$LINENO"; then :
37188   glibcxx_cv_func__hypotl_use=yes
37189 else
37190   glibcxx_cv_func__hypotl_use=no
37191 fi
37192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37193       ac_ext=c
37194 ac_cpp='$CPP $CPPFLAGS'
37195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37198
37199
37200 fi
37201
37202   fi
37203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
37204 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
37205
37206     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
37207       for ac_func in _hypotl
37208 do :
37209   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
37210 if test "x$ac_cv_func__hypotl" = x""yes; then :
37211   cat >>confdefs.h <<_ACEOF
37212 #define HAVE__HYPOTL 1
37213 _ACEOF
37214
37215 fi
37216 done
37217
37218     fi
37219   fi
37220
37221
37222
37223
37224
37225   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
37226 $as_echo_n "checking for ldexpl declaration... " >&6; }
37227   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
37228     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
37229   $as_echo_n "(cached) " >&6
37230 else
37231
37232
37233       ac_ext=cpp
37234 ac_cpp='$CXXCPP $CPPFLAGS'
37235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37238
37239       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37240 /* end confdefs.h.  */
37241 #include <math.h>
37242 int
37243 main ()
37244 {
37245  ldexpl(0, 0);
37246   ;
37247   return 0;
37248 }
37249 _ACEOF
37250 if ac_fn_cxx_try_compile "$LINENO"; then :
37251   glibcxx_cv_func_ldexpl_use=yes
37252 else
37253   glibcxx_cv_func_ldexpl_use=no
37254 fi
37255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37256       ac_ext=c
37257 ac_cpp='$CPP $CPPFLAGS'
37258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37261
37262
37263 fi
37264
37265   fi
37266   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
37267 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
37268
37269   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37270     for ac_func in ldexpl
37271 do :
37272   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
37273 if test "x$ac_cv_func_ldexpl" = x""yes; then :
37274   cat >>confdefs.h <<_ACEOF
37275 #define HAVE_LDEXPL 1
37276 _ACEOF
37277
37278 fi
37279 done
37280
37281   else
37282
37283   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
37284 $as_echo_n "checking for _ldexpl declaration... " >&6; }
37285   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37286     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
37287   $as_echo_n "(cached) " >&6
37288 else
37289
37290
37291       ac_ext=cpp
37292 ac_cpp='$CXXCPP $CPPFLAGS'
37293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37296
37297       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37298 /* end confdefs.h.  */
37299 #include <math.h>
37300 int
37301 main ()
37302 {
37303  _ldexpl(0, 0);
37304   ;
37305   return 0;
37306 }
37307 _ACEOF
37308 if ac_fn_cxx_try_compile "$LINENO"; then :
37309   glibcxx_cv_func__ldexpl_use=yes
37310 else
37311   glibcxx_cv_func__ldexpl_use=no
37312 fi
37313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37314       ac_ext=c
37315 ac_cpp='$CPP $CPPFLAGS'
37316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37319
37320
37321 fi
37322
37323   fi
37324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
37325 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
37326
37327     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37328       for ac_func in _ldexpl
37329 do :
37330   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
37331 if test "x$ac_cv_func__ldexpl" = x""yes; then :
37332   cat >>confdefs.h <<_ACEOF
37333 #define HAVE__LDEXPL 1
37334 _ACEOF
37335
37336 fi
37337 done
37338
37339     fi
37340   fi
37341
37342
37343
37344
37345
37346   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
37347 $as_echo_n "checking for logl declaration... " >&6; }
37348   if test x${glibcxx_cv_func_logl_use+set} != xset; then
37349     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
37350   $as_echo_n "(cached) " >&6
37351 else
37352
37353
37354       ac_ext=cpp
37355 ac_cpp='$CXXCPP $CPPFLAGS'
37356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37359
37360       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37361 /* end confdefs.h.  */
37362 #include <math.h>
37363                       #ifdef HAVE_IEEEFP_H
37364                       #include <ieeefp.h>
37365                       #endif
37366
37367 int
37368 main ()
37369 {
37370  logl(0);
37371   ;
37372   return 0;
37373 }
37374 _ACEOF
37375 if ac_fn_cxx_try_compile "$LINENO"; then :
37376   glibcxx_cv_func_logl_use=yes
37377 else
37378   glibcxx_cv_func_logl_use=no
37379 fi
37380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37381       ac_ext=c
37382 ac_cpp='$CPP $CPPFLAGS'
37383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37386
37387
37388 fi
37389
37390   fi
37391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
37392 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
37393
37394   if test x$glibcxx_cv_func_logl_use = x"yes"; then
37395     for ac_func in logl
37396 do :
37397   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
37398 if test "x$ac_cv_func_logl" = x""yes; then :
37399   cat >>confdefs.h <<_ACEOF
37400 #define HAVE_LOGL 1
37401 _ACEOF
37402
37403 fi
37404 done
37405
37406   else
37407
37408   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
37409 $as_echo_n "checking for _logl declaration... " >&6; }
37410   if test x${glibcxx_cv_func__logl_use+set} != xset; then
37411     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
37412   $as_echo_n "(cached) " >&6
37413 else
37414
37415
37416       ac_ext=cpp
37417 ac_cpp='$CXXCPP $CPPFLAGS'
37418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37421
37422       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37423 /* end confdefs.h.  */
37424 #include <math.h>
37425                       #ifdef HAVE_IEEEFP_H
37426                       #include <ieeefp.h>
37427                       #endif
37428
37429 int
37430 main ()
37431 {
37432  _logl(0);
37433   ;
37434   return 0;
37435 }
37436 _ACEOF
37437 if ac_fn_cxx_try_compile "$LINENO"; then :
37438   glibcxx_cv_func__logl_use=yes
37439 else
37440   glibcxx_cv_func__logl_use=no
37441 fi
37442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37443       ac_ext=c
37444 ac_cpp='$CPP $CPPFLAGS'
37445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37448
37449
37450 fi
37451
37452   fi
37453   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
37454 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
37455
37456     if test x$glibcxx_cv_func__logl_use = x"yes"; then
37457       for ac_func in _logl
37458 do :
37459   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
37460 if test "x$ac_cv_func__logl" = x""yes; then :
37461   cat >>confdefs.h <<_ACEOF
37462 #define HAVE__LOGL 1
37463 _ACEOF
37464
37465 fi
37466 done
37467
37468     fi
37469   fi
37470
37471
37472
37473
37474
37475   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
37476 $as_echo_n "checking for log10l declaration... " >&6; }
37477   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
37478     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
37479   $as_echo_n "(cached) " >&6
37480 else
37481
37482
37483       ac_ext=cpp
37484 ac_cpp='$CXXCPP $CPPFLAGS'
37485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37488
37489       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37490 /* end confdefs.h.  */
37491 #include <math.h>
37492                       #ifdef HAVE_IEEEFP_H
37493                       #include <ieeefp.h>
37494                       #endif
37495
37496 int
37497 main ()
37498 {
37499  log10l(0);
37500   ;
37501   return 0;
37502 }
37503 _ACEOF
37504 if ac_fn_cxx_try_compile "$LINENO"; then :
37505   glibcxx_cv_func_log10l_use=yes
37506 else
37507   glibcxx_cv_func_log10l_use=no
37508 fi
37509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37510       ac_ext=c
37511 ac_cpp='$CPP $CPPFLAGS'
37512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37515
37516
37517 fi
37518
37519   fi
37520   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
37521 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
37522
37523   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
37524     for ac_func in log10l
37525 do :
37526   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
37527 if test "x$ac_cv_func_log10l" = x""yes; then :
37528   cat >>confdefs.h <<_ACEOF
37529 #define HAVE_LOG10L 1
37530 _ACEOF
37531
37532 fi
37533 done
37534
37535   else
37536
37537   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
37538 $as_echo_n "checking for _log10l declaration... " >&6; }
37539   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
37540     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
37541   $as_echo_n "(cached) " >&6
37542 else
37543
37544
37545       ac_ext=cpp
37546 ac_cpp='$CXXCPP $CPPFLAGS'
37547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37550
37551       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37552 /* end confdefs.h.  */
37553 #include <math.h>
37554                       #ifdef HAVE_IEEEFP_H
37555                       #include <ieeefp.h>
37556                       #endif
37557
37558 int
37559 main ()
37560 {
37561  _log10l(0);
37562   ;
37563   return 0;
37564 }
37565 _ACEOF
37566 if ac_fn_cxx_try_compile "$LINENO"; then :
37567   glibcxx_cv_func__log10l_use=yes
37568 else
37569   glibcxx_cv_func__log10l_use=no
37570 fi
37571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37572       ac_ext=c
37573 ac_cpp='$CPP $CPPFLAGS'
37574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37577
37578
37579 fi
37580
37581   fi
37582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
37583 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
37584
37585     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
37586       for ac_func in _log10l
37587 do :
37588   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
37589 if test "x$ac_cv_func__log10l" = x""yes; then :
37590   cat >>confdefs.h <<_ACEOF
37591 #define HAVE__LOG10L 1
37592 _ACEOF
37593
37594 fi
37595 done
37596
37597     fi
37598   fi
37599
37600
37601
37602
37603
37604   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
37605 $as_echo_n "checking for modfl declaration... " >&6; }
37606   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
37607     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
37608   $as_echo_n "(cached) " >&6
37609 else
37610
37611
37612       ac_ext=cpp
37613 ac_cpp='$CXXCPP $CPPFLAGS'
37614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37617
37618       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37619 /* end confdefs.h.  */
37620 #include <math.h>
37621 int
37622 main ()
37623 {
37624  modfl(0, 0);
37625   ;
37626   return 0;
37627 }
37628 _ACEOF
37629 if ac_fn_cxx_try_compile "$LINENO"; then :
37630   glibcxx_cv_func_modfl_use=yes
37631 else
37632   glibcxx_cv_func_modfl_use=no
37633 fi
37634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37635       ac_ext=c
37636 ac_cpp='$CPP $CPPFLAGS'
37637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37640
37641
37642 fi
37643
37644   fi
37645   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
37646 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
37647
37648   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
37649     for ac_func in modfl
37650 do :
37651   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
37652 if test "x$ac_cv_func_modfl" = x""yes; then :
37653   cat >>confdefs.h <<_ACEOF
37654 #define HAVE_MODFL 1
37655 _ACEOF
37656
37657 fi
37658 done
37659
37660   else
37661
37662   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
37663 $as_echo_n "checking for _modfl declaration... " >&6; }
37664   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
37665     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
37666   $as_echo_n "(cached) " >&6
37667 else
37668
37669
37670       ac_ext=cpp
37671 ac_cpp='$CXXCPP $CPPFLAGS'
37672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37675
37676       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37677 /* end confdefs.h.  */
37678 #include <math.h>
37679 int
37680 main ()
37681 {
37682  _modfl(0, 0);
37683   ;
37684   return 0;
37685 }
37686 _ACEOF
37687 if ac_fn_cxx_try_compile "$LINENO"; then :
37688   glibcxx_cv_func__modfl_use=yes
37689 else
37690   glibcxx_cv_func__modfl_use=no
37691 fi
37692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37693       ac_ext=c
37694 ac_cpp='$CPP $CPPFLAGS'
37695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37698
37699
37700 fi
37701
37702   fi
37703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
37704 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
37705
37706     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
37707       for ac_func in _modfl
37708 do :
37709   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
37710 if test "x$ac_cv_func__modfl" = x""yes; then :
37711   cat >>confdefs.h <<_ACEOF
37712 #define HAVE__MODFL 1
37713 _ACEOF
37714
37715 fi
37716 done
37717
37718     fi
37719   fi
37720
37721
37722
37723
37724
37725   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
37726 $as_echo_n "checking for powl declaration... " >&6; }
37727   if test x${glibcxx_cv_func_powl_use+set} != xset; then
37728     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
37729   $as_echo_n "(cached) " >&6
37730 else
37731
37732
37733       ac_ext=cpp
37734 ac_cpp='$CXXCPP $CPPFLAGS'
37735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37738
37739       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37740 /* end confdefs.h.  */
37741 #include <math.h>
37742 int
37743 main ()
37744 {
37745  powl(0, 0);
37746   ;
37747   return 0;
37748 }
37749 _ACEOF
37750 if ac_fn_cxx_try_compile "$LINENO"; then :
37751   glibcxx_cv_func_powl_use=yes
37752 else
37753   glibcxx_cv_func_powl_use=no
37754 fi
37755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37756       ac_ext=c
37757 ac_cpp='$CPP $CPPFLAGS'
37758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37761
37762
37763 fi
37764
37765   fi
37766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
37767 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
37768
37769   if test x$glibcxx_cv_func_powl_use = x"yes"; then
37770     for ac_func in powl
37771 do :
37772   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
37773 if test "x$ac_cv_func_powl" = x""yes; then :
37774   cat >>confdefs.h <<_ACEOF
37775 #define HAVE_POWL 1
37776 _ACEOF
37777
37778 fi
37779 done
37780
37781   else
37782
37783   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
37784 $as_echo_n "checking for _powl declaration... " >&6; }
37785   if test x${glibcxx_cv_func__powl_use+set} != xset; then
37786     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
37787   $as_echo_n "(cached) " >&6
37788 else
37789
37790
37791       ac_ext=cpp
37792 ac_cpp='$CXXCPP $CPPFLAGS'
37793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37796
37797       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37798 /* end confdefs.h.  */
37799 #include <math.h>
37800 int
37801 main ()
37802 {
37803  _powl(0, 0);
37804   ;
37805   return 0;
37806 }
37807 _ACEOF
37808 if ac_fn_cxx_try_compile "$LINENO"; then :
37809   glibcxx_cv_func__powl_use=yes
37810 else
37811   glibcxx_cv_func__powl_use=no
37812 fi
37813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37814       ac_ext=c
37815 ac_cpp='$CPP $CPPFLAGS'
37816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37819
37820
37821 fi
37822
37823   fi
37824   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
37825 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
37826
37827     if test x$glibcxx_cv_func__powl_use = x"yes"; then
37828       for ac_func in _powl
37829 do :
37830   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
37831 if test "x$ac_cv_func__powl" = x""yes; then :
37832   cat >>confdefs.h <<_ACEOF
37833 #define HAVE__POWL 1
37834 _ACEOF
37835
37836 fi
37837 done
37838
37839     fi
37840   fi
37841
37842
37843
37844
37845
37846   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
37847 $as_echo_n "checking for sqrtl declaration... " >&6; }
37848   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
37849     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
37850   $as_echo_n "(cached) " >&6
37851 else
37852
37853
37854       ac_ext=cpp
37855 ac_cpp='$CXXCPP $CPPFLAGS'
37856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37859
37860       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37861 /* end confdefs.h.  */
37862 #include <math.h>
37863                       #ifdef HAVE_IEEEFP_H
37864                       #include <ieeefp.h>
37865                       #endif
37866
37867 int
37868 main ()
37869 {
37870  sqrtl(0);
37871   ;
37872   return 0;
37873 }
37874 _ACEOF
37875 if ac_fn_cxx_try_compile "$LINENO"; then :
37876   glibcxx_cv_func_sqrtl_use=yes
37877 else
37878   glibcxx_cv_func_sqrtl_use=no
37879 fi
37880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37881       ac_ext=c
37882 ac_cpp='$CPP $CPPFLAGS'
37883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37886
37887
37888 fi
37889
37890   fi
37891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
37892 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
37893
37894   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
37895     for ac_func in sqrtl
37896 do :
37897   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
37898 if test "x$ac_cv_func_sqrtl" = x""yes; then :
37899   cat >>confdefs.h <<_ACEOF
37900 #define HAVE_SQRTL 1
37901 _ACEOF
37902
37903 fi
37904 done
37905
37906   else
37907
37908   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
37909 $as_echo_n "checking for _sqrtl declaration... " >&6; }
37910   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
37911     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
37912   $as_echo_n "(cached) " >&6
37913 else
37914
37915
37916       ac_ext=cpp
37917 ac_cpp='$CXXCPP $CPPFLAGS'
37918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37921
37922       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37923 /* end confdefs.h.  */
37924 #include <math.h>
37925                       #ifdef HAVE_IEEEFP_H
37926                       #include <ieeefp.h>
37927                       #endif
37928
37929 int
37930 main ()
37931 {
37932  _sqrtl(0);
37933   ;
37934   return 0;
37935 }
37936 _ACEOF
37937 if ac_fn_cxx_try_compile "$LINENO"; then :
37938   glibcxx_cv_func__sqrtl_use=yes
37939 else
37940   glibcxx_cv_func__sqrtl_use=no
37941 fi
37942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37943       ac_ext=c
37944 ac_cpp='$CPP $CPPFLAGS'
37945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37948
37949
37950 fi
37951
37952   fi
37953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
37954 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
37955
37956     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
37957       for ac_func in _sqrtl
37958 do :
37959   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
37960 if test "x$ac_cv_func__sqrtl" = x""yes; then :
37961   cat >>confdefs.h <<_ACEOF
37962 #define HAVE__SQRTL 1
37963 _ACEOF
37964
37965 fi
37966 done
37967
37968     fi
37969   fi
37970
37971
37972
37973
37974
37975   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
37976 $as_echo_n "checking for sincosl declaration... " >&6; }
37977   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
37978     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
37979   $as_echo_n "(cached) " >&6
37980 else
37981
37982
37983       ac_ext=cpp
37984 ac_cpp='$CXXCPP $CPPFLAGS'
37985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37988
37989       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37990 /* end confdefs.h.  */
37991 #include <math.h>
37992 int
37993 main ()
37994 {
37995  sincosl(0, 0, 0);
37996   ;
37997   return 0;
37998 }
37999 _ACEOF
38000 if ac_fn_cxx_try_compile "$LINENO"; then :
38001   glibcxx_cv_func_sincosl_use=yes
38002 else
38003   glibcxx_cv_func_sincosl_use=no
38004 fi
38005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38006       ac_ext=c
38007 ac_cpp='$CPP $CPPFLAGS'
38008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38011
38012
38013 fi
38014
38015   fi
38016   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
38017 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
38018
38019   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
38020     for ac_func in sincosl
38021 do :
38022   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
38023 if test "x$ac_cv_func_sincosl" = x""yes; then :
38024   cat >>confdefs.h <<_ACEOF
38025 #define HAVE_SINCOSL 1
38026 _ACEOF
38027
38028 fi
38029 done
38030
38031   else
38032
38033   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
38034 $as_echo_n "checking for _sincosl declaration... " >&6; }
38035   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
38036     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
38037   $as_echo_n "(cached) " >&6
38038 else
38039
38040
38041       ac_ext=cpp
38042 ac_cpp='$CXXCPP $CPPFLAGS'
38043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38046
38047       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38048 /* end confdefs.h.  */
38049 #include <math.h>
38050 int
38051 main ()
38052 {
38053  _sincosl(0, 0, 0);
38054   ;
38055   return 0;
38056 }
38057 _ACEOF
38058 if ac_fn_cxx_try_compile "$LINENO"; then :
38059   glibcxx_cv_func__sincosl_use=yes
38060 else
38061   glibcxx_cv_func__sincosl_use=no
38062 fi
38063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38064       ac_ext=c
38065 ac_cpp='$CPP $CPPFLAGS'
38066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38069
38070
38071 fi
38072
38073   fi
38074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
38075 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
38076
38077     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
38078       for ac_func in _sincosl
38079 do :
38080   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
38081 if test "x$ac_cv_func__sincosl" = x""yes; then :
38082   cat >>confdefs.h <<_ACEOF
38083 #define HAVE__SINCOSL 1
38084 _ACEOF
38085
38086 fi
38087 done
38088
38089     fi
38090   fi
38091
38092
38093
38094
38095
38096   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
38097 $as_echo_n "checking for finitel declaration... " >&6; }
38098   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
38099     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
38100   $as_echo_n "(cached) " >&6
38101 else
38102
38103
38104       ac_ext=cpp
38105 ac_cpp='$CXXCPP $CPPFLAGS'
38106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38109
38110       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38111 /* end confdefs.h.  */
38112 #include <math.h>
38113                       #ifdef HAVE_IEEEFP_H
38114                       #include <ieeefp.h>
38115                       #endif
38116
38117 int
38118 main ()
38119 {
38120  finitel(0);
38121   ;
38122   return 0;
38123 }
38124 _ACEOF
38125 if ac_fn_cxx_try_compile "$LINENO"; then :
38126   glibcxx_cv_func_finitel_use=yes
38127 else
38128   glibcxx_cv_func_finitel_use=no
38129 fi
38130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38131       ac_ext=c
38132 ac_cpp='$CPP $CPPFLAGS'
38133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38136
38137
38138 fi
38139
38140   fi
38141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
38142 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
38143
38144   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
38145     for ac_func in finitel
38146 do :
38147   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
38148 if test "x$ac_cv_func_finitel" = x""yes; then :
38149   cat >>confdefs.h <<_ACEOF
38150 #define HAVE_FINITEL 1
38151 _ACEOF
38152
38153 fi
38154 done
38155
38156   else
38157
38158   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
38159 $as_echo_n "checking for _finitel declaration... " >&6; }
38160   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
38161     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
38162   $as_echo_n "(cached) " >&6
38163 else
38164
38165
38166       ac_ext=cpp
38167 ac_cpp='$CXXCPP $CPPFLAGS'
38168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38171
38172       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38173 /* end confdefs.h.  */
38174 #include <math.h>
38175                       #ifdef HAVE_IEEEFP_H
38176                       #include <ieeefp.h>
38177                       #endif
38178
38179 int
38180 main ()
38181 {
38182  _finitel(0);
38183   ;
38184   return 0;
38185 }
38186 _ACEOF
38187 if ac_fn_cxx_try_compile "$LINENO"; then :
38188   glibcxx_cv_func__finitel_use=yes
38189 else
38190   glibcxx_cv_func__finitel_use=no
38191 fi
38192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38193       ac_ext=c
38194 ac_cpp='$CPP $CPPFLAGS'
38195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38198
38199
38200 fi
38201
38202   fi
38203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
38204 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
38205
38206     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
38207       for ac_func in _finitel
38208 do :
38209   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
38210 if test "x$ac_cv_func__finitel" = x""yes; then :
38211   cat >>confdefs.h <<_ACEOF
38212 #define HAVE__FINITEL 1
38213 _ACEOF
38214
38215 fi
38216 done
38217
38218     fi
38219   fi
38220
38221
38222
38223
38224   LIBS="$ac_save_LIBS"
38225   CXXFLAGS="$ac_save_CXXFLAGS"
38226
38227
38228   ac_test_CXXFLAGS="${CXXFLAGS+set}"
38229   ac_save_CXXFLAGS="$CXXFLAGS"
38230   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38231
38232
38233   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
38234 $as_echo_n "checking for strtold declaration... " >&6; }
38235   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38236     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
38237   $as_echo_n "(cached) " >&6
38238 else
38239
38240
38241       ac_ext=cpp
38242 ac_cpp='$CXXCPP $CPPFLAGS'
38243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38246
38247       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38248 /* end confdefs.h.  */
38249 #include <stdlib.h>
38250 int
38251 main ()
38252 {
38253  strtold(0, 0);
38254   ;
38255   return 0;
38256 }
38257 _ACEOF
38258 if ac_fn_cxx_try_compile "$LINENO"; then :
38259   glibcxx_cv_func_strtold_use=yes
38260 else
38261   glibcxx_cv_func_strtold_use=no
38262 fi
38263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38264       ac_ext=c
38265 ac_cpp='$CPP $CPPFLAGS'
38266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38269
38270
38271 fi
38272
38273   fi
38274   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38275 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38276   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38277     for ac_func in strtold
38278 do :
38279   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
38280 if test "x$ac_cv_func_strtold" = x""yes; then :
38281   cat >>confdefs.h <<_ACEOF
38282 #define HAVE_STRTOLD 1
38283 _ACEOF
38284
38285 fi
38286 done
38287
38288   fi
38289
38290
38291
38292
38293   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38294 $as_echo_n "checking for strtof declaration... " >&6; }
38295   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38296     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
38297   $as_echo_n "(cached) " >&6
38298 else
38299
38300
38301       ac_ext=cpp
38302 ac_cpp='$CXXCPP $CPPFLAGS'
38303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38306
38307       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38308 /* end confdefs.h.  */
38309 #include <stdlib.h>
38310 int
38311 main ()
38312 {
38313  strtof(0, 0);
38314   ;
38315   return 0;
38316 }
38317 _ACEOF
38318 if ac_fn_cxx_try_compile "$LINENO"; then :
38319   glibcxx_cv_func_strtof_use=yes
38320 else
38321   glibcxx_cv_func_strtof_use=no
38322 fi
38323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38324       ac_ext=c
38325 ac_cpp='$CPP $CPPFLAGS'
38326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38329
38330
38331 fi
38332
38333   fi
38334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
38335 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
38336   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38337     for ac_func in strtof
38338 do :
38339   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
38340 if test "x$ac_cv_func_strtof" = x""yes; then :
38341   cat >>confdefs.h <<_ACEOF
38342 #define HAVE_STRTOF 1
38343 _ACEOF
38344
38345 fi
38346 done
38347
38348   fi
38349
38350
38351
38352
38353   CXXFLAGS="$ac_save_CXXFLAGS"
38354
38355     $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
38356
38357     # We don't yet support AIX's TLS ABI.
38358     #GCC_CHECK_TLS
38359
38360
38361
38362
38363
38364           am_save_CPPFLAGS="$CPPFLAGS"
38365
38366   for element in $INCICONV; do
38367     haveit=
38368     for x in $CPPFLAGS; do
38369
38370   acl_save_prefix="$prefix"
38371   prefix="$acl_final_prefix"
38372   acl_save_exec_prefix="$exec_prefix"
38373   exec_prefix="$acl_final_exec_prefix"
38374   eval x=\"$x\"
38375   exec_prefix="$acl_save_exec_prefix"
38376   prefix="$acl_save_prefix"
38377
38378       if test "X$x" = "X$element"; then
38379         haveit=yes
38380         break
38381       fi
38382     done
38383     if test -z "$haveit"; then
38384       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
38385     fi
38386   done
38387
38388
38389   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
38390 $as_echo_n "checking for iconv... " >&6; }
38391 if test "${am_cv_func_iconv+set}" = set; then :
38392   $as_echo_n "(cached) " >&6
38393 else
38394
38395     am_cv_func_iconv="no, consider installing GNU libiconv"
38396     am_cv_lib_iconv=no
38397     if test x$gcc_no_link = xyes; then
38398   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38399 fi
38400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38401 /* end confdefs.h.  */
38402 #include <stdlib.h>
38403 #include <iconv.h>
38404 int
38405 main ()
38406 {
38407 iconv_t cd = iconv_open("","");
38408        iconv(cd,NULL,NULL,NULL,NULL);
38409        iconv_close(cd);
38410   ;
38411   return 0;
38412 }
38413 _ACEOF
38414 if ac_fn_c_try_link "$LINENO"; then :
38415   am_cv_func_iconv=yes
38416 fi
38417 rm -f core conftest.err conftest.$ac_objext \
38418     conftest$ac_exeext conftest.$ac_ext
38419     if test "$am_cv_func_iconv" != yes; then
38420       am_save_LIBS="$LIBS"
38421       LIBS="$LIBS $LIBICONV"
38422       if test x$gcc_no_link = xyes; then
38423   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38424 fi
38425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38426 /* end confdefs.h.  */
38427 #include <stdlib.h>
38428 #include <iconv.h>
38429 int
38430 main ()
38431 {
38432 iconv_t cd = iconv_open("","");
38433          iconv(cd,NULL,NULL,NULL,NULL);
38434          iconv_close(cd);
38435   ;
38436   return 0;
38437 }
38438 _ACEOF
38439 if ac_fn_c_try_link "$LINENO"; then :
38440   am_cv_lib_iconv=yes
38441         am_cv_func_iconv=yes
38442 fi
38443 rm -f core conftest.err conftest.$ac_objext \
38444     conftest$ac_exeext conftest.$ac_ext
38445       LIBS="$am_save_LIBS"
38446     fi
38447
38448 fi
38449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
38450 $as_echo "$am_cv_func_iconv" >&6; }
38451   if test "$am_cv_func_iconv" = yes; then
38452
38453 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
38454
38455   fi
38456   if test "$am_cv_lib_iconv" = yes; then
38457     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
38458 $as_echo_n "checking how to link with libiconv... " >&6; }
38459     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
38460 $as_echo "$LIBICONV" >&6; }
38461   else
38462             CPPFLAGS="$am_save_CPPFLAGS"
38463     LIBICONV=
38464     LTLIBICONV=
38465   fi
38466
38467
38468
38469   if test "$am_cv_func_iconv" = yes; then
38470     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
38471 $as_echo_n "checking for iconv declaration... " >&6; }
38472     if test "${am_cv_proto_iconv+set}" = set; then :
38473   $as_echo_n "(cached) " >&6
38474 else
38475
38476       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38477 /* end confdefs.h.  */
38478
38479 #include <stdlib.h>
38480 #include <iconv.h>
38481 extern
38482 #ifdef __cplusplus
38483 "C"
38484 #endif
38485 #if defined(__STDC__) || defined(__cplusplus)
38486 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38487 #else
38488 size_t iconv();
38489 #endif
38490
38491 int
38492 main ()
38493 {
38494
38495   ;
38496   return 0;
38497 }
38498 _ACEOF
38499 if ac_fn_c_try_compile "$LINENO"; then :
38500   am_cv_proto_iconv_arg1=""
38501 else
38502   am_cv_proto_iconv_arg1="const"
38503 fi
38504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38505       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);"
38506 fi
38507
38508     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
38509     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
38510          }$am_cv_proto_iconv" >&5
38511 $as_echo "${ac_t:-
38512          }$am_cv_proto_iconv" >&6; }
38513
38514 cat >>confdefs.h <<_ACEOF
38515 #define ICONV_CONST $am_cv_proto_iconv_arg1
38516 _ACEOF
38517
38518   fi
38519
38520     ;;
38521
38522   *-darwin*)
38523     # Darwin versions vary, but the linker should work in a cross environment,
38524     # so we just check for all the features here.
38525     # Check for available headers.
38526
38527     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
38528
38529   ac_test_CXXFLAGS="${CXXFLAGS+set}"
38530   ac_save_CXXFLAGS="$CXXFLAGS"
38531   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38532
38533     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
38534 $as_echo_n "checking for sin in -lm... " >&6; }
38535 if test "${ac_cv_lib_m_sin+set}" = set; then :
38536   $as_echo_n "(cached) " >&6
38537 else
38538   ac_check_lib_save_LIBS=$LIBS
38539 LIBS="-lm  $LIBS"
38540 if test x$gcc_no_link = xyes; then
38541   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38542 fi
38543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38544 /* end confdefs.h.  */
38545
38546 /* Override any GCC internal prototype to avoid an error.
38547    Use char because int might match the return type of a GCC
38548    builtin and then its argument prototype would still apply.  */
38549 #ifdef __cplusplus
38550 extern "C"
38551 #endif
38552 char sin ();
38553 int
38554 main ()
38555 {
38556 return sin ();
38557   ;
38558   return 0;
38559 }
38560 _ACEOF
38561 if ac_fn_c_try_link "$LINENO"; then :
38562   ac_cv_lib_m_sin=yes
38563 else
38564   ac_cv_lib_m_sin=no
38565 fi
38566 rm -f core conftest.err conftest.$ac_objext \
38567     conftest$ac_exeext conftest.$ac_ext
38568 LIBS=$ac_check_lib_save_LIBS
38569 fi
38570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
38571 $as_echo "$ac_cv_lib_m_sin" >&6; }
38572 if test "x$ac_cv_lib_m_sin" = x""yes; then :
38573   libm="-lm"
38574 fi
38575
38576   ac_save_LIBS="$LIBS"
38577   LIBS="$LIBS $libm"
38578
38579
38580
38581   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
38582 $as_echo_n "checking for isinf declaration... " >&6; }
38583   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
38584     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
38585   $as_echo_n "(cached) " >&6
38586 else
38587
38588
38589       ac_ext=cpp
38590 ac_cpp='$CXXCPP $CPPFLAGS'
38591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38594
38595       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38596 /* end confdefs.h.  */
38597 #include <math.h>
38598                       #ifdef HAVE_IEEEFP_H
38599                       #include <ieeefp.h>
38600                       #endif
38601
38602 int
38603 main ()
38604 {
38605  isinf(0);
38606   ;
38607   return 0;
38608 }
38609 _ACEOF
38610 if ac_fn_cxx_try_compile "$LINENO"; then :
38611   glibcxx_cv_func_isinf_use=yes
38612 else
38613   glibcxx_cv_func_isinf_use=no
38614 fi
38615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38616       ac_ext=c
38617 ac_cpp='$CPP $CPPFLAGS'
38618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38621
38622
38623 fi
38624
38625   fi
38626   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
38627 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
38628
38629   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
38630     for ac_func in isinf
38631 do :
38632   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
38633 if test "x$ac_cv_func_isinf" = x""yes; then :
38634   cat >>confdefs.h <<_ACEOF
38635 #define HAVE_ISINF 1
38636 _ACEOF
38637
38638 fi
38639 done
38640
38641   else
38642
38643   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
38644 $as_echo_n "checking for _isinf declaration... " >&6; }
38645   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
38646     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
38647   $as_echo_n "(cached) " >&6
38648 else
38649
38650
38651       ac_ext=cpp
38652 ac_cpp='$CXXCPP $CPPFLAGS'
38653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38656
38657       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38658 /* end confdefs.h.  */
38659 #include <math.h>
38660                       #ifdef HAVE_IEEEFP_H
38661                       #include <ieeefp.h>
38662                       #endif
38663
38664 int
38665 main ()
38666 {
38667  _isinf(0);
38668   ;
38669   return 0;
38670 }
38671 _ACEOF
38672 if ac_fn_cxx_try_compile "$LINENO"; then :
38673   glibcxx_cv_func__isinf_use=yes
38674 else
38675   glibcxx_cv_func__isinf_use=no
38676 fi
38677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38678       ac_ext=c
38679 ac_cpp='$CPP $CPPFLAGS'
38680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38683
38684
38685 fi
38686
38687   fi
38688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
38689 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
38690
38691     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
38692       for ac_func in _isinf
38693 do :
38694   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
38695 if test "x$ac_cv_func__isinf" = x""yes; then :
38696   cat >>confdefs.h <<_ACEOF
38697 #define HAVE__ISINF 1
38698 _ACEOF
38699
38700 fi
38701 done
38702
38703     fi
38704   fi
38705
38706
38707
38708
38709
38710   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
38711 $as_echo_n "checking for isnan declaration... " >&6; }
38712   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
38713     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
38714   $as_echo_n "(cached) " >&6
38715 else
38716
38717
38718       ac_ext=cpp
38719 ac_cpp='$CXXCPP $CPPFLAGS'
38720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38723
38724       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38725 /* end confdefs.h.  */
38726 #include <math.h>
38727                       #ifdef HAVE_IEEEFP_H
38728                       #include <ieeefp.h>
38729                       #endif
38730
38731 int
38732 main ()
38733 {
38734  isnan(0);
38735   ;
38736   return 0;
38737 }
38738 _ACEOF
38739 if ac_fn_cxx_try_compile "$LINENO"; then :
38740   glibcxx_cv_func_isnan_use=yes
38741 else
38742   glibcxx_cv_func_isnan_use=no
38743 fi
38744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38745       ac_ext=c
38746 ac_cpp='$CPP $CPPFLAGS'
38747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38750
38751
38752 fi
38753
38754   fi
38755   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
38756 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
38757
38758   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
38759     for ac_func in isnan
38760 do :
38761   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
38762 if test "x$ac_cv_func_isnan" = x""yes; then :
38763   cat >>confdefs.h <<_ACEOF
38764 #define HAVE_ISNAN 1
38765 _ACEOF
38766
38767 fi
38768 done
38769
38770   else
38771
38772   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
38773 $as_echo_n "checking for _isnan declaration... " >&6; }
38774   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
38775     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
38776   $as_echo_n "(cached) " >&6
38777 else
38778
38779
38780       ac_ext=cpp
38781 ac_cpp='$CXXCPP $CPPFLAGS'
38782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38785
38786       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38787 /* end confdefs.h.  */
38788 #include <math.h>
38789                       #ifdef HAVE_IEEEFP_H
38790                       #include <ieeefp.h>
38791                       #endif
38792
38793 int
38794 main ()
38795 {
38796  _isnan(0);
38797   ;
38798   return 0;
38799 }
38800 _ACEOF
38801 if ac_fn_cxx_try_compile "$LINENO"; then :
38802   glibcxx_cv_func__isnan_use=yes
38803 else
38804   glibcxx_cv_func__isnan_use=no
38805 fi
38806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38807       ac_ext=c
38808 ac_cpp='$CPP $CPPFLAGS'
38809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38812
38813
38814 fi
38815
38816   fi
38817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
38818 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
38819
38820     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
38821       for ac_func in _isnan
38822 do :
38823   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
38824 if test "x$ac_cv_func__isnan" = x""yes; then :
38825   cat >>confdefs.h <<_ACEOF
38826 #define HAVE__ISNAN 1
38827 _ACEOF
38828
38829 fi
38830 done
38831
38832     fi
38833   fi
38834
38835
38836
38837
38838
38839   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
38840 $as_echo_n "checking for finite declaration... " >&6; }
38841   if test x${glibcxx_cv_func_finite_use+set} != xset; then
38842     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
38843   $as_echo_n "(cached) " >&6
38844 else
38845
38846
38847       ac_ext=cpp
38848 ac_cpp='$CXXCPP $CPPFLAGS'
38849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38852
38853       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38854 /* end confdefs.h.  */
38855 #include <math.h>
38856                       #ifdef HAVE_IEEEFP_H
38857                       #include <ieeefp.h>
38858                       #endif
38859
38860 int
38861 main ()
38862 {
38863  finite(0);
38864   ;
38865   return 0;
38866 }
38867 _ACEOF
38868 if ac_fn_cxx_try_compile "$LINENO"; then :
38869   glibcxx_cv_func_finite_use=yes
38870 else
38871   glibcxx_cv_func_finite_use=no
38872 fi
38873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38874       ac_ext=c
38875 ac_cpp='$CPP $CPPFLAGS'
38876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38879
38880
38881 fi
38882
38883   fi
38884   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
38885 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
38886
38887   if test x$glibcxx_cv_func_finite_use = x"yes"; then
38888     for ac_func in finite
38889 do :
38890   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
38891 if test "x$ac_cv_func_finite" = x""yes; then :
38892   cat >>confdefs.h <<_ACEOF
38893 #define HAVE_FINITE 1
38894 _ACEOF
38895
38896 fi
38897 done
38898
38899   else
38900
38901   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
38902 $as_echo_n "checking for _finite declaration... " >&6; }
38903   if test x${glibcxx_cv_func__finite_use+set} != xset; then
38904     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
38905   $as_echo_n "(cached) " >&6
38906 else
38907
38908
38909       ac_ext=cpp
38910 ac_cpp='$CXXCPP $CPPFLAGS'
38911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38914
38915       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38916 /* end confdefs.h.  */
38917 #include <math.h>
38918                       #ifdef HAVE_IEEEFP_H
38919                       #include <ieeefp.h>
38920                       #endif
38921
38922 int
38923 main ()
38924 {
38925  _finite(0);
38926   ;
38927   return 0;
38928 }
38929 _ACEOF
38930 if ac_fn_cxx_try_compile "$LINENO"; then :
38931   glibcxx_cv_func__finite_use=yes
38932 else
38933   glibcxx_cv_func__finite_use=no
38934 fi
38935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38936       ac_ext=c
38937 ac_cpp='$CPP $CPPFLAGS'
38938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38941
38942
38943 fi
38944
38945   fi
38946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
38947 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
38948
38949     if test x$glibcxx_cv_func__finite_use = x"yes"; then
38950       for ac_func in _finite
38951 do :
38952   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
38953 if test "x$ac_cv_func__finite" = x""yes; then :
38954   cat >>confdefs.h <<_ACEOF
38955 #define HAVE__FINITE 1
38956 _ACEOF
38957
38958 fi
38959 done
38960
38961     fi
38962   fi
38963
38964
38965
38966
38967
38968   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
38969 $as_echo_n "checking for sincos declaration... " >&6; }
38970   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
38971     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
38972   $as_echo_n "(cached) " >&6
38973 else
38974
38975
38976       ac_ext=cpp
38977 ac_cpp='$CXXCPP $CPPFLAGS'
38978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38981
38982       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38983 /* end confdefs.h.  */
38984 #include <math.h>
38985 int
38986 main ()
38987 {
38988  sincos(0, 0, 0);
38989   ;
38990   return 0;
38991 }
38992 _ACEOF
38993 if ac_fn_cxx_try_compile "$LINENO"; then :
38994   glibcxx_cv_func_sincos_use=yes
38995 else
38996   glibcxx_cv_func_sincos_use=no
38997 fi
38998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38999       ac_ext=c
39000 ac_cpp='$CPP $CPPFLAGS'
39001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39004
39005
39006 fi
39007
39008   fi
39009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
39010 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
39011
39012   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
39013     for ac_func in sincos
39014 do :
39015   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
39016 if test "x$ac_cv_func_sincos" = x""yes; then :
39017   cat >>confdefs.h <<_ACEOF
39018 #define HAVE_SINCOS 1
39019 _ACEOF
39020
39021 fi
39022 done
39023
39024   else
39025
39026   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
39027 $as_echo_n "checking for _sincos declaration... " >&6; }
39028   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
39029     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
39030   $as_echo_n "(cached) " >&6
39031 else
39032
39033
39034       ac_ext=cpp
39035 ac_cpp='$CXXCPP $CPPFLAGS'
39036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39039
39040       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39041 /* end confdefs.h.  */
39042 #include <math.h>
39043 int
39044 main ()
39045 {
39046  _sincos(0, 0, 0);
39047   ;
39048   return 0;
39049 }
39050 _ACEOF
39051 if ac_fn_cxx_try_compile "$LINENO"; then :
39052   glibcxx_cv_func__sincos_use=yes
39053 else
39054   glibcxx_cv_func__sincos_use=no
39055 fi
39056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39057       ac_ext=c
39058 ac_cpp='$CPP $CPPFLAGS'
39059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39062
39063
39064 fi
39065
39066   fi
39067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
39068 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
39069
39070     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
39071       for ac_func in _sincos
39072 do :
39073   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
39074 if test "x$ac_cv_func__sincos" = x""yes; then :
39075   cat >>confdefs.h <<_ACEOF
39076 #define HAVE__SINCOS 1
39077 _ACEOF
39078
39079 fi
39080 done
39081
39082     fi
39083   fi
39084
39085
39086
39087
39088
39089   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
39090 $as_echo_n "checking for fpclass declaration... " >&6; }
39091   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
39092     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
39093   $as_echo_n "(cached) " >&6
39094 else
39095
39096
39097       ac_ext=cpp
39098 ac_cpp='$CXXCPP $CPPFLAGS'
39099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39102
39103       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39104 /* end confdefs.h.  */
39105 #include <math.h>
39106                       #ifdef HAVE_IEEEFP_H
39107                       #include <ieeefp.h>
39108                       #endif
39109
39110 int
39111 main ()
39112 {
39113  fpclass(0);
39114   ;
39115   return 0;
39116 }
39117 _ACEOF
39118 if ac_fn_cxx_try_compile "$LINENO"; then :
39119   glibcxx_cv_func_fpclass_use=yes
39120 else
39121   glibcxx_cv_func_fpclass_use=no
39122 fi
39123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39124       ac_ext=c
39125 ac_cpp='$CPP $CPPFLAGS'
39126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39129
39130
39131 fi
39132
39133   fi
39134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
39135 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
39136
39137   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
39138     for ac_func in fpclass
39139 do :
39140   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
39141 if test "x$ac_cv_func_fpclass" = x""yes; then :
39142   cat >>confdefs.h <<_ACEOF
39143 #define HAVE_FPCLASS 1
39144 _ACEOF
39145
39146 fi
39147 done
39148
39149   else
39150
39151   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
39152 $as_echo_n "checking for _fpclass declaration... " >&6; }
39153   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
39154     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
39155   $as_echo_n "(cached) " >&6
39156 else
39157
39158
39159       ac_ext=cpp
39160 ac_cpp='$CXXCPP $CPPFLAGS'
39161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39164
39165       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39166 /* end confdefs.h.  */
39167 #include <math.h>
39168                       #ifdef HAVE_IEEEFP_H
39169                       #include <ieeefp.h>
39170                       #endif
39171
39172 int
39173 main ()
39174 {
39175  _fpclass(0);
39176   ;
39177   return 0;
39178 }
39179 _ACEOF
39180 if ac_fn_cxx_try_compile "$LINENO"; then :
39181   glibcxx_cv_func__fpclass_use=yes
39182 else
39183   glibcxx_cv_func__fpclass_use=no
39184 fi
39185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39186       ac_ext=c
39187 ac_cpp='$CPP $CPPFLAGS'
39188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39191
39192
39193 fi
39194
39195   fi
39196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
39197 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
39198
39199     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
39200       for ac_func in _fpclass
39201 do :
39202   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
39203 if test "x$ac_cv_func__fpclass" = x""yes; then :
39204   cat >>confdefs.h <<_ACEOF
39205 #define HAVE__FPCLASS 1
39206 _ACEOF
39207
39208 fi
39209 done
39210
39211     fi
39212   fi
39213
39214
39215
39216
39217
39218   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
39219 $as_echo_n "checking for qfpclass declaration... " >&6; }
39220   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
39221     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
39222   $as_echo_n "(cached) " >&6
39223 else
39224
39225
39226       ac_ext=cpp
39227 ac_cpp='$CXXCPP $CPPFLAGS'
39228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39231
39232       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39233 /* end confdefs.h.  */
39234 #include <math.h>
39235                       #ifdef HAVE_IEEEFP_H
39236                       #include <ieeefp.h>
39237                       #endif
39238
39239 int
39240 main ()
39241 {
39242  qfpclass(0);
39243   ;
39244   return 0;
39245 }
39246 _ACEOF
39247 if ac_fn_cxx_try_compile "$LINENO"; then :
39248   glibcxx_cv_func_qfpclass_use=yes
39249 else
39250   glibcxx_cv_func_qfpclass_use=no
39251 fi
39252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39253       ac_ext=c
39254 ac_cpp='$CPP $CPPFLAGS'
39255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39258
39259
39260 fi
39261
39262   fi
39263   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
39264 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
39265
39266   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
39267     for ac_func in qfpclass
39268 do :
39269   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
39270 if test "x$ac_cv_func_qfpclass" = x""yes; then :
39271   cat >>confdefs.h <<_ACEOF
39272 #define HAVE_QFPCLASS 1
39273 _ACEOF
39274
39275 fi
39276 done
39277
39278   else
39279
39280   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
39281 $as_echo_n "checking for _qfpclass declaration... " >&6; }
39282   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
39283     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
39284   $as_echo_n "(cached) " >&6
39285 else
39286
39287
39288       ac_ext=cpp
39289 ac_cpp='$CXXCPP $CPPFLAGS'
39290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39293
39294       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39295 /* end confdefs.h.  */
39296 #include <math.h>
39297                       #ifdef HAVE_IEEEFP_H
39298                       #include <ieeefp.h>
39299                       #endif
39300
39301 int
39302 main ()
39303 {
39304  _qfpclass(0);
39305   ;
39306   return 0;
39307 }
39308 _ACEOF
39309 if ac_fn_cxx_try_compile "$LINENO"; then :
39310   glibcxx_cv_func__qfpclass_use=yes
39311 else
39312   glibcxx_cv_func__qfpclass_use=no
39313 fi
39314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39315       ac_ext=c
39316 ac_cpp='$CPP $CPPFLAGS'
39317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39320
39321
39322 fi
39323
39324   fi
39325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
39326 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
39327
39328     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
39329       for ac_func in _qfpclass
39330 do :
39331   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
39332 if test "x$ac_cv_func__qfpclass" = x""yes; then :
39333   cat >>confdefs.h <<_ACEOF
39334 #define HAVE__QFPCLASS 1
39335 _ACEOF
39336
39337 fi
39338 done
39339
39340     fi
39341   fi
39342
39343
39344
39345
39346
39347   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
39348 $as_echo_n "checking for hypot declaration... " >&6; }
39349   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
39350     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
39351   $as_echo_n "(cached) " >&6
39352 else
39353
39354
39355       ac_ext=cpp
39356 ac_cpp='$CXXCPP $CPPFLAGS'
39357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39360
39361       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39362 /* end confdefs.h.  */
39363 #include <math.h>
39364 int
39365 main ()
39366 {
39367  hypot(0, 0);
39368   ;
39369   return 0;
39370 }
39371 _ACEOF
39372 if ac_fn_cxx_try_compile "$LINENO"; then :
39373   glibcxx_cv_func_hypot_use=yes
39374 else
39375   glibcxx_cv_func_hypot_use=no
39376 fi
39377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39378       ac_ext=c
39379 ac_cpp='$CPP $CPPFLAGS'
39380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39383
39384
39385 fi
39386
39387   fi
39388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
39389 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
39390
39391   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
39392     for ac_func in hypot
39393 do :
39394   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
39395 if test "x$ac_cv_func_hypot" = x""yes; then :
39396   cat >>confdefs.h <<_ACEOF
39397 #define HAVE_HYPOT 1
39398 _ACEOF
39399
39400 fi
39401 done
39402
39403   else
39404
39405   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
39406 $as_echo_n "checking for _hypot declaration... " >&6; }
39407   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
39408     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
39409   $as_echo_n "(cached) " >&6
39410 else
39411
39412
39413       ac_ext=cpp
39414 ac_cpp='$CXXCPP $CPPFLAGS'
39415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39418
39419       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39420 /* end confdefs.h.  */
39421 #include <math.h>
39422 int
39423 main ()
39424 {
39425  _hypot(0, 0);
39426   ;
39427   return 0;
39428 }
39429 _ACEOF
39430 if ac_fn_cxx_try_compile "$LINENO"; then :
39431   glibcxx_cv_func__hypot_use=yes
39432 else
39433   glibcxx_cv_func__hypot_use=no
39434 fi
39435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39436       ac_ext=c
39437 ac_cpp='$CPP $CPPFLAGS'
39438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39441
39442
39443 fi
39444
39445   fi
39446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
39447 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
39448
39449     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
39450       for ac_func in _hypot
39451 do :
39452   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
39453 if test "x$ac_cv_func__hypot" = x""yes; then :
39454   cat >>confdefs.h <<_ACEOF
39455 #define HAVE__HYPOT 1
39456 _ACEOF
39457
39458 fi
39459 done
39460
39461     fi
39462   fi
39463
39464
39465
39466
39467
39468     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
39469 $as_echo_n "checking for float trig functions... " >&6; }
39470   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
39471   $as_echo_n "(cached) " >&6
39472 else
39473
39474
39475     ac_ext=cpp
39476 ac_cpp='$CXXCPP $CPPFLAGS'
39477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39480
39481     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39482 /* end confdefs.h.  */
39483 #include <math.h>
39484 int
39485 main ()
39486 {
39487 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
39488   ;
39489   return 0;
39490 }
39491 _ACEOF
39492 if ac_fn_cxx_try_compile "$LINENO"; then :
39493   glibcxx_cv_func_float_trig_use=yes
39494 else
39495   glibcxx_cv_func_float_trig_use=no
39496 fi
39497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39498     ac_ext=c
39499 ac_cpp='$CPP $CPPFLAGS'
39500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39503
39504 fi
39505
39506   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
39507 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
39508   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
39509     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
39510 do :
39511   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39512 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39513 eval as_val=\$$as_ac_var
39514    if test "x$as_val" = x""yes; then :
39515   cat >>confdefs.h <<_ACEOF
39516 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39517 _ACEOF
39518
39519 fi
39520 done
39521
39522   else
39523     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
39524 $as_echo_n "checking for _float trig functions... " >&6; }
39525     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
39526   $as_echo_n "(cached) " >&6
39527 else
39528
39529
39530       ac_ext=cpp
39531 ac_cpp='$CXXCPP $CPPFLAGS'
39532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39535
39536       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39537 /* end confdefs.h.  */
39538 #include <math.h>
39539 int
39540 main ()
39541 {
39542 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
39543   ;
39544   return 0;
39545 }
39546 _ACEOF
39547 if ac_fn_cxx_try_compile "$LINENO"; then :
39548   glibcxx_cv_func__float_trig_use=yes
39549 else
39550   glibcxx_cv_func__float_trig_use=no
39551 fi
39552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39553       ac_ext=c
39554 ac_cpp='$CPP $CPPFLAGS'
39555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39558
39559 fi
39560
39561     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
39562 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
39563     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
39564       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
39565 do :
39566   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39567 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39568 eval as_val=\$$as_ac_var
39569    if test "x$as_val" = x""yes; then :
39570   cat >>confdefs.h <<_ACEOF
39571 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39572 _ACEOF
39573
39574 fi
39575 done
39576
39577     fi
39578   fi
39579
39580
39581
39582
39583
39584     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
39585 $as_echo_n "checking for float round functions... " >&6; }
39586   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
39587   $as_echo_n "(cached) " >&6
39588 else
39589
39590
39591     ac_ext=cpp
39592 ac_cpp='$CXXCPP $CPPFLAGS'
39593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39596
39597     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39598 /* end confdefs.h.  */
39599 #include <math.h>
39600 int
39601 main ()
39602 {
39603 ceilf (0); floorf (0);
39604   ;
39605   return 0;
39606 }
39607 _ACEOF
39608 if ac_fn_cxx_try_compile "$LINENO"; then :
39609   glibcxx_cv_func_float_round_use=yes
39610 else
39611   glibcxx_cv_func_float_round_use=no
39612 fi
39613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39614     ac_ext=c
39615 ac_cpp='$CPP $CPPFLAGS'
39616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39619
39620 fi
39621
39622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
39623 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
39624   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
39625     for ac_func in ceilf floorf
39626 do :
39627   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39628 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39629 eval as_val=\$$as_ac_var
39630    if test "x$as_val" = x""yes; then :
39631   cat >>confdefs.h <<_ACEOF
39632 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39633 _ACEOF
39634
39635 fi
39636 done
39637
39638   else
39639     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
39640 $as_echo_n "checking for _float round functions... " >&6; }
39641     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
39642   $as_echo_n "(cached) " >&6
39643 else
39644
39645
39646       ac_ext=cpp
39647 ac_cpp='$CXXCPP $CPPFLAGS'
39648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39651
39652       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39653 /* end confdefs.h.  */
39654 #include <math.h>
39655 int
39656 main ()
39657 {
39658 _ceilf (0); _floorf (0);
39659   ;
39660   return 0;
39661 }
39662 _ACEOF
39663 if ac_fn_cxx_try_compile "$LINENO"; then :
39664   glibcxx_cv_func__float_round_use=yes
39665 else
39666   glibcxx_cv_func__float_round_use=no
39667 fi
39668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39669       ac_ext=c
39670 ac_cpp='$CPP $CPPFLAGS'
39671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39674
39675 fi
39676
39677     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
39678 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
39679     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
39680       for ac_func in _ceilf _floorf
39681 do :
39682   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39683 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39684 eval as_val=\$$as_ac_var
39685    if test "x$as_val" = x""yes; then :
39686   cat >>confdefs.h <<_ACEOF
39687 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39688 _ACEOF
39689
39690 fi
39691 done
39692
39693     fi
39694   fi
39695
39696
39697
39698
39699
39700
39701   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
39702 $as_echo_n "checking for expf declaration... " >&6; }
39703   if test x${glibcxx_cv_func_expf_use+set} != xset; then
39704     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
39705   $as_echo_n "(cached) " >&6
39706 else
39707
39708
39709       ac_ext=cpp
39710 ac_cpp='$CXXCPP $CPPFLAGS'
39711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39714
39715       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39716 /* end confdefs.h.  */
39717 #include <math.h>
39718                       #ifdef HAVE_IEEEFP_H
39719                       #include <ieeefp.h>
39720                       #endif
39721
39722 int
39723 main ()
39724 {
39725  expf(0);
39726   ;
39727   return 0;
39728 }
39729 _ACEOF
39730 if ac_fn_cxx_try_compile "$LINENO"; then :
39731   glibcxx_cv_func_expf_use=yes
39732 else
39733   glibcxx_cv_func_expf_use=no
39734 fi
39735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39736       ac_ext=c
39737 ac_cpp='$CPP $CPPFLAGS'
39738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39741
39742
39743 fi
39744
39745   fi
39746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
39747 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
39748
39749   if test x$glibcxx_cv_func_expf_use = x"yes"; then
39750     for ac_func in expf
39751 do :
39752   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
39753 if test "x$ac_cv_func_expf" = x""yes; then :
39754   cat >>confdefs.h <<_ACEOF
39755 #define HAVE_EXPF 1
39756 _ACEOF
39757
39758 fi
39759 done
39760
39761   else
39762
39763   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
39764 $as_echo_n "checking for _expf declaration... " >&6; }
39765   if test x${glibcxx_cv_func__expf_use+set} != xset; then
39766     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
39767   $as_echo_n "(cached) " >&6
39768 else
39769
39770
39771       ac_ext=cpp
39772 ac_cpp='$CXXCPP $CPPFLAGS'
39773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39776
39777       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39778 /* end confdefs.h.  */
39779 #include <math.h>
39780                       #ifdef HAVE_IEEEFP_H
39781                       #include <ieeefp.h>
39782                       #endif
39783
39784 int
39785 main ()
39786 {
39787  _expf(0);
39788   ;
39789   return 0;
39790 }
39791 _ACEOF
39792 if ac_fn_cxx_try_compile "$LINENO"; then :
39793   glibcxx_cv_func__expf_use=yes
39794 else
39795   glibcxx_cv_func__expf_use=no
39796 fi
39797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39798       ac_ext=c
39799 ac_cpp='$CPP $CPPFLAGS'
39800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39803
39804
39805 fi
39806
39807   fi
39808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
39809 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
39810
39811     if test x$glibcxx_cv_func__expf_use = x"yes"; then
39812       for ac_func in _expf
39813 do :
39814   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
39815 if test "x$ac_cv_func__expf" = x""yes; then :
39816   cat >>confdefs.h <<_ACEOF
39817 #define HAVE__EXPF 1
39818 _ACEOF
39819
39820 fi
39821 done
39822
39823     fi
39824   fi
39825
39826
39827
39828
39829
39830   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
39831 $as_echo_n "checking for isnanf declaration... " >&6; }
39832   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
39833     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
39834   $as_echo_n "(cached) " >&6
39835 else
39836
39837
39838       ac_ext=cpp
39839 ac_cpp='$CXXCPP $CPPFLAGS'
39840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39843
39844       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39845 /* end confdefs.h.  */
39846 #include <math.h>
39847                       #ifdef HAVE_IEEEFP_H
39848                       #include <ieeefp.h>
39849                       #endif
39850
39851 int
39852 main ()
39853 {
39854  isnanf(0);
39855   ;
39856   return 0;
39857 }
39858 _ACEOF
39859 if ac_fn_cxx_try_compile "$LINENO"; then :
39860   glibcxx_cv_func_isnanf_use=yes
39861 else
39862   glibcxx_cv_func_isnanf_use=no
39863 fi
39864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39865       ac_ext=c
39866 ac_cpp='$CPP $CPPFLAGS'
39867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39870
39871
39872 fi
39873
39874   fi
39875   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
39876 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
39877
39878   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
39879     for ac_func in isnanf
39880 do :
39881   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
39882 if test "x$ac_cv_func_isnanf" = x""yes; then :
39883   cat >>confdefs.h <<_ACEOF
39884 #define HAVE_ISNANF 1
39885 _ACEOF
39886
39887 fi
39888 done
39889
39890   else
39891
39892   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
39893 $as_echo_n "checking for _isnanf declaration... " >&6; }
39894   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
39895     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
39896   $as_echo_n "(cached) " >&6
39897 else
39898
39899
39900       ac_ext=cpp
39901 ac_cpp='$CXXCPP $CPPFLAGS'
39902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39905
39906       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39907 /* end confdefs.h.  */
39908 #include <math.h>
39909                       #ifdef HAVE_IEEEFP_H
39910                       #include <ieeefp.h>
39911                       #endif
39912
39913 int
39914 main ()
39915 {
39916  _isnanf(0);
39917   ;
39918   return 0;
39919 }
39920 _ACEOF
39921 if ac_fn_cxx_try_compile "$LINENO"; then :
39922   glibcxx_cv_func__isnanf_use=yes
39923 else
39924   glibcxx_cv_func__isnanf_use=no
39925 fi
39926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39927       ac_ext=c
39928 ac_cpp='$CPP $CPPFLAGS'
39929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39932
39933
39934 fi
39935
39936   fi
39937   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
39938 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
39939
39940     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
39941       for ac_func in _isnanf
39942 do :
39943   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
39944 if test "x$ac_cv_func__isnanf" = x""yes; then :
39945   cat >>confdefs.h <<_ACEOF
39946 #define HAVE__ISNANF 1
39947 _ACEOF
39948
39949 fi
39950 done
39951
39952     fi
39953   fi
39954
39955
39956
39957
39958
39959   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
39960 $as_echo_n "checking for isinff declaration... " >&6; }
39961   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
39962     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
39963   $as_echo_n "(cached) " >&6
39964 else
39965
39966
39967       ac_ext=cpp
39968 ac_cpp='$CXXCPP $CPPFLAGS'
39969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39972
39973       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39974 /* end confdefs.h.  */
39975 #include <math.h>
39976                       #ifdef HAVE_IEEEFP_H
39977                       #include <ieeefp.h>
39978                       #endif
39979
39980 int
39981 main ()
39982 {
39983  isinff(0);
39984   ;
39985   return 0;
39986 }
39987 _ACEOF
39988 if ac_fn_cxx_try_compile "$LINENO"; then :
39989   glibcxx_cv_func_isinff_use=yes
39990 else
39991   glibcxx_cv_func_isinff_use=no
39992 fi
39993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39994       ac_ext=c
39995 ac_cpp='$CPP $CPPFLAGS'
39996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39999
40000
40001 fi
40002
40003   fi
40004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
40005 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
40006
40007   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
40008     for ac_func in isinff
40009 do :
40010   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
40011 if test "x$ac_cv_func_isinff" = x""yes; then :
40012   cat >>confdefs.h <<_ACEOF
40013 #define HAVE_ISINFF 1
40014 _ACEOF
40015
40016 fi
40017 done
40018
40019   else
40020
40021   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
40022 $as_echo_n "checking for _isinff declaration... " >&6; }
40023   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
40024     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
40025   $as_echo_n "(cached) " >&6
40026 else
40027
40028
40029       ac_ext=cpp
40030 ac_cpp='$CXXCPP $CPPFLAGS'
40031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40034
40035       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40036 /* end confdefs.h.  */
40037 #include <math.h>
40038                       #ifdef HAVE_IEEEFP_H
40039                       #include <ieeefp.h>
40040                       #endif
40041
40042 int
40043 main ()
40044 {
40045  _isinff(0);
40046   ;
40047   return 0;
40048 }
40049 _ACEOF
40050 if ac_fn_cxx_try_compile "$LINENO"; then :
40051   glibcxx_cv_func__isinff_use=yes
40052 else
40053   glibcxx_cv_func__isinff_use=no
40054 fi
40055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40056       ac_ext=c
40057 ac_cpp='$CPP $CPPFLAGS'
40058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40061
40062
40063 fi
40064
40065   fi
40066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
40067 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
40068
40069     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
40070       for ac_func in _isinff
40071 do :
40072   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
40073 if test "x$ac_cv_func__isinff" = x""yes; then :
40074   cat >>confdefs.h <<_ACEOF
40075 #define HAVE__ISINFF 1
40076 _ACEOF
40077
40078 fi
40079 done
40080
40081     fi
40082   fi
40083
40084
40085
40086
40087
40088   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
40089 $as_echo_n "checking for atan2f declaration... " >&6; }
40090   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
40091     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
40092   $as_echo_n "(cached) " >&6
40093 else
40094
40095
40096       ac_ext=cpp
40097 ac_cpp='$CXXCPP $CPPFLAGS'
40098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40101
40102       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40103 /* end confdefs.h.  */
40104 #include <math.h>
40105 int
40106 main ()
40107 {
40108  atan2f(0, 0);
40109   ;
40110   return 0;
40111 }
40112 _ACEOF
40113 if ac_fn_cxx_try_compile "$LINENO"; then :
40114   glibcxx_cv_func_atan2f_use=yes
40115 else
40116   glibcxx_cv_func_atan2f_use=no
40117 fi
40118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40119       ac_ext=c
40120 ac_cpp='$CPP $CPPFLAGS'
40121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40124
40125
40126 fi
40127
40128   fi
40129   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
40130 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
40131
40132   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
40133     for ac_func in atan2f
40134 do :
40135   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
40136 if test "x$ac_cv_func_atan2f" = x""yes; then :
40137   cat >>confdefs.h <<_ACEOF
40138 #define HAVE_ATAN2F 1
40139 _ACEOF
40140
40141 fi
40142 done
40143
40144   else
40145
40146   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
40147 $as_echo_n "checking for _atan2f declaration... " >&6; }
40148   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
40149     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
40150   $as_echo_n "(cached) " >&6
40151 else
40152
40153
40154       ac_ext=cpp
40155 ac_cpp='$CXXCPP $CPPFLAGS'
40156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40159
40160       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40161 /* end confdefs.h.  */
40162 #include <math.h>
40163 int
40164 main ()
40165 {
40166  _atan2f(0, 0);
40167   ;
40168   return 0;
40169 }
40170 _ACEOF
40171 if ac_fn_cxx_try_compile "$LINENO"; then :
40172   glibcxx_cv_func__atan2f_use=yes
40173 else
40174   glibcxx_cv_func__atan2f_use=no
40175 fi
40176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40177       ac_ext=c
40178 ac_cpp='$CPP $CPPFLAGS'
40179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40182
40183
40184 fi
40185
40186   fi
40187   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
40188 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
40189
40190     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
40191       for ac_func in _atan2f
40192 do :
40193   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
40194 if test "x$ac_cv_func__atan2f" = x""yes; then :
40195   cat >>confdefs.h <<_ACEOF
40196 #define HAVE__ATAN2F 1
40197 _ACEOF
40198
40199 fi
40200 done
40201
40202     fi
40203   fi
40204
40205
40206
40207
40208
40209   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
40210 $as_echo_n "checking for fabsf declaration... " >&6; }
40211   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
40212     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
40213   $as_echo_n "(cached) " >&6
40214 else
40215
40216
40217       ac_ext=cpp
40218 ac_cpp='$CXXCPP $CPPFLAGS'
40219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40222
40223       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40224 /* end confdefs.h.  */
40225 #include <math.h>
40226                       #ifdef HAVE_IEEEFP_H
40227                       #include <ieeefp.h>
40228                       #endif
40229
40230 int
40231 main ()
40232 {
40233  fabsf(0);
40234   ;
40235   return 0;
40236 }
40237 _ACEOF
40238 if ac_fn_cxx_try_compile "$LINENO"; then :
40239   glibcxx_cv_func_fabsf_use=yes
40240 else
40241   glibcxx_cv_func_fabsf_use=no
40242 fi
40243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40244       ac_ext=c
40245 ac_cpp='$CPP $CPPFLAGS'
40246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40249
40250
40251 fi
40252
40253   fi
40254   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
40255 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
40256
40257   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
40258     for ac_func in fabsf
40259 do :
40260   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
40261 if test "x$ac_cv_func_fabsf" = x""yes; then :
40262   cat >>confdefs.h <<_ACEOF
40263 #define HAVE_FABSF 1
40264 _ACEOF
40265
40266 fi
40267 done
40268
40269   else
40270
40271   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
40272 $as_echo_n "checking for _fabsf declaration... " >&6; }
40273   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
40274     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
40275   $as_echo_n "(cached) " >&6
40276 else
40277
40278
40279       ac_ext=cpp
40280 ac_cpp='$CXXCPP $CPPFLAGS'
40281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40284
40285       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40286 /* end confdefs.h.  */
40287 #include <math.h>
40288                       #ifdef HAVE_IEEEFP_H
40289                       #include <ieeefp.h>
40290                       #endif
40291
40292 int
40293 main ()
40294 {
40295  _fabsf(0);
40296   ;
40297   return 0;
40298 }
40299 _ACEOF
40300 if ac_fn_cxx_try_compile "$LINENO"; then :
40301   glibcxx_cv_func__fabsf_use=yes
40302 else
40303   glibcxx_cv_func__fabsf_use=no
40304 fi
40305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40306       ac_ext=c
40307 ac_cpp='$CPP $CPPFLAGS'
40308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40311
40312
40313 fi
40314
40315   fi
40316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
40317 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
40318
40319     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
40320       for ac_func in _fabsf
40321 do :
40322   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
40323 if test "x$ac_cv_func__fabsf" = x""yes; then :
40324   cat >>confdefs.h <<_ACEOF
40325 #define HAVE__FABSF 1
40326 _ACEOF
40327
40328 fi
40329 done
40330
40331     fi
40332   fi
40333
40334
40335
40336
40337
40338   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
40339 $as_echo_n "checking for fmodf declaration... " >&6; }
40340   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
40341     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
40342   $as_echo_n "(cached) " >&6
40343 else
40344
40345
40346       ac_ext=cpp
40347 ac_cpp='$CXXCPP $CPPFLAGS'
40348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40351
40352       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40353 /* end confdefs.h.  */
40354 #include <math.h>
40355 int
40356 main ()
40357 {
40358  fmodf(0, 0);
40359   ;
40360   return 0;
40361 }
40362 _ACEOF
40363 if ac_fn_cxx_try_compile "$LINENO"; then :
40364   glibcxx_cv_func_fmodf_use=yes
40365 else
40366   glibcxx_cv_func_fmodf_use=no
40367 fi
40368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40369       ac_ext=c
40370 ac_cpp='$CPP $CPPFLAGS'
40371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40374
40375
40376 fi
40377
40378   fi
40379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
40380 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
40381
40382   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
40383     for ac_func in fmodf
40384 do :
40385   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
40386 if test "x$ac_cv_func_fmodf" = x""yes; then :
40387   cat >>confdefs.h <<_ACEOF
40388 #define HAVE_FMODF 1
40389 _ACEOF
40390
40391 fi
40392 done
40393
40394   else
40395
40396   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
40397 $as_echo_n "checking for _fmodf declaration... " >&6; }
40398   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
40399     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
40400   $as_echo_n "(cached) " >&6
40401 else
40402
40403
40404       ac_ext=cpp
40405 ac_cpp='$CXXCPP $CPPFLAGS'
40406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40409
40410       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40411 /* end confdefs.h.  */
40412 #include <math.h>
40413 int
40414 main ()
40415 {
40416  _fmodf(0, 0);
40417   ;
40418   return 0;
40419 }
40420 _ACEOF
40421 if ac_fn_cxx_try_compile "$LINENO"; then :
40422   glibcxx_cv_func__fmodf_use=yes
40423 else
40424   glibcxx_cv_func__fmodf_use=no
40425 fi
40426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40427       ac_ext=c
40428 ac_cpp='$CPP $CPPFLAGS'
40429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40432
40433
40434 fi
40435
40436   fi
40437   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
40438 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
40439
40440     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
40441       for ac_func in _fmodf
40442 do :
40443   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
40444 if test "x$ac_cv_func__fmodf" = x""yes; then :
40445   cat >>confdefs.h <<_ACEOF
40446 #define HAVE__FMODF 1
40447 _ACEOF
40448
40449 fi
40450 done
40451
40452     fi
40453   fi
40454
40455
40456
40457
40458
40459   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
40460 $as_echo_n "checking for frexpf declaration... " >&6; }
40461   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
40462     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
40463   $as_echo_n "(cached) " >&6
40464 else
40465
40466
40467       ac_ext=cpp
40468 ac_cpp='$CXXCPP $CPPFLAGS'
40469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40472
40473       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40474 /* end confdefs.h.  */
40475 #include <math.h>
40476 int
40477 main ()
40478 {
40479  frexpf(0, 0);
40480   ;
40481   return 0;
40482 }
40483 _ACEOF
40484 if ac_fn_cxx_try_compile "$LINENO"; then :
40485   glibcxx_cv_func_frexpf_use=yes
40486 else
40487   glibcxx_cv_func_frexpf_use=no
40488 fi
40489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40490       ac_ext=c
40491 ac_cpp='$CPP $CPPFLAGS'
40492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40495
40496
40497 fi
40498
40499   fi
40500   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
40501 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
40502
40503   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
40504     for ac_func in frexpf
40505 do :
40506   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
40507 if test "x$ac_cv_func_frexpf" = x""yes; then :
40508   cat >>confdefs.h <<_ACEOF
40509 #define HAVE_FREXPF 1
40510 _ACEOF
40511
40512 fi
40513 done
40514
40515   else
40516
40517   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
40518 $as_echo_n "checking for _frexpf declaration... " >&6; }
40519   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
40520     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
40521   $as_echo_n "(cached) " >&6
40522 else
40523
40524
40525       ac_ext=cpp
40526 ac_cpp='$CXXCPP $CPPFLAGS'
40527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40530
40531       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40532 /* end confdefs.h.  */
40533 #include <math.h>
40534 int
40535 main ()
40536 {
40537  _frexpf(0, 0);
40538   ;
40539   return 0;
40540 }
40541 _ACEOF
40542 if ac_fn_cxx_try_compile "$LINENO"; then :
40543   glibcxx_cv_func__frexpf_use=yes
40544 else
40545   glibcxx_cv_func__frexpf_use=no
40546 fi
40547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40548       ac_ext=c
40549 ac_cpp='$CPP $CPPFLAGS'
40550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40553
40554
40555 fi
40556
40557   fi
40558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
40559 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
40560
40561     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
40562       for ac_func in _frexpf
40563 do :
40564   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
40565 if test "x$ac_cv_func__frexpf" = x""yes; then :
40566   cat >>confdefs.h <<_ACEOF
40567 #define HAVE__FREXPF 1
40568 _ACEOF
40569
40570 fi
40571 done
40572
40573     fi
40574   fi
40575
40576
40577
40578
40579
40580   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
40581 $as_echo_n "checking for hypotf declaration... " >&6; }
40582   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
40583     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
40584   $as_echo_n "(cached) " >&6
40585 else
40586
40587
40588       ac_ext=cpp
40589 ac_cpp='$CXXCPP $CPPFLAGS'
40590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40593
40594       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40595 /* end confdefs.h.  */
40596 #include <math.h>
40597 int
40598 main ()
40599 {
40600  hypotf(0, 0);
40601   ;
40602   return 0;
40603 }
40604 _ACEOF
40605 if ac_fn_cxx_try_compile "$LINENO"; then :
40606   glibcxx_cv_func_hypotf_use=yes
40607 else
40608   glibcxx_cv_func_hypotf_use=no
40609 fi
40610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40611       ac_ext=c
40612 ac_cpp='$CPP $CPPFLAGS'
40613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40616
40617
40618 fi
40619
40620   fi
40621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
40622 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
40623
40624   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
40625     for ac_func in hypotf
40626 do :
40627   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
40628 if test "x$ac_cv_func_hypotf" = x""yes; then :
40629   cat >>confdefs.h <<_ACEOF
40630 #define HAVE_HYPOTF 1
40631 _ACEOF
40632
40633 fi
40634 done
40635
40636   else
40637
40638   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
40639 $as_echo_n "checking for _hypotf declaration... " >&6; }
40640   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
40641     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
40642   $as_echo_n "(cached) " >&6
40643 else
40644
40645
40646       ac_ext=cpp
40647 ac_cpp='$CXXCPP $CPPFLAGS'
40648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40651
40652       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40653 /* end confdefs.h.  */
40654 #include <math.h>
40655 int
40656 main ()
40657 {
40658  _hypotf(0, 0);
40659   ;
40660   return 0;
40661 }
40662 _ACEOF
40663 if ac_fn_cxx_try_compile "$LINENO"; then :
40664   glibcxx_cv_func__hypotf_use=yes
40665 else
40666   glibcxx_cv_func__hypotf_use=no
40667 fi
40668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40669       ac_ext=c
40670 ac_cpp='$CPP $CPPFLAGS'
40671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40674
40675
40676 fi
40677
40678   fi
40679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
40680 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
40681
40682     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
40683       for ac_func in _hypotf
40684 do :
40685   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
40686 if test "x$ac_cv_func__hypotf" = x""yes; then :
40687   cat >>confdefs.h <<_ACEOF
40688 #define HAVE__HYPOTF 1
40689 _ACEOF
40690
40691 fi
40692 done
40693
40694     fi
40695   fi
40696
40697
40698
40699
40700
40701   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
40702 $as_echo_n "checking for ldexpf declaration... " >&6; }
40703   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
40704     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
40705   $as_echo_n "(cached) " >&6
40706 else
40707
40708
40709       ac_ext=cpp
40710 ac_cpp='$CXXCPP $CPPFLAGS'
40711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40714
40715       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40716 /* end confdefs.h.  */
40717 #include <math.h>
40718 int
40719 main ()
40720 {
40721  ldexpf(0, 0);
40722   ;
40723   return 0;
40724 }
40725 _ACEOF
40726 if ac_fn_cxx_try_compile "$LINENO"; then :
40727   glibcxx_cv_func_ldexpf_use=yes
40728 else
40729   glibcxx_cv_func_ldexpf_use=no
40730 fi
40731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40732       ac_ext=c
40733 ac_cpp='$CPP $CPPFLAGS'
40734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40737
40738
40739 fi
40740
40741   fi
40742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
40743 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
40744
40745   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
40746     for ac_func in ldexpf
40747 do :
40748   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
40749 if test "x$ac_cv_func_ldexpf" = x""yes; then :
40750   cat >>confdefs.h <<_ACEOF
40751 #define HAVE_LDEXPF 1
40752 _ACEOF
40753
40754 fi
40755 done
40756
40757   else
40758
40759   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
40760 $as_echo_n "checking for _ldexpf declaration... " >&6; }
40761   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
40762     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
40763   $as_echo_n "(cached) " >&6
40764 else
40765
40766
40767       ac_ext=cpp
40768 ac_cpp='$CXXCPP $CPPFLAGS'
40769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40772
40773       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40774 /* end confdefs.h.  */
40775 #include <math.h>
40776 int
40777 main ()
40778 {
40779  _ldexpf(0, 0);
40780   ;
40781   return 0;
40782 }
40783 _ACEOF
40784 if ac_fn_cxx_try_compile "$LINENO"; then :
40785   glibcxx_cv_func__ldexpf_use=yes
40786 else
40787   glibcxx_cv_func__ldexpf_use=no
40788 fi
40789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40790       ac_ext=c
40791 ac_cpp='$CPP $CPPFLAGS'
40792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40795
40796
40797 fi
40798
40799   fi
40800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
40801 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
40802
40803     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
40804       for ac_func in _ldexpf
40805 do :
40806   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
40807 if test "x$ac_cv_func__ldexpf" = x""yes; then :
40808   cat >>confdefs.h <<_ACEOF
40809 #define HAVE__LDEXPF 1
40810 _ACEOF
40811
40812 fi
40813 done
40814
40815     fi
40816   fi
40817
40818
40819
40820
40821
40822   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
40823 $as_echo_n "checking for logf declaration... " >&6; }
40824   if test x${glibcxx_cv_func_logf_use+set} != xset; then
40825     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
40826   $as_echo_n "(cached) " >&6
40827 else
40828
40829
40830       ac_ext=cpp
40831 ac_cpp='$CXXCPP $CPPFLAGS'
40832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40835
40836       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40837 /* end confdefs.h.  */
40838 #include <math.h>
40839                       #ifdef HAVE_IEEEFP_H
40840                       #include <ieeefp.h>
40841                       #endif
40842
40843 int
40844 main ()
40845 {
40846  logf(0);
40847   ;
40848   return 0;
40849 }
40850 _ACEOF
40851 if ac_fn_cxx_try_compile "$LINENO"; then :
40852   glibcxx_cv_func_logf_use=yes
40853 else
40854   glibcxx_cv_func_logf_use=no
40855 fi
40856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40857       ac_ext=c
40858 ac_cpp='$CPP $CPPFLAGS'
40859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40862
40863
40864 fi
40865
40866   fi
40867   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
40868 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
40869
40870   if test x$glibcxx_cv_func_logf_use = x"yes"; then
40871     for ac_func in logf
40872 do :
40873   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
40874 if test "x$ac_cv_func_logf" = x""yes; then :
40875   cat >>confdefs.h <<_ACEOF
40876 #define HAVE_LOGF 1
40877 _ACEOF
40878
40879 fi
40880 done
40881
40882   else
40883
40884   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
40885 $as_echo_n "checking for _logf declaration... " >&6; }
40886   if test x${glibcxx_cv_func__logf_use+set} != xset; then
40887     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
40888   $as_echo_n "(cached) " >&6
40889 else
40890
40891
40892       ac_ext=cpp
40893 ac_cpp='$CXXCPP $CPPFLAGS'
40894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40897
40898       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40899 /* end confdefs.h.  */
40900 #include <math.h>
40901                       #ifdef HAVE_IEEEFP_H
40902                       #include <ieeefp.h>
40903                       #endif
40904
40905 int
40906 main ()
40907 {
40908  _logf(0);
40909   ;
40910   return 0;
40911 }
40912 _ACEOF
40913 if ac_fn_cxx_try_compile "$LINENO"; then :
40914   glibcxx_cv_func__logf_use=yes
40915 else
40916   glibcxx_cv_func__logf_use=no
40917 fi
40918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40919       ac_ext=c
40920 ac_cpp='$CPP $CPPFLAGS'
40921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40924
40925
40926 fi
40927
40928   fi
40929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
40930 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
40931
40932     if test x$glibcxx_cv_func__logf_use = x"yes"; then
40933       for ac_func in _logf
40934 do :
40935   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
40936 if test "x$ac_cv_func__logf" = x""yes; then :
40937   cat >>confdefs.h <<_ACEOF
40938 #define HAVE__LOGF 1
40939 _ACEOF
40940
40941 fi
40942 done
40943
40944     fi
40945   fi
40946
40947
40948
40949
40950
40951   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
40952 $as_echo_n "checking for log10f declaration... " >&6; }
40953   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
40954     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
40955   $as_echo_n "(cached) " >&6
40956 else
40957
40958
40959       ac_ext=cpp
40960 ac_cpp='$CXXCPP $CPPFLAGS'
40961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40964
40965       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40966 /* end confdefs.h.  */
40967 #include <math.h>
40968                       #ifdef HAVE_IEEEFP_H
40969                       #include <ieeefp.h>
40970                       #endif
40971
40972 int
40973 main ()
40974 {
40975  log10f(0);
40976   ;
40977   return 0;
40978 }
40979 _ACEOF
40980 if ac_fn_cxx_try_compile "$LINENO"; then :
40981   glibcxx_cv_func_log10f_use=yes
40982 else
40983   glibcxx_cv_func_log10f_use=no
40984 fi
40985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40986       ac_ext=c
40987 ac_cpp='$CPP $CPPFLAGS'
40988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40991
40992
40993 fi
40994
40995   fi
40996   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
40997 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
40998
40999   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
41000     for ac_func in log10f
41001 do :
41002   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
41003 if test "x$ac_cv_func_log10f" = x""yes; then :
41004   cat >>confdefs.h <<_ACEOF
41005 #define HAVE_LOG10F 1
41006 _ACEOF
41007
41008 fi
41009 done
41010
41011   else
41012
41013   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
41014 $as_echo_n "checking for _log10f declaration... " >&6; }
41015   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
41016     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
41017   $as_echo_n "(cached) " >&6
41018 else
41019
41020
41021       ac_ext=cpp
41022 ac_cpp='$CXXCPP $CPPFLAGS'
41023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41026
41027       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41028 /* end confdefs.h.  */
41029 #include <math.h>
41030                       #ifdef HAVE_IEEEFP_H
41031                       #include <ieeefp.h>
41032                       #endif
41033
41034 int
41035 main ()
41036 {
41037  _log10f(0);
41038   ;
41039   return 0;
41040 }
41041 _ACEOF
41042 if ac_fn_cxx_try_compile "$LINENO"; then :
41043   glibcxx_cv_func__log10f_use=yes
41044 else
41045   glibcxx_cv_func__log10f_use=no
41046 fi
41047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41048       ac_ext=c
41049 ac_cpp='$CPP $CPPFLAGS'
41050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41053
41054
41055 fi
41056
41057   fi
41058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
41059 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
41060
41061     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
41062       for ac_func in _log10f
41063 do :
41064   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
41065 if test "x$ac_cv_func__log10f" = x""yes; then :
41066   cat >>confdefs.h <<_ACEOF
41067 #define HAVE__LOG10F 1
41068 _ACEOF
41069
41070 fi
41071 done
41072
41073     fi
41074   fi
41075
41076
41077
41078
41079
41080   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
41081 $as_echo_n "checking for modff declaration... " >&6; }
41082   if test x${glibcxx_cv_func_modff_use+set} != xset; then
41083     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
41084   $as_echo_n "(cached) " >&6
41085 else
41086
41087
41088       ac_ext=cpp
41089 ac_cpp='$CXXCPP $CPPFLAGS'
41090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41093
41094       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41095 /* end confdefs.h.  */
41096 #include <math.h>
41097 int
41098 main ()
41099 {
41100  modff(0, 0);
41101   ;
41102   return 0;
41103 }
41104 _ACEOF
41105 if ac_fn_cxx_try_compile "$LINENO"; then :
41106   glibcxx_cv_func_modff_use=yes
41107 else
41108   glibcxx_cv_func_modff_use=no
41109 fi
41110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41111       ac_ext=c
41112 ac_cpp='$CPP $CPPFLAGS'
41113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41116
41117
41118 fi
41119
41120   fi
41121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
41122 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
41123
41124   if test x$glibcxx_cv_func_modff_use = x"yes"; then
41125     for ac_func in modff
41126 do :
41127   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
41128 if test "x$ac_cv_func_modff" = x""yes; then :
41129   cat >>confdefs.h <<_ACEOF
41130 #define HAVE_MODFF 1
41131 _ACEOF
41132
41133 fi
41134 done
41135
41136   else
41137
41138   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
41139 $as_echo_n "checking for _modff declaration... " >&6; }
41140   if test x${glibcxx_cv_func__modff_use+set} != xset; then
41141     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
41142   $as_echo_n "(cached) " >&6
41143 else
41144
41145
41146       ac_ext=cpp
41147 ac_cpp='$CXXCPP $CPPFLAGS'
41148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41151
41152       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41153 /* end confdefs.h.  */
41154 #include <math.h>
41155 int
41156 main ()
41157 {
41158  _modff(0, 0);
41159   ;
41160   return 0;
41161 }
41162 _ACEOF
41163 if ac_fn_cxx_try_compile "$LINENO"; then :
41164   glibcxx_cv_func__modff_use=yes
41165 else
41166   glibcxx_cv_func__modff_use=no
41167 fi
41168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41169       ac_ext=c
41170 ac_cpp='$CPP $CPPFLAGS'
41171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41174
41175
41176 fi
41177
41178   fi
41179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
41180 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
41181
41182     if test x$glibcxx_cv_func__modff_use = x"yes"; then
41183       for ac_func in _modff
41184 do :
41185   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
41186 if test "x$ac_cv_func__modff" = x""yes; then :
41187   cat >>confdefs.h <<_ACEOF
41188 #define HAVE__MODFF 1
41189 _ACEOF
41190
41191 fi
41192 done
41193
41194     fi
41195   fi
41196
41197
41198
41199
41200
41201   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
41202 $as_echo_n "checking for modf declaration... " >&6; }
41203   if test x${glibcxx_cv_func_modf_use+set} != xset; then
41204     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
41205   $as_echo_n "(cached) " >&6
41206 else
41207
41208
41209       ac_ext=cpp
41210 ac_cpp='$CXXCPP $CPPFLAGS'
41211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41214
41215       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41216 /* end confdefs.h.  */
41217 #include <math.h>
41218 int
41219 main ()
41220 {
41221  modf(0, 0);
41222   ;
41223   return 0;
41224 }
41225 _ACEOF
41226 if ac_fn_cxx_try_compile "$LINENO"; then :
41227   glibcxx_cv_func_modf_use=yes
41228 else
41229   glibcxx_cv_func_modf_use=no
41230 fi
41231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41232       ac_ext=c
41233 ac_cpp='$CPP $CPPFLAGS'
41234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41237
41238
41239 fi
41240
41241   fi
41242   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
41243 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
41244
41245   if test x$glibcxx_cv_func_modf_use = x"yes"; then
41246     for ac_func in modf
41247 do :
41248   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
41249 if test "x$ac_cv_func_modf" = x""yes; then :
41250   cat >>confdefs.h <<_ACEOF
41251 #define HAVE_MODF 1
41252 _ACEOF
41253
41254 fi
41255 done
41256
41257   else
41258
41259   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
41260 $as_echo_n "checking for _modf declaration... " >&6; }
41261   if test x${glibcxx_cv_func__modf_use+set} != xset; then
41262     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
41263   $as_echo_n "(cached) " >&6
41264 else
41265
41266
41267       ac_ext=cpp
41268 ac_cpp='$CXXCPP $CPPFLAGS'
41269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41272
41273       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41274 /* end confdefs.h.  */
41275 #include <math.h>
41276 int
41277 main ()
41278 {
41279  _modf(0, 0);
41280   ;
41281   return 0;
41282 }
41283 _ACEOF
41284 if ac_fn_cxx_try_compile "$LINENO"; then :
41285   glibcxx_cv_func__modf_use=yes
41286 else
41287   glibcxx_cv_func__modf_use=no
41288 fi
41289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41290       ac_ext=c
41291 ac_cpp='$CPP $CPPFLAGS'
41292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41295
41296
41297 fi
41298
41299   fi
41300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
41301 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
41302
41303     if test x$glibcxx_cv_func__modf_use = x"yes"; then
41304       for ac_func in _modf
41305 do :
41306   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
41307 if test "x$ac_cv_func__modf" = x""yes; then :
41308   cat >>confdefs.h <<_ACEOF
41309 #define HAVE__MODF 1
41310 _ACEOF
41311
41312 fi
41313 done
41314
41315     fi
41316   fi
41317
41318
41319
41320
41321
41322   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
41323 $as_echo_n "checking for powf declaration... " >&6; }
41324   if test x${glibcxx_cv_func_powf_use+set} != xset; then
41325     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
41326   $as_echo_n "(cached) " >&6
41327 else
41328
41329
41330       ac_ext=cpp
41331 ac_cpp='$CXXCPP $CPPFLAGS'
41332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41335
41336       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41337 /* end confdefs.h.  */
41338 #include <math.h>
41339 int
41340 main ()
41341 {
41342  powf(0, 0);
41343   ;
41344   return 0;
41345 }
41346 _ACEOF
41347 if ac_fn_cxx_try_compile "$LINENO"; then :
41348   glibcxx_cv_func_powf_use=yes
41349 else
41350   glibcxx_cv_func_powf_use=no
41351 fi
41352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41353       ac_ext=c
41354 ac_cpp='$CPP $CPPFLAGS'
41355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41358
41359
41360 fi
41361
41362   fi
41363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
41364 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
41365
41366   if test x$glibcxx_cv_func_powf_use = x"yes"; then
41367     for ac_func in powf
41368 do :
41369   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
41370 if test "x$ac_cv_func_powf" = x""yes; then :
41371   cat >>confdefs.h <<_ACEOF
41372 #define HAVE_POWF 1
41373 _ACEOF
41374
41375 fi
41376 done
41377
41378   else
41379
41380   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
41381 $as_echo_n "checking for _powf declaration... " >&6; }
41382   if test x${glibcxx_cv_func__powf_use+set} != xset; then
41383     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
41384   $as_echo_n "(cached) " >&6
41385 else
41386
41387
41388       ac_ext=cpp
41389 ac_cpp='$CXXCPP $CPPFLAGS'
41390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41393
41394       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41395 /* end confdefs.h.  */
41396 #include <math.h>
41397 int
41398 main ()
41399 {
41400  _powf(0, 0);
41401   ;
41402   return 0;
41403 }
41404 _ACEOF
41405 if ac_fn_cxx_try_compile "$LINENO"; then :
41406   glibcxx_cv_func__powf_use=yes
41407 else
41408   glibcxx_cv_func__powf_use=no
41409 fi
41410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41411       ac_ext=c
41412 ac_cpp='$CPP $CPPFLAGS'
41413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41416
41417
41418 fi
41419
41420   fi
41421   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
41422 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
41423
41424     if test x$glibcxx_cv_func__powf_use = x"yes"; then
41425       for ac_func in _powf
41426 do :
41427   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
41428 if test "x$ac_cv_func__powf" = x""yes; then :
41429   cat >>confdefs.h <<_ACEOF
41430 #define HAVE__POWF 1
41431 _ACEOF
41432
41433 fi
41434 done
41435
41436     fi
41437   fi
41438
41439
41440
41441
41442
41443   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
41444 $as_echo_n "checking for sqrtf declaration... " >&6; }
41445   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
41446     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
41447   $as_echo_n "(cached) " >&6
41448 else
41449
41450
41451       ac_ext=cpp
41452 ac_cpp='$CXXCPP $CPPFLAGS'
41453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41456
41457       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41458 /* end confdefs.h.  */
41459 #include <math.h>
41460                       #ifdef HAVE_IEEEFP_H
41461                       #include <ieeefp.h>
41462                       #endif
41463
41464 int
41465 main ()
41466 {
41467  sqrtf(0);
41468   ;
41469   return 0;
41470 }
41471 _ACEOF
41472 if ac_fn_cxx_try_compile "$LINENO"; then :
41473   glibcxx_cv_func_sqrtf_use=yes
41474 else
41475   glibcxx_cv_func_sqrtf_use=no
41476 fi
41477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41478       ac_ext=c
41479 ac_cpp='$CPP $CPPFLAGS'
41480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41483
41484
41485 fi
41486
41487   fi
41488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
41489 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
41490
41491   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
41492     for ac_func in sqrtf
41493 do :
41494   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
41495 if test "x$ac_cv_func_sqrtf" = x""yes; then :
41496   cat >>confdefs.h <<_ACEOF
41497 #define HAVE_SQRTF 1
41498 _ACEOF
41499
41500 fi
41501 done
41502
41503   else
41504
41505   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
41506 $as_echo_n "checking for _sqrtf declaration... " >&6; }
41507   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
41508     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
41509   $as_echo_n "(cached) " >&6
41510 else
41511
41512
41513       ac_ext=cpp
41514 ac_cpp='$CXXCPP $CPPFLAGS'
41515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41518
41519       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41520 /* end confdefs.h.  */
41521 #include <math.h>
41522                       #ifdef HAVE_IEEEFP_H
41523                       #include <ieeefp.h>
41524                       #endif
41525
41526 int
41527 main ()
41528 {
41529  _sqrtf(0);
41530   ;
41531   return 0;
41532 }
41533 _ACEOF
41534 if ac_fn_cxx_try_compile "$LINENO"; then :
41535   glibcxx_cv_func__sqrtf_use=yes
41536 else
41537   glibcxx_cv_func__sqrtf_use=no
41538 fi
41539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41540       ac_ext=c
41541 ac_cpp='$CPP $CPPFLAGS'
41542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41545
41546
41547 fi
41548
41549   fi
41550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
41551 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
41552
41553     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
41554       for ac_func in _sqrtf
41555 do :
41556   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
41557 if test "x$ac_cv_func__sqrtf" = x""yes; then :
41558   cat >>confdefs.h <<_ACEOF
41559 #define HAVE__SQRTF 1
41560 _ACEOF
41561
41562 fi
41563 done
41564
41565     fi
41566   fi
41567
41568
41569
41570
41571
41572   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
41573 $as_echo_n "checking for sincosf declaration... " >&6; }
41574   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
41575     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
41576   $as_echo_n "(cached) " >&6
41577 else
41578
41579
41580       ac_ext=cpp
41581 ac_cpp='$CXXCPP $CPPFLAGS'
41582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41585
41586       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41587 /* end confdefs.h.  */
41588 #include <math.h>
41589 int
41590 main ()
41591 {
41592  sincosf(0, 0, 0);
41593   ;
41594   return 0;
41595 }
41596 _ACEOF
41597 if ac_fn_cxx_try_compile "$LINENO"; then :
41598   glibcxx_cv_func_sincosf_use=yes
41599 else
41600   glibcxx_cv_func_sincosf_use=no
41601 fi
41602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41603       ac_ext=c
41604 ac_cpp='$CPP $CPPFLAGS'
41605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41608
41609
41610 fi
41611
41612   fi
41613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
41614 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
41615
41616   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
41617     for ac_func in sincosf
41618 do :
41619   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
41620 if test "x$ac_cv_func_sincosf" = x""yes; then :
41621   cat >>confdefs.h <<_ACEOF
41622 #define HAVE_SINCOSF 1
41623 _ACEOF
41624
41625 fi
41626 done
41627
41628   else
41629
41630   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
41631 $as_echo_n "checking for _sincosf declaration... " >&6; }
41632   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
41633     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
41634   $as_echo_n "(cached) " >&6
41635 else
41636
41637
41638       ac_ext=cpp
41639 ac_cpp='$CXXCPP $CPPFLAGS'
41640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41643
41644       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41645 /* end confdefs.h.  */
41646 #include <math.h>
41647 int
41648 main ()
41649 {
41650  _sincosf(0, 0, 0);
41651   ;
41652   return 0;
41653 }
41654 _ACEOF
41655 if ac_fn_cxx_try_compile "$LINENO"; then :
41656   glibcxx_cv_func__sincosf_use=yes
41657 else
41658   glibcxx_cv_func__sincosf_use=no
41659 fi
41660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41661       ac_ext=c
41662 ac_cpp='$CPP $CPPFLAGS'
41663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41666
41667
41668 fi
41669
41670   fi
41671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
41672 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
41673
41674     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
41675       for ac_func in _sincosf
41676 do :
41677   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
41678 if test "x$ac_cv_func__sincosf" = x""yes; then :
41679   cat >>confdefs.h <<_ACEOF
41680 #define HAVE__SINCOSF 1
41681 _ACEOF
41682
41683 fi
41684 done
41685
41686     fi
41687   fi
41688
41689
41690
41691
41692
41693   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
41694 $as_echo_n "checking for finitef declaration... " >&6; }
41695   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
41696     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
41697   $as_echo_n "(cached) " >&6
41698 else
41699
41700
41701       ac_ext=cpp
41702 ac_cpp='$CXXCPP $CPPFLAGS'
41703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41706
41707       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41708 /* end confdefs.h.  */
41709 #include <math.h>
41710                       #ifdef HAVE_IEEEFP_H
41711                       #include <ieeefp.h>
41712                       #endif
41713
41714 int
41715 main ()
41716 {
41717  finitef(0);
41718   ;
41719   return 0;
41720 }
41721 _ACEOF
41722 if ac_fn_cxx_try_compile "$LINENO"; then :
41723   glibcxx_cv_func_finitef_use=yes
41724 else
41725   glibcxx_cv_func_finitef_use=no
41726 fi
41727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41728       ac_ext=c
41729 ac_cpp='$CPP $CPPFLAGS'
41730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41733
41734
41735 fi
41736
41737   fi
41738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
41739 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
41740
41741   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
41742     for ac_func in finitef
41743 do :
41744   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
41745 if test "x$ac_cv_func_finitef" = x""yes; then :
41746   cat >>confdefs.h <<_ACEOF
41747 #define HAVE_FINITEF 1
41748 _ACEOF
41749
41750 fi
41751 done
41752
41753   else
41754
41755   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
41756 $as_echo_n "checking for _finitef declaration... " >&6; }
41757   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
41758     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
41759   $as_echo_n "(cached) " >&6
41760 else
41761
41762
41763       ac_ext=cpp
41764 ac_cpp='$CXXCPP $CPPFLAGS'
41765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41768
41769       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41770 /* end confdefs.h.  */
41771 #include <math.h>
41772                       #ifdef HAVE_IEEEFP_H
41773                       #include <ieeefp.h>
41774                       #endif
41775
41776 int
41777 main ()
41778 {
41779  _finitef(0);
41780   ;
41781   return 0;
41782 }
41783 _ACEOF
41784 if ac_fn_cxx_try_compile "$LINENO"; then :
41785   glibcxx_cv_func__finitef_use=yes
41786 else
41787   glibcxx_cv_func__finitef_use=no
41788 fi
41789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41790       ac_ext=c
41791 ac_cpp='$CPP $CPPFLAGS'
41792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41795
41796
41797 fi
41798
41799   fi
41800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
41801 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
41802
41803     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
41804       for ac_func in _finitef
41805 do :
41806   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
41807 if test "x$ac_cv_func__finitef" = x""yes; then :
41808   cat >>confdefs.h <<_ACEOF
41809 #define HAVE__FINITEF 1
41810 _ACEOF
41811
41812 fi
41813 done
41814
41815     fi
41816   fi
41817
41818
41819
41820
41821
41822     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
41823 $as_echo_n "checking for long double trig functions... " >&6; }
41824   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
41825   $as_echo_n "(cached) " >&6
41826 else
41827
41828
41829     ac_ext=cpp
41830 ac_cpp='$CXXCPP $CPPFLAGS'
41831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41834
41835     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41836 /* end confdefs.h.  */
41837 #include <math.h>
41838 int
41839 main ()
41840 {
41841 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
41842   ;
41843   return 0;
41844 }
41845 _ACEOF
41846 if ac_fn_cxx_try_compile "$LINENO"; then :
41847   glibcxx_cv_func_long_double_trig_use=yes
41848 else
41849   glibcxx_cv_func_long_double_trig_use=no
41850 fi
41851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41852     ac_ext=c
41853 ac_cpp='$CPP $CPPFLAGS'
41854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41857
41858 fi
41859
41860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
41861 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
41862   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
41863     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
41864 do :
41865   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41866 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41867 eval as_val=\$$as_ac_var
41868    if test "x$as_val" = x""yes; then :
41869   cat >>confdefs.h <<_ACEOF
41870 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41871 _ACEOF
41872
41873 fi
41874 done
41875
41876   else
41877     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
41878 $as_echo_n "checking for _long double trig functions... " >&6; }
41879     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
41880   $as_echo_n "(cached) " >&6
41881 else
41882
41883
41884       ac_ext=cpp
41885 ac_cpp='$CXXCPP $CPPFLAGS'
41886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41889
41890       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41891 /* end confdefs.h.  */
41892 #include <math.h>
41893 int
41894 main ()
41895 {
41896 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
41897   ;
41898   return 0;
41899 }
41900 _ACEOF
41901 if ac_fn_cxx_try_compile "$LINENO"; then :
41902   glibcxx_cv_func__long_double_trig_use=yes
41903 else
41904   glibcxx_cv_func__long_double_trig_use=no
41905 fi
41906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41907       ac_ext=c
41908 ac_cpp='$CPP $CPPFLAGS'
41909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41912
41913 fi
41914
41915     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
41916 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
41917     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
41918       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
41919 do :
41920   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41921 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41922 eval as_val=\$$as_ac_var
41923    if test "x$as_val" = x""yes; then :
41924   cat >>confdefs.h <<_ACEOF
41925 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41926 _ACEOF
41927
41928 fi
41929 done
41930
41931     fi
41932   fi
41933
41934
41935
41936
41937
41938     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
41939 $as_echo_n "checking for long double round functions... " >&6; }
41940   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
41941   $as_echo_n "(cached) " >&6
41942 else
41943
41944
41945     ac_ext=cpp
41946 ac_cpp='$CXXCPP $CPPFLAGS'
41947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41950
41951     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41952 /* end confdefs.h.  */
41953 #include <math.h>
41954 int
41955 main ()
41956 {
41957 ceill (0); floorl (0);
41958   ;
41959   return 0;
41960 }
41961 _ACEOF
41962 if ac_fn_cxx_try_compile "$LINENO"; then :
41963   glibcxx_cv_func_long_double_round_use=yes
41964 else
41965   glibcxx_cv_func_long_double_round_use=no
41966 fi
41967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41968     ac_ext=c
41969 ac_cpp='$CPP $CPPFLAGS'
41970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41973
41974 fi
41975
41976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
41977 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
41978   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
41979     for ac_func in ceill floorl
41980 do :
41981   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41982 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41983 eval as_val=\$$as_ac_var
41984    if test "x$as_val" = x""yes; then :
41985   cat >>confdefs.h <<_ACEOF
41986 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41987 _ACEOF
41988
41989 fi
41990 done
41991
41992   else
41993     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
41994 $as_echo_n "checking for _long double round functions... " >&6; }
41995     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
41996   $as_echo_n "(cached) " >&6
41997 else
41998
41999
42000       ac_ext=cpp
42001 ac_cpp='$CXXCPP $CPPFLAGS'
42002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42005
42006       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42007 /* end confdefs.h.  */
42008 #include <math.h>
42009 int
42010 main ()
42011 {
42012 _ceill (0); _floorl (0);
42013   ;
42014   return 0;
42015 }
42016 _ACEOF
42017 if ac_fn_cxx_try_compile "$LINENO"; then :
42018   glibcxx_cv_func__long_double_round_use=yes
42019 else
42020   glibcxx_cv_func__long_double_round_use=no
42021 fi
42022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42023       ac_ext=c
42024 ac_cpp='$CPP $CPPFLAGS'
42025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42028
42029 fi
42030
42031     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
42032 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
42033     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
42034       for ac_func in _ceill _floorl
42035 do :
42036   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42037 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42038 eval as_val=\$$as_ac_var
42039    if test "x$as_val" = x""yes; then :
42040   cat >>confdefs.h <<_ACEOF
42041 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42042 _ACEOF
42043
42044 fi
42045 done
42046
42047     fi
42048   fi
42049
42050
42051
42052
42053
42054
42055   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
42056 $as_echo_n "checking for isnanl declaration... " >&6; }
42057   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
42058     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
42059   $as_echo_n "(cached) " >&6
42060 else
42061
42062
42063       ac_ext=cpp
42064 ac_cpp='$CXXCPP $CPPFLAGS'
42065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42068
42069       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42070 /* end confdefs.h.  */
42071 #include <math.h>
42072                       #ifdef HAVE_IEEEFP_H
42073                       #include <ieeefp.h>
42074                       #endif
42075
42076 int
42077 main ()
42078 {
42079  isnanl(0);
42080   ;
42081   return 0;
42082 }
42083 _ACEOF
42084 if ac_fn_cxx_try_compile "$LINENO"; then :
42085   glibcxx_cv_func_isnanl_use=yes
42086 else
42087   glibcxx_cv_func_isnanl_use=no
42088 fi
42089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42090       ac_ext=c
42091 ac_cpp='$CPP $CPPFLAGS'
42092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42095
42096
42097 fi
42098
42099   fi
42100   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
42101 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
42102
42103   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
42104     for ac_func in isnanl
42105 do :
42106   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
42107 if test "x$ac_cv_func_isnanl" = x""yes; then :
42108   cat >>confdefs.h <<_ACEOF
42109 #define HAVE_ISNANL 1
42110 _ACEOF
42111
42112 fi
42113 done
42114
42115   else
42116
42117   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
42118 $as_echo_n "checking for _isnanl declaration... " >&6; }
42119   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
42120     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
42121   $as_echo_n "(cached) " >&6
42122 else
42123
42124
42125       ac_ext=cpp
42126 ac_cpp='$CXXCPP $CPPFLAGS'
42127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42130
42131       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42132 /* end confdefs.h.  */
42133 #include <math.h>
42134                       #ifdef HAVE_IEEEFP_H
42135                       #include <ieeefp.h>
42136                       #endif
42137
42138 int
42139 main ()
42140 {
42141  _isnanl(0);
42142   ;
42143   return 0;
42144 }
42145 _ACEOF
42146 if ac_fn_cxx_try_compile "$LINENO"; then :
42147   glibcxx_cv_func__isnanl_use=yes
42148 else
42149   glibcxx_cv_func__isnanl_use=no
42150 fi
42151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42152       ac_ext=c
42153 ac_cpp='$CPP $CPPFLAGS'
42154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42157
42158
42159 fi
42160
42161   fi
42162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
42163 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
42164
42165     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
42166       for ac_func in _isnanl
42167 do :
42168   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
42169 if test "x$ac_cv_func__isnanl" = x""yes; then :
42170   cat >>confdefs.h <<_ACEOF
42171 #define HAVE__ISNANL 1
42172 _ACEOF
42173
42174 fi
42175 done
42176
42177     fi
42178   fi
42179
42180
42181
42182
42183
42184   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
42185 $as_echo_n "checking for isinfl declaration... " >&6; }
42186   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
42187     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
42188   $as_echo_n "(cached) " >&6
42189 else
42190
42191
42192       ac_ext=cpp
42193 ac_cpp='$CXXCPP $CPPFLAGS'
42194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42197
42198       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42199 /* end confdefs.h.  */
42200 #include <math.h>
42201                       #ifdef HAVE_IEEEFP_H
42202                       #include <ieeefp.h>
42203                       #endif
42204
42205 int
42206 main ()
42207 {
42208  isinfl(0);
42209   ;
42210   return 0;
42211 }
42212 _ACEOF
42213 if ac_fn_cxx_try_compile "$LINENO"; then :
42214   glibcxx_cv_func_isinfl_use=yes
42215 else
42216   glibcxx_cv_func_isinfl_use=no
42217 fi
42218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42219       ac_ext=c
42220 ac_cpp='$CPP $CPPFLAGS'
42221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42224
42225
42226 fi
42227
42228   fi
42229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
42230 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
42231
42232   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
42233     for ac_func in isinfl
42234 do :
42235   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
42236 if test "x$ac_cv_func_isinfl" = x""yes; then :
42237   cat >>confdefs.h <<_ACEOF
42238 #define HAVE_ISINFL 1
42239 _ACEOF
42240
42241 fi
42242 done
42243
42244   else
42245
42246   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
42247 $as_echo_n "checking for _isinfl declaration... " >&6; }
42248   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42249     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
42250   $as_echo_n "(cached) " >&6
42251 else
42252
42253
42254       ac_ext=cpp
42255 ac_cpp='$CXXCPP $CPPFLAGS'
42256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42259
42260       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42261 /* end confdefs.h.  */
42262 #include <math.h>
42263                       #ifdef HAVE_IEEEFP_H
42264                       #include <ieeefp.h>
42265                       #endif
42266
42267 int
42268 main ()
42269 {
42270  _isinfl(0);
42271   ;
42272   return 0;
42273 }
42274 _ACEOF
42275 if ac_fn_cxx_try_compile "$LINENO"; then :
42276   glibcxx_cv_func__isinfl_use=yes
42277 else
42278   glibcxx_cv_func__isinfl_use=no
42279 fi
42280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42281       ac_ext=c
42282 ac_cpp='$CPP $CPPFLAGS'
42283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42286
42287
42288 fi
42289
42290   fi
42291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
42292 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
42293
42294     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42295       for ac_func in _isinfl
42296 do :
42297   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
42298 if test "x$ac_cv_func__isinfl" = x""yes; then :
42299   cat >>confdefs.h <<_ACEOF
42300 #define HAVE__ISINFL 1
42301 _ACEOF
42302
42303 fi
42304 done
42305
42306     fi
42307   fi
42308
42309
42310
42311
42312
42313   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
42314 $as_echo_n "checking for atan2l declaration... " >&6; }
42315   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42316     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
42317   $as_echo_n "(cached) " >&6
42318 else
42319
42320
42321       ac_ext=cpp
42322 ac_cpp='$CXXCPP $CPPFLAGS'
42323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42326
42327       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42328 /* end confdefs.h.  */
42329 #include <math.h>
42330 int
42331 main ()
42332 {
42333  atan2l(0, 0);
42334   ;
42335   return 0;
42336 }
42337 _ACEOF
42338 if ac_fn_cxx_try_compile "$LINENO"; then :
42339   glibcxx_cv_func_atan2l_use=yes
42340 else
42341   glibcxx_cv_func_atan2l_use=no
42342 fi
42343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42344       ac_ext=c
42345 ac_cpp='$CPP $CPPFLAGS'
42346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42349
42350
42351 fi
42352
42353   fi
42354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
42355 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
42356
42357   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42358     for ac_func in atan2l
42359 do :
42360   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
42361 if test "x$ac_cv_func_atan2l" = x""yes; then :
42362   cat >>confdefs.h <<_ACEOF
42363 #define HAVE_ATAN2L 1
42364 _ACEOF
42365
42366 fi
42367 done
42368
42369   else
42370
42371   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
42372 $as_echo_n "checking for _atan2l declaration... " >&6; }
42373   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42374     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
42375   $as_echo_n "(cached) " >&6
42376 else
42377
42378
42379       ac_ext=cpp
42380 ac_cpp='$CXXCPP $CPPFLAGS'
42381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42384
42385       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42386 /* end confdefs.h.  */
42387 #include <math.h>
42388 int
42389 main ()
42390 {
42391  _atan2l(0, 0);
42392   ;
42393   return 0;
42394 }
42395 _ACEOF
42396 if ac_fn_cxx_try_compile "$LINENO"; then :
42397   glibcxx_cv_func__atan2l_use=yes
42398 else
42399   glibcxx_cv_func__atan2l_use=no
42400 fi
42401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42402       ac_ext=c
42403 ac_cpp='$CPP $CPPFLAGS'
42404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42407
42408
42409 fi
42410
42411   fi
42412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
42413 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
42414
42415     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42416       for ac_func in _atan2l
42417 do :
42418   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
42419 if test "x$ac_cv_func__atan2l" = x""yes; then :
42420   cat >>confdefs.h <<_ACEOF
42421 #define HAVE__ATAN2L 1
42422 _ACEOF
42423
42424 fi
42425 done
42426
42427     fi
42428   fi
42429
42430
42431
42432
42433
42434   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
42435 $as_echo_n "checking for expl declaration... " >&6; }
42436   if test x${glibcxx_cv_func_expl_use+set} != xset; then
42437     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
42438   $as_echo_n "(cached) " >&6
42439 else
42440
42441
42442       ac_ext=cpp
42443 ac_cpp='$CXXCPP $CPPFLAGS'
42444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42447
42448       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42449 /* end confdefs.h.  */
42450 #include <math.h>
42451                       #ifdef HAVE_IEEEFP_H
42452                       #include <ieeefp.h>
42453                       #endif
42454
42455 int
42456 main ()
42457 {
42458  expl(0);
42459   ;
42460   return 0;
42461 }
42462 _ACEOF
42463 if ac_fn_cxx_try_compile "$LINENO"; then :
42464   glibcxx_cv_func_expl_use=yes
42465 else
42466   glibcxx_cv_func_expl_use=no
42467 fi
42468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42469       ac_ext=c
42470 ac_cpp='$CPP $CPPFLAGS'
42471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42474
42475
42476 fi
42477
42478   fi
42479   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
42480 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
42481
42482   if test x$glibcxx_cv_func_expl_use = x"yes"; then
42483     for ac_func in expl
42484 do :
42485   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
42486 if test "x$ac_cv_func_expl" = x""yes; then :
42487   cat >>confdefs.h <<_ACEOF
42488 #define HAVE_EXPL 1
42489 _ACEOF
42490
42491 fi
42492 done
42493
42494   else
42495
42496   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
42497 $as_echo_n "checking for _expl declaration... " >&6; }
42498   if test x${glibcxx_cv_func__expl_use+set} != xset; then
42499     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
42500   $as_echo_n "(cached) " >&6
42501 else
42502
42503
42504       ac_ext=cpp
42505 ac_cpp='$CXXCPP $CPPFLAGS'
42506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42509
42510       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42511 /* end confdefs.h.  */
42512 #include <math.h>
42513                       #ifdef HAVE_IEEEFP_H
42514                       #include <ieeefp.h>
42515                       #endif
42516
42517 int
42518 main ()
42519 {
42520  _expl(0);
42521   ;
42522   return 0;
42523 }
42524 _ACEOF
42525 if ac_fn_cxx_try_compile "$LINENO"; then :
42526   glibcxx_cv_func__expl_use=yes
42527 else
42528   glibcxx_cv_func__expl_use=no
42529 fi
42530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42531       ac_ext=c
42532 ac_cpp='$CPP $CPPFLAGS'
42533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42536
42537
42538 fi
42539
42540   fi
42541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
42542 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
42543
42544     if test x$glibcxx_cv_func__expl_use = x"yes"; then
42545       for ac_func in _expl
42546 do :
42547   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
42548 if test "x$ac_cv_func__expl" = x""yes; then :
42549   cat >>confdefs.h <<_ACEOF
42550 #define HAVE__EXPL 1
42551 _ACEOF
42552
42553 fi
42554 done
42555
42556     fi
42557   fi
42558
42559
42560
42561
42562
42563   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
42564 $as_echo_n "checking for fabsl declaration... " >&6; }
42565   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
42566     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
42567   $as_echo_n "(cached) " >&6
42568 else
42569
42570
42571       ac_ext=cpp
42572 ac_cpp='$CXXCPP $CPPFLAGS'
42573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42576
42577       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42578 /* end confdefs.h.  */
42579 #include <math.h>
42580                       #ifdef HAVE_IEEEFP_H
42581                       #include <ieeefp.h>
42582                       #endif
42583
42584 int
42585 main ()
42586 {
42587  fabsl(0);
42588   ;
42589   return 0;
42590 }
42591 _ACEOF
42592 if ac_fn_cxx_try_compile "$LINENO"; then :
42593   glibcxx_cv_func_fabsl_use=yes
42594 else
42595   glibcxx_cv_func_fabsl_use=no
42596 fi
42597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42598       ac_ext=c
42599 ac_cpp='$CPP $CPPFLAGS'
42600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42603
42604
42605 fi
42606
42607   fi
42608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
42609 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
42610
42611   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
42612     for ac_func in fabsl
42613 do :
42614   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
42615 if test "x$ac_cv_func_fabsl" = x""yes; then :
42616   cat >>confdefs.h <<_ACEOF
42617 #define HAVE_FABSL 1
42618 _ACEOF
42619
42620 fi
42621 done
42622
42623   else
42624
42625   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
42626 $as_echo_n "checking for _fabsl declaration... " >&6; }
42627   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
42628     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
42629   $as_echo_n "(cached) " >&6
42630 else
42631
42632
42633       ac_ext=cpp
42634 ac_cpp='$CXXCPP $CPPFLAGS'
42635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42638
42639       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42640 /* end confdefs.h.  */
42641 #include <math.h>
42642                       #ifdef HAVE_IEEEFP_H
42643                       #include <ieeefp.h>
42644                       #endif
42645
42646 int
42647 main ()
42648 {
42649  _fabsl(0);
42650   ;
42651   return 0;
42652 }
42653 _ACEOF
42654 if ac_fn_cxx_try_compile "$LINENO"; then :
42655   glibcxx_cv_func__fabsl_use=yes
42656 else
42657   glibcxx_cv_func__fabsl_use=no
42658 fi
42659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42660       ac_ext=c
42661 ac_cpp='$CPP $CPPFLAGS'
42662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42665
42666
42667 fi
42668
42669   fi
42670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
42671 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
42672
42673     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
42674       for ac_func in _fabsl
42675 do :
42676   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
42677 if test "x$ac_cv_func__fabsl" = x""yes; then :
42678   cat >>confdefs.h <<_ACEOF
42679 #define HAVE__FABSL 1
42680 _ACEOF
42681
42682 fi
42683 done
42684
42685     fi
42686   fi
42687
42688
42689
42690
42691
42692   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
42693 $as_echo_n "checking for fmodl declaration... " >&6; }
42694   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
42695     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
42696   $as_echo_n "(cached) " >&6
42697 else
42698
42699
42700       ac_ext=cpp
42701 ac_cpp='$CXXCPP $CPPFLAGS'
42702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42705
42706       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42707 /* end confdefs.h.  */
42708 #include <math.h>
42709 int
42710 main ()
42711 {
42712  fmodl(0, 0);
42713   ;
42714   return 0;
42715 }
42716 _ACEOF
42717 if ac_fn_cxx_try_compile "$LINENO"; then :
42718   glibcxx_cv_func_fmodl_use=yes
42719 else
42720   glibcxx_cv_func_fmodl_use=no
42721 fi
42722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42723       ac_ext=c
42724 ac_cpp='$CPP $CPPFLAGS'
42725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42728
42729
42730 fi
42731
42732   fi
42733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
42734 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
42735
42736   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
42737     for ac_func in fmodl
42738 do :
42739   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
42740 if test "x$ac_cv_func_fmodl" = x""yes; then :
42741   cat >>confdefs.h <<_ACEOF
42742 #define HAVE_FMODL 1
42743 _ACEOF
42744
42745 fi
42746 done
42747
42748   else
42749
42750   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
42751 $as_echo_n "checking for _fmodl declaration... " >&6; }
42752   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
42753     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
42754   $as_echo_n "(cached) " >&6
42755 else
42756
42757
42758       ac_ext=cpp
42759 ac_cpp='$CXXCPP $CPPFLAGS'
42760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42763
42764       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42765 /* end confdefs.h.  */
42766 #include <math.h>
42767 int
42768 main ()
42769 {
42770  _fmodl(0, 0);
42771   ;
42772   return 0;
42773 }
42774 _ACEOF
42775 if ac_fn_cxx_try_compile "$LINENO"; then :
42776   glibcxx_cv_func__fmodl_use=yes
42777 else
42778   glibcxx_cv_func__fmodl_use=no
42779 fi
42780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42781       ac_ext=c
42782 ac_cpp='$CPP $CPPFLAGS'
42783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42786
42787
42788 fi
42789
42790   fi
42791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
42792 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
42793
42794     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
42795       for ac_func in _fmodl
42796 do :
42797   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
42798 if test "x$ac_cv_func__fmodl" = x""yes; then :
42799   cat >>confdefs.h <<_ACEOF
42800 #define HAVE__FMODL 1
42801 _ACEOF
42802
42803 fi
42804 done
42805
42806     fi
42807   fi
42808
42809
42810
42811
42812
42813   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
42814 $as_echo_n "checking for frexpl declaration... " >&6; }
42815   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
42816     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
42817   $as_echo_n "(cached) " >&6
42818 else
42819
42820
42821       ac_ext=cpp
42822 ac_cpp='$CXXCPP $CPPFLAGS'
42823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42826
42827       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42828 /* end confdefs.h.  */
42829 #include <math.h>
42830 int
42831 main ()
42832 {
42833  frexpl(0, 0);
42834   ;
42835   return 0;
42836 }
42837 _ACEOF
42838 if ac_fn_cxx_try_compile "$LINENO"; then :
42839   glibcxx_cv_func_frexpl_use=yes
42840 else
42841   glibcxx_cv_func_frexpl_use=no
42842 fi
42843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42844       ac_ext=c
42845 ac_cpp='$CPP $CPPFLAGS'
42846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42849
42850
42851 fi
42852
42853   fi
42854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
42855 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
42856
42857   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
42858     for ac_func in frexpl
42859 do :
42860   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
42861 if test "x$ac_cv_func_frexpl" = x""yes; then :
42862   cat >>confdefs.h <<_ACEOF
42863 #define HAVE_FREXPL 1
42864 _ACEOF
42865
42866 fi
42867 done
42868
42869   else
42870
42871   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
42872 $as_echo_n "checking for _frexpl declaration... " >&6; }
42873   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
42874     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
42875   $as_echo_n "(cached) " >&6
42876 else
42877
42878
42879       ac_ext=cpp
42880 ac_cpp='$CXXCPP $CPPFLAGS'
42881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42884
42885       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42886 /* end confdefs.h.  */
42887 #include <math.h>
42888 int
42889 main ()
42890 {
42891  _frexpl(0, 0);
42892   ;
42893   return 0;
42894 }
42895 _ACEOF
42896 if ac_fn_cxx_try_compile "$LINENO"; then :
42897   glibcxx_cv_func__frexpl_use=yes
42898 else
42899   glibcxx_cv_func__frexpl_use=no
42900 fi
42901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42902       ac_ext=c
42903 ac_cpp='$CPP $CPPFLAGS'
42904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42907
42908
42909 fi
42910
42911   fi
42912   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
42913 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
42914
42915     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
42916       for ac_func in _frexpl
42917 do :
42918   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
42919 if test "x$ac_cv_func__frexpl" = x""yes; then :
42920   cat >>confdefs.h <<_ACEOF
42921 #define HAVE__FREXPL 1
42922 _ACEOF
42923
42924 fi
42925 done
42926
42927     fi
42928   fi
42929
42930
42931
42932
42933
42934   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
42935 $as_echo_n "checking for hypotl declaration... " >&6; }
42936   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
42937     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
42938   $as_echo_n "(cached) " >&6
42939 else
42940
42941
42942       ac_ext=cpp
42943 ac_cpp='$CXXCPP $CPPFLAGS'
42944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42947
42948       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42949 /* end confdefs.h.  */
42950 #include <math.h>
42951 int
42952 main ()
42953 {
42954  hypotl(0, 0);
42955   ;
42956   return 0;
42957 }
42958 _ACEOF
42959 if ac_fn_cxx_try_compile "$LINENO"; then :
42960   glibcxx_cv_func_hypotl_use=yes
42961 else
42962   glibcxx_cv_func_hypotl_use=no
42963 fi
42964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42965       ac_ext=c
42966 ac_cpp='$CPP $CPPFLAGS'
42967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42970
42971
42972 fi
42973
42974   fi
42975   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
42976 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
42977
42978   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
42979     for ac_func in hypotl
42980 do :
42981   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
42982 if test "x$ac_cv_func_hypotl" = x""yes; then :
42983   cat >>confdefs.h <<_ACEOF
42984 #define HAVE_HYPOTL 1
42985 _ACEOF
42986
42987 fi
42988 done
42989
42990   else
42991
42992   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
42993 $as_echo_n "checking for _hypotl declaration... " >&6; }
42994   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
42995     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
42996   $as_echo_n "(cached) " >&6
42997 else
42998
42999
43000       ac_ext=cpp
43001 ac_cpp='$CXXCPP $CPPFLAGS'
43002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43005
43006       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43007 /* end confdefs.h.  */
43008 #include <math.h>
43009 int
43010 main ()
43011 {
43012  _hypotl(0, 0);
43013   ;
43014   return 0;
43015 }
43016 _ACEOF
43017 if ac_fn_cxx_try_compile "$LINENO"; then :
43018   glibcxx_cv_func__hypotl_use=yes
43019 else
43020   glibcxx_cv_func__hypotl_use=no
43021 fi
43022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43023       ac_ext=c
43024 ac_cpp='$CPP $CPPFLAGS'
43025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43028
43029
43030 fi
43031
43032   fi
43033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
43034 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
43035
43036     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
43037       for ac_func in _hypotl
43038 do :
43039   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
43040 if test "x$ac_cv_func__hypotl" = x""yes; then :
43041   cat >>confdefs.h <<_ACEOF
43042 #define HAVE__HYPOTL 1
43043 _ACEOF
43044
43045 fi
43046 done
43047
43048     fi
43049   fi
43050
43051
43052
43053
43054
43055   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
43056 $as_echo_n "checking for ldexpl declaration... " >&6; }
43057   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
43058     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
43059   $as_echo_n "(cached) " >&6
43060 else
43061
43062
43063       ac_ext=cpp
43064 ac_cpp='$CXXCPP $CPPFLAGS'
43065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43068
43069       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43070 /* end confdefs.h.  */
43071 #include <math.h>
43072 int
43073 main ()
43074 {
43075  ldexpl(0, 0);
43076   ;
43077   return 0;
43078 }
43079 _ACEOF
43080 if ac_fn_cxx_try_compile "$LINENO"; then :
43081   glibcxx_cv_func_ldexpl_use=yes
43082 else
43083   glibcxx_cv_func_ldexpl_use=no
43084 fi
43085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43086       ac_ext=c
43087 ac_cpp='$CPP $CPPFLAGS'
43088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43091
43092
43093 fi
43094
43095   fi
43096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
43097 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
43098
43099   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
43100     for ac_func in ldexpl
43101 do :
43102   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
43103 if test "x$ac_cv_func_ldexpl" = x""yes; then :
43104   cat >>confdefs.h <<_ACEOF
43105 #define HAVE_LDEXPL 1
43106 _ACEOF
43107
43108 fi
43109 done
43110
43111   else
43112
43113   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
43114 $as_echo_n "checking for _ldexpl declaration... " >&6; }
43115   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
43116     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
43117   $as_echo_n "(cached) " >&6
43118 else
43119
43120
43121       ac_ext=cpp
43122 ac_cpp='$CXXCPP $CPPFLAGS'
43123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43126
43127       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43128 /* end confdefs.h.  */
43129 #include <math.h>
43130 int
43131 main ()
43132 {
43133  _ldexpl(0, 0);
43134   ;
43135   return 0;
43136 }
43137 _ACEOF
43138 if ac_fn_cxx_try_compile "$LINENO"; then :
43139   glibcxx_cv_func__ldexpl_use=yes
43140 else
43141   glibcxx_cv_func__ldexpl_use=no
43142 fi
43143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43144       ac_ext=c
43145 ac_cpp='$CPP $CPPFLAGS'
43146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43149
43150
43151 fi
43152
43153   fi
43154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
43155 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
43156
43157     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
43158       for ac_func in _ldexpl
43159 do :
43160   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
43161 if test "x$ac_cv_func__ldexpl" = x""yes; then :
43162   cat >>confdefs.h <<_ACEOF
43163 #define HAVE__LDEXPL 1
43164 _ACEOF
43165
43166 fi
43167 done
43168
43169     fi
43170   fi
43171
43172
43173
43174
43175
43176   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
43177 $as_echo_n "checking for logl declaration... " >&6; }
43178   if test x${glibcxx_cv_func_logl_use+set} != xset; then
43179     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
43180   $as_echo_n "(cached) " >&6
43181 else
43182
43183
43184       ac_ext=cpp
43185 ac_cpp='$CXXCPP $CPPFLAGS'
43186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43189
43190       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43191 /* end confdefs.h.  */
43192 #include <math.h>
43193                       #ifdef HAVE_IEEEFP_H
43194                       #include <ieeefp.h>
43195                       #endif
43196
43197 int
43198 main ()
43199 {
43200  logl(0);
43201   ;
43202   return 0;
43203 }
43204 _ACEOF
43205 if ac_fn_cxx_try_compile "$LINENO"; then :
43206   glibcxx_cv_func_logl_use=yes
43207 else
43208   glibcxx_cv_func_logl_use=no
43209 fi
43210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43211       ac_ext=c
43212 ac_cpp='$CPP $CPPFLAGS'
43213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43216
43217
43218 fi
43219
43220   fi
43221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
43222 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
43223
43224   if test x$glibcxx_cv_func_logl_use = x"yes"; then
43225     for ac_func in logl
43226 do :
43227   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
43228 if test "x$ac_cv_func_logl" = x""yes; then :
43229   cat >>confdefs.h <<_ACEOF
43230 #define HAVE_LOGL 1
43231 _ACEOF
43232
43233 fi
43234 done
43235
43236   else
43237
43238   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
43239 $as_echo_n "checking for _logl declaration... " >&6; }
43240   if test x${glibcxx_cv_func__logl_use+set} != xset; then
43241     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
43242   $as_echo_n "(cached) " >&6
43243 else
43244
43245
43246       ac_ext=cpp
43247 ac_cpp='$CXXCPP $CPPFLAGS'
43248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43251
43252       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43253 /* end confdefs.h.  */
43254 #include <math.h>
43255                       #ifdef HAVE_IEEEFP_H
43256                       #include <ieeefp.h>
43257                       #endif
43258
43259 int
43260 main ()
43261 {
43262  _logl(0);
43263   ;
43264   return 0;
43265 }
43266 _ACEOF
43267 if ac_fn_cxx_try_compile "$LINENO"; then :
43268   glibcxx_cv_func__logl_use=yes
43269 else
43270   glibcxx_cv_func__logl_use=no
43271 fi
43272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43273       ac_ext=c
43274 ac_cpp='$CPP $CPPFLAGS'
43275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43278
43279
43280 fi
43281
43282   fi
43283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
43284 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
43285
43286     if test x$glibcxx_cv_func__logl_use = x"yes"; then
43287       for ac_func in _logl
43288 do :
43289   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
43290 if test "x$ac_cv_func__logl" = x""yes; then :
43291   cat >>confdefs.h <<_ACEOF
43292 #define HAVE__LOGL 1
43293 _ACEOF
43294
43295 fi
43296 done
43297
43298     fi
43299   fi
43300
43301
43302
43303
43304
43305   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
43306 $as_echo_n "checking for log10l declaration... " >&6; }
43307   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
43308     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
43309   $as_echo_n "(cached) " >&6
43310 else
43311
43312
43313       ac_ext=cpp
43314 ac_cpp='$CXXCPP $CPPFLAGS'
43315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43318
43319       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43320 /* end confdefs.h.  */
43321 #include <math.h>
43322                       #ifdef HAVE_IEEEFP_H
43323                       #include <ieeefp.h>
43324                       #endif
43325
43326 int
43327 main ()
43328 {
43329  log10l(0);
43330   ;
43331   return 0;
43332 }
43333 _ACEOF
43334 if ac_fn_cxx_try_compile "$LINENO"; then :
43335   glibcxx_cv_func_log10l_use=yes
43336 else
43337   glibcxx_cv_func_log10l_use=no
43338 fi
43339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43340       ac_ext=c
43341 ac_cpp='$CPP $CPPFLAGS'
43342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43345
43346
43347 fi
43348
43349   fi
43350   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
43351 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
43352
43353   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
43354     for ac_func in log10l
43355 do :
43356   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
43357 if test "x$ac_cv_func_log10l" = x""yes; then :
43358   cat >>confdefs.h <<_ACEOF
43359 #define HAVE_LOG10L 1
43360 _ACEOF
43361
43362 fi
43363 done
43364
43365   else
43366
43367   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
43368 $as_echo_n "checking for _log10l declaration... " >&6; }
43369   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
43370     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
43371   $as_echo_n "(cached) " >&6
43372 else
43373
43374
43375       ac_ext=cpp
43376 ac_cpp='$CXXCPP $CPPFLAGS'
43377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43380
43381       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43382 /* end confdefs.h.  */
43383 #include <math.h>
43384                       #ifdef HAVE_IEEEFP_H
43385                       #include <ieeefp.h>
43386                       #endif
43387
43388 int
43389 main ()
43390 {
43391  _log10l(0);
43392   ;
43393   return 0;
43394 }
43395 _ACEOF
43396 if ac_fn_cxx_try_compile "$LINENO"; then :
43397   glibcxx_cv_func__log10l_use=yes
43398 else
43399   glibcxx_cv_func__log10l_use=no
43400 fi
43401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43402       ac_ext=c
43403 ac_cpp='$CPP $CPPFLAGS'
43404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43407
43408
43409 fi
43410
43411   fi
43412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
43413 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
43414
43415     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
43416       for ac_func in _log10l
43417 do :
43418   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
43419 if test "x$ac_cv_func__log10l" = x""yes; then :
43420   cat >>confdefs.h <<_ACEOF
43421 #define HAVE__LOG10L 1
43422 _ACEOF
43423
43424 fi
43425 done
43426
43427     fi
43428   fi
43429
43430
43431
43432
43433
43434   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
43435 $as_echo_n "checking for modfl declaration... " >&6; }
43436   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
43437     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
43438   $as_echo_n "(cached) " >&6
43439 else
43440
43441
43442       ac_ext=cpp
43443 ac_cpp='$CXXCPP $CPPFLAGS'
43444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43447
43448       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43449 /* end confdefs.h.  */
43450 #include <math.h>
43451 int
43452 main ()
43453 {
43454  modfl(0, 0);
43455   ;
43456   return 0;
43457 }
43458 _ACEOF
43459 if ac_fn_cxx_try_compile "$LINENO"; then :
43460   glibcxx_cv_func_modfl_use=yes
43461 else
43462   glibcxx_cv_func_modfl_use=no
43463 fi
43464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43465       ac_ext=c
43466 ac_cpp='$CPP $CPPFLAGS'
43467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43470
43471
43472 fi
43473
43474   fi
43475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
43476 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
43477
43478   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
43479     for ac_func in modfl
43480 do :
43481   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
43482 if test "x$ac_cv_func_modfl" = x""yes; then :
43483   cat >>confdefs.h <<_ACEOF
43484 #define HAVE_MODFL 1
43485 _ACEOF
43486
43487 fi
43488 done
43489
43490   else
43491
43492   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
43493 $as_echo_n "checking for _modfl declaration... " >&6; }
43494   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
43495     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
43496   $as_echo_n "(cached) " >&6
43497 else
43498
43499
43500       ac_ext=cpp
43501 ac_cpp='$CXXCPP $CPPFLAGS'
43502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43505
43506       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43507 /* end confdefs.h.  */
43508 #include <math.h>
43509 int
43510 main ()
43511 {
43512  _modfl(0, 0);
43513   ;
43514   return 0;
43515 }
43516 _ACEOF
43517 if ac_fn_cxx_try_compile "$LINENO"; then :
43518   glibcxx_cv_func__modfl_use=yes
43519 else
43520   glibcxx_cv_func__modfl_use=no
43521 fi
43522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43523       ac_ext=c
43524 ac_cpp='$CPP $CPPFLAGS'
43525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43528
43529
43530 fi
43531
43532   fi
43533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
43534 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
43535
43536     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
43537       for ac_func in _modfl
43538 do :
43539   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
43540 if test "x$ac_cv_func__modfl" = x""yes; then :
43541   cat >>confdefs.h <<_ACEOF
43542 #define HAVE__MODFL 1
43543 _ACEOF
43544
43545 fi
43546 done
43547
43548     fi
43549   fi
43550
43551
43552
43553
43554
43555   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
43556 $as_echo_n "checking for powl declaration... " >&6; }
43557   if test x${glibcxx_cv_func_powl_use+set} != xset; then
43558     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
43559   $as_echo_n "(cached) " >&6
43560 else
43561
43562
43563       ac_ext=cpp
43564 ac_cpp='$CXXCPP $CPPFLAGS'
43565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43568
43569       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43570 /* end confdefs.h.  */
43571 #include <math.h>
43572 int
43573 main ()
43574 {
43575  powl(0, 0);
43576   ;
43577   return 0;
43578 }
43579 _ACEOF
43580 if ac_fn_cxx_try_compile "$LINENO"; then :
43581   glibcxx_cv_func_powl_use=yes
43582 else
43583   glibcxx_cv_func_powl_use=no
43584 fi
43585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43586       ac_ext=c
43587 ac_cpp='$CPP $CPPFLAGS'
43588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43591
43592
43593 fi
43594
43595   fi
43596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
43597 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
43598
43599   if test x$glibcxx_cv_func_powl_use = x"yes"; then
43600     for ac_func in powl
43601 do :
43602   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
43603 if test "x$ac_cv_func_powl" = x""yes; then :
43604   cat >>confdefs.h <<_ACEOF
43605 #define HAVE_POWL 1
43606 _ACEOF
43607
43608 fi
43609 done
43610
43611   else
43612
43613   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
43614 $as_echo_n "checking for _powl declaration... " >&6; }
43615   if test x${glibcxx_cv_func__powl_use+set} != xset; then
43616     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
43617   $as_echo_n "(cached) " >&6
43618 else
43619
43620
43621       ac_ext=cpp
43622 ac_cpp='$CXXCPP $CPPFLAGS'
43623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43626
43627       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43628 /* end confdefs.h.  */
43629 #include <math.h>
43630 int
43631 main ()
43632 {
43633  _powl(0, 0);
43634   ;
43635   return 0;
43636 }
43637 _ACEOF
43638 if ac_fn_cxx_try_compile "$LINENO"; then :
43639   glibcxx_cv_func__powl_use=yes
43640 else
43641   glibcxx_cv_func__powl_use=no
43642 fi
43643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43644       ac_ext=c
43645 ac_cpp='$CPP $CPPFLAGS'
43646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43649
43650
43651 fi
43652
43653   fi
43654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
43655 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
43656
43657     if test x$glibcxx_cv_func__powl_use = x"yes"; then
43658       for ac_func in _powl
43659 do :
43660   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
43661 if test "x$ac_cv_func__powl" = x""yes; then :
43662   cat >>confdefs.h <<_ACEOF
43663 #define HAVE__POWL 1
43664 _ACEOF
43665
43666 fi
43667 done
43668
43669     fi
43670   fi
43671
43672
43673
43674
43675
43676   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
43677 $as_echo_n "checking for sqrtl declaration... " >&6; }
43678   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
43679     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
43680   $as_echo_n "(cached) " >&6
43681 else
43682
43683
43684       ac_ext=cpp
43685 ac_cpp='$CXXCPP $CPPFLAGS'
43686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43689
43690       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43691 /* end confdefs.h.  */
43692 #include <math.h>
43693                       #ifdef HAVE_IEEEFP_H
43694                       #include <ieeefp.h>
43695                       #endif
43696
43697 int
43698 main ()
43699 {
43700  sqrtl(0);
43701   ;
43702   return 0;
43703 }
43704 _ACEOF
43705 if ac_fn_cxx_try_compile "$LINENO"; then :
43706   glibcxx_cv_func_sqrtl_use=yes
43707 else
43708   glibcxx_cv_func_sqrtl_use=no
43709 fi
43710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43711       ac_ext=c
43712 ac_cpp='$CPP $CPPFLAGS'
43713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43716
43717
43718 fi
43719
43720   fi
43721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
43722 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
43723
43724   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
43725     for ac_func in sqrtl
43726 do :
43727   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
43728 if test "x$ac_cv_func_sqrtl" = x""yes; then :
43729   cat >>confdefs.h <<_ACEOF
43730 #define HAVE_SQRTL 1
43731 _ACEOF
43732
43733 fi
43734 done
43735
43736   else
43737
43738   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
43739 $as_echo_n "checking for _sqrtl declaration... " >&6; }
43740   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
43741     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
43742   $as_echo_n "(cached) " >&6
43743 else
43744
43745
43746       ac_ext=cpp
43747 ac_cpp='$CXXCPP $CPPFLAGS'
43748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43751
43752       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43753 /* end confdefs.h.  */
43754 #include <math.h>
43755                       #ifdef HAVE_IEEEFP_H
43756                       #include <ieeefp.h>
43757                       #endif
43758
43759 int
43760 main ()
43761 {
43762  _sqrtl(0);
43763   ;
43764   return 0;
43765 }
43766 _ACEOF
43767 if ac_fn_cxx_try_compile "$LINENO"; then :
43768   glibcxx_cv_func__sqrtl_use=yes
43769 else
43770   glibcxx_cv_func__sqrtl_use=no
43771 fi
43772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43773       ac_ext=c
43774 ac_cpp='$CPP $CPPFLAGS'
43775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43778
43779
43780 fi
43781
43782   fi
43783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
43784 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
43785
43786     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
43787       for ac_func in _sqrtl
43788 do :
43789   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
43790 if test "x$ac_cv_func__sqrtl" = x""yes; then :
43791   cat >>confdefs.h <<_ACEOF
43792 #define HAVE__SQRTL 1
43793 _ACEOF
43794
43795 fi
43796 done
43797
43798     fi
43799   fi
43800
43801
43802
43803
43804
43805   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
43806 $as_echo_n "checking for sincosl declaration... " >&6; }
43807   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
43808     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
43809   $as_echo_n "(cached) " >&6
43810 else
43811
43812
43813       ac_ext=cpp
43814 ac_cpp='$CXXCPP $CPPFLAGS'
43815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43818
43819       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43820 /* end confdefs.h.  */
43821 #include <math.h>
43822 int
43823 main ()
43824 {
43825  sincosl(0, 0, 0);
43826   ;
43827   return 0;
43828 }
43829 _ACEOF
43830 if ac_fn_cxx_try_compile "$LINENO"; then :
43831   glibcxx_cv_func_sincosl_use=yes
43832 else
43833   glibcxx_cv_func_sincosl_use=no
43834 fi
43835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43836       ac_ext=c
43837 ac_cpp='$CPP $CPPFLAGS'
43838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43841
43842
43843 fi
43844
43845   fi
43846   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
43847 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
43848
43849   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
43850     for ac_func in sincosl
43851 do :
43852   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
43853 if test "x$ac_cv_func_sincosl" = x""yes; then :
43854   cat >>confdefs.h <<_ACEOF
43855 #define HAVE_SINCOSL 1
43856 _ACEOF
43857
43858 fi
43859 done
43860
43861   else
43862
43863   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
43864 $as_echo_n "checking for _sincosl declaration... " >&6; }
43865   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
43866     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
43867   $as_echo_n "(cached) " >&6
43868 else
43869
43870
43871       ac_ext=cpp
43872 ac_cpp='$CXXCPP $CPPFLAGS'
43873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43876
43877       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43878 /* end confdefs.h.  */
43879 #include <math.h>
43880 int
43881 main ()
43882 {
43883  _sincosl(0, 0, 0);
43884   ;
43885   return 0;
43886 }
43887 _ACEOF
43888 if ac_fn_cxx_try_compile "$LINENO"; then :
43889   glibcxx_cv_func__sincosl_use=yes
43890 else
43891   glibcxx_cv_func__sincosl_use=no
43892 fi
43893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43894       ac_ext=c
43895 ac_cpp='$CPP $CPPFLAGS'
43896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43899
43900
43901 fi
43902
43903   fi
43904   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
43905 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
43906
43907     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
43908       for ac_func in _sincosl
43909 do :
43910   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
43911 if test "x$ac_cv_func__sincosl" = x""yes; then :
43912   cat >>confdefs.h <<_ACEOF
43913 #define HAVE__SINCOSL 1
43914 _ACEOF
43915
43916 fi
43917 done
43918
43919     fi
43920   fi
43921
43922
43923
43924
43925
43926   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
43927 $as_echo_n "checking for finitel declaration... " >&6; }
43928   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
43929     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
43930   $as_echo_n "(cached) " >&6
43931 else
43932
43933
43934       ac_ext=cpp
43935 ac_cpp='$CXXCPP $CPPFLAGS'
43936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43939
43940       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43941 /* end confdefs.h.  */
43942 #include <math.h>
43943                       #ifdef HAVE_IEEEFP_H
43944                       #include <ieeefp.h>
43945                       #endif
43946
43947 int
43948 main ()
43949 {
43950  finitel(0);
43951   ;
43952   return 0;
43953 }
43954 _ACEOF
43955 if ac_fn_cxx_try_compile "$LINENO"; then :
43956   glibcxx_cv_func_finitel_use=yes
43957 else
43958   glibcxx_cv_func_finitel_use=no
43959 fi
43960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43961       ac_ext=c
43962 ac_cpp='$CPP $CPPFLAGS'
43963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43966
43967
43968 fi
43969
43970   fi
43971   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
43972 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
43973
43974   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
43975     for ac_func in finitel
43976 do :
43977   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
43978 if test "x$ac_cv_func_finitel" = x""yes; then :
43979   cat >>confdefs.h <<_ACEOF
43980 #define HAVE_FINITEL 1
43981 _ACEOF
43982
43983 fi
43984 done
43985
43986   else
43987
43988   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
43989 $as_echo_n "checking for _finitel declaration... " >&6; }
43990   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
43991     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
43992   $as_echo_n "(cached) " >&6
43993 else
43994
43995
43996       ac_ext=cpp
43997 ac_cpp='$CXXCPP $CPPFLAGS'
43998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44001
44002       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44003 /* end confdefs.h.  */
44004 #include <math.h>
44005                       #ifdef HAVE_IEEEFP_H
44006                       #include <ieeefp.h>
44007                       #endif
44008
44009 int
44010 main ()
44011 {
44012  _finitel(0);
44013   ;
44014   return 0;
44015 }
44016 _ACEOF
44017 if ac_fn_cxx_try_compile "$LINENO"; then :
44018   glibcxx_cv_func__finitel_use=yes
44019 else
44020   glibcxx_cv_func__finitel_use=no
44021 fi
44022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44023       ac_ext=c
44024 ac_cpp='$CPP $CPPFLAGS'
44025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44028
44029
44030 fi
44031
44032   fi
44033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
44034 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
44035
44036     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
44037       for ac_func in _finitel
44038 do :
44039   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
44040 if test "x$ac_cv_func__finitel" = x""yes; then :
44041   cat >>confdefs.h <<_ACEOF
44042 #define HAVE__FINITEL 1
44043 _ACEOF
44044
44045 fi
44046 done
44047
44048     fi
44049   fi
44050
44051
44052
44053
44054   LIBS="$ac_save_LIBS"
44055   CXXFLAGS="$ac_save_CXXFLAGS"
44056
44057
44058   ac_test_CXXFLAGS="${CXXFLAGS+set}"
44059   ac_save_CXXFLAGS="$CXXFLAGS"
44060   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44061
44062
44063   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
44064 $as_echo_n "checking for strtold declaration... " >&6; }
44065   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
44066     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
44067   $as_echo_n "(cached) " >&6
44068 else
44069
44070
44071       ac_ext=cpp
44072 ac_cpp='$CXXCPP $CPPFLAGS'
44073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44076
44077       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44078 /* end confdefs.h.  */
44079 #include <stdlib.h>
44080 int
44081 main ()
44082 {
44083  strtold(0, 0);
44084   ;
44085   return 0;
44086 }
44087 _ACEOF
44088 if ac_fn_cxx_try_compile "$LINENO"; then :
44089   glibcxx_cv_func_strtold_use=yes
44090 else
44091   glibcxx_cv_func_strtold_use=no
44092 fi
44093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44094       ac_ext=c
44095 ac_cpp='$CPP $CPPFLAGS'
44096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44099
44100
44101 fi
44102
44103   fi
44104   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
44105 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
44106   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
44107     for ac_func in strtold
44108 do :
44109   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
44110 if test "x$ac_cv_func_strtold" = x""yes; then :
44111   cat >>confdefs.h <<_ACEOF
44112 #define HAVE_STRTOLD 1
44113 _ACEOF
44114
44115 fi
44116 done
44117
44118   fi
44119
44120
44121
44122
44123   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
44124 $as_echo_n "checking for strtof declaration... " >&6; }
44125   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
44126     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
44127   $as_echo_n "(cached) " >&6
44128 else
44129
44130
44131       ac_ext=cpp
44132 ac_cpp='$CXXCPP $CPPFLAGS'
44133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44136
44137       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44138 /* end confdefs.h.  */
44139 #include <stdlib.h>
44140 int
44141 main ()
44142 {
44143  strtof(0, 0);
44144   ;
44145   return 0;
44146 }
44147 _ACEOF
44148 if ac_fn_cxx_try_compile "$LINENO"; then :
44149   glibcxx_cv_func_strtof_use=yes
44150 else
44151   glibcxx_cv_func_strtof_use=no
44152 fi
44153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44154       ac_ext=c
44155 ac_cpp='$CPP $CPPFLAGS'
44156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44159
44160
44161 fi
44162
44163   fi
44164   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
44165 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
44166   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
44167     for ac_func in strtof
44168 do :
44169   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
44170 if test "x$ac_cv_func_strtof" = x""yes; then :
44171   cat >>confdefs.h <<_ACEOF
44172 #define HAVE_STRTOF 1
44173 _ACEOF
44174
44175 fi
44176 done
44177
44178   fi
44179
44180
44181
44182
44183   CXXFLAGS="$ac_save_CXXFLAGS"
44184
44185     ;;
44186
44187   *djgpp)
44188     # GLIBCXX_CHECK_MATH_SUPPORT
44189     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44190
44191     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44192
44193     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44194
44195     $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
44196
44197     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44198
44199     ;;
44200
44201   *-freebsd*)
44202     SECTION_FLAGS='-ffunction-sections -fdata-sections'
44203
44204
44205   # If we're not using GNU ld, then there's no point in even trying these
44206   # tests.  Check for that first.  We should have already tested for gld
44207   # by now (in libtool), but require it now just to be safe...
44208   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44209   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44210
44211
44212
44213   # The name set by libtool depends on the version of libtool.  Shame on us
44214   # for depending on an impl detail, but c'est la vie.  Older versions used
44215   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44216   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44217   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
44218   # set (hence we're using an older libtool), then set it.
44219   if test x${with_gnu_ld+set} != xset; then
44220     if test x${ac_cv_prog_gnu_ld+set} != xset; then
44221       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
44222       with_gnu_ld=no
44223     else
44224       with_gnu_ld=$ac_cv_prog_gnu_ld
44225     fi
44226   fi
44227
44228   # Start by getting the version number.  I think the libtool test already
44229   # does some of this, but throws away the result.
44230   glibcxx_ld_is_gold=no
44231   if test x"$with_gnu_ld" = x"yes"; then
44232     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44233 $as_echo_n "checking for ld version... " >&6; }
44234
44235     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44236       glibcxx_ld_is_gold=yes
44237     fi
44238     ldver=`$LD --version 2>/dev/null |
44239            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'`
44240
44241     glibcxx_gnu_ld_version=`echo $ldver | \
44242            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44243     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44244 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44245   fi
44246
44247   # Set --gc-sections.
44248   glibcxx_have_gc_sections=no
44249   if test "$glibcxx_ld_is_gold" = "yes"; then
44250     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44251       glibcxx_have_gc_sections=yes
44252     fi
44253   else
44254     glibcxx_gcsections_min_ld=21602
44255     if test x"$with_gnu_ld" = x"yes" &&
44256         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44257       glibcxx_have_gc_sections=yes
44258     fi
44259   fi
44260   if test "$glibcxx_have_gc_sections" = "yes"; then
44261     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
44262     # NB: This flag only works reliably after 2.16.1. Configure tests
44263     # for this are difficult, so hard wire a value that should work.
44264
44265     ac_test_CFLAGS="${CFLAGS+set}"
44266     ac_save_CFLAGS="$CFLAGS"
44267     CFLAGS='-Wl,--gc-sections'
44268
44269     # Check for -Wl,--gc-sections
44270     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44271 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44272     if test x$gcc_no_link = xyes; then
44273   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44274 fi
44275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44276 /* end confdefs.h.  */
44277  int one(void) { return 1; }
44278      int two(void) { return 2; }
44279
44280 int
44281 main ()
44282 {
44283  two();
44284   ;
44285   return 0;
44286 }
44287 _ACEOF
44288 if ac_fn_c_try_link "$LINENO"; then :
44289   ac_gcsections=yes
44290 else
44291   ac_gcsections=no
44292 fi
44293 rm -f core conftest.err conftest.$ac_objext \
44294     conftest$ac_exeext conftest.$ac_ext
44295     if test "$ac_gcsections" = "yes"; then
44296       rm -f conftest.c
44297       touch conftest.c
44298       if $CC -c conftest.c; then
44299         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44300            grep "Warning: gc-sections option ignored" > /dev/null; then
44301           ac_gcsections=no
44302         fi
44303       fi
44304       rm -f conftest.c conftest.o conftest
44305     fi
44306     if test "$ac_gcsections" = "yes"; then
44307       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44308     fi
44309     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44310 $as_echo "$ac_gcsections" >&6; }
44311
44312     if test "$ac_test_CFLAGS" = set; then
44313       CFLAGS="$ac_save_CFLAGS"
44314     else
44315       # this is the suspicious part
44316       CFLAGS=''
44317     fi
44318   fi
44319
44320   # Set -z,relro.
44321   # Note this is only for shared objects.
44322   ac_ld_relro=no
44323   if test x"$with_gnu_ld" = x"yes"; then
44324     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44325 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44326     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44327     if test -n "$cxx_z_relo"; then
44328       OPT_LDFLAGS="-Wl,-z,relro"
44329       ac_ld_relro=yes
44330     fi
44331     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44332 $as_echo "$ac_ld_relro" >&6; }
44333   fi
44334
44335   # Set linker optimization flags.
44336   if test x"$with_gnu_ld" = x"yes"; then
44337     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44338   fi
44339
44340
44341
44342
44343     $as_echo "#define HAVE_SETENV 1" >>confdefs.h
44344
44345     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44346
44347     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44348
44349     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44350
44351     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44352
44353     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
44354
44355     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44356
44357     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44358
44359     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44360
44361
44362     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44363
44364     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44365
44366     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44367
44368     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44369
44370     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
44371
44372     $as_echo "#define HAVE_COSF 1" >>confdefs.h
44373
44374     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44375
44376     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44377
44378     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44379
44380     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
44381
44382     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44383
44384     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44385
44386     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
44387
44388     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44389
44390     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44391
44392     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
44393
44394     $as_echo "#define HAVE_POWF 1" >>confdefs.h
44395
44396     $as_echo "#define HAVE_SINF 1" >>confdefs.h
44397
44398     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44399
44400     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44401
44402     $as_echo "#define HAVE_TANF 1" >>confdefs.h
44403
44404     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44405
44406     if test x"long_double_math_on_this_cpu" = x"yes"; then
44407       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
44408
44409       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
44410
44411       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
44412
44413     fi
44414     ;;
44415   *-hpux*)
44416     SECTION_FLAGS='-ffunction-sections -fdata-sections'
44417
44418
44419   # If we're not using GNU ld, then there's no point in even trying these
44420   # tests.  Check for that first.  We should have already tested for gld
44421   # by now (in libtool), but require it now just to be safe...
44422   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44423   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44424
44425
44426
44427   # The name set by libtool depends on the version of libtool.  Shame on us
44428   # for depending on an impl detail, but c'est la vie.  Older versions used
44429   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44430   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44431   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
44432   # set (hence we're using an older libtool), then set it.
44433   if test x${with_gnu_ld+set} != xset; then
44434     if test x${ac_cv_prog_gnu_ld+set} != xset; then
44435       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
44436       with_gnu_ld=no
44437     else
44438       with_gnu_ld=$ac_cv_prog_gnu_ld
44439     fi
44440   fi
44441
44442   # Start by getting the version number.  I think the libtool test already
44443   # does some of this, but throws away the result.
44444   glibcxx_ld_is_gold=no
44445   if test x"$with_gnu_ld" = x"yes"; then
44446     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44447 $as_echo_n "checking for ld version... " >&6; }
44448
44449     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44450       glibcxx_ld_is_gold=yes
44451     fi
44452     ldver=`$LD --version 2>/dev/null |
44453            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'`
44454
44455     glibcxx_gnu_ld_version=`echo $ldver | \
44456            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44457     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44458 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44459   fi
44460
44461   # Set --gc-sections.
44462   glibcxx_have_gc_sections=no
44463   if test "$glibcxx_ld_is_gold" = "yes"; then
44464     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44465       glibcxx_have_gc_sections=yes
44466     fi
44467   else
44468     glibcxx_gcsections_min_ld=21602
44469     if test x"$with_gnu_ld" = x"yes" &&
44470         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44471       glibcxx_have_gc_sections=yes
44472     fi
44473   fi
44474   if test "$glibcxx_have_gc_sections" = "yes"; then
44475     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
44476     # NB: This flag only works reliably after 2.16.1. Configure tests
44477     # for this are difficult, so hard wire a value that should work.
44478
44479     ac_test_CFLAGS="${CFLAGS+set}"
44480     ac_save_CFLAGS="$CFLAGS"
44481     CFLAGS='-Wl,--gc-sections'
44482
44483     # Check for -Wl,--gc-sections
44484     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44485 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44486     if test x$gcc_no_link = xyes; then
44487   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44488 fi
44489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44490 /* end confdefs.h.  */
44491  int one(void) { return 1; }
44492      int two(void) { return 2; }
44493
44494 int
44495 main ()
44496 {
44497  two();
44498   ;
44499   return 0;
44500 }
44501 _ACEOF
44502 if ac_fn_c_try_link "$LINENO"; then :
44503   ac_gcsections=yes
44504 else
44505   ac_gcsections=no
44506 fi
44507 rm -f core conftest.err conftest.$ac_objext \
44508     conftest$ac_exeext conftest.$ac_ext
44509     if test "$ac_gcsections" = "yes"; then
44510       rm -f conftest.c
44511       touch conftest.c
44512       if $CC -c conftest.c; then
44513         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44514            grep "Warning: gc-sections option ignored" > /dev/null; then
44515           ac_gcsections=no
44516         fi
44517       fi
44518       rm -f conftest.c conftest.o conftest
44519     fi
44520     if test "$ac_gcsections" = "yes"; then
44521       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44522     fi
44523     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44524 $as_echo "$ac_gcsections" >&6; }
44525
44526     if test "$ac_test_CFLAGS" = set; then
44527       CFLAGS="$ac_save_CFLAGS"
44528     else
44529       # this is the suspicious part
44530       CFLAGS=''
44531     fi
44532   fi
44533
44534   # Set -z,relro.
44535   # Note this is only for shared objects.
44536   ac_ld_relro=no
44537   if test x"$with_gnu_ld" = x"yes"; then
44538     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44539 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44540     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44541     if test -n "$cxx_z_relo"; then
44542       OPT_LDFLAGS="-Wl,-z,relro"
44543       ac_ld_relro=yes
44544     fi
44545     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44546 $as_echo "$ac_ld_relro" >&6; }
44547   fi
44548
44549   # Set linker optimization flags.
44550   if test x"$with_gnu_ld" = x"yes"; then
44551     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44552   fi
44553
44554
44555
44556
44557
44558     # GLIBCXX_CHECK_MATH_SUPPORT
44559     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44560
44561     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44562
44563     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44564
44565     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44566
44567     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44568
44569     $as_echo "#define HAVE_COSF 1" >>confdefs.h
44570
44571     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44572
44573     $as_echo "#define HAVE_SINF 1" >>confdefs.h
44574
44575     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44576
44577     $as_echo "#define HAVE_TANF 1" >>confdefs.h
44578
44579     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44580
44581     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44582
44583     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44584
44585     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44586
44587     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44588
44589     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44590
44591     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44592
44593     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44594
44595     $as_echo "#define HAVE_MODF 1" >>confdefs.h
44596
44597     $as_echo "#define HAVE_POWF 1" >>confdefs.h
44598
44599     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44600
44601
44602     # GLIBCXX_CHECK_STDLIB_SUPPORT
44603     $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
44604
44605
44606
44607
44608    # Check whether --enable-tls was given.
44609 if test "${enable_tls+set}" = set; then :
44610   enableval=$enable_tls;
44611       case "$enableval" in
44612        yes|no) ;;
44613        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
44614       esac
44615
44616 else
44617   enable_tls=yes
44618 fi
44619
44620
44621   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
44622 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
44623 if test "${gcc_cv_have_tls+set}" = set; then :
44624   $as_echo_n "(cached) " >&6
44625 else
44626
44627     if test "$cross_compiling" = yes; then :
44628                 if test x$gcc_no_link = xyes; then
44629   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44630 fi
44631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44632 /* end confdefs.h.  */
44633 __thread int a; int b; int main() { return a = b; }
44634 _ACEOF
44635 if ac_fn_c_try_link "$LINENO"; then :
44636   chktls_save_LDFLAGS="$LDFLAGS"
44637                           case $host in
44638             *-*-linux*)
44639               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
44640               ;;
44641           esac
44642           chktls_save_CFLAGS="$CFLAGS"
44643           CFLAGS="-fPIC $CFLAGS"
44644                   if test x$gcc_no_link = xyes; then
44645   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44646 fi
44647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44648 /* end confdefs.h.  */
44649 int f() { return 0; }
44650 _ACEOF
44651 if ac_fn_c_try_link "$LINENO"; then :
44652   if test x$gcc_no_link = xyes; then
44653   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44654 fi
44655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44656 /* end confdefs.h.  */
44657 __thread int a; int b; int f() { return a = b; }
44658 _ACEOF
44659 if ac_fn_c_try_link "$LINENO"; then :
44660   gcc_cv_have_tls=yes
44661 else
44662   gcc_cv_have_tls=no
44663 fi
44664 rm -f core conftest.err conftest.$ac_objext \
44665     conftest$ac_exeext conftest.$ac_ext
44666 else
44667   gcc_cv_have_tls=yes
44668 fi
44669 rm -f core conftest.err conftest.$ac_objext \
44670     conftest$ac_exeext conftest.$ac_ext
44671           CFLAGS="$chktls_save_CFLAGS"
44672           LDFLAGS="$chktls_save_LDFLAGS"
44673 else
44674   gcc_cv_have_tls=no
44675 fi
44676 rm -f core conftest.err conftest.$ac_objext \
44677     conftest$ac_exeext conftest.$ac_ext
44678
44679
44680 else
44681   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44682 /* end confdefs.h.  */
44683 __thread int a; int b; int main() { return a = b; }
44684 _ACEOF
44685 if ac_fn_c_try_run "$LINENO"; then :
44686                       chktls_save_LDFLAGS="$LDFLAGS"
44687       LDFLAGS="-static $LDFLAGS"
44688       if test x$gcc_no_link = xyes; then
44689   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44690 fi
44691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44692 /* end confdefs.h.  */
44693 int main() { return 0; }
44694 _ACEOF
44695 if ac_fn_c_try_link "$LINENO"; then :
44696   if test "$cross_compiling" = yes; then :
44697   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44698 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44699 as_fn_error "cannot run test program while cross compiling
44700 See \`config.log' for more details." "$LINENO" 5; }
44701 else
44702   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44703 /* end confdefs.h.  */
44704 __thread int a; int b; int main() { return a = b; }
44705 _ACEOF
44706 if ac_fn_c_try_run "$LINENO"; then :
44707   gcc_cv_have_tls=yes
44708 else
44709   gcc_cv_have_tls=no
44710 fi
44711 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44712   conftest.$ac_objext conftest.beam conftest.$ac_ext
44713 fi
44714
44715 else
44716   gcc_cv_have_tls=yes
44717 fi
44718 rm -f core conftest.err conftest.$ac_objext \
44719     conftest$ac_exeext conftest.$ac_ext
44720       LDFLAGS="$chktls_save_LDFLAGS"
44721       if test $gcc_cv_have_tls = yes; then
44722                                                 chktls_save_CFLAGS="$CFLAGS"
44723         thread_CFLAGS=failed
44724         for flag in '' '-pthread' '-lpthread'; do
44725           CFLAGS="$flag $chktls_save_CFLAGS"
44726           if test x$gcc_no_link = xyes; then
44727   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44728 fi
44729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44730 /* end confdefs.h.  */
44731 #include <pthread.h>
44732                 void *g(void *d) { return NULL; }
44733 int
44734 main ()
44735 {
44736 pthread_t t; pthread_create(&t,NULL,g,NULL);
44737   ;
44738   return 0;
44739 }
44740 _ACEOF
44741 if ac_fn_c_try_link "$LINENO"; then :
44742   thread_CFLAGS="$flag"
44743 fi
44744 rm -f core conftest.err conftest.$ac_objext \
44745     conftest$ac_exeext conftest.$ac_ext
44746           if test "X$thread_CFLAGS" != Xfailed; then
44747             break
44748           fi
44749         done
44750         CFLAGS="$chktls_save_CFLAGS"
44751         if test "X$thread_CFLAGS" != Xfailed; then
44752           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
44753                                                   if test "$cross_compiling" = yes; then :
44754   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44755 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44756 as_fn_error "cannot run test program while cross compiling
44757 See \`config.log' for more details." "$LINENO" 5; }
44758 else
44759   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44760 /* end confdefs.h.  */
44761 #include <pthread.h>
44762                 __thread int a;
44763                 static int *volatile a_in_other_thread;
44764                 static void *
44765                 thread_func (void *arg)
44766                 {
44767                   a_in_other_thread = &a;
44768                   return (void *)0;
44769                 }
44770 int
44771 main ()
44772 {
44773 pthread_t thread;
44774                 void *thread_retval;
44775                 int *volatile a_in_main_thread;
44776                 a_in_main_thread = &a;
44777                 if (pthread_create (&thread, (pthread_attr_t *)0,
44778                                     thread_func, (void *)0))
44779                   return 0;
44780                 if (pthread_join (thread, &thread_retval))
44781                   return 0;
44782                 return (a_in_other_thread == a_in_main_thread);
44783   ;
44784   return 0;
44785 }
44786 _ACEOF
44787 if ac_fn_c_try_run "$LINENO"; then :
44788   gcc_cv_have_tls=yes
44789 else
44790   gcc_cv_have_tls=no
44791 fi
44792 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44793   conftest.$ac_objext conftest.beam conftest.$ac_ext
44794 fi
44795
44796           CFLAGS="$chktls_save_CFLAGS"
44797         fi
44798       fi
44799 else
44800   gcc_cv_have_tls=no
44801 fi
44802 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44803   conftest.$ac_objext conftest.beam conftest.$ac_ext
44804 fi
44805
44806 fi
44807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
44808 $as_echo "$gcc_cv_have_tls" >&6; }
44809   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
44810
44811 $as_echo "#define HAVE_TLS 1" >>confdefs.h
44812
44813   fi
44814     case "$target" in
44815       *-hpux10*)
44816         $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44817
44818         $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
44819
44820         $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44821
44822         $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44823
44824         $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44825
44826         ;;
44827     esac
44828     ;;
44829   *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
44830
44831   # All these tests are for C++; save the language and the compiler flags.
44832   # The CXXFLAGS thing is suspicious, but based on similar bits previously
44833   # found in GLIBCXX_CONFIGURE.
44834
44835   ac_ext=cpp
44836 ac_cpp='$CXXCPP $CPPFLAGS'
44837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44840
44841   ac_test_CXXFLAGS="${CXXFLAGS+set}"
44842   ac_save_CXXFLAGS="$CXXFLAGS"
44843
44844   # Check for maintainer-mode bits.
44845   if test x"$USE_MAINTAINER_MODE" = xno; then
44846     WERROR=''
44847   else
44848     WERROR='-Werror'
44849   fi
44850
44851   # Check for -ffunction-sections -fdata-sections
44852   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
44853 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
44854   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
44855   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44856 /* end confdefs.h.  */
44857 int foo; void bar() { };
44858 int
44859 main ()
44860 {
44861
44862   ;
44863   return 0;
44864 }
44865 _ACEOF
44866 if ac_fn_cxx_try_compile "$LINENO"; then :
44867   ac_fdsections=yes
44868 else
44869   ac_fdsections=no
44870 fi
44871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44872   if test "$ac_test_CXXFLAGS" = set; then
44873     CXXFLAGS="$ac_save_CXXFLAGS"
44874   else
44875     # this is the suspicious part
44876     CXXFLAGS=''
44877   fi
44878   if test x"$ac_fdsections" = x"yes"; then
44879     SECTION_FLAGS='-ffunction-sections -fdata-sections'
44880   fi
44881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
44882 $as_echo "$ac_fdsections" >&6; }
44883
44884   ac_ext=c
44885 ac_cpp='$CPP $CPPFLAGS'
44886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44889
44890
44891
44892
44893
44894   # If we're not using GNU ld, then there's no point in even trying these
44895   # tests.  Check for that first.  We should have already tested for gld
44896   # by now (in libtool), but require it now just to be safe...
44897   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44898   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44899
44900
44901
44902   # The name set by libtool depends on the version of libtool.  Shame on us
44903   # for depending on an impl detail, but c'est la vie.  Older versions used
44904   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44905   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44906   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
44907   # set (hence we're using an older libtool), then set it.
44908   if test x${with_gnu_ld+set} != xset; then
44909     if test x${ac_cv_prog_gnu_ld+set} != xset; then
44910       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
44911       with_gnu_ld=no
44912     else
44913       with_gnu_ld=$ac_cv_prog_gnu_ld
44914     fi
44915   fi
44916
44917   # Start by getting the version number.  I think the libtool test already
44918   # does some of this, but throws away the result.
44919   glibcxx_ld_is_gold=no
44920   if test x"$with_gnu_ld" = x"yes"; then
44921     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44922 $as_echo_n "checking for ld version... " >&6; }
44923
44924     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44925       glibcxx_ld_is_gold=yes
44926     fi
44927     ldver=`$LD --version 2>/dev/null |
44928            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'`
44929
44930     glibcxx_gnu_ld_version=`echo $ldver | \
44931            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44932     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44933 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44934   fi
44935
44936   # Set --gc-sections.
44937   glibcxx_have_gc_sections=no
44938   if test "$glibcxx_ld_is_gold" = "yes"; then
44939     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44940       glibcxx_have_gc_sections=yes
44941     fi
44942   else
44943     glibcxx_gcsections_min_ld=21602
44944     if test x"$with_gnu_ld" = x"yes" &&
44945         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44946       glibcxx_have_gc_sections=yes
44947     fi
44948   fi
44949   if test "$glibcxx_have_gc_sections" = "yes"; then
44950     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
44951     # NB: This flag only works reliably after 2.16.1. Configure tests
44952     # for this are difficult, so hard wire a value that should work.
44953
44954     ac_test_CFLAGS="${CFLAGS+set}"
44955     ac_save_CFLAGS="$CFLAGS"
44956     CFLAGS='-Wl,--gc-sections'
44957
44958     # Check for -Wl,--gc-sections
44959     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44960 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44961     if test x$gcc_no_link = xyes; then
44962   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44963 fi
44964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44965 /* end confdefs.h.  */
44966  int one(void) { return 1; }
44967      int two(void) { return 2; }
44968
44969 int
44970 main ()
44971 {
44972  two();
44973   ;
44974   return 0;
44975 }
44976 _ACEOF
44977 if ac_fn_c_try_link "$LINENO"; then :
44978   ac_gcsections=yes
44979 else
44980   ac_gcsections=no
44981 fi
44982 rm -f core conftest.err conftest.$ac_objext \
44983     conftest$ac_exeext conftest.$ac_ext
44984     if test "$ac_gcsections" = "yes"; then
44985       rm -f conftest.c
44986       touch conftest.c
44987       if $CC -c conftest.c; then
44988         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44989            grep "Warning: gc-sections option ignored" > /dev/null; then
44990           ac_gcsections=no
44991         fi
44992       fi
44993       rm -f conftest.c conftest.o conftest
44994     fi
44995     if test "$ac_gcsections" = "yes"; then
44996       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44997     fi
44998     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44999 $as_echo "$ac_gcsections" >&6; }
45000
45001     if test "$ac_test_CFLAGS" = set; then
45002       CFLAGS="$ac_save_CFLAGS"
45003     else
45004       # this is the suspicious part
45005       CFLAGS=''
45006     fi
45007   fi
45008
45009   # Set -z,relro.
45010   # Note this is only for shared objects.
45011   ac_ld_relro=no
45012   if test x"$with_gnu_ld" = x"yes"; then
45013     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45014 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45015     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45016     if test -n "$cxx_z_relo"; then
45017       OPT_LDFLAGS="-Wl,-z,relro"
45018       ac_ld_relro=yes
45019     fi
45020     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45021 $as_echo "$ac_ld_relro" >&6; }
45022   fi
45023
45024   # Set linker optimization flags.
45025   if test x"$with_gnu_ld" = x"yes"; then
45026     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45027   fi
45028
45029
45030
45031
45032
45033   ac_test_CXXFLAGS="${CXXFLAGS+set}"
45034   ac_save_CXXFLAGS="$CXXFLAGS"
45035   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45036
45037     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
45038 $as_echo_n "checking for sin in -lm... " >&6; }
45039 if test "${ac_cv_lib_m_sin+set}" = set; then :
45040   $as_echo_n "(cached) " >&6
45041 else
45042   ac_check_lib_save_LIBS=$LIBS
45043 LIBS="-lm  $LIBS"
45044 if test x$gcc_no_link = xyes; then
45045   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45046 fi
45047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45048 /* end confdefs.h.  */
45049
45050 /* Override any GCC internal prototype to avoid an error.
45051    Use char because int might match the return type of a GCC
45052    builtin and then its argument prototype would still apply.  */
45053 #ifdef __cplusplus
45054 extern "C"
45055 #endif
45056 char sin ();
45057 int
45058 main ()
45059 {
45060 return sin ();
45061   ;
45062   return 0;
45063 }
45064 _ACEOF
45065 if ac_fn_c_try_link "$LINENO"; then :
45066   ac_cv_lib_m_sin=yes
45067 else
45068   ac_cv_lib_m_sin=no
45069 fi
45070 rm -f core conftest.err conftest.$ac_objext \
45071     conftest$ac_exeext conftest.$ac_ext
45072 LIBS=$ac_check_lib_save_LIBS
45073 fi
45074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
45075 $as_echo "$ac_cv_lib_m_sin" >&6; }
45076 if test "x$ac_cv_lib_m_sin" = x""yes; then :
45077   libm="-lm"
45078 fi
45079
45080   ac_save_LIBS="$LIBS"
45081   LIBS="$LIBS $libm"
45082
45083
45084
45085   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
45086 $as_echo_n "checking for isinf declaration... " >&6; }
45087   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
45088     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
45089   $as_echo_n "(cached) " >&6
45090 else
45091
45092
45093       ac_ext=cpp
45094 ac_cpp='$CXXCPP $CPPFLAGS'
45095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45098
45099       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45100 /* end confdefs.h.  */
45101 #include <math.h>
45102                       #ifdef HAVE_IEEEFP_H
45103                       #include <ieeefp.h>
45104                       #endif
45105
45106 int
45107 main ()
45108 {
45109  isinf(0);
45110   ;
45111   return 0;
45112 }
45113 _ACEOF
45114 if ac_fn_cxx_try_compile "$LINENO"; then :
45115   glibcxx_cv_func_isinf_use=yes
45116 else
45117   glibcxx_cv_func_isinf_use=no
45118 fi
45119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45120       ac_ext=c
45121 ac_cpp='$CPP $CPPFLAGS'
45122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45125
45126
45127 fi
45128
45129   fi
45130   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
45131 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
45132
45133   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
45134     for ac_func in isinf
45135 do :
45136   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
45137 if test "x$ac_cv_func_isinf" = x""yes; then :
45138   cat >>confdefs.h <<_ACEOF
45139 #define HAVE_ISINF 1
45140 _ACEOF
45141
45142 fi
45143 done
45144
45145   else
45146
45147   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
45148 $as_echo_n "checking for _isinf declaration... " >&6; }
45149   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
45150     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
45151   $as_echo_n "(cached) " >&6
45152 else
45153
45154
45155       ac_ext=cpp
45156 ac_cpp='$CXXCPP $CPPFLAGS'
45157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45160
45161       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45162 /* end confdefs.h.  */
45163 #include <math.h>
45164                       #ifdef HAVE_IEEEFP_H
45165                       #include <ieeefp.h>
45166                       #endif
45167
45168 int
45169 main ()
45170 {
45171  _isinf(0);
45172   ;
45173   return 0;
45174 }
45175 _ACEOF
45176 if ac_fn_cxx_try_compile "$LINENO"; then :
45177   glibcxx_cv_func__isinf_use=yes
45178 else
45179   glibcxx_cv_func__isinf_use=no
45180 fi
45181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45182       ac_ext=c
45183 ac_cpp='$CPP $CPPFLAGS'
45184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45187
45188
45189 fi
45190
45191   fi
45192   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
45193 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
45194
45195     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
45196       for ac_func in _isinf
45197 do :
45198   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
45199 if test "x$ac_cv_func__isinf" = x""yes; then :
45200   cat >>confdefs.h <<_ACEOF
45201 #define HAVE__ISINF 1
45202 _ACEOF
45203
45204 fi
45205 done
45206
45207     fi
45208   fi
45209
45210
45211
45212
45213
45214   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
45215 $as_echo_n "checking for isnan declaration... " >&6; }
45216   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
45217     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
45218   $as_echo_n "(cached) " >&6
45219 else
45220
45221
45222       ac_ext=cpp
45223 ac_cpp='$CXXCPP $CPPFLAGS'
45224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45227
45228       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45229 /* end confdefs.h.  */
45230 #include <math.h>
45231                       #ifdef HAVE_IEEEFP_H
45232                       #include <ieeefp.h>
45233                       #endif
45234
45235 int
45236 main ()
45237 {
45238  isnan(0);
45239   ;
45240   return 0;
45241 }
45242 _ACEOF
45243 if ac_fn_cxx_try_compile "$LINENO"; then :
45244   glibcxx_cv_func_isnan_use=yes
45245 else
45246   glibcxx_cv_func_isnan_use=no
45247 fi
45248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45249       ac_ext=c
45250 ac_cpp='$CPP $CPPFLAGS'
45251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45254
45255
45256 fi
45257
45258   fi
45259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
45260 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
45261
45262   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
45263     for ac_func in isnan
45264 do :
45265   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
45266 if test "x$ac_cv_func_isnan" = x""yes; then :
45267   cat >>confdefs.h <<_ACEOF
45268 #define HAVE_ISNAN 1
45269 _ACEOF
45270
45271 fi
45272 done
45273
45274   else
45275
45276   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
45277 $as_echo_n "checking for _isnan declaration... " >&6; }
45278   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45279     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
45280   $as_echo_n "(cached) " >&6
45281 else
45282
45283
45284       ac_ext=cpp
45285 ac_cpp='$CXXCPP $CPPFLAGS'
45286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45289
45290       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45291 /* end confdefs.h.  */
45292 #include <math.h>
45293                       #ifdef HAVE_IEEEFP_H
45294                       #include <ieeefp.h>
45295                       #endif
45296
45297 int
45298 main ()
45299 {
45300  _isnan(0);
45301   ;
45302   return 0;
45303 }
45304 _ACEOF
45305 if ac_fn_cxx_try_compile "$LINENO"; then :
45306   glibcxx_cv_func__isnan_use=yes
45307 else
45308   glibcxx_cv_func__isnan_use=no
45309 fi
45310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45311       ac_ext=c
45312 ac_cpp='$CPP $CPPFLAGS'
45313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45316
45317
45318 fi
45319
45320   fi
45321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
45322 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
45323
45324     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
45325       for ac_func in _isnan
45326 do :
45327   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
45328 if test "x$ac_cv_func__isnan" = x""yes; then :
45329   cat >>confdefs.h <<_ACEOF
45330 #define HAVE__ISNAN 1
45331 _ACEOF
45332
45333 fi
45334 done
45335
45336     fi
45337   fi
45338
45339
45340
45341
45342
45343   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
45344 $as_echo_n "checking for finite declaration... " >&6; }
45345   if test x${glibcxx_cv_func_finite_use+set} != xset; then
45346     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
45347   $as_echo_n "(cached) " >&6
45348 else
45349
45350
45351       ac_ext=cpp
45352 ac_cpp='$CXXCPP $CPPFLAGS'
45353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45356
45357       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45358 /* end confdefs.h.  */
45359 #include <math.h>
45360                       #ifdef HAVE_IEEEFP_H
45361                       #include <ieeefp.h>
45362                       #endif
45363
45364 int
45365 main ()
45366 {
45367  finite(0);
45368   ;
45369   return 0;
45370 }
45371 _ACEOF
45372 if ac_fn_cxx_try_compile "$LINENO"; then :
45373   glibcxx_cv_func_finite_use=yes
45374 else
45375   glibcxx_cv_func_finite_use=no
45376 fi
45377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45378       ac_ext=c
45379 ac_cpp='$CPP $CPPFLAGS'
45380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45383
45384
45385 fi
45386
45387   fi
45388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
45389 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
45390
45391   if test x$glibcxx_cv_func_finite_use = x"yes"; then
45392     for ac_func in finite
45393 do :
45394   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
45395 if test "x$ac_cv_func_finite" = x""yes; then :
45396   cat >>confdefs.h <<_ACEOF
45397 #define HAVE_FINITE 1
45398 _ACEOF
45399
45400 fi
45401 done
45402
45403   else
45404
45405   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
45406 $as_echo_n "checking for _finite declaration... " >&6; }
45407   if test x${glibcxx_cv_func__finite_use+set} != xset; then
45408     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
45409   $as_echo_n "(cached) " >&6
45410 else
45411
45412
45413       ac_ext=cpp
45414 ac_cpp='$CXXCPP $CPPFLAGS'
45415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45418
45419       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45420 /* end confdefs.h.  */
45421 #include <math.h>
45422                       #ifdef HAVE_IEEEFP_H
45423                       #include <ieeefp.h>
45424                       #endif
45425
45426 int
45427 main ()
45428 {
45429  _finite(0);
45430   ;
45431   return 0;
45432 }
45433 _ACEOF
45434 if ac_fn_cxx_try_compile "$LINENO"; then :
45435   glibcxx_cv_func__finite_use=yes
45436 else
45437   glibcxx_cv_func__finite_use=no
45438 fi
45439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45440       ac_ext=c
45441 ac_cpp='$CPP $CPPFLAGS'
45442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45445
45446
45447 fi
45448
45449   fi
45450   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
45451 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
45452
45453     if test x$glibcxx_cv_func__finite_use = x"yes"; then
45454       for ac_func in _finite
45455 do :
45456   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
45457 if test "x$ac_cv_func__finite" = x""yes; then :
45458   cat >>confdefs.h <<_ACEOF
45459 #define HAVE__FINITE 1
45460 _ACEOF
45461
45462 fi
45463 done
45464
45465     fi
45466   fi
45467
45468
45469
45470
45471
45472   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
45473 $as_echo_n "checking for sincos declaration... " >&6; }
45474   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
45475     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
45476   $as_echo_n "(cached) " >&6
45477 else
45478
45479
45480       ac_ext=cpp
45481 ac_cpp='$CXXCPP $CPPFLAGS'
45482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45485
45486       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45487 /* end confdefs.h.  */
45488 #include <math.h>
45489 int
45490 main ()
45491 {
45492  sincos(0, 0, 0);
45493   ;
45494   return 0;
45495 }
45496 _ACEOF
45497 if ac_fn_cxx_try_compile "$LINENO"; then :
45498   glibcxx_cv_func_sincos_use=yes
45499 else
45500   glibcxx_cv_func_sincos_use=no
45501 fi
45502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45503       ac_ext=c
45504 ac_cpp='$CPP $CPPFLAGS'
45505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45508
45509
45510 fi
45511
45512   fi
45513   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
45514 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
45515
45516   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
45517     for ac_func in sincos
45518 do :
45519   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
45520 if test "x$ac_cv_func_sincos" = x""yes; then :
45521   cat >>confdefs.h <<_ACEOF
45522 #define HAVE_SINCOS 1
45523 _ACEOF
45524
45525 fi
45526 done
45527
45528   else
45529
45530   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
45531 $as_echo_n "checking for _sincos declaration... " >&6; }
45532   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
45533     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
45534   $as_echo_n "(cached) " >&6
45535 else
45536
45537
45538       ac_ext=cpp
45539 ac_cpp='$CXXCPP $CPPFLAGS'
45540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45543
45544       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45545 /* end confdefs.h.  */
45546 #include <math.h>
45547 int
45548 main ()
45549 {
45550  _sincos(0, 0, 0);
45551   ;
45552   return 0;
45553 }
45554 _ACEOF
45555 if ac_fn_cxx_try_compile "$LINENO"; then :
45556   glibcxx_cv_func__sincos_use=yes
45557 else
45558   glibcxx_cv_func__sincos_use=no
45559 fi
45560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45561       ac_ext=c
45562 ac_cpp='$CPP $CPPFLAGS'
45563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45566
45567
45568 fi
45569
45570   fi
45571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
45572 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
45573
45574     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
45575       for ac_func in _sincos
45576 do :
45577   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
45578 if test "x$ac_cv_func__sincos" = x""yes; then :
45579   cat >>confdefs.h <<_ACEOF
45580 #define HAVE__SINCOS 1
45581 _ACEOF
45582
45583 fi
45584 done
45585
45586     fi
45587   fi
45588
45589
45590
45591
45592
45593   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
45594 $as_echo_n "checking for fpclass declaration... " >&6; }
45595   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
45596     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
45597   $as_echo_n "(cached) " >&6
45598 else
45599
45600
45601       ac_ext=cpp
45602 ac_cpp='$CXXCPP $CPPFLAGS'
45603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45606
45607       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45608 /* end confdefs.h.  */
45609 #include <math.h>
45610                       #ifdef HAVE_IEEEFP_H
45611                       #include <ieeefp.h>
45612                       #endif
45613
45614 int
45615 main ()
45616 {
45617  fpclass(0);
45618   ;
45619   return 0;
45620 }
45621 _ACEOF
45622 if ac_fn_cxx_try_compile "$LINENO"; then :
45623   glibcxx_cv_func_fpclass_use=yes
45624 else
45625   glibcxx_cv_func_fpclass_use=no
45626 fi
45627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45628       ac_ext=c
45629 ac_cpp='$CPP $CPPFLAGS'
45630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45633
45634
45635 fi
45636
45637   fi
45638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
45639 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
45640
45641   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
45642     for ac_func in fpclass
45643 do :
45644   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
45645 if test "x$ac_cv_func_fpclass" = x""yes; then :
45646   cat >>confdefs.h <<_ACEOF
45647 #define HAVE_FPCLASS 1
45648 _ACEOF
45649
45650 fi
45651 done
45652
45653   else
45654
45655   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
45656 $as_echo_n "checking for _fpclass declaration... " >&6; }
45657   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
45658     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
45659   $as_echo_n "(cached) " >&6
45660 else
45661
45662
45663       ac_ext=cpp
45664 ac_cpp='$CXXCPP $CPPFLAGS'
45665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45668
45669       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45670 /* end confdefs.h.  */
45671 #include <math.h>
45672                       #ifdef HAVE_IEEEFP_H
45673                       #include <ieeefp.h>
45674                       #endif
45675
45676 int
45677 main ()
45678 {
45679  _fpclass(0);
45680   ;
45681   return 0;
45682 }
45683 _ACEOF
45684 if ac_fn_cxx_try_compile "$LINENO"; then :
45685   glibcxx_cv_func__fpclass_use=yes
45686 else
45687   glibcxx_cv_func__fpclass_use=no
45688 fi
45689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45690       ac_ext=c
45691 ac_cpp='$CPP $CPPFLAGS'
45692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45695
45696
45697 fi
45698
45699   fi
45700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
45701 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
45702
45703     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
45704       for ac_func in _fpclass
45705 do :
45706   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
45707 if test "x$ac_cv_func__fpclass" = x""yes; then :
45708   cat >>confdefs.h <<_ACEOF
45709 #define HAVE__FPCLASS 1
45710 _ACEOF
45711
45712 fi
45713 done
45714
45715     fi
45716   fi
45717
45718
45719
45720
45721
45722   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
45723 $as_echo_n "checking for qfpclass declaration... " >&6; }
45724   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
45725     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
45726   $as_echo_n "(cached) " >&6
45727 else
45728
45729
45730       ac_ext=cpp
45731 ac_cpp='$CXXCPP $CPPFLAGS'
45732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45735
45736       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45737 /* end confdefs.h.  */
45738 #include <math.h>
45739                       #ifdef HAVE_IEEEFP_H
45740                       #include <ieeefp.h>
45741                       #endif
45742
45743 int
45744 main ()
45745 {
45746  qfpclass(0);
45747   ;
45748   return 0;
45749 }
45750 _ACEOF
45751 if ac_fn_cxx_try_compile "$LINENO"; then :
45752   glibcxx_cv_func_qfpclass_use=yes
45753 else
45754   glibcxx_cv_func_qfpclass_use=no
45755 fi
45756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45757       ac_ext=c
45758 ac_cpp='$CPP $CPPFLAGS'
45759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45762
45763
45764 fi
45765
45766   fi
45767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
45768 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
45769
45770   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
45771     for ac_func in qfpclass
45772 do :
45773   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
45774 if test "x$ac_cv_func_qfpclass" = x""yes; then :
45775   cat >>confdefs.h <<_ACEOF
45776 #define HAVE_QFPCLASS 1
45777 _ACEOF
45778
45779 fi
45780 done
45781
45782   else
45783
45784   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
45785 $as_echo_n "checking for _qfpclass declaration... " >&6; }
45786   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
45787     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
45788   $as_echo_n "(cached) " >&6
45789 else
45790
45791
45792       ac_ext=cpp
45793 ac_cpp='$CXXCPP $CPPFLAGS'
45794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45797
45798       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45799 /* end confdefs.h.  */
45800 #include <math.h>
45801                       #ifdef HAVE_IEEEFP_H
45802                       #include <ieeefp.h>
45803                       #endif
45804
45805 int
45806 main ()
45807 {
45808  _qfpclass(0);
45809   ;
45810   return 0;
45811 }
45812 _ACEOF
45813 if ac_fn_cxx_try_compile "$LINENO"; then :
45814   glibcxx_cv_func__qfpclass_use=yes
45815 else
45816   glibcxx_cv_func__qfpclass_use=no
45817 fi
45818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45819       ac_ext=c
45820 ac_cpp='$CPP $CPPFLAGS'
45821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45824
45825
45826 fi
45827
45828   fi
45829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
45830 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
45831
45832     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
45833       for ac_func in _qfpclass
45834 do :
45835   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
45836 if test "x$ac_cv_func__qfpclass" = x""yes; then :
45837   cat >>confdefs.h <<_ACEOF
45838 #define HAVE__QFPCLASS 1
45839 _ACEOF
45840
45841 fi
45842 done
45843
45844     fi
45845   fi
45846
45847
45848
45849
45850
45851   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
45852 $as_echo_n "checking for hypot declaration... " >&6; }
45853   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
45854     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
45855   $as_echo_n "(cached) " >&6
45856 else
45857
45858
45859       ac_ext=cpp
45860 ac_cpp='$CXXCPP $CPPFLAGS'
45861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45864
45865       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45866 /* end confdefs.h.  */
45867 #include <math.h>
45868 int
45869 main ()
45870 {
45871  hypot(0, 0);
45872   ;
45873   return 0;
45874 }
45875 _ACEOF
45876 if ac_fn_cxx_try_compile "$LINENO"; then :
45877   glibcxx_cv_func_hypot_use=yes
45878 else
45879   glibcxx_cv_func_hypot_use=no
45880 fi
45881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45882       ac_ext=c
45883 ac_cpp='$CPP $CPPFLAGS'
45884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45887
45888
45889 fi
45890
45891   fi
45892   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
45893 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
45894
45895   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
45896     for ac_func in hypot
45897 do :
45898   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
45899 if test "x$ac_cv_func_hypot" = x""yes; then :
45900   cat >>confdefs.h <<_ACEOF
45901 #define HAVE_HYPOT 1
45902 _ACEOF
45903
45904 fi
45905 done
45906
45907   else
45908
45909   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
45910 $as_echo_n "checking for _hypot declaration... " >&6; }
45911   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
45912     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
45913   $as_echo_n "(cached) " >&6
45914 else
45915
45916
45917       ac_ext=cpp
45918 ac_cpp='$CXXCPP $CPPFLAGS'
45919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45922
45923       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45924 /* end confdefs.h.  */
45925 #include <math.h>
45926 int
45927 main ()
45928 {
45929  _hypot(0, 0);
45930   ;
45931   return 0;
45932 }
45933 _ACEOF
45934 if ac_fn_cxx_try_compile "$LINENO"; then :
45935   glibcxx_cv_func__hypot_use=yes
45936 else
45937   glibcxx_cv_func__hypot_use=no
45938 fi
45939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45940       ac_ext=c
45941 ac_cpp='$CPP $CPPFLAGS'
45942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45945
45946
45947 fi
45948
45949   fi
45950   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
45951 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
45952
45953     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
45954       for ac_func in _hypot
45955 do :
45956   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
45957 if test "x$ac_cv_func__hypot" = x""yes; then :
45958   cat >>confdefs.h <<_ACEOF
45959 #define HAVE__HYPOT 1
45960 _ACEOF
45961
45962 fi
45963 done
45964
45965     fi
45966   fi
45967
45968
45969
45970
45971
45972     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
45973 $as_echo_n "checking for float trig functions... " >&6; }
45974   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
45975   $as_echo_n "(cached) " >&6
45976 else
45977
45978
45979     ac_ext=cpp
45980 ac_cpp='$CXXCPP $CPPFLAGS'
45981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45984
45985     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45986 /* end confdefs.h.  */
45987 #include <math.h>
45988 int
45989 main ()
45990 {
45991 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
45992   ;
45993   return 0;
45994 }
45995 _ACEOF
45996 if ac_fn_cxx_try_compile "$LINENO"; then :
45997   glibcxx_cv_func_float_trig_use=yes
45998 else
45999   glibcxx_cv_func_float_trig_use=no
46000 fi
46001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46002     ac_ext=c
46003 ac_cpp='$CPP $CPPFLAGS'
46004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46007
46008 fi
46009
46010   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
46011 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
46012   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
46013     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
46014 do :
46015   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46016 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46017 eval as_val=\$$as_ac_var
46018    if test "x$as_val" = x""yes; then :
46019   cat >>confdefs.h <<_ACEOF
46020 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46021 _ACEOF
46022
46023 fi
46024 done
46025
46026   else
46027     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
46028 $as_echo_n "checking for _float trig functions... " >&6; }
46029     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
46030   $as_echo_n "(cached) " >&6
46031 else
46032
46033
46034       ac_ext=cpp
46035 ac_cpp='$CXXCPP $CPPFLAGS'
46036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46039
46040       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46041 /* end confdefs.h.  */
46042 #include <math.h>
46043 int
46044 main ()
46045 {
46046 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
46047   ;
46048   return 0;
46049 }
46050 _ACEOF
46051 if ac_fn_cxx_try_compile "$LINENO"; then :
46052   glibcxx_cv_func__float_trig_use=yes
46053 else
46054   glibcxx_cv_func__float_trig_use=no
46055 fi
46056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46057       ac_ext=c
46058 ac_cpp='$CPP $CPPFLAGS'
46059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46062
46063 fi
46064
46065     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
46066 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
46067     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
46068       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
46069 do :
46070   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46071 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46072 eval as_val=\$$as_ac_var
46073    if test "x$as_val" = x""yes; then :
46074   cat >>confdefs.h <<_ACEOF
46075 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46076 _ACEOF
46077
46078 fi
46079 done
46080
46081     fi
46082   fi
46083
46084
46085
46086
46087
46088     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
46089 $as_echo_n "checking for float round functions... " >&6; }
46090   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
46091   $as_echo_n "(cached) " >&6
46092 else
46093
46094
46095     ac_ext=cpp
46096 ac_cpp='$CXXCPP $CPPFLAGS'
46097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46100
46101     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46102 /* end confdefs.h.  */
46103 #include <math.h>
46104 int
46105 main ()
46106 {
46107 ceilf (0); floorf (0);
46108   ;
46109   return 0;
46110 }
46111 _ACEOF
46112 if ac_fn_cxx_try_compile "$LINENO"; then :
46113   glibcxx_cv_func_float_round_use=yes
46114 else
46115   glibcxx_cv_func_float_round_use=no
46116 fi
46117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46118     ac_ext=c
46119 ac_cpp='$CPP $CPPFLAGS'
46120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46123
46124 fi
46125
46126   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
46127 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
46128   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
46129     for ac_func in ceilf floorf
46130 do :
46131   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46132 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46133 eval as_val=\$$as_ac_var
46134    if test "x$as_val" = x""yes; then :
46135   cat >>confdefs.h <<_ACEOF
46136 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46137 _ACEOF
46138
46139 fi
46140 done
46141
46142   else
46143     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
46144 $as_echo_n "checking for _float round functions... " >&6; }
46145     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
46146   $as_echo_n "(cached) " >&6
46147 else
46148
46149
46150       ac_ext=cpp
46151 ac_cpp='$CXXCPP $CPPFLAGS'
46152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46155
46156       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46157 /* end confdefs.h.  */
46158 #include <math.h>
46159 int
46160 main ()
46161 {
46162 _ceilf (0); _floorf (0);
46163   ;
46164   return 0;
46165 }
46166 _ACEOF
46167 if ac_fn_cxx_try_compile "$LINENO"; then :
46168   glibcxx_cv_func__float_round_use=yes
46169 else
46170   glibcxx_cv_func__float_round_use=no
46171 fi
46172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46173       ac_ext=c
46174 ac_cpp='$CPP $CPPFLAGS'
46175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46178
46179 fi
46180
46181     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
46182 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
46183     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
46184       for ac_func in _ceilf _floorf
46185 do :
46186   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46187 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46188 eval as_val=\$$as_ac_var
46189    if test "x$as_val" = x""yes; then :
46190   cat >>confdefs.h <<_ACEOF
46191 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46192 _ACEOF
46193
46194 fi
46195 done
46196
46197     fi
46198   fi
46199
46200
46201
46202
46203
46204
46205   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
46206 $as_echo_n "checking for expf declaration... " >&6; }
46207   if test x${glibcxx_cv_func_expf_use+set} != xset; then
46208     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
46209   $as_echo_n "(cached) " >&6
46210 else
46211
46212
46213       ac_ext=cpp
46214 ac_cpp='$CXXCPP $CPPFLAGS'
46215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46218
46219       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46220 /* end confdefs.h.  */
46221 #include <math.h>
46222                       #ifdef HAVE_IEEEFP_H
46223                       #include <ieeefp.h>
46224                       #endif
46225
46226 int
46227 main ()
46228 {
46229  expf(0);
46230   ;
46231   return 0;
46232 }
46233 _ACEOF
46234 if ac_fn_cxx_try_compile "$LINENO"; then :
46235   glibcxx_cv_func_expf_use=yes
46236 else
46237   glibcxx_cv_func_expf_use=no
46238 fi
46239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46240       ac_ext=c
46241 ac_cpp='$CPP $CPPFLAGS'
46242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46245
46246
46247 fi
46248
46249   fi
46250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
46251 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
46252
46253   if test x$glibcxx_cv_func_expf_use = x"yes"; then
46254     for ac_func in expf
46255 do :
46256   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
46257 if test "x$ac_cv_func_expf" = x""yes; then :
46258   cat >>confdefs.h <<_ACEOF
46259 #define HAVE_EXPF 1
46260 _ACEOF
46261
46262 fi
46263 done
46264
46265   else
46266
46267   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
46268 $as_echo_n "checking for _expf declaration... " >&6; }
46269   if test x${glibcxx_cv_func__expf_use+set} != xset; then
46270     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
46271   $as_echo_n "(cached) " >&6
46272 else
46273
46274
46275       ac_ext=cpp
46276 ac_cpp='$CXXCPP $CPPFLAGS'
46277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46280
46281       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46282 /* end confdefs.h.  */
46283 #include <math.h>
46284                       #ifdef HAVE_IEEEFP_H
46285                       #include <ieeefp.h>
46286                       #endif
46287
46288 int
46289 main ()
46290 {
46291  _expf(0);
46292   ;
46293   return 0;
46294 }
46295 _ACEOF
46296 if ac_fn_cxx_try_compile "$LINENO"; then :
46297   glibcxx_cv_func__expf_use=yes
46298 else
46299   glibcxx_cv_func__expf_use=no
46300 fi
46301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46302       ac_ext=c
46303 ac_cpp='$CPP $CPPFLAGS'
46304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46307
46308
46309 fi
46310
46311   fi
46312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
46313 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
46314
46315     if test x$glibcxx_cv_func__expf_use = x"yes"; then
46316       for ac_func in _expf
46317 do :
46318   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
46319 if test "x$ac_cv_func__expf" = x""yes; then :
46320   cat >>confdefs.h <<_ACEOF
46321 #define HAVE__EXPF 1
46322 _ACEOF
46323
46324 fi
46325 done
46326
46327     fi
46328   fi
46329
46330
46331
46332
46333
46334   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
46335 $as_echo_n "checking for isnanf declaration... " >&6; }
46336   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46337     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
46338   $as_echo_n "(cached) " >&6
46339 else
46340
46341
46342       ac_ext=cpp
46343 ac_cpp='$CXXCPP $CPPFLAGS'
46344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46347
46348       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46349 /* end confdefs.h.  */
46350 #include <math.h>
46351                       #ifdef HAVE_IEEEFP_H
46352                       #include <ieeefp.h>
46353                       #endif
46354
46355 int
46356 main ()
46357 {
46358  isnanf(0);
46359   ;
46360   return 0;
46361 }
46362 _ACEOF
46363 if ac_fn_cxx_try_compile "$LINENO"; then :
46364   glibcxx_cv_func_isnanf_use=yes
46365 else
46366   glibcxx_cv_func_isnanf_use=no
46367 fi
46368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46369       ac_ext=c
46370 ac_cpp='$CPP $CPPFLAGS'
46371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46374
46375
46376 fi
46377
46378   fi
46379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
46380 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
46381
46382   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46383     for ac_func in isnanf
46384 do :
46385   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
46386 if test "x$ac_cv_func_isnanf" = x""yes; then :
46387   cat >>confdefs.h <<_ACEOF
46388 #define HAVE_ISNANF 1
46389 _ACEOF
46390
46391 fi
46392 done
46393
46394   else
46395
46396   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
46397 $as_echo_n "checking for _isnanf declaration... " >&6; }
46398   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
46399     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
46400   $as_echo_n "(cached) " >&6
46401 else
46402
46403
46404       ac_ext=cpp
46405 ac_cpp='$CXXCPP $CPPFLAGS'
46406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46409
46410       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46411 /* end confdefs.h.  */
46412 #include <math.h>
46413                       #ifdef HAVE_IEEEFP_H
46414                       #include <ieeefp.h>
46415                       #endif
46416
46417 int
46418 main ()
46419 {
46420  _isnanf(0);
46421   ;
46422   return 0;
46423 }
46424 _ACEOF
46425 if ac_fn_cxx_try_compile "$LINENO"; then :
46426   glibcxx_cv_func__isnanf_use=yes
46427 else
46428   glibcxx_cv_func__isnanf_use=no
46429 fi
46430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46431       ac_ext=c
46432 ac_cpp='$CPP $CPPFLAGS'
46433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46436
46437
46438 fi
46439
46440   fi
46441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
46442 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
46443
46444     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
46445       for ac_func in _isnanf
46446 do :
46447   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
46448 if test "x$ac_cv_func__isnanf" = x""yes; then :
46449   cat >>confdefs.h <<_ACEOF
46450 #define HAVE__ISNANF 1
46451 _ACEOF
46452
46453 fi
46454 done
46455
46456     fi
46457   fi
46458
46459
46460
46461
46462
46463   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
46464 $as_echo_n "checking for isinff declaration... " >&6; }
46465   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
46466     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
46467   $as_echo_n "(cached) " >&6
46468 else
46469
46470
46471       ac_ext=cpp
46472 ac_cpp='$CXXCPP $CPPFLAGS'
46473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46476
46477       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46478 /* end confdefs.h.  */
46479 #include <math.h>
46480                       #ifdef HAVE_IEEEFP_H
46481                       #include <ieeefp.h>
46482                       #endif
46483
46484 int
46485 main ()
46486 {
46487  isinff(0);
46488   ;
46489   return 0;
46490 }
46491 _ACEOF
46492 if ac_fn_cxx_try_compile "$LINENO"; then :
46493   glibcxx_cv_func_isinff_use=yes
46494 else
46495   glibcxx_cv_func_isinff_use=no
46496 fi
46497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46498       ac_ext=c
46499 ac_cpp='$CPP $CPPFLAGS'
46500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46503
46504
46505 fi
46506
46507   fi
46508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
46509 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
46510
46511   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
46512     for ac_func in isinff
46513 do :
46514   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
46515 if test "x$ac_cv_func_isinff" = x""yes; then :
46516   cat >>confdefs.h <<_ACEOF
46517 #define HAVE_ISINFF 1
46518 _ACEOF
46519
46520 fi
46521 done
46522
46523   else
46524
46525   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
46526 $as_echo_n "checking for _isinff declaration... " >&6; }
46527   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
46528     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
46529   $as_echo_n "(cached) " >&6
46530 else
46531
46532
46533       ac_ext=cpp
46534 ac_cpp='$CXXCPP $CPPFLAGS'
46535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46538
46539       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46540 /* end confdefs.h.  */
46541 #include <math.h>
46542                       #ifdef HAVE_IEEEFP_H
46543                       #include <ieeefp.h>
46544                       #endif
46545
46546 int
46547 main ()
46548 {
46549  _isinff(0);
46550   ;
46551   return 0;
46552 }
46553 _ACEOF
46554 if ac_fn_cxx_try_compile "$LINENO"; then :
46555   glibcxx_cv_func__isinff_use=yes
46556 else
46557   glibcxx_cv_func__isinff_use=no
46558 fi
46559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46560       ac_ext=c
46561 ac_cpp='$CPP $CPPFLAGS'
46562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46565
46566
46567 fi
46568
46569   fi
46570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
46571 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
46572
46573     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
46574       for ac_func in _isinff
46575 do :
46576   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
46577 if test "x$ac_cv_func__isinff" = x""yes; then :
46578   cat >>confdefs.h <<_ACEOF
46579 #define HAVE__ISINFF 1
46580 _ACEOF
46581
46582 fi
46583 done
46584
46585     fi
46586   fi
46587
46588
46589
46590
46591
46592   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
46593 $as_echo_n "checking for atan2f declaration... " >&6; }
46594   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
46595     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
46596   $as_echo_n "(cached) " >&6
46597 else
46598
46599
46600       ac_ext=cpp
46601 ac_cpp='$CXXCPP $CPPFLAGS'
46602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46605
46606       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46607 /* end confdefs.h.  */
46608 #include <math.h>
46609 int
46610 main ()
46611 {
46612  atan2f(0, 0);
46613   ;
46614   return 0;
46615 }
46616 _ACEOF
46617 if ac_fn_cxx_try_compile "$LINENO"; then :
46618   glibcxx_cv_func_atan2f_use=yes
46619 else
46620   glibcxx_cv_func_atan2f_use=no
46621 fi
46622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46623       ac_ext=c
46624 ac_cpp='$CPP $CPPFLAGS'
46625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46628
46629
46630 fi
46631
46632   fi
46633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
46634 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
46635
46636   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
46637     for ac_func in atan2f
46638 do :
46639   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
46640 if test "x$ac_cv_func_atan2f" = x""yes; then :
46641   cat >>confdefs.h <<_ACEOF
46642 #define HAVE_ATAN2F 1
46643 _ACEOF
46644
46645 fi
46646 done
46647
46648   else
46649
46650   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
46651 $as_echo_n "checking for _atan2f declaration... " >&6; }
46652   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
46653     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
46654   $as_echo_n "(cached) " >&6
46655 else
46656
46657
46658       ac_ext=cpp
46659 ac_cpp='$CXXCPP $CPPFLAGS'
46660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46663
46664       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46665 /* end confdefs.h.  */
46666 #include <math.h>
46667 int
46668 main ()
46669 {
46670  _atan2f(0, 0);
46671   ;
46672   return 0;
46673 }
46674 _ACEOF
46675 if ac_fn_cxx_try_compile "$LINENO"; then :
46676   glibcxx_cv_func__atan2f_use=yes
46677 else
46678   glibcxx_cv_func__atan2f_use=no
46679 fi
46680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46681       ac_ext=c
46682 ac_cpp='$CPP $CPPFLAGS'
46683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46686
46687
46688 fi
46689
46690   fi
46691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
46692 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
46693
46694     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
46695       for ac_func in _atan2f
46696 do :
46697   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
46698 if test "x$ac_cv_func__atan2f" = x""yes; then :
46699   cat >>confdefs.h <<_ACEOF
46700 #define HAVE__ATAN2F 1
46701 _ACEOF
46702
46703 fi
46704 done
46705
46706     fi
46707   fi
46708
46709
46710
46711
46712
46713   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
46714 $as_echo_n "checking for fabsf declaration... " >&6; }
46715   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
46716     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
46717   $as_echo_n "(cached) " >&6
46718 else
46719
46720
46721       ac_ext=cpp
46722 ac_cpp='$CXXCPP $CPPFLAGS'
46723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46726
46727       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46728 /* end confdefs.h.  */
46729 #include <math.h>
46730                       #ifdef HAVE_IEEEFP_H
46731                       #include <ieeefp.h>
46732                       #endif
46733
46734 int
46735 main ()
46736 {
46737  fabsf(0);
46738   ;
46739   return 0;
46740 }
46741 _ACEOF
46742 if ac_fn_cxx_try_compile "$LINENO"; then :
46743   glibcxx_cv_func_fabsf_use=yes
46744 else
46745   glibcxx_cv_func_fabsf_use=no
46746 fi
46747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46748       ac_ext=c
46749 ac_cpp='$CPP $CPPFLAGS'
46750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46753
46754
46755 fi
46756
46757   fi
46758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
46759 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
46760
46761   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
46762     for ac_func in fabsf
46763 do :
46764   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
46765 if test "x$ac_cv_func_fabsf" = x""yes; then :
46766   cat >>confdefs.h <<_ACEOF
46767 #define HAVE_FABSF 1
46768 _ACEOF
46769
46770 fi
46771 done
46772
46773   else
46774
46775   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
46776 $as_echo_n "checking for _fabsf declaration... " >&6; }
46777   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
46778     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
46779   $as_echo_n "(cached) " >&6
46780 else
46781
46782
46783       ac_ext=cpp
46784 ac_cpp='$CXXCPP $CPPFLAGS'
46785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46788
46789       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46790 /* end confdefs.h.  */
46791 #include <math.h>
46792                       #ifdef HAVE_IEEEFP_H
46793                       #include <ieeefp.h>
46794                       #endif
46795
46796 int
46797 main ()
46798 {
46799  _fabsf(0);
46800   ;
46801   return 0;
46802 }
46803 _ACEOF
46804 if ac_fn_cxx_try_compile "$LINENO"; then :
46805   glibcxx_cv_func__fabsf_use=yes
46806 else
46807   glibcxx_cv_func__fabsf_use=no
46808 fi
46809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46810       ac_ext=c
46811 ac_cpp='$CPP $CPPFLAGS'
46812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46815
46816
46817 fi
46818
46819   fi
46820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
46821 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
46822
46823     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
46824       for ac_func in _fabsf
46825 do :
46826   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
46827 if test "x$ac_cv_func__fabsf" = x""yes; then :
46828   cat >>confdefs.h <<_ACEOF
46829 #define HAVE__FABSF 1
46830 _ACEOF
46831
46832 fi
46833 done
46834
46835     fi
46836   fi
46837
46838
46839
46840
46841
46842   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
46843 $as_echo_n "checking for fmodf declaration... " >&6; }
46844   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
46845     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
46846   $as_echo_n "(cached) " >&6
46847 else
46848
46849
46850       ac_ext=cpp
46851 ac_cpp='$CXXCPP $CPPFLAGS'
46852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46855
46856       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46857 /* end confdefs.h.  */
46858 #include <math.h>
46859 int
46860 main ()
46861 {
46862  fmodf(0, 0);
46863   ;
46864   return 0;
46865 }
46866 _ACEOF
46867 if ac_fn_cxx_try_compile "$LINENO"; then :
46868   glibcxx_cv_func_fmodf_use=yes
46869 else
46870   glibcxx_cv_func_fmodf_use=no
46871 fi
46872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46873       ac_ext=c
46874 ac_cpp='$CPP $CPPFLAGS'
46875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46878
46879
46880 fi
46881
46882   fi
46883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
46884 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
46885
46886   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
46887     for ac_func in fmodf
46888 do :
46889   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
46890 if test "x$ac_cv_func_fmodf" = x""yes; then :
46891   cat >>confdefs.h <<_ACEOF
46892 #define HAVE_FMODF 1
46893 _ACEOF
46894
46895 fi
46896 done
46897
46898   else
46899
46900   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
46901 $as_echo_n "checking for _fmodf declaration... " >&6; }
46902   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
46903     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
46904   $as_echo_n "(cached) " >&6
46905 else
46906
46907
46908       ac_ext=cpp
46909 ac_cpp='$CXXCPP $CPPFLAGS'
46910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46913
46914       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46915 /* end confdefs.h.  */
46916 #include <math.h>
46917 int
46918 main ()
46919 {
46920  _fmodf(0, 0);
46921   ;
46922   return 0;
46923 }
46924 _ACEOF
46925 if ac_fn_cxx_try_compile "$LINENO"; then :
46926   glibcxx_cv_func__fmodf_use=yes
46927 else
46928   glibcxx_cv_func__fmodf_use=no
46929 fi
46930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46931       ac_ext=c
46932 ac_cpp='$CPP $CPPFLAGS'
46933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46936
46937
46938 fi
46939
46940   fi
46941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
46942 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
46943
46944     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
46945       for ac_func in _fmodf
46946 do :
46947   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
46948 if test "x$ac_cv_func__fmodf" = x""yes; then :
46949   cat >>confdefs.h <<_ACEOF
46950 #define HAVE__FMODF 1
46951 _ACEOF
46952
46953 fi
46954 done
46955
46956     fi
46957   fi
46958
46959
46960
46961
46962
46963   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
46964 $as_echo_n "checking for frexpf declaration... " >&6; }
46965   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
46966     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
46967   $as_echo_n "(cached) " >&6
46968 else
46969
46970
46971       ac_ext=cpp
46972 ac_cpp='$CXXCPP $CPPFLAGS'
46973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46976
46977       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46978 /* end confdefs.h.  */
46979 #include <math.h>
46980 int
46981 main ()
46982 {
46983  frexpf(0, 0);
46984   ;
46985   return 0;
46986 }
46987 _ACEOF
46988 if ac_fn_cxx_try_compile "$LINENO"; then :
46989   glibcxx_cv_func_frexpf_use=yes
46990 else
46991   glibcxx_cv_func_frexpf_use=no
46992 fi
46993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46994       ac_ext=c
46995 ac_cpp='$CPP $CPPFLAGS'
46996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46999
47000
47001 fi
47002
47003   fi
47004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
47005 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
47006
47007   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
47008     for ac_func in frexpf
47009 do :
47010   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
47011 if test "x$ac_cv_func_frexpf" = x""yes; then :
47012   cat >>confdefs.h <<_ACEOF
47013 #define HAVE_FREXPF 1
47014 _ACEOF
47015
47016 fi
47017 done
47018
47019   else
47020
47021   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
47022 $as_echo_n "checking for _frexpf declaration... " >&6; }
47023   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
47024     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
47025   $as_echo_n "(cached) " >&6
47026 else
47027
47028
47029       ac_ext=cpp
47030 ac_cpp='$CXXCPP $CPPFLAGS'
47031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47034
47035       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47036 /* end confdefs.h.  */
47037 #include <math.h>
47038 int
47039 main ()
47040 {
47041  _frexpf(0, 0);
47042   ;
47043   return 0;
47044 }
47045 _ACEOF
47046 if ac_fn_cxx_try_compile "$LINENO"; then :
47047   glibcxx_cv_func__frexpf_use=yes
47048 else
47049   glibcxx_cv_func__frexpf_use=no
47050 fi
47051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47052       ac_ext=c
47053 ac_cpp='$CPP $CPPFLAGS'
47054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47057
47058
47059 fi
47060
47061   fi
47062   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
47063 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
47064
47065     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
47066       for ac_func in _frexpf
47067 do :
47068   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
47069 if test "x$ac_cv_func__frexpf" = x""yes; then :
47070   cat >>confdefs.h <<_ACEOF
47071 #define HAVE__FREXPF 1
47072 _ACEOF
47073
47074 fi
47075 done
47076
47077     fi
47078   fi
47079
47080
47081
47082
47083
47084   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
47085 $as_echo_n "checking for hypotf declaration... " >&6; }
47086   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
47087     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
47088   $as_echo_n "(cached) " >&6
47089 else
47090
47091
47092       ac_ext=cpp
47093 ac_cpp='$CXXCPP $CPPFLAGS'
47094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47097
47098       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47099 /* end confdefs.h.  */
47100 #include <math.h>
47101 int
47102 main ()
47103 {
47104  hypotf(0, 0);
47105   ;
47106   return 0;
47107 }
47108 _ACEOF
47109 if ac_fn_cxx_try_compile "$LINENO"; then :
47110   glibcxx_cv_func_hypotf_use=yes
47111 else
47112   glibcxx_cv_func_hypotf_use=no
47113 fi
47114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47115       ac_ext=c
47116 ac_cpp='$CPP $CPPFLAGS'
47117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47120
47121
47122 fi
47123
47124   fi
47125   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
47126 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
47127
47128   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
47129     for ac_func in hypotf
47130 do :
47131   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
47132 if test "x$ac_cv_func_hypotf" = x""yes; then :
47133   cat >>confdefs.h <<_ACEOF
47134 #define HAVE_HYPOTF 1
47135 _ACEOF
47136
47137 fi
47138 done
47139
47140   else
47141
47142   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
47143 $as_echo_n "checking for _hypotf declaration... " >&6; }
47144   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
47145     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
47146   $as_echo_n "(cached) " >&6
47147 else
47148
47149
47150       ac_ext=cpp
47151 ac_cpp='$CXXCPP $CPPFLAGS'
47152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47155
47156       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47157 /* end confdefs.h.  */
47158 #include <math.h>
47159 int
47160 main ()
47161 {
47162  _hypotf(0, 0);
47163   ;
47164   return 0;
47165 }
47166 _ACEOF
47167 if ac_fn_cxx_try_compile "$LINENO"; then :
47168   glibcxx_cv_func__hypotf_use=yes
47169 else
47170   glibcxx_cv_func__hypotf_use=no
47171 fi
47172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47173       ac_ext=c
47174 ac_cpp='$CPP $CPPFLAGS'
47175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47178
47179
47180 fi
47181
47182   fi
47183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
47184 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
47185
47186     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
47187       for ac_func in _hypotf
47188 do :
47189   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
47190 if test "x$ac_cv_func__hypotf" = x""yes; then :
47191   cat >>confdefs.h <<_ACEOF
47192 #define HAVE__HYPOTF 1
47193 _ACEOF
47194
47195 fi
47196 done
47197
47198     fi
47199   fi
47200
47201
47202
47203
47204
47205   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
47206 $as_echo_n "checking for ldexpf declaration... " >&6; }
47207   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
47208     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
47209   $as_echo_n "(cached) " >&6
47210 else
47211
47212
47213       ac_ext=cpp
47214 ac_cpp='$CXXCPP $CPPFLAGS'
47215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47218
47219       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47220 /* end confdefs.h.  */
47221 #include <math.h>
47222 int
47223 main ()
47224 {
47225  ldexpf(0, 0);
47226   ;
47227   return 0;
47228 }
47229 _ACEOF
47230 if ac_fn_cxx_try_compile "$LINENO"; then :
47231   glibcxx_cv_func_ldexpf_use=yes
47232 else
47233   glibcxx_cv_func_ldexpf_use=no
47234 fi
47235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47236       ac_ext=c
47237 ac_cpp='$CPP $CPPFLAGS'
47238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47241
47242
47243 fi
47244
47245   fi
47246   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
47247 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
47248
47249   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
47250     for ac_func in ldexpf
47251 do :
47252   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
47253 if test "x$ac_cv_func_ldexpf" = x""yes; then :
47254   cat >>confdefs.h <<_ACEOF
47255 #define HAVE_LDEXPF 1
47256 _ACEOF
47257
47258 fi
47259 done
47260
47261   else
47262
47263   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
47264 $as_echo_n "checking for _ldexpf declaration... " >&6; }
47265   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
47266     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
47267   $as_echo_n "(cached) " >&6
47268 else
47269
47270
47271       ac_ext=cpp
47272 ac_cpp='$CXXCPP $CPPFLAGS'
47273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47276
47277       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47278 /* end confdefs.h.  */
47279 #include <math.h>
47280 int
47281 main ()
47282 {
47283  _ldexpf(0, 0);
47284   ;
47285   return 0;
47286 }
47287 _ACEOF
47288 if ac_fn_cxx_try_compile "$LINENO"; then :
47289   glibcxx_cv_func__ldexpf_use=yes
47290 else
47291   glibcxx_cv_func__ldexpf_use=no
47292 fi
47293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47294       ac_ext=c
47295 ac_cpp='$CPP $CPPFLAGS'
47296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47299
47300
47301 fi
47302
47303   fi
47304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
47305 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
47306
47307     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
47308       for ac_func in _ldexpf
47309 do :
47310   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
47311 if test "x$ac_cv_func__ldexpf" = x""yes; then :
47312   cat >>confdefs.h <<_ACEOF
47313 #define HAVE__LDEXPF 1
47314 _ACEOF
47315
47316 fi
47317 done
47318
47319     fi
47320   fi
47321
47322
47323
47324
47325
47326   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
47327 $as_echo_n "checking for logf declaration... " >&6; }
47328   if test x${glibcxx_cv_func_logf_use+set} != xset; then
47329     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
47330   $as_echo_n "(cached) " >&6
47331 else
47332
47333
47334       ac_ext=cpp
47335 ac_cpp='$CXXCPP $CPPFLAGS'
47336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47339
47340       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47341 /* end confdefs.h.  */
47342 #include <math.h>
47343                       #ifdef HAVE_IEEEFP_H
47344                       #include <ieeefp.h>
47345                       #endif
47346
47347 int
47348 main ()
47349 {
47350  logf(0);
47351   ;
47352   return 0;
47353 }
47354 _ACEOF
47355 if ac_fn_cxx_try_compile "$LINENO"; then :
47356   glibcxx_cv_func_logf_use=yes
47357 else
47358   glibcxx_cv_func_logf_use=no
47359 fi
47360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47361       ac_ext=c
47362 ac_cpp='$CPP $CPPFLAGS'
47363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47366
47367
47368 fi
47369
47370   fi
47371   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
47372 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
47373
47374   if test x$glibcxx_cv_func_logf_use = x"yes"; then
47375     for ac_func in logf
47376 do :
47377   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
47378 if test "x$ac_cv_func_logf" = x""yes; then :
47379   cat >>confdefs.h <<_ACEOF
47380 #define HAVE_LOGF 1
47381 _ACEOF
47382
47383 fi
47384 done
47385
47386   else
47387
47388   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
47389 $as_echo_n "checking for _logf declaration... " >&6; }
47390   if test x${glibcxx_cv_func__logf_use+set} != xset; then
47391     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
47392   $as_echo_n "(cached) " >&6
47393 else
47394
47395
47396       ac_ext=cpp
47397 ac_cpp='$CXXCPP $CPPFLAGS'
47398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47401
47402       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47403 /* end confdefs.h.  */
47404 #include <math.h>
47405                       #ifdef HAVE_IEEEFP_H
47406                       #include <ieeefp.h>
47407                       #endif
47408
47409 int
47410 main ()
47411 {
47412  _logf(0);
47413   ;
47414   return 0;
47415 }
47416 _ACEOF
47417 if ac_fn_cxx_try_compile "$LINENO"; then :
47418   glibcxx_cv_func__logf_use=yes
47419 else
47420   glibcxx_cv_func__logf_use=no
47421 fi
47422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47423       ac_ext=c
47424 ac_cpp='$CPP $CPPFLAGS'
47425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47428
47429
47430 fi
47431
47432   fi
47433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
47434 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
47435
47436     if test x$glibcxx_cv_func__logf_use = x"yes"; then
47437       for ac_func in _logf
47438 do :
47439   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
47440 if test "x$ac_cv_func__logf" = x""yes; then :
47441   cat >>confdefs.h <<_ACEOF
47442 #define HAVE__LOGF 1
47443 _ACEOF
47444
47445 fi
47446 done
47447
47448     fi
47449   fi
47450
47451
47452
47453
47454
47455   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
47456 $as_echo_n "checking for log10f declaration... " >&6; }
47457   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
47458     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
47459   $as_echo_n "(cached) " >&6
47460 else
47461
47462
47463       ac_ext=cpp
47464 ac_cpp='$CXXCPP $CPPFLAGS'
47465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47468
47469       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47470 /* end confdefs.h.  */
47471 #include <math.h>
47472                       #ifdef HAVE_IEEEFP_H
47473                       #include <ieeefp.h>
47474                       #endif
47475
47476 int
47477 main ()
47478 {
47479  log10f(0);
47480   ;
47481   return 0;
47482 }
47483 _ACEOF
47484 if ac_fn_cxx_try_compile "$LINENO"; then :
47485   glibcxx_cv_func_log10f_use=yes
47486 else
47487   glibcxx_cv_func_log10f_use=no
47488 fi
47489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47490       ac_ext=c
47491 ac_cpp='$CPP $CPPFLAGS'
47492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47495
47496
47497 fi
47498
47499   fi
47500   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
47501 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
47502
47503   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
47504     for ac_func in log10f
47505 do :
47506   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
47507 if test "x$ac_cv_func_log10f" = x""yes; then :
47508   cat >>confdefs.h <<_ACEOF
47509 #define HAVE_LOG10F 1
47510 _ACEOF
47511
47512 fi
47513 done
47514
47515   else
47516
47517   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
47518 $as_echo_n "checking for _log10f declaration... " >&6; }
47519   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
47520     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
47521   $as_echo_n "(cached) " >&6
47522 else
47523
47524
47525       ac_ext=cpp
47526 ac_cpp='$CXXCPP $CPPFLAGS'
47527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47530
47531       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47532 /* end confdefs.h.  */
47533 #include <math.h>
47534                       #ifdef HAVE_IEEEFP_H
47535                       #include <ieeefp.h>
47536                       #endif
47537
47538 int
47539 main ()
47540 {
47541  _log10f(0);
47542   ;
47543   return 0;
47544 }
47545 _ACEOF
47546 if ac_fn_cxx_try_compile "$LINENO"; then :
47547   glibcxx_cv_func__log10f_use=yes
47548 else
47549   glibcxx_cv_func__log10f_use=no
47550 fi
47551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47552       ac_ext=c
47553 ac_cpp='$CPP $CPPFLAGS'
47554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47557
47558
47559 fi
47560
47561   fi
47562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
47563 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
47564
47565     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
47566       for ac_func in _log10f
47567 do :
47568   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
47569 if test "x$ac_cv_func__log10f" = x""yes; then :
47570   cat >>confdefs.h <<_ACEOF
47571 #define HAVE__LOG10F 1
47572 _ACEOF
47573
47574 fi
47575 done
47576
47577     fi
47578   fi
47579
47580
47581
47582
47583
47584   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
47585 $as_echo_n "checking for modff declaration... " >&6; }
47586   if test x${glibcxx_cv_func_modff_use+set} != xset; then
47587     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
47588   $as_echo_n "(cached) " >&6
47589 else
47590
47591
47592       ac_ext=cpp
47593 ac_cpp='$CXXCPP $CPPFLAGS'
47594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47597
47598       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47599 /* end confdefs.h.  */
47600 #include <math.h>
47601 int
47602 main ()
47603 {
47604  modff(0, 0);
47605   ;
47606   return 0;
47607 }
47608 _ACEOF
47609 if ac_fn_cxx_try_compile "$LINENO"; then :
47610   glibcxx_cv_func_modff_use=yes
47611 else
47612   glibcxx_cv_func_modff_use=no
47613 fi
47614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47615       ac_ext=c
47616 ac_cpp='$CPP $CPPFLAGS'
47617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47620
47621
47622 fi
47623
47624   fi
47625   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
47626 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
47627
47628   if test x$glibcxx_cv_func_modff_use = x"yes"; then
47629     for ac_func in modff
47630 do :
47631   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
47632 if test "x$ac_cv_func_modff" = x""yes; then :
47633   cat >>confdefs.h <<_ACEOF
47634 #define HAVE_MODFF 1
47635 _ACEOF
47636
47637 fi
47638 done
47639
47640   else
47641
47642   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
47643 $as_echo_n "checking for _modff declaration... " >&6; }
47644   if test x${glibcxx_cv_func__modff_use+set} != xset; then
47645     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
47646   $as_echo_n "(cached) " >&6
47647 else
47648
47649
47650       ac_ext=cpp
47651 ac_cpp='$CXXCPP $CPPFLAGS'
47652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47655
47656       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47657 /* end confdefs.h.  */
47658 #include <math.h>
47659 int
47660 main ()
47661 {
47662  _modff(0, 0);
47663   ;
47664   return 0;
47665 }
47666 _ACEOF
47667 if ac_fn_cxx_try_compile "$LINENO"; then :
47668   glibcxx_cv_func__modff_use=yes
47669 else
47670   glibcxx_cv_func__modff_use=no
47671 fi
47672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47673       ac_ext=c
47674 ac_cpp='$CPP $CPPFLAGS'
47675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47678
47679
47680 fi
47681
47682   fi
47683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
47684 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
47685
47686     if test x$glibcxx_cv_func__modff_use = x"yes"; then
47687       for ac_func in _modff
47688 do :
47689   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
47690 if test "x$ac_cv_func__modff" = x""yes; then :
47691   cat >>confdefs.h <<_ACEOF
47692 #define HAVE__MODFF 1
47693 _ACEOF
47694
47695 fi
47696 done
47697
47698     fi
47699   fi
47700
47701
47702
47703
47704
47705   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
47706 $as_echo_n "checking for modf declaration... " >&6; }
47707   if test x${glibcxx_cv_func_modf_use+set} != xset; then
47708     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
47709   $as_echo_n "(cached) " >&6
47710 else
47711
47712
47713       ac_ext=cpp
47714 ac_cpp='$CXXCPP $CPPFLAGS'
47715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47718
47719       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47720 /* end confdefs.h.  */
47721 #include <math.h>
47722 int
47723 main ()
47724 {
47725  modf(0, 0);
47726   ;
47727   return 0;
47728 }
47729 _ACEOF
47730 if ac_fn_cxx_try_compile "$LINENO"; then :
47731   glibcxx_cv_func_modf_use=yes
47732 else
47733   glibcxx_cv_func_modf_use=no
47734 fi
47735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47736       ac_ext=c
47737 ac_cpp='$CPP $CPPFLAGS'
47738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47741
47742
47743 fi
47744
47745   fi
47746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
47747 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
47748
47749   if test x$glibcxx_cv_func_modf_use = x"yes"; then
47750     for ac_func in modf
47751 do :
47752   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
47753 if test "x$ac_cv_func_modf" = x""yes; then :
47754   cat >>confdefs.h <<_ACEOF
47755 #define HAVE_MODF 1
47756 _ACEOF
47757
47758 fi
47759 done
47760
47761   else
47762
47763   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
47764 $as_echo_n "checking for _modf declaration... " >&6; }
47765   if test x${glibcxx_cv_func__modf_use+set} != xset; then
47766     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
47767   $as_echo_n "(cached) " >&6
47768 else
47769
47770
47771       ac_ext=cpp
47772 ac_cpp='$CXXCPP $CPPFLAGS'
47773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47776
47777       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47778 /* end confdefs.h.  */
47779 #include <math.h>
47780 int
47781 main ()
47782 {
47783  _modf(0, 0);
47784   ;
47785   return 0;
47786 }
47787 _ACEOF
47788 if ac_fn_cxx_try_compile "$LINENO"; then :
47789   glibcxx_cv_func__modf_use=yes
47790 else
47791   glibcxx_cv_func__modf_use=no
47792 fi
47793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47794       ac_ext=c
47795 ac_cpp='$CPP $CPPFLAGS'
47796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47799
47800
47801 fi
47802
47803   fi
47804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
47805 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
47806
47807     if test x$glibcxx_cv_func__modf_use = x"yes"; then
47808       for ac_func in _modf
47809 do :
47810   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
47811 if test "x$ac_cv_func__modf" = x""yes; then :
47812   cat >>confdefs.h <<_ACEOF
47813 #define HAVE__MODF 1
47814 _ACEOF
47815
47816 fi
47817 done
47818
47819     fi
47820   fi
47821
47822
47823
47824
47825
47826   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
47827 $as_echo_n "checking for powf declaration... " >&6; }
47828   if test x${glibcxx_cv_func_powf_use+set} != xset; then
47829     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
47830   $as_echo_n "(cached) " >&6
47831 else
47832
47833
47834       ac_ext=cpp
47835 ac_cpp='$CXXCPP $CPPFLAGS'
47836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47839
47840       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47841 /* end confdefs.h.  */
47842 #include <math.h>
47843 int
47844 main ()
47845 {
47846  powf(0, 0);
47847   ;
47848   return 0;
47849 }
47850 _ACEOF
47851 if ac_fn_cxx_try_compile "$LINENO"; then :
47852   glibcxx_cv_func_powf_use=yes
47853 else
47854   glibcxx_cv_func_powf_use=no
47855 fi
47856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47857       ac_ext=c
47858 ac_cpp='$CPP $CPPFLAGS'
47859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47862
47863
47864 fi
47865
47866   fi
47867   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
47868 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
47869
47870   if test x$glibcxx_cv_func_powf_use = x"yes"; then
47871     for ac_func in powf
47872 do :
47873   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
47874 if test "x$ac_cv_func_powf" = x""yes; then :
47875   cat >>confdefs.h <<_ACEOF
47876 #define HAVE_POWF 1
47877 _ACEOF
47878
47879 fi
47880 done
47881
47882   else
47883
47884   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
47885 $as_echo_n "checking for _powf declaration... " >&6; }
47886   if test x${glibcxx_cv_func__powf_use+set} != xset; then
47887     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
47888   $as_echo_n "(cached) " >&6
47889 else
47890
47891
47892       ac_ext=cpp
47893 ac_cpp='$CXXCPP $CPPFLAGS'
47894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47897
47898       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47899 /* end confdefs.h.  */
47900 #include <math.h>
47901 int
47902 main ()
47903 {
47904  _powf(0, 0);
47905   ;
47906   return 0;
47907 }
47908 _ACEOF
47909 if ac_fn_cxx_try_compile "$LINENO"; then :
47910   glibcxx_cv_func__powf_use=yes
47911 else
47912   glibcxx_cv_func__powf_use=no
47913 fi
47914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47915       ac_ext=c
47916 ac_cpp='$CPP $CPPFLAGS'
47917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47920
47921
47922 fi
47923
47924   fi
47925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
47926 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
47927
47928     if test x$glibcxx_cv_func__powf_use = x"yes"; then
47929       for ac_func in _powf
47930 do :
47931   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
47932 if test "x$ac_cv_func__powf" = x""yes; then :
47933   cat >>confdefs.h <<_ACEOF
47934 #define HAVE__POWF 1
47935 _ACEOF
47936
47937 fi
47938 done
47939
47940     fi
47941   fi
47942
47943
47944
47945
47946
47947   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
47948 $as_echo_n "checking for sqrtf declaration... " >&6; }
47949   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
47950     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
47951   $as_echo_n "(cached) " >&6
47952 else
47953
47954
47955       ac_ext=cpp
47956 ac_cpp='$CXXCPP $CPPFLAGS'
47957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47960
47961       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47962 /* end confdefs.h.  */
47963 #include <math.h>
47964                       #ifdef HAVE_IEEEFP_H
47965                       #include <ieeefp.h>
47966                       #endif
47967
47968 int
47969 main ()
47970 {
47971  sqrtf(0);
47972   ;
47973   return 0;
47974 }
47975 _ACEOF
47976 if ac_fn_cxx_try_compile "$LINENO"; then :
47977   glibcxx_cv_func_sqrtf_use=yes
47978 else
47979   glibcxx_cv_func_sqrtf_use=no
47980 fi
47981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47982       ac_ext=c
47983 ac_cpp='$CPP $CPPFLAGS'
47984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47987
47988
47989 fi
47990
47991   fi
47992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
47993 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
47994
47995   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
47996     for ac_func in sqrtf
47997 do :
47998   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
47999 if test "x$ac_cv_func_sqrtf" = x""yes; then :
48000   cat >>confdefs.h <<_ACEOF
48001 #define HAVE_SQRTF 1
48002 _ACEOF
48003
48004 fi
48005 done
48006
48007   else
48008
48009   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
48010 $as_echo_n "checking for _sqrtf declaration... " >&6; }
48011   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
48012     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
48013   $as_echo_n "(cached) " >&6
48014 else
48015
48016
48017       ac_ext=cpp
48018 ac_cpp='$CXXCPP $CPPFLAGS'
48019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48022
48023       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48024 /* end confdefs.h.  */
48025 #include <math.h>
48026                       #ifdef HAVE_IEEEFP_H
48027                       #include <ieeefp.h>
48028                       #endif
48029
48030 int
48031 main ()
48032 {
48033  _sqrtf(0);
48034   ;
48035   return 0;
48036 }
48037 _ACEOF
48038 if ac_fn_cxx_try_compile "$LINENO"; then :
48039   glibcxx_cv_func__sqrtf_use=yes
48040 else
48041   glibcxx_cv_func__sqrtf_use=no
48042 fi
48043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48044       ac_ext=c
48045 ac_cpp='$CPP $CPPFLAGS'
48046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48049
48050
48051 fi
48052
48053   fi
48054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
48055 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
48056
48057     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
48058       for ac_func in _sqrtf
48059 do :
48060   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
48061 if test "x$ac_cv_func__sqrtf" = x""yes; then :
48062   cat >>confdefs.h <<_ACEOF
48063 #define HAVE__SQRTF 1
48064 _ACEOF
48065
48066 fi
48067 done
48068
48069     fi
48070   fi
48071
48072
48073
48074
48075
48076   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
48077 $as_echo_n "checking for sincosf declaration... " >&6; }
48078   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
48079     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
48080   $as_echo_n "(cached) " >&6
48081 else
48082
48083
48084       ac_ext=cpp
48085 ac_cpp='$CXXCPP $CPPFLAGS'
48086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48089
48090       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48091 /* end confdefs.h.  */
48092 #include <math.h>
48093 int
48094 main ()
48095 {
48096  sincosf(0, 0, 0);
48097   ;
48098   return 0;
48099 }
48100 _ACEOF
48101 if ac_fn_cxx_try_compile "$LINENO"; then :
48102   glibcxx_cv_func_sincosf_use=yes
48103 else
48104   glibcxx_cv_func_sincosf_use=no
48105 fi
48106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48107       ac_ext=c
48108 ac_cpp='$CPP $CPPFLAGS'
48109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48112
48113
48114 fi
48115
48116   fi
48117   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
48118 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
48119
48120   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
48121     for ac_func in sincosf
48122 do :
48123   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
48124 if test "x$ac_cv_func_sincosf" = x""yes; then :
48125   cat >>confdefs.h <<_ACEOF
48126 #define HAVE_SINCOSF 1
48127 _ACEOF
48128
48129 fi
48130 done
48131
48132   else
48133
48134   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
48135 $as_echo_n "checking for _sincosf declaration... " >&6; }
48136   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
48137     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
48138   $as_echo_n "(cached) " >&6
48139 else
48140
48141
48142       ac_ext=cpp
48143 ac_cpp='$CXXCPP $CPPFLAGS'
48144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48147
48148       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48149 /* end confdefs.h.  */
48150 #include <math.h>
48151 int
48152 main ()
48153 {
48154  _sincosf(0, 0, 0);
48155   ;
48156   return 0;
48157 }
48158 _ACEOF
48159 if ac_fn_cxx_try_compile "$LINENO"; then :
48160   glibcxx_cv_func__sincosf_use=yes
48161 else
48162   glibcxx_cv_func__sincosf_use=no
48163 fi
48164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48165       ac_ext=c
48166 ac_cpp='$CPP $CPPFLAGS'
48167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48170
48171
48172 fi
48173
48174   fi
48175   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
48176 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
48177
48178     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
48179       for ac_func in _sincosf
48180 do :
48181   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
48182 if test "x$ac_cv_func__sincosf" = x""yes; then :
48183   cat >>confdefs.h <<_ACEOF
48184 #define HAVE__SINCOSF 1
48185 _ACEOF
48186
48187 fi
48188 done
48189
48190     fi
48191   fi
48192
48193
48194
48195
48196
48197   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
48198 $as_echo_n "checking for finitef declaration... " >&6; }
48199   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
48200     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
48201   $as_echo_n "(cached) " >&6
48202 else
48203
48204
48205       ac_ext=cpp
48206 ac_cpp='$CXXCPP $CPPFLAGS'
48207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48210
48211       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48212 /* end confdefs.h.  */
48213 #include <math.h>
48214                       #ifdef HAVE_IEEEFP_H
48215                       #include <ieeefp.h>
48216                       #endif
48217
48218 int
48219 main ()
48220 {
48221  finitef(0);
48222   ;
48223   return 0;
48224 }
48225 _ACEOF
48226 if ac_fn_cxx_try_compile "$LINENO"; then :
48227   glibcxx_cv_func_finitef_use=yes
48228 else
48229   glibcxx_cv_func_finitef_use=no
48230 fi
48231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48232       ac_ext=c
48233 ac_cpp='$CPP $CPPFLAGS'
48234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48237
48238
48239 fi
48240
48241   fi
48242   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
48243 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
48244
48245   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
48246     for ac_func in finitef
48247 do :
48248   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
48249 if test "x$ac_cv_func_finitef" = x""yes; then :
48250   cat >>confdefs.h <<_ACEOF
48251 #define HAVE_FINITEF 1
48252 _ACEOF
48253
48254 fi
48255 done
48256
48257   else
48258
48259   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
48260 $as_echo_n "checking for _finitef declaration... " >&6; }
48261   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
48262     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
48263   $as_echo_n "(cached) " >&6
48264 else
48265
48266
48267       ac_ext=cpp
48268 ac_cpp='$CXXCPP $CPPFLAGS'
48269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48272
48273       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48274 /* end confdefs.h.  */
48275 #include <math.h>
48276                       #ifdef HAVE_IEEEFP_H
48277                       #include <ieeefp.h>
48278                       #endif
48279
48280 int
48281 main ()
48282 {
48283  _finitef(0);
48284   ;
48285   return 0;
48286 }
48287 _ACEOF
48288 if ac_fn_cxx_try_compile "$LINENO"; then :
48289   glibcxx_cv_func__finitef_use=yes
48290 else
48291   glibcxx_cv_func__finitef_use=no
48292 fi
48293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48294       ac_ext=c
48295 ac_cpp='$CPP $CPPFLAGS'
48296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48299
48300
48301 fi
48302
48303   fi
48304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
48305 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
48306
48307     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
48308       for ac_func in _finitef
48309 do :
48310   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
48311 if test "x$ac_cv_func__finitef" = x""yes; then :
48312   cat >>confdefs.h <<_ACEOF
48313 #define HAVE__FINITEF 1
48314 _ACEOF
48315
48316 fi
48317 done
48318
48319     fi
48320   fi
48321
48322
48323
48324
48325
48326     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
48327 $as_echo_n "checking for long double trig functions... " >&6; }
48328   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
48329   $as_echo_n "(cached) " >&6
48330 else
48331
48332
48333     ac_ext=cpp
48334 ac_cpp='$CXXCPP $CPPFLAGS'
48335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48338
48339     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48340 /* end confdefs.h.  */
48341 #include <math.h>
48342 int
48343 main ()
48344 {
48345 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
48346   ;
48347   return 0;
48348 }
48349 _ACEOF
48350 if ac_fn_cxx_try_compile "$LINENO"; then :
48351   glibcxx_cv_func_long_double_trig_use=yes
48352 else
48353   glibcxx_cv_func_long_double_trig_use=no
48354 fi
48355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48356     ac_ext=c
48357 ac_cpp='$CPP $CPPFLAGS'
48358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48361
48362 fi
48363
48364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
48365 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
48366   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
48367     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
48368 do :
48369   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48370 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48371 eval as_val=\$$as_ac_var
48372    if test "x$as_val" = x""yes; then :
48373   cat >>confdefs.h <<_ACEOF
48374 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48375 _ACEOF
48376
48377 fi
48378 done
48379
48380   else
48381     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
48382 $as_echo_n "checking for _long double trig functions... " >&6; }
48383     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
48384   $as_echo_n "(cached) " >&6
48385 else
48386
48387
48388       ac_ext=cpp
48389 ac_cpp='$CXXCPP $CPPFLAGS'
48390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48393
48394       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48395 /* end confdefs.h.  */
48396 #include <math.h>
48397 int
48398 main ()
48399 {
48400 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
48401   ;
48402   return 0;
48403 }
48404 _ACEOF
48405 if ac_fn_cxx_try_compile "$LINENO"; then :
48406   glibcxx_cv_func__long_double_trig_use=yes
48407 else
48408   glibcxx_cv_func__long_double_trig_use=no
48409 fi
48410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48411       ac_ext=c
48412 ac_cpp='$CPP $CPPFLAGS'
48413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48416
48417 fi
48418
48419     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
48420 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
48421     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
48422       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
48423 do :
48424   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48425 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48426 eval as_val=\$$as_ac_var
48427    if test "x$as_val" = x""yes; then :
48428   cat >>confdefs.h <<_ACEOF
48429 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48430 _ACEOF
48431
48432 fi
48433 done
48434
48435     fi
48436   fi
48437
48438
48439
48440
48441
48442     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
48443 $as_echo_n "checking for long double round functions... " >&6; }
48444   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
48445   $as_echo_n "(cached) " >&6
48446 else
48447
48448
48449     ac_ext=cpp
48450 ac_cpp='$CXXCPP $CPPFLAGS'
48451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48454
48455     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48456 /* end confdefs.h.  */
48457 #include <math.h>
48458 int
48459 main ()
48460 {
48461 ceill (0); floorl (0);
48462   ;
48463   return 0;
48464 }
48465 _ACEOF
48466 if ac_fn_cxx_try_compile "$LINENO"; then :
48467   glibcxx_cv_func_long_double_round_use=yes
48468 else
48469   glibcxx_cv_func_long_double_round_use=no
48470 fi
48471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48472     ac_ext=c
48473 ac_cpp='$CPP $CPPFLAGS'
48474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48477
48478 fi
48479
48480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
48481 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
48482   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
48483     for ac_func in ceill floorl
48484 do :
48485   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48486 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48487 eval as_val=\$$as_ac_var
48488    if test "x$as_val" = x""yes; then :
48489   cat >>confdefs.h <<_ACEOF
48490 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48491 _ACEOF
48492
48493 fi
48494 done
48495
48496   else
48497     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
48498 $as_echo_n "checking for _long double round functions... " >&6; }
48499     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
48500   $as_echo_n "(cached) " >&6
48501 else
48502
48503
48504       ac_ext=cpp
48505 ac_cpp='$CXXCPP $CPPFLAGS'
48506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48509
48510       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48511 /* end confdefs.h.  */
48512 #include <math.h>
48513 int
48514 main ()
48515 {
48516 _ceill (0); _floorl (0);
48517   ;
48518   return 0;
48519 }
48520 _ACEOF
48521 if ac_fn_cxx_try_compile "$LINENO"; then :
48522   glibcxx_cv_func__long_double_round_use=yes
48523 else
48524   glibcxx_cv_func__long_double_round_use=no
48525 fi
48526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48527       ac_ext=c
48528 ac_cpp='$CPP $CPPFLAGS'
48529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48532
48533 fi
48534
48535     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
48536 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
48537     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
48538       for ac_func in _ceill _floorl
48539 do :
48540   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48541 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48542 eval as_val=\$$as_ac_var
48543    if test "x$as_val" = x""yes; then :
48544   cat >>confdefs.h <<_ACEOF
48545 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48546 _ACEOF
48547
48548 fi
48549 done
48550
48551     fi
48552   fi
48553
48554
48555
48556
48557
48558
48559   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
48560 $as_echo_n "checking for isnanl declaration... " >&6; }
48561   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
48562     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
48563   $as_echo_n "(cached) " >&6
48564 else
48565
48566
48567       ac_ext=cpp
48568 ac_cpp='$CXXCPP $CPPFLAGS'
48569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48572
48573       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48574 /* end confdefs.h.  */
48575 #include <math.h>
48576                       #ifdef HAVE_IEEEFP_H
48577                       #include <ieeefp.h>
48578                       #endif
48579
48580 int
48581 main ()
48582 {
48583  isnanl(0);
48584   ;
48585   return 0;
48586 }
48587 _ACEOF
48588 if ac_fn_cxx_try_compile "$LINENO"; then :
48589   glibcxx_cv_func_isnanl_use=yes
48590 else
48591   glibcxx_cv_func_isnanl_use=no
48592 fi
48593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48594       ac_ext=c
48595 ac_cpp='$CPP $CPPFLAGS'
48596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48599
48600
48601 fi
48602
48603   fi
48604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
48605 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
48606
48607   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
48608     for ac_func in isnanl
48609 do :
48610   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
48611 if test "x$ac_cv_func_isnanl" = x""yes; then :
48612   cat >>confdefs.h <<_ACEOF
48613 #define HAVE_ISNANL 1
48614 _ACEOF
48615
48616 fi
48617 done
48618
48619   else
48620
48621   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
48622 $as_echo_n "checking for _isnanl declaration... " >&6; }
48623   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
48624     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
48625   $as_echo_n "(cached) " >&6
48626 else
48627
48628
48629       ac_ext=cpp
48630 ac_cpp='$CXXCPP $CPPFLAGS'
48631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48634
48635       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48636 /* end confdefs.h.  */
48637 #include <math.h>
48638                       #ifdef HAVE_IEEEFP_H
48639                       #include <ieeefp.h>
48640                       #endif
48641
48642 int
48643 main ()
48644 {
48645  _isnanl(0);
48646   ;
48647   return 0;
48648 }
48649 _ACEOF
48650 if ac_fn_cxx_try_compile "$LINENO"; then :
48651   glibcxx_cv_func__isnanl_use=yes
48652 else
48653   glibcxx_cv_func__isnanl_use=no
48654 fi
48655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48656       ac_ext=c
48657 ac_cpp='$CPP $CPPFLAGS'
48658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48661
48662
48663 fi
48664
48665   fi
48666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
48667 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
48668
48669     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
48670       for ac_func in _isnanl
48671 do :
48672   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
48673 if test "x$ac_cv_func__isnanl" = x""yes; then :
48674   cat >>confdefs.h <<_ACEOF
48675 #define HAVE__ISNANL 1
48676 _ACEOF
48677
48678 fi
48679 done
48680
48681     fi
48682   fi
48683
48684
48685
48686
48687
48688   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
48689 $as_echo_n "checking for isinfl declaration... " >&6; }
48690   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
48691     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
48692   $as_echo_n "(cached) " >&6
48693 else
48694
48695
48696       ac_ext=cpp
48697 ac_cpp='$CXXCPP $CPPFLAGS'
48698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48701
48702       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48703 /* end confdefs.h.  */
48704 #include <math.h>
48705                       #ifdef HAVE_IEEEFP_H
48706                       #include <ieeefp.h>
48707                       #endif
48708
48709 int
48710 main ()
48711 {
48712  isinfl(0);
48713   ;
48714   return 0;
48715 }
48716 _ACEOF
48717 if ac_fn_cxx_try_compile "$LINENO"; then :
48718   glibcxx_cv_func_isinfl_use=yes
48719 else
48720   glibcxx_cv_func_isinfl_use=no
48721 fi
48722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48723       ac_ext=c
48724 ac_cpp='$CPP $CPPFLAGS'
48725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48728
48729
48730 fi
48731
48732   fi
48733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
48734 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
48735
48736   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
48737     for ac_func in isinfl
48738 do :
48739   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
48740 if test "x$ac_cv_func_isinfl" = x""yes; then :
48741   cat >>confdefs.h <<_ACEOF
48742 #define HAVE_ISINFL 1
48743 _ACEOF
48744
48745 fi
48746 done
48747
48748   else
48749
48750   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
48751 $as_echo_n "checking for _isinfl declaration... " >&6; }
48752   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
48753     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
48754   $as_echo_n "(cached) " >&6
48755 else
48756
48757
48758       ac_ext=cpp
48759 ac_cpp='$CXXCPP $CPPFLAGS'
48760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48763
48764       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48765 /* end confdefs.h.  */
48766 #include <math.h>
48767                       #ifdef HAVE_IEEEFP_H
48768                       #include <ieeefp.h>
48769                       #endif
48770
48771 int
48772 main ()
48773 {
48774  _isinfl(0);
48775   ;
48776   return 0;
48777 }
48778 _ACEOF
48779 if ac_fn_cxx_try_compile "$LINENO"; then :
48780   glibcxx_cv_func__isinfl_use=yes
48781 else
48782   glibcxx_cv_func__isinfl_use=no
48783 fi
48784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48785       ac_ext=c
48786 ac_cpp='$CPP $CPPFLAGS'
48787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48790
48791
48792 fi
48793
48794   fi
48795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
48796 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
48797
48798     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
48799       for ac_func in _isinfl
48800 do :
48801   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
48802 if test "x$ac_cv_func__isinfl" = x""yes; then :
48803   cat >>confdefs.h <<_ACEOF
48804 #define HAVE__ISINFL 1
48805 _ACEOF
48806
48807 fi
48808 done
48809
48810     fi
48811   fi
48812
48813
48814
48815
48816
48817   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
48818 $as_echo_n "checking for atan2l declaration... " >&6; }
48819   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
48820     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
48821   $as_echo_n "(cached) " >&6
48822 else
48823
48824
48825       ac_ext=cpp
48826 ac_cpp='$CXXCPP $CPPFLAGS'
48827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48830
48831       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48832 /* end confdefs.h.  */
48833 #include <math.h>
48834 int
48835 main ()
48836 {
48837  atan2l(0, 0);
48838   ;
48839   return 0;
48840 }
48841 _ACEOF
48842 if ac_fn_cxx_try_compile "$LINENO"; then :
48843   glibcxx_cv_func_atan2l_use=yes
48844 else
48845   glibcxx_cv_func_atan2l_use=no
48846 fi
48847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48848       ac_ext=c
48849 ac_cpp='$CPP $CPPFLAGS'
48850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48853
48854
48855 fi
48856
48857   fi
48858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
48859 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
48860
48861   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
48862     for ac_func in atan2l
48863 do :
48864   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
48865 if test "x$ac_cv_func_atan2l" = x""yes; then :
48866   cat >>confdefs.h <<_ACEOF
48867 #define HAVE_ATAN2L 1
48868 _ACEOF
48869
48870 fi
48871 done
48872
48873   else
48874
48875   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
48876 $as_echo_n "checking for _atan2l declaration... " >&6; }
48877   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
48878     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
48879   $as_echo_n "(cached) " >&6
48880 else
48881
48882
48883       ac_ext=cpp
48884 ac_cpp='$CXXCPP $CPPFLAGS'
48885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48888
48889       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48890 /* end confdefs.h.  */
48891 #include <math.h>
48892 int
48893 main ()
48894 {
48895  _atan2l(0, 0);
48896   ;
48897   return 0;
48898 }
48899 _ACEOF
48900 if ac_fn_cxx_try_compile "$LINENO"; then :
48901   glibcxx_cv_func__atan2l_use=yes
48902 else
48903   glibcxx_cv_func__atan2l_use=no
48904 fi
48905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48906       ac_ext=c
48907 ac_cpp='$CPP $CPPFLAGS'
48908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48911
48912
48913 fi
48914
48915   fi
48916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
48917 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
48918
48919     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
48920       for ac_func in _atan2l
48921 do :
48922   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
48923 if test "x$ac_cv_func__atan2l" = x""yes; then :
48924   cat >>confdefs.h <<_ACEOF
48925 #define HAVE__ATAN2L 1
48926 _ACEOF
48927
48928 fi
48929 done
48930
48931     fi
48932   fi
48933
48934
48935
48936
48937
48938   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
48939 $as_echo_n "checking for expl declaration... " >&6; }
48940   if test x${glibcxx_cv_func_expl_use+set} != xset; then
48941     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
48942   $as_echo_n "(cached) " >&6
48943 else
48944
48945
48946       ac_ext=cpp
48947 ac_cpp='$CXXCPP $CPPFLAGS'
48948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48951
48952       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48953 /* end confdefs.h.  */
48954 #include <math.h>
48955                       #ifdef HAVE_IEEEFP_H
48956                       #include <ieeefp.h>
48957                       #endif
48958
48959 int
48960 main ()
48961 {
48962  expl(0);
48963   ;
48964   return 0;
48965 }
48966 _ACEOF
48967 if ac_fn_cxx_try_compile "$LINENO"; then :
48968   glibcxx_cv_func_expl_use=yes
48969 else
48970   glibcxx_cv_func_expl_use=no
48971 fi
48972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48973       ac_ext=c
48974 ac_cpp='$CPP $CPPFLAGS'
48975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48978
48979
48980 fi
48981
48982   fi
48983   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
48984 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
48985
48986   if test x$glibcxx_cv_func_expl_use = x"yes"; then
48987     for ac_func in expl
48988 do :
48989   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
48990 if test "x$ac_cv_func_expl" = x""yes; then :
48991   cat >>confdefs.h <<_ACEOF
48992 #define HAVE_EXPL 1
48993 _ACEOF
48994
48995 fi
48996 done
48997
48998   else
48999
49000   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
49001 $as_echo_n "checking for _expl declaration... " >&6; }
49002   if test x${glibcxx_cv_func__expl_use+set} != xset; then
49003     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
49004   $as_echo_n "(cached) " >&6
49005 else
49006
49007
49008       ac_ext=cpp
49009 ac_cpp='$CXXCPP $CPPFLAGS'
49010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49013
49014       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49015 /* end confdefs.h.  */
49016 #include <math.h>
49017                       #ifdef HAVE_IEEEFP_H
49018                       #include <ieeefp.h>
49019                       #endif
49020
49021 int
49022 main ()
49023 {
49024  _expl(0);
49025   ;
49026   return 0;
49027 }
49028 _ACEOF
49029 if ac_fn_cxx_try_compile "$LINENO"; then :
49030   glibcxx_cv_func__expl_use=yes
49031 else
49032   glibcxx_cv_func__expl_use=no
49033 fi
49034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49035       ac_ext=c
49036 ac_cpp='$CPP $CPPFLAGS'
49037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49040
49041
49042 fi
49043
49044   fi
49045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
49046 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
49047
49048     if test x$glibcxx_cv_func__expl_use = x"yes"; then
49049       for ac_func in _expl
49050 do :
49051   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
49052 if test "x$ac_cv_func__expl" = x""yes; then :
49053   cat >>confdefs.h <<_ACEOF
49054 #define HAVE__EXPL 1
49055 _ACEOF
49056
49057 fi
49058 done
49059
49060     fi
49061   fi
49062
49063
49064
49065
49066
49067   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
49068 $as_echo_n "checking for fabsl declaration... " >&6; }
49069   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
49070     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
49071   $as_echo_n "(cached) " >&6
49072 else
49073
49074
49075       ac_ext=cpp
49076 ac_cpp='$CXXCPP $CPPFLAGS'
49077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49080
49081       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49082 /* end confdefs.h.  */
49083 #include <math.h>
49084                       #ifdef HAVE_IEEEFP_H
49085                       #include <ieeefp.h>
49086                       #endif
49087
49088 int
49089 main ()
49090 {
49091  fabsl(0);
49092   ;
49093   return 0;
49094 }
49095 _ACEOF
49096 if ac_fn_cxx_try_compile "$LINENO"; then :
49097   glibcxx_cv_func_fabsl_use=yes
49098 else
49099   glibcxx_cv_func_fabsl_use=no
49100 fi
49101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49102       ac_ext=c
49103 ac_cpp='$CPP $CPPFLAGS'
49104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49107
49108
49109 fi
49110
49111   fi
49112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
49113 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
49114
49115   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
49116     for ac_func in fabsl
49117 do :
49118   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
49119 if test "x$ac_cv_func_fabsl" = x""yes; then :
49120   cat >>confdefs.h <<_ACEOF
49121 #define HAVE_FABSL 1
49122 _ACEOF
49123
49124 fi
49125 done
49126
49127   else
49128
49129   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
49130 $as_echo_n "checking for _fabsl declaration... " >&6; }
49131   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
49132     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
49133   $as_echo_n "(cached) " >&6
49134 else
49135
49136
49137       ac_ext=cpp
49138 ac_cpp='$CXXCPP $CPPFLAGS'
49139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49142
49143       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49144 /* end confdefs.h.  */
49145 #include <math.h>
49146                       #ifdef HAVE_IEEEFP_H
49147                       #include <ieeefp.h>
49148                       #endif
49149
49150 int
49151 main ()
49152 {
49153  _fabsl(0);
49154   ;
49155   return 0;
49156 }
49157 _ACEOF
49158 if ac_fn_cxx_try_compile "$LINENO"; then :
49159   glibcxx_cv_func__fabsl_use=yes
49160 else
49161   glibcxx_cv_func__fabsl_use=no
49162 fi
49163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49164       ac_ext=c
49165 ac_cpp='$CPP $CPPFLAGS'
49166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49169
49170
49171 fi
49172
49173   fi
49174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
49175 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
49176
49177     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
49178       for ac_func in _fabsl
49179 do :
49180   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
49181 if test "x$ac_cv_func__fabsl" = x""yes; then :
49182   cat >>confdefs.h <<_ACEOF
49183 #define HAVE__FABSL 1
49184 _ACEOF
49185
49186 fi
49187 done
49188
49189     fi
49190   fi
49191
49192
49193
49194
49195
49196   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
49197 $as_echo_n "checking for fmodl declaration... " >&6; }
49198   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
49199     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
49200   $as_echo_n "(cached) " >&6
49201 else
49202
49203
49204       ac_ext=cpp
49205 ac_cpp='$CXXCPP $CPPFLAGS'
49206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49209
49210       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49211 /* end confdefs.h.  */
49212 #include <math.h>
49213 int
49214 main ()
49215 {
49216  fmodl(0, 0);
49217   ;
49218   return 0;
49219 }
49220 _ACEOF
49221 if ac_fn_cxx_try_compile "$LINENO"; then :
49222   glibcxx_cv_func_fmodl_use=yes
49223 else
49224   glibcxx_cv_func_fmodl_use=no
49225 fi
49226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49227       ac_ext=c
49228 ac_cpp='$CPP $CPPFLAGS'
49229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49232
49233
49234 fi
49235
49236   fi
49237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
49238 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
49239
49240   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
49241     for ac_func in fmodl
49242 do :
49243   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
49244 if test "x$ac_cv_func_fmodl" = x""yes; then :
49245   cat >>confdefs.h <<_ACEOF
49246 #define HAVE_FMODL 1
49247 _ACEOF
49248
49249 fi
49250 done
49251
49252   else
49253
49254   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
49255 $as_echo_n "checking for _fmodl declaration... " >&6; }
49256   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
49257     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
49258   $as_echo_n "(cached) " >&6
49259 else
49260
49261
49262       ac_ext=cpp
49263 ac_cpp='$CXXCPP $CPPFLAGS'
49264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49267
49268       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49269 /* end confdefs.h.  */
49270 #include <math.h>
49271 int
49272 main ()
49273 {
49274  _fmodl(0, 0);
49275   ;
49276   return 0;
49277 }
49278 _ACEOF
49279 if ac_fn_cxx_try_compile "$LINENO"; then :
49280   glibcxx_cv_func__fmodl_use=yes
49281 else
49282   glibcxx_cv_func__fmodl_use=no
49283 fi
49284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49285       ac_ext=c
49286 ac_cpp='$CPP $CPPFLAGS'
49287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49290
49291
49292 fi
49293
49294   fi
49295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
49296 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
49297
49298     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
49299       for ac_func in _fmodl
49300 do :
49301   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
49302 if test "x$ac_cv_func__fmodl" = x""yes; then :
49303   cat >>confdefs.h <<_ACEOF
49304 #define HAVE__FMODL 1
49305 _ACEOF
49306
49307 fi
49308 done
49309
49310     fi
49311   fi
49312
49313
49314
49315
49316
49317   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
49318 $as_echo_n "checking for frexpl declaration... " >&6; }
49319   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
49320     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
49321   $as_echo_n "(cached) " >&6
49322 else
49323
49324
49325       ac_ext=cpp
49326 ac_cpp='$CXXCPP $CPPFLAGS'
49327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49330
49331       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49332 /* end confdefs.h.  */
49333 #include <math.h>
49334 int
49335 main ()
49336 {
49337  frexpl(0, 0);
49338   ;
49339   return 0;
49340 }
49341 _ACEOF
49342 if ac_fn_cxx_try_compile "$LINENO"; then :
49343   glibcxx_cv_func_frexpl_use=yes
49344 else
49345   glibcxx_cv_func_frexpl_use=no
49346 fi
49347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49348       ac_ext=c
49349 ac_cpp='$CPP $CPPFLAGS'
49350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49353
49354
49355 fi
49356
49357   fi
49358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
49359 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
49360
49361   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
49362     for ac_func in frexpl
49363 do :
49364   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
49365 if test "x$ac_cv_func_frexpl" = x""yes; then :
49366   cat >>confdefs.h <<_ACEOF
49367 #define HAVE_FREXPL 1
49368 _ACEOF
49369
49370 fi
49371 done
49372
49373   else
49374
49375   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
49376 $as_echo_n "checking for _frexpl declaration... " >&6; }
49377   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
49378     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
49379   $as_echo_n "(cached) " >&6
49380 else
49381
49382
49383       ac_ext=cpp
49384 ac_cpp='$CXXCPP $CPPFLAGS'
49385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49388
49389       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49390 /* end confdefs.h.  */
49391 #include <math.h>
49392 int
49393 main ()
49394 {
49395  _frexpl(0, 0);
49396   ;
49397   return 0;
49398 }
49399 _ACEOF
49400 if ac_fn_cxx_try_compile "$LINENO"; then :
49401   glibcxx_cv_func__frexpl_use=yes
49402 else
49403   glibcxx_cv_func__frexpl_use=no
49404 fi
49405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49406       ac_ext=c
49407 ac_cpp='$CPP $CPPFLAGS'
49408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49411
49412
49413 fi
49414
49415   fi
49416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
49417 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
49418
49419     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
49420       for ac_func in _frexpl
49421 do :
49422   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
49423 if test "x$ac_cv_func__frexpl" = x""yes; then :
49424   cat >>confdefs.h <<_ACEOF
49425 #define HAVE__FREXPL 1
49426 _ACEOF
49427
49428 fi
49429 done
49430
49431     fi
49432   fi
49433
49434
49435
49436
49437
49438   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
49439 $as_echo_n "checking for hypotl declaration... " >&6; }
49440   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
49441     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
49442   $as_echo_n "(cached) " >&6
49443 else
49444
49445
49446       ac_ext=cpp
49447 ac_cpp='$CXXCPP $CPPFLAGS'
49448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49451
49452       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49453 /* end confdefs.h.  */
49454 #include <math.h>
49455 int
49456 main ()
49457 {
49458  hypotl(0, 0);
49459   ;
49460   return 0;
49461 }
49462 _ACEOF
49463 if ac_fn_cxx_try_compile "$LINENO"; then :
49464   glibcxx_cv_func_hypotl_use=yes
49465 else
49466   glibcxx_cv_func_hypotl_use=no
49467 fi
49468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49469       ac_ext=c
49470 ac_cpp='$CPP $CPPFLAGS'
49471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49474
49475
49476 fi
49477
49478   fi
49479   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
49480 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
49481
49482   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
49483     for ac_func in hypotl
49484 do :
49485   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
49486 if test "x$ac_cv_func_hypotl" = x""yes; then :
49487   cat >>confdefs.h <<_ACEOF
49488 #define HAVE_HYPOTL 1
49489 _ACEOF
49490
49491 fi
49492 done
49493
49494   else
49495
49496   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
49497 $as_echo_n "checking for _hypotl declaration... " >&6; }
49498   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
49499     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
49500   $as_echo_n "(cached) " >&6
49501 else
49502
49503
49504       ac_ext=cpp
49505 ac_cpp='$CXXCPP $CPPFLAGS'
49506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49509
49510       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49511 /* end confdefs.h.  */
49512 #include <math.h>
49513 int
49514 main ()
49515 {
49516  _hypotl(0, 0);
49517   ;
49518   return 0;
49519 }
49520 _ACEOF
49521 if ac_fn_cxx_try_compile "$LINENO"; then :
49522   glibcxx_cv_func__hypotl_use=yes
49523 else
49524   glibcxx_cv_func__hypotl_use=no
49525 fi
49526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49527       ac_ext=c
49528 ac_cpp='$CPP $CPPFLAGS'
49529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49532
49533
49534 fi
49535
49536   fi
49537   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
49538 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
49539
49540     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
49541       for ac_func in _hypotl
49542 do :
49543   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
49544 if test "x$ac_cv_func__hypotl" = x""yes; then :
49545   cat >>confdefs.h <<_ACEOF
49546 #define HAVE__HYPOTL 1
49547 _ACEOF
49548
49549 fi
49550 done
49551
49552     fi
49553   fi
49554
49555
49556
49557
49558
49559   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
49560 $as_echo_n "checking for ldexpl declaration... " >&6; }
49561   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
49562     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
49563   $as_echo_n "(cached) " >&6
49564 else
49565
49566
49567       ac_ext=cpp
49568 ac_cpp='$CXXCPP $CPPFLAGS'
49569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49572
49573       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49574 /* end confdefs.h.  */
49575 #include <math.h>
49576 int
49577 main ()
49578 {
49579  ldexpl(0, 0);
49580   ;
49581   return 0;
49582 }
49583 _ACEOF
49584 if ac_fn_cxx_try_compile "$LINENO"; then :
49585   glibcxx_cv_func_ldexpl_use=yes
49586 else
49587   glibcxx_cv_func_ldexpl_use=no
49588 fi
49589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49590       ac_ext=c
49591 ac_cpp='$CPP $CPPFLAGS'
49592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49595
49596
49597 fi
49598
49599   fi
49600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
49601 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
49602
49603   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
49604     for ac_func in ldexpl
49605 do :
49606   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
49607 if test "x$ac_cv_func_ldexpl" = x""yes; then :
49608   cat >>confdefs.h <<_ACEOF
49609 #define HAVE_LDEXPL 1
49610 _ACEOF
49611
49612 fi
49613 done
49614
49615   else
49616
49617   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
49618 $as_echo_n "checking for _ldexpl declaration... " >&6; }
49619   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
49620     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
49621   $as_echo_n "(cached) " >&6
49622 else
49623
49624
49625       ac_ext=cpp
49626 ac_cpp='$CXXCPP $CPPFLAGS'
49627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49630
49631       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49632 /* end confdefs.h.  */
49633 #include <math.h>
49634 int
49635 main ()
49636 {
49637  _ldexpl(0, 0);
49638   ;
49639   return 0;
49640 }
49641 _ACEOF
49642 if ac_fn_cxx_try_compile "$LINENO"; then :
49643   glibcxx_cv_func__ldexpl_use=yes
49644 else
49645   glibcxx_cv_func__ldexpl_use=no
49646 fi
49647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49648       ac_ext=c
49649 ac_cpp='$CPP $CPPFLAGS'
49650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49653
49654
49655 fi
49656
49657   fi
49658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
49659 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
49660
49661     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
49662       for ac_func in _ldexpl
49663 do :
49664   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
49665 if test "x$ac_cv_func__ldexpl" = x""yes; then :
49666   cat >>confdefs.h <<_ACEOF
49667 #define HAVE__LDEXPL 1
49668 _ACEOF
49669
49670 fi
49671 done
49672
49673     fi
49674   fi
49675
49676
49677
49678
49679
49680   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
49681 $as_echo_n "checking for logl declaration... " >&6; }
49682   if test x${glibcxx_cv_func_logl_use+set} != xset; then
49683     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
49684   $as_echo_n "(cached) " >&6
49685 else
49686
49687
49688       ac_ext=cpp
49689 ac_cpp='$CXXCPP $CPPFLAGS'
49690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49693
49694       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49695 /* end confdefs.h.  */
49696 #include <math.h>
49697                       #ifdef HAVE_IEEEFP_H
49698                       #include <ieeefp.h>
49699                       #endif
49700
49701 int
49702 main ()
49703 {
49704  logl(0);
49705   ;
49706   return 0;
49707 }
49708 _ACEOF
49709 if ac_fn_cxx_try_compile "$LINENO"; then :
49710   glibcxx_cv_func_logl_use=yes
49711 else
49712   glibcxx_cv_func_logl_use=no
49713 fi
49714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49715       ac_ext=c
49716 ac_cpp='$CPP $CPPFLAGS'
49717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49720
49721
49722 fi
49723
49724   fi
49725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
49726 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
49727
49728   if test x$glibcxx_cv_func_logl_use = x"yes"; then
49729     for ac_func in logl
49730 do :
49731   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
49732 if test "x$ac_cv_func_logl" = x""yes; then :
49733   cat >>confdefs.h <<_ACEOF
49734 #define HAVE_LOGL 1
49735 _ACEOF
49736
49737 fi
49738 done
49739
49740   else
49741
49742   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
49743 $as_echo_n "checking for _logl declaration... " >&6; }
49744   if test x${glibcxx_cv_func__logl_use+set} != xset; then
49745     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
49746   $as_echo_n "(cached) " >&6
49747 else
49748
49749
49750       ac_ext=cpp
49751 ac_cpp='$CXXCPP $CPPFLAGS'
49752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49755
49756       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49757 /* end confdefs.h.  */
49758 #include <math.h>
49759                       #ifdef HAVE_IEEEFP_H
49760                       #include <ieeefp.h>
49761                       #endif
49762
49763 int
49764 main ()
49765 {
49766  _logl(0);
49767   ;
49768   return 0;
49769 }
49770 _ACEOF
49771 if ac_fn_cxx_try_compile "$LINENO"; then :
49772   glibcxx_cv_func__logl_use=yes
49773 else
49774   glibcxx_cv_func__logl_use=no
49775 fi
49776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49777       ac_ext=c
49778 ac_cpp='$CPP $CPPFLAGS'
49779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49782
49783
49784 fi
49785
49786   fi
49787   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
49788 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
49789
49790     if test x$glibcxx_cv_func__logl_use = x"yes"; then
49791       for ac_func in _logl
49792 do :
49793   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
49794 if test "x$ac_cv_func__logl" = x""yes; then :
49795   cat >>confdefs.h <<_ACEOF
49796 #define HAVE__LOGL 1
49797 _ACEOF
49798
49799 fi
49800 done
49801
49802     fi
49803   fi
49804
49805
49806
49807
49808
49809   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
49810 $as_echo_n "checking for log10l declaration... " >&6; }
49811   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
49812     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
49813   $as_echo_n "(cached) " >&6
49814 else
49815
49816
49817       ac_ext=cpp
49818 ac_cpp='$CXXCPP $CPPFLAGS'
49819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49822
49823       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49824 /* end confdefs.h.  */
49825 #include <math.h>
49826                       #ifdef HAVE_IEEEFP_H
49827                       #include <ieeefp.h>
49828                       #endif
49829
49830 int
49831 main ()
49832 {
49833  log10l(0);
49834   ;
49835   return 0;
49836 }
49837 _ACEOF
49838 if ac_fn_cxx_try_compile "$LINENO"; then :
49839   glibcxx_cv_func_log10l_use=yes
49840 else
49841   glibcxx_cv_func_log10l_use=no
49842 fi
49843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49844       ac_ext=c
49845 ac_cpp='$CPP $CPPFLAGS'
49846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49849
49850
49851 fi
49852
49853   fi
49854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
49855 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
49856
49857   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
49858     for ac_func in log10l
49859 do :
49860   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
49861 if test "x$ac_cv_func_log10l" = x""yes; then :
49862   cat >>confdefs.h <<_ACEOF
49863 #define HAVE_LOG10L 1
49864 _ACEOF
49865
49866 fi
49867 done
49868
49869   else
49870
49871   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
49872 $as_echo_n "checking for _log10l declaration... " >&6; }
49873   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
49874     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
49875   $as_echo_n "(cached) " >&6
49876 else
49877
49878
49879       ac_ext=cpp
49880 ac_cpp='$CXXCPP $CPPFLAGS'
49881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49884
49885       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49886 /* end confdefs.h.  */
49887 #include <math.h>
49888                       #ifdef HAVE_IEEEFP_H
49889                       #include <ieeefp.h>
49890                       #endif
49891
49892 int
49893 main ()
49894 {
49895  _log10l(0);
49896   ;
49897   return 0;
49898 }
49899 _ACEOF
49900 if ac_fn_cxx_try_compile "$LINENO"; then :
49901   glibcxx_cv_func__log10l_use=yes
49902 else
49903   glibcxx_cv_func__log10l_use=no
49904 fi
49905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49906       ac_ext=c
49907 ac_cpp='$CPP $CPPFLAGS'
49908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49911
49912
49913 fi
49914
49915   fi
49916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
49917 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
49918
49919     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
49920       for ac_func in _log10l
49921 do :
49922   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
49923 if test "x$ac_cv_func__log10l" = x""yes; then :
49924   cat >>confdefs.h <<_ACEOF
49925 #define HAVE__LOG10L 1
49926 _ACEOF
49927
49928 fi
49929 done
49930
49931     fi
49932   fi
49933
49934
49935
49936
49937
49938   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
49939 $as_echo_n "checking for modfl declaration... " >&6; }
49940   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
49941     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
49942   $as_echo_n "(cached) " >&6
49943 else
49944
49945
49946       ac_ext=cpp
49947 ac_cpp='$CXXCPP $CPPFLAGS'
49948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49951
49952       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49953 /* end confdefs.h.  */
49954 #include <math.h>
49955 int
49956 main ()
49957 {
49958  modfl(0, 0);
49959   ;
49960   return 0;
49961 }
49962 _ACEOF
49963 if ac_fn_cxx_try_compile "$LINENO"; then :
49964   glibcxx_cv_func_modfl_use=yes
49965 else
49966   glibcxx_cv_func_modfl_use=no
49967 fi
49968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49969       ac_ext=c
49970 ac_cpp='$CPP $CPPFLAGS'
49971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49974
49975
49976 fi
49977
49978   fi
49979   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
49980 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
49981
49982   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
49983     for ac_func in modfl
49984 do :
49985   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
49986 if test "x$ac_cv_func_modfl" = x""yes; then :
49987   cat >>confdefs.h <<_ACEOF
49988 #define HAVE_MODFL 1
49989 _ACEOF
49990
49991 fi
49992 done
49993
49994   else
49995
49996   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
49997 $as_echo_n "checking for _modfl declaration... " >&6; }
49998   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
49999     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
50000   $as_echo_n "(cached) " >&6
50001 else
50002
50003
50004       ac_ext=cpp
50005 ac_cpp='$CXXCPP $CPPFLAGS'
50006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50009
50010       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50011 /* end confdefs.h.  */
50012 #include <math.h>
50013 int
50014 main ()
50015 {
50016  _modfl(0, 0);
50017   ;
50018   return 0;
50019 }
50020 _ACEOF
50021 if ac_fn_cxx_try_compile "$LINENO"; then :
50022   glibcxx_cv_func__modfl_use=yes
50023 else
50024   glibcxx_cv_func__modfl_use=no
50025 fi
50026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50027       ac_ext=c
50028 ac_cpp='$CPP $CPPFLAGS'
50029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50032
50033
50034 fi
50035
50036   fi
50037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
50038 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
50039
50040     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
50041       for ac_func in _modfl
50042 do :
50043   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
50044 if test "x$ac_cv_func__modfl" = x""yes; then :
50045   cat >>confdefs.h <<_ACEOF
50046 #define HAVE__MODFL 1
50047 _ACEOF
50048
50049 fi
50050 done
50051
50052     fi
50053   fi
50054
50055
50056
50057
50058
50059   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
50060 $as_echo_n "checking for powl declaration... " >&6; }
50061   if test x${glibcxx_cv_func_powl_use+set} != xset; then
50062     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
50063   $as_echo_n "(cached) " >&6
50064 else
50065
50066
50067       ac_ext=cpp
50068 ac_cpp='$CXXCPP $CPPFLAGS'
50069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50072
50073       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50074 /* end confdefs.h.  */
50075 #include <math.h>
50076 int
50077 main ()
50078 {
50079  powl(0, 0);
50080   ;
50081   return 0;
50082 }
50083 _ACEOF
50084 if ac_fn_cxx_try_compile "$LINENO"; then :
50085   glibcxx_cv_func_powl_use=yes
50086 else
50087   glibcxx_cv_func_powl_use=no
50088 fi
50089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50090       ac_ext=c
50091 ac_cpp='$CPP $CPPFLAGS'
50092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50095
50096
50097 fi
50098
50099   fi
50100   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
50101 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
50102
50103   if test x$glibcxx_cv_func_powl_use = x"yes"; then
50104     for ac_func in powl
50105 do :
50106   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
50107 if test "x$ac_cv_func_powl" = x""yes; then :
50108   cat >>confdefs.h <<_ACEOF
50109 #define HAVE_POWL 1
50110 _ACEOF
50111
50112 fi
50113 done
50114
50115   else
50116
50117   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
50118 $as_echo_n "checking for _powl declaration... " >&6; }
50119   if test x${glibcxx_cv_func__powl_use+set} != xset; then
50120     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
50121   $as_echo_n "(cached) " >&6
50122 else
50123
50124
50125       ac_ext=cpp
50126 ac_cpp='$CXXCPP $CPPFLAGS'
50127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50130
50131       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50132 /* end confdefs.h.  */
50133 #include <math.h>
50134 int
50135 main ()
50136 {
50137  _powl(0, 0);
50138   ;
50139   return 0;
50140 }
50141 _ACEOF
50142 if ac_fn_cxx_try_compile "$LINENO"; then :
50143   glibcxx_cv_func__powl_use=yes
50144 else
50145   glibcxx_cv_func__powl_use=no
50146 fi
50147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50148       ac_ext=c
50149 ac_cpp='$CPP $CPPFLAGS'
50150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50153
50154
50155 fi
50156
50157   fi
50158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
50159 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
50160
50161     if test x$glibcxx_cv_func__powl_use = x"yes"; then
50162       for ac_func in _powl
50163 do :
50164   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
50165 if test "x$ac_cv_func__powl" = x""yes; then :
50166   cat >>confdefs.h <<_ACEOF
50167 #define HAVE__POWL 1
50168 _ACEOF
50169
50170 fi
50171 done
50172
50173     fi
50174   fi
50175
50176
50177
50178
50179
50180   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
50181 $as_echo_n "checking for sqrtl declaration... " >&6; }
50182   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
50183     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
50184   $as_echo_n "(cached) " >&6
50185 else
50186
50187
50188       ac_ext=cpp
50189 ac_cpp='$CXXCPP $CPPFLAGS'
50190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50193
50194       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50195 /* end confdefs.h.  */
50196 #include <math.h>
50197                       #ifdef HAVE_IEEEFP_H
50198                       #include <ieeefp.h>
50199                       #endif
50200
50201 int
50202 main ()
50203 {
50204  sqrtl(0);
50205   ;
50206   return 0;
50207 }
50208 _ACEOF
50209 if ac_fn_cxx_try_compile "$LINENO"; then :
50210   glibcxx_cv_func_sqrtl_use=yes
50211 else
50212   glibcxx_cv_func_sqrtl_use=no
50213 fi
50214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50215       ac_ext=c
50216 ac_cpp='$CPP $CPPFLAGS'
50217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50220
50221
50222 fi
50223
50224   fi
50225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
50226 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
50227
50228   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
50229     for ac_func in sqrtl
50230 do :
50231   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
50232 if test "x$ac_cv_func_sqrtl" = x""yes; then :
50233   cat >>confdefs.h <<_ACEOF
50234 #define HAVE_SQRTL 1
50235 _ACEOF
50236
50237 fi
50238 done
50239
50240   else
50241
50242   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
50243 $as_echo_n "checking for _sqrtl declaration... " >&6; }
50244   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
50245     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
50246   $as_echo_n "(cached) " >&6
50247 else
50248
50249
50250       ac_ext=cpp
50251 ac_cpp='$CXXCPP $CPPFLAGS'
50252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50255
50256       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50257 /* end confdefs.h.  */
50258 #include <math.h>
50259                       #ifdef HAVE_IEEEFP_H
50260                       #include <ieeefp.h>
50261                       #endif
50262
50263 int
50264 main ()
50265 {
50266  _sqrtl(0);
50267   ;
50268   return 0;
50269 }
50270 _ACEOF
50271 if ac_fn_cxx_try_compile "$LINENO"; then :
50272   glibcxx_cv_func__sqrtl_use=yes
50273 else
50274   glibcxx_cv_func__sqrtl_use=no
50275 fi
50276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50277       ac_ext=c
50278 ac_cpp='$CPP $CPPFLAGS'
50279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50282
50283
50284 fi
50285
50286   fi
50287   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
50288 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
50289
50290     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
50291       for ac_func in _sqrtl
50292 do :
50293   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
50294 if test "x$ac_cv_func__sqrtl" = x""yes; then :
50295   cat >>confdefs.h <<_ACEOF
50296 #define HAVE__SQRTL 1
50297 _ACEOF
50298
50299 fi
50300 done
50301
50302     fi
50303   fi
50304
50305
50306
50307
50308
50309   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
50310 $as_echo_n "checking for sincosl declaration... " >&6; }
50311   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
50312     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
50313   $as_echo_n "(cached) " >&6
50314 else
50315
50316
50317       ac_ext=cpp
50318 ac_cpp='$CXXCPP $CPPFLAGS'
50319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50322
50323       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50324 /* end confdefs.h.  */
50325 #include <math.h>
50326 int
50327 main ()
50328 {
50329  sincosl(0, 0, 0);
50330   ;
50331   return 0;
50332 }
50333 _ACEOF
50334 if ac_fn_cxx_try_compile "$LINENO"; then :
50335   glibcxx_cv_func_sincosl_use=yes
50336 else
50337   glibcxx_cv_func_sincosl_use=no
50338 fi
50339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50340       ac_ext=c
50341 ac_cpp='$CPP $CPPFLAGS'
50342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50345
50346
50347 fi
50348
50349   fi
50350   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
50351 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
50352
50353   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
50354     for ac_func in sincosl
50355 do :
50356   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
50357 if test "x$ac_cv_func_sincosl" = x""yes; then :
50358   cat >>confdefs.h <<_ACEOF
50359 #define HAVE_SINCOSL 1
50360 _ACEOF
50361
50362 fi
50363 done
50364
50365   else
50366
50367   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
50368 $as_echo_n "checking for _sincosl declaration... " >&6; }
50369   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
50370     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
50371   $as_echo_n "(cached) " >&6
50372 else
50373
50374
50375       ac_ext=cpp
50376 ac_cpp='$CXXCPP $CPPFLAGS'
50377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50380
50381       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50382 /* end confdefs.h.  */
50383 #include <math.h>
50384 int
50385 main ()
50386 {
50387  _sincosl(0, 0, 0);
50388   ;
50389   return 0;
50390 }
50391 _ACEOF
50392 if ac_fn_cxx_try_compile "$LINENO"; then :
50393   glibcxx_cv_func__sincosl_use=yes
50394 else
50395   glibcxx_cv_func__sincosl_use=no
50396 fi
50397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50398       ac_ext=c
50399 ac_cpp='$CPP $CPPFLAGS'
50400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50403
50404
50405 fi
50406
50407   fi
50408   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
50409 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
50410
50411     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
50412       for ac_func in _sincosl
50413 do :
50414   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
50415 if test "x$ac_cv_func__sincosl" = x""yes; then :
50416   cat >>confdefs.h <<_ACEOF
50417 #define HAVE__SINCOSL 1
50418 _ACEOF
50419
50420 fi
50421 done
50422
50423     fi
50424   fi
50425
50426
50427
50428
50429
50430   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
50431 $as_echo_n "checking for finitel declaration... " >&6; }
50432   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
50433     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
50434   $as_echo_n "(cached) " >&6
50435 else
50436
50437
50438       ac_ext=cpp
50439 ac_cpp='$CXXCPP $CPPFLAGS'
50440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50443
50444       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50445 /* end confdefs.h.  */
50446 #include <math.h>
50447                       #ifdef HAVE_IEEEFP_H
50448                       #include <ieeefp.h>
50449                       #endif
50450
50451 int
50452 main ()
50453 {
50454  finitel(0);
50455   ;
50456   return 0;
50457 }
50458 _ACEOF
50459 if ac_fn_cxx_try_compile "$LINENO"; then :
50460   glibcxx_cv_func_finitel_use=yes
50461 else
50462   glibcxx_cv_func_finitel_use=no
50463 fi
50464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50465       ac_ext=c
50466 ac_cpp='$CPP $CPPFLAGS'
50467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50470
50471
50472 fi
50473
50474   fi
50475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
50476 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
50477
50478   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
50479     for ac_func in finitel
50480 do :
50481   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
50482 if test "x$ac_cv_func_finitel" = x""yes; then :
50483   cat >>confdefs.h <<_ACEOF
50484 #define HAVE_FINITEL 1
50485 _ACEOF
50486
50487 fi
50488 done
50489
50490   else
50491
50492   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
50493 $as_echo_n "checking for _finitel declaration... " >&6; }
50494   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
50495     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
50496   $as_echo_n "(cached) " >&6
50497 else
50498
50499
50500       ac_ext=cpp
50501 ac_cpp='$CXXCPP $CPPFLAGS'
50502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50505
50506       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50507 /* end confdefs.h.  */
50508 #include <math.h>
50509                       #ifdef HAVE_IEEEFP_H
50510                       #include <ieeefp.h>
50511                       #endif
50512
50513 int
50514 main ()
50515 {
50516  _finitel(0);
50517   ;
50518   return 0;
50519 }
50520 _ACEOF
50521 if ac_fn_cxx_try_compile "$LINENO"; then :
50522   glibcxx_cv_func__finitel_use=yes
50523 else
50524   glibcxx_cv_func__finitel_use=no
50525 fi
50526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50527       ac_ext=c
50528 ac_cpp='$CPP $CPPFLAGS'
50529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50532
50533
50534 fi
50535
50536   fi
50537   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
50538 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
50539
50540     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
50541       for ac_func in _finitel
50542 do :
50543   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
50544 if test "x$ac_cv_func__finitel" = x""yes; then :
50545   cat >>confdefs.h <<_ACEOF
50546 #define HAVE__FINITEL 1
50547 _ACEOF
50548
50549 fi
50550 done
50551
50552     fi
50553   fi
50554
50555
50556
50557
50558   LIBS="$ac_save_LIBS"
50559   CXXFLAGS="$ac_save_CXXFLAGS"
50560
50561
50562   ac_test_CXXFLAGS="${CXXFLAGS+set}"
50563   ac_save_CXXFLAGS="$CXXFLAGS"
50564   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50565
50566
50567   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
50568 $as_echo_n "checking for strtold declaration... " >&6; }
50569   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
50570     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
50571   $as_echo_n "(cached) " >&6
50572 else
50573
50574
50575       ac_ext=cpp
50576 ac_cpp='$CXXCPP $CPPFLAGS'
50577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50580
50581       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50582 /* end confdefs.h.  */
50583 #include <stdlib.h>
50584 int
50585 main ()
50586 {
50587  strtold(0, 0);
50588   ;
50589   return 0;
50590 }
50591 _ACEOF
50592 if ac_fn_cxx_try_compile "$LINENO"; then :
50593   glibcxx_cv_func_strtold_use=yes
50594 else
50595   glibcxx_cv_func_strtold_use=no
50596 fi
50597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50598       ac_ext=c
50599 ac_cpp='$CPP $CPPFLAGS'
50600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50603
50604
50605 fi
50606
50607   fi
50608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
50609 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
50610   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
50611     for ac_func in strtold
50612 do :
50613   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
50614 if test "x$ac_cv_func_strtold" = x""yes; then :
50615   cat >>confdefs.h <<_ACEOF
50616 #define HAVE_STRTOLD 1
50617 _ACEOF
50618
50619 fi
50620 done
50621
50622   fi
50623
50624
50625
50626
50627   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
50628 $as_echo_n "checking for strtof declaration... " >&6; }
50629   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
50630     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
50631   $as_echo_n "(cached) " >&6
50632 else
50633
50634
50635       ac_ext=cpp
50636 ac_cpp='$CXXCPP $CPPFLAGS'
50637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50640
50641       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50642 /* end confdefs.h.  */
50643 #include <stdlib.h>
50644 int
50645 main ()
50646 {
50647  strtof(0, 0);
50648   ;
50649   return 0;
50650 }
50651 _ACEOF
50652 if ac_fn_cxx_try_compile "$LINENO"; then :
50653   glibcxx_cv_func_strtof_use=yes
50654 else
50655   glibcxx_cv_func_strtof_use=no
50656 fi
50657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50658       ac_ext=c
50659 ac_cpp='$CPP $CPPFLAGS'
50660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50663
50664
50665 fi
50666
50667   fi
50668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
50669 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
50670   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
50671     for ac_func in strtof
50672 do :
50673   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
50674 if test "x$ac_cv_func_strtof" = x""yes; then :
50675   cat >>confdefs.h <<_ACEOF
50676 #define HAVE_STRTOF 1
50677 _ACEOF
50678
50679 fi
50680 done
50681
50682   fi
50683
50684
50685
50686
50687   CXXFLAGS="$ac_save_CXXFLAGS"
50688
50689     $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
50690
50691
50692
50693    # Check whether --enable-tls was given.
50694 if test "${enable_tls+set}" = set; then :
50695   enableval=$enable_tls;
50696       case "$enableval" in
50697        yes|no) ;;
50698        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
50699       esac
50700
50701 else
50702   enable_tls=yes
50703 fi
50704
50705
50706   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
50707 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
50708 if test "${gcc_cv_have_tls+set}" = set; then :
50709   $as_echo_n "(cached) " >&6
50710 else
50711
50712     if test "$cross_compiling" = yes; then :
50713                 if test x$gcc_no_link = xyes; then
50714   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50715 fi
50716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50717 /* end confdefs.h.  */
50718 __thread int a; int b; int main() { return a = b; }
50719 _ACEOF
50720 if ac_fn_c_try_link "$LINENO"; then :
50721   chktls_save_LDFLAGS="$LDFLAGS"
50722                           case $host in
50723             *-*-linux*)
50724               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
50725               ;;
50726           esac
50727           chktls_save_CFLAGS="$CFLAGS"
50728           CFLAGS="-fPIC $CFLAGS"
50729                   if test x$gcc_no_link = xyes; then
50730   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50731 fi
50732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50733 /* end confdefs.h.  */
50734 int f() { return 0; }
50735 _ACEOF
50736 if ac_fn_c_try_link "$LINENO"; then :
50737   if test x$gcc_no_link = xyes; then
50738   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50739 fi
50740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50741 /* end confdefs.h.  */
50742 __thread int a; int b; int f() { return a = b; }
50743 _ACEOF
50744 if ac_fn_c_try_link "$LINENO"; then :
50745   gcc_cv_have_tls=yes
50746 else
50747   gcc_cv_have_tls=no
50748 fi
50749 rm -f core conftest.err conftest.$ac_objext \
50750     conftest$ac_exeext conftest.$ac_ext
50751 else
50752   gcc_cv_have_tls=yes
50753 fi
50754 rm -f core conftest.err conftest.$ac_objext \
50755     conftest$ac_exeext conftest.$ac_ext
50756           CFLAGS="$chktls_save_CFLAGS"
50757           LDFLAGS="$chktls_save_LDFLAGS"
50758 else
50759   gcc_cv_have_tls=no
50760 fi
50761 rm -f core conftest.err conftest.$ac_objext \
50762     conftest$ac_exeext conftest.$ac_ext
50763
50764
50765 else
50766   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50767 /* end confdefs.h.  */
50768 __thread int a; int b; int main() { return a = b; }
50769 _ACEOF
50770 if ac_fn_c_try_run "$LINENO"; then :
50771                       chktls_save_LDFLAGS="$LDFLAGS"
50772       LDFLAGS="-static $LDFLAGS"
50773       if test x$gcc_no_link = xyes; then
50774   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50775 fi
50776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50777 /* end confdefs.h.  */
50778 int main() { return 0; }
50779 _ACEOF
50780 if ac_fn_c_try_link "$LINENO"; then :
50781   if test "$cross_compiling" = yes; then :
50782   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50783 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50784 as_fn_error "cannot run test program while cross compiling
50785 See \`config.log' for more details." "$LINENO" 5; }
50786 else
50787   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50788 /* end confdefs.h.  */
50789 __thread int a; int b; int main() { return a = b; }
50790 _ACEOF
50791 if ac_fn_c_try_run "$LINENO"; then :
50792   gcc_cv_have_tls=yes
50793 else
50794   gcc_cv_have_tls=no
50795 fi
50796 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50797   conftest.$ac_objext conftest.beam conftest.$ac_ext
50798 fi
50799
50800 else
50801   gcc_cv_have_tls=yes
50802 fi
50803 rm -f core conftest.err conftest.$ac_objext \
50804     conftest$ac_exeext conftest.$ac_ext
50805       LDFLAGS="$chktls_save_LDFLAGS"
50806       if test $gcc_cv_have_tls = yes; then
50807                                                 chktls_save_CFLAGS="$CFLAGS"
50808         thread_CFLAGS=failed
50809         for flag in '' '-pthread' '-lpthread'; do
50810           CFLAGS="$flag $chktls_save_CFLAGS"
50811           if test x$gcc_no_link = xyes; then
50812   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50813 fi
50814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50815 /* end confdefs.h.  */
50816 #include <pthread.h>
50817                 void *g(void *d) { return NULL; }
50818 int
50819 main ()
50820 {
50821 pthread_t t; pthread_create(&t,NULL,g,NULL);
50822   ;
50823   return 0;
50824 }
50825 _ACEOF
50826 if ac_fn_c_try_link "$LINENO"; then :
50827   thread_CFLAGS="$flag"
50828 fi
50829 rm -f core conftest.err conftest.$ac_objext \
50830     conftest$ac_exeext conftest.$ac_ext
50831           if test "X$thread_CFLAGS" != Xfailed; then
50832             break
50833           fi
50834         done
50835         CFLAGS="$chktls_save_CFLAGS"
50836         if test "X$thread_CFLAGS" != Xfailed; then
50837           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
50838                                                   if test "$cross_compiling" = yes; then :
50839   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50840 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50841 as_fn_error "cannot run test program while cross compiling
50842 See \`config.log' for more details." "$LINENO" 5; }
50843 else
50844   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50845 /* end confdefs.h.  */
50846 #include <pthread.h>
50847                 __thread int a;
50848                 static int *volatile a_in_other_thread;
50849                 static void *
50850                 thread_func (void *arg)
50851                 {
50852                   a_in_other_thread = &a;
50853                   return (void *)0;
50854                 }
50855 int
50856 main ()
50857 {
50858 pthread_t thread;
50859                 void *thread_retval;
50860                 int *volatile a_in_main_thread;
50861                 a_in_main_thread = &a;
50862                 if (pthread_create (&thread, (pthread_attr_t *)0,
50863                                     thread_func, (void *)0))
50864                   return 0;
50865                 if (pthread_join (thread, &thread_retval))
50866                   return 0;
50867                 return (a_in_other_thread == a_in_main_thread);
50868   ;
50869   return 0;
50870 }
50871 _ACEOF
50872 if ac_fn_c_try_run "$LINENO"; then :
50873   gcc_cv_have_tls=yes
50874 else
50875   gcc_cv_have_tls=no
50876 fi
50877 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50878   conftest.$ac_objext conftest.beam conftest.$ac_ext
50879 fi
50880
50881           CFLAGS="$chktls_save_CFLAGS"
50882         fi
50883       fi
50884 else
50885   gcc_cv_have_tls=no
50886 fi
50887 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50888   conftest.$ac_objext conftest.beam conftest.$ac_ext
50889 fi
50890
50891 fi
50892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
50893 $as_echo "$gcc_cv_have_tls" >&6; }
50894   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
50895
50896 $as_echo "#define HAVE_TLS 1" >>confdefs.h
50897
50898   fi
50899
50900
50901
50902
50903
50904           am_save_CPPFLAGS="$CPPFLAGS"
50905
50906   for element in $INCICONV; do
50907     haveit=
50908     for x in $CPPFLAGS; do
50909
50910   acl_save_prefix="$prefix"
50911   prefix="$acl_final_prefix"
50912   acl_save_exec_prefix="$exec_prefix"
50913   exec_prefix="$acl_final_exec_prefix"
50914   eval x=\"$x\"
50915   exec_prefix="$acl_save_exec_prefix"
50916   prefix="$acl_save_prefix"
50917
50918       if test "X$x" = "X$element"; then
50919         haveit=yes
50920         break
50921       fi
50922     done
50923     if test -z "$haveit"; then
50924       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
50925     fi
50926   done
50927
50928
50929   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
50930 $as_echo_n "checking for iconv... " >&6; }
50931 if test "${am_cv_func_iconv+set}" = set; then :
50932   $as_echo_n "(cached) " >&6
50933 else
50934
50935     am_cv_func_iconv="no, consider installing GNU libiconv"
50936     am_cv_lib_iconv=no
50937     if test x$gcc_no_link = xyes; then
50938   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50939 fi
50940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50941 /* end confdefs.h.  */
50942 #include <stdlib.h>
50943 #include <iconv.h>
50944 int
50945 main ()
50946 {
50947 iconv_t cd = iconv_open("","");
50948        iconv(cd,NULL,NULL,NULL,NULL);
50949        iconv_close(cd);
50950   ;
50951   return 0;
50952 }
50953 _ACEOF
50954 if ac_fn_c_try_link "$LINENO"; then :
50955   am_cv_func_iconv=yes
50956 fi
50957 rm -f core conftest.err conftest.$ac_objext \
50958     conftest$ac_exeext conftest.$ac_ext
50959     if test "$am_cv_func_iconv" != yes; then
50960       am_save_LIBS="$LIBS"
50961       LIBS="$LIBS $LIBICONV"
50962       if test x$gcc_no_link = xyes; then
50963   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50964 fi
50965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50966 /* end confdefs.h.  */
50967 #include <stdlib.h>
50968 #include <iconv.h>
50969 int
50970 main ()
50971 {
50972 iconv_t cd = iconv_open("","");
50973          iconv(cd,NULL,NULL,NULL,NULL);
50974          iconv_close(cd);
50975   ;
50976   return 0;
50977 }
50978 _ACEOF
50979 if ac_fn_c_try_link "$LINENO"; then :
50980   am_cv_lib_iconv=yes
50981         am_cv_func_iconv=yes
50982 fi
50983 rm -f core conftest.err conftest.$ac_objext \
50984     conftest$ac_exeext conftest.$ac_ext
50985       LIBS="$am_save_LIBS"
50986     fi
50987
50988 fi
50989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
50990 $as_echo "$am_cv_func_iconv" >&6; }
50991   if test "$am_cv_func_iconv" = yes; then
50992
50993 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
50994
50995   fi
50996   if test "$am_cv_lib_iconv" = yes; then
50997     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
50998 $as_echo_n "checking how to link with libiconv... " >&6; }
50999     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
51000 $as_echo "$LIBICONV" >&6; }
51001   else
51002             CPPFLAGS="$am_save_CPPFLAGS"
51003     LIBICONV=
51004     LTLIBICONV=
51005   fi
51006
51007
51008
51009   if test "$am_cv_func_iconv" = yes; then
51010     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
51011 $as_echo_n "checking for iconv declaration... " >&6; }
51012     if test "${am_cv_proto_iconv+set}" = set; then :
51013   $as_echo_n "(cached) " >&6
51014 else
51015
51016       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51017 /* end confdefs.h.  */
51018
51019 #include <stdlib.h>
51020 #include <iconv.h>
51021 extern
51022 #ifdef __cplusplus
51023 "C"
51024 #endif
51025 #if defined(__STDC__) || defined(__cplusplus)
51026 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
51027 #else
51028 size_t iconv();
51029 #endif
51030
51031 int
51032 main ()
51033 {
51034
51035   ;
51036   return 0;
51037 }
51038 _ACEOF
51039 if ac_fn_c_try_compile "$LINENO"; then :
51040   am_cv_proto_iconv_arg1=""
51041 else
51042   am_cv_proto_iconv_arg1="const"
51043 fi
51044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51045       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);"
51046 fi
51047
51048     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
51049     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
51050          }$am_cv_proto_iconv" >&5
51051 $as_echo "${ac_t:-
51052          }$am_cv_proto_iconv" >&6; }
51053
51054 cat >>confdefs.h <<_ACEOF
51055 #define ICONV_CONST $am_cv_proto_iconv_arg1
51056 _ACEOF
51057
51058   fi
51059
51060     ;;
51061   *-mingw32*)
51062
51063   # If we're not using GNU ld, then there's no point in even trying these
51064   # tests.  Check for that first.  We should have already tested for gld
51065   # by now (in libtool), but require it now just to be safe...
51066   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51067   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51068
51069
51070
51071   # The name set by libtool depends on the version of libtool.  Shame on us
51072   # for depending on an impl detail, but c'est la vie.  Older versions used
51073   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51074   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51075   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
51076   # set (hence we're using an older libtool), then set it.
51077   if test x${with_gnu_ld+set} != xset; then
51078     if test x${ac_cv_prog_gnu_ld+set} != xset; then
51079       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
51080       with_gnu_ld=no
51081     else
51082       with_gnu_ld=$ac_cv_prog_gnu_ld
51083     fi
51084   fi
51085
51086   # Start by getting the version number.  I think the libtool test already
51087   # does some of this, but throws away the result.
51088   glibcxx_ld_is_gold=no
51089   if test x"$with_gnu_ld" = x"yes"; then
51090     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
51091 $as_echo_n "checking for ld version... " >&6; }
51092
51093     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
51094       glibcxx_ld_is_gold=yes
51095     fi
51096     ldver=`$LD --version 2>/dev/null |
51097            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'`
51098
51099     glibcxx_gnu_ld_version=`echo $ldver | \
51100            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51101     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
51102 $as_echo "$glibcxx_gnu_ld_version" >&6; }
51103   fi
51104
51105   # Set --gc-sections.
51106   glibcxx_have_gc_sections=no
51107   if test "$glibcxx_ld_is_gold" = "yes"; then
51108     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
51109       glibcxx_have_gc_sections=yes
51110     fi
51111   else
51112     glibcxx_gcsections_min_ld=21602
51113     if test x"$with_gnu_ld" = x"yes" &&
51114         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
51115       glibcxx_have_gc_sections=yes
51116     fi
51117   fi
51118   if test "$glibcxx_have_gc_sections" = "yes"; then
51119     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
51120     # NB: This flag only works reliably after 2.16.1. Configure tests
51121     # for this are difficult, so hard wire a value that should work.
51122
51123     ac_test_CFLAGS="${CFLAGS+set}"
51124     ac_save_CFLAGS="$CFLAGS"
51125     CFLAGS='-Wl,--gc-sections'
51126
51127     # Check for -Wl,--gc-sections
51128     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
51129 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
51130     if test x$gcc_no_link = xyes; then
51131   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51132 fi
51133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51134 /* end confdefs.h.  */
51135  int one(void) { return 1; }
51136      int two(void) { return 2; }
51137
51138 int
51139 main ()
51140 {
51141  two();
51142   ;
51143   return 0;
51144 }
51145 _ACEOF
51146 if ac_fn_c_try_link "$LINENO"; then :
51147   ac_gcsections=yes
51148 else
51149   ac_gcsections=no
51150 fi
51151 rm -f core conftest.err conftest.$ac_objext \
51152     conftest$ac_exeext conftest.$ac_ext
51153     if test "$ac_gcsections" = "yes"; then
51154       rm -f conftest.c
51155       touch conftest.c
51156       if $CC -c conftest.c; then
51157         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
51158            grep "Warning: gc-sections option ignored" > /dev/null; then
51159           ac_gcsections=no
51160         fi
51161       fi
51162       rm -f conftest.c conftest.o conftest
51163     fi
51164     if test "$ac_gcsections" = "yes"; then
51165       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51166     fi
51167     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
51168 $as_echo "$ac_gcsections" >&6; }
51169
51170     if test "$ac_test_CFLAGS" = set; then
51171       CFLAGS="$ac_save_CFLAGS"
51172     else
51173       # this is the suspicious part
51174       CFLAGS=''
51175     fi
51176   fi
51177
51178   # Set -z,relro.
51179   # Note this is only for shared objects.
51180   ac_ld_relro=no
51181   if test x"$with_gnu_ld" = x"yes"; then
51182     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
51183 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
51184     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
51185     if test -n "$cxx_z_relo"; then
51186       OPT_LDFLAGS="-Wl,-z,relro"
51187       ac_ld_relro=yes
51188     fi
51189     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
51190 $as_echo "$ac_ld_relro" >&6; }
51191   fi
51192
51193   # Set linker optimization flags.
51194   if test x"$with_gnu_ld" = x"yes"; then
51195     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
51196   fi
51197
51198
51199
51200
51201
51202   ac_test_CXXFLAGS="${CXXFLAGS+set}"
51203   ac_save_CXXFLAGS="$CXXFLAGS"
51204   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51205
51206     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
51207 $as_echo_n "checking for sin in -lm... " >&6; }
51208 if test "${ac_cv_lib_m_sin+set}" = set; then :
51209   $as_echo_n "(cached) " >&6
51210 else
51211   ac_check_lib_save_LIBS=$LIBS
51212 LIBS="-lm  $LIBS"
51213 if test x$gcc_no_link = xyes; then
51214   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51215 fi
51216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51217 /* end confdefs.h.  */
51218
51219 /* Override any GCC internal prototype to avoid an error.
51220    Use char because int might match the return type of a GCC
51221    builtin and then its argument prototype would still apply.  */
51222 #ifdef __cplusplus
51223 extern "C"
51224 #endif
51225 char sin ();
51226 int
51227 main ()
51228 {
51229 return sin ();
51230   ;
51231   return 0;
51232 }
51233 _ACEOF
51234 if ac_fn_c_try_link "$LINENO"; then :
51235   ac_cv_lib_m_sin=yes
51236 else
51237   ac_cv_lib_m_sin=no
51238 fi
51239 rm -f core conftest.err conftest.$ac_objext \
51240     conftest$ac_exeext conftest.$ac_ext
51241 LIBS=$ac_check_lib_save_LIBS
51242 fi
51243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
51244 $as_echo "$ac_cv_lib_m_sin" >&6; }
51245 if test "x$ac_cv_lib_m_sin" = x""yes; then :
51246   libm="-lm"
51247 fi
51248
51249   ac_save_LIBS="$LIBS"
51250   LIBS="$LIBS $libm"
51251
51252
51253
51254   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
51255 $as_echo_n "checking for isinf declaration... " >&6; }
51256   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51257     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
51258   $as_echo_n "(cached) " >&6
51259 else
51260
51261
51262       ac_ext=cpp
51263 ac_cpp='$CXXCPP $CPPFLAGS'
51264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51267
51268       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51269 /* end confdefs.h.  */
51270 #include <math.h>
51271                       #ifdef HAVE_IEEEFP_H
51272                       #include <ieeefp.h>
51273                       #endif
51274
51275 int
51276 main ()
51277 {
51278  isinf(0);
51279   ;
51280   return 0;
51281 }
51282 _ACEOF
51283 if ac_fn_cxx_try_compile "$LINENO"; then :
51284   glibcxx_cv_func_isinf_use=yes
51285 else
51286   glibcxx_cv_func_isinf_use=no
51287 fi
51288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51289       ac_ext=c
51290 ac_cpp='$CPP $CPPFLAGS'
51291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51294
51295
51296 fi
51297
51298   fi
51299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
51300 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
51301
51302   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51303     for ac_func in isinf
51304 do :
51305   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
51306 if test "x$ac_cv_func_isinf" = x""yes; then :
51307   cat >>confdefs.h <<_ACEOF
51308 #define HAVE_ISINF 1
51309 _ACEOF
51310
51311 fi
51312 done
51313
51314   else
51315
51316   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
51317 $as_echo_n "checking for _isinf declaration... " >&6; }
51318   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
51319     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
51320   $as_echo_n "(cached) " >&6
51321 else
51322
51323
51324       ac_ext=cpp
51325 ac_cpp='$CXXCPP $CPPFLAGS'
51326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51329
51330       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51331 /* end confdefs.h.  */
51332 #include <math.h>
51333                       #ifdef HAVE_IEEEFP_H
51334                       #include <ieeefp.h>
51335                       #endif
51336
51337 int
51338 main ()
51339 {
51340  _isinf(0);
51341   ;
51342   return 0;
51343 }
51344 _ACEOF
51345 if ac_fn_cxx_try_compile "$LINENO"; then :
51346   glibcxx_cv_func__isinf_use=yes
51347 else
51348   glibcxx_cv_func__isinf_use=no
51349 fi
51350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51351       ac_ext=c
51352 ac_cpp='$CPP $CPPFLAGS'
51353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51356
51357
51358 fi
51359
51360   fi
51361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
51362 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
51363
51364     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
51365       for ac_func in _isinf
51366 do :
51367   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
51368 if test "x$ac_cv_func__isinf" = x""yes; then :
51369   cat >>confdefs.h <<_ACEOF
51370 #define HAVE__ISINF 1
51371 _ACEOF
51372
51373 fi
51374 done
51375
51376     fi
51377   fi
51378
51379
51380
51381
51382
51383   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
51384 $as_echo_n "checking for isnan declaration... " >&6; }
51385   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
51386     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
51387   $as_echo_n "(cached) " >&6
51388 else
51389
51390
51391       ac_ext=cpp
51392 ac_cpp='$CXXCPP $CPPFLAGS'
51393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51396
51397       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51398 /* end confdefs.h.  */
51399 #include <math.h>
51400                       #ifdef HAVE_IEEEFP_H
51401                       #include <ieeefp.h>
51402                       #endif
51403
51404 int
51405 main ()
51406 {
51407  isnan(0);
51408   ;
51409   return 0;
51410 }
51411 _ACEOF
51412 if ac_fn_cxx_try_compile "$LINENO"; then :
51413   glibcxx_cv_func_isnan_use=yes
51414 else
51415   glibcxx_cv_func_isnan_use=no
51416 fi
51417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51418       ac_ext=c
51419 ac_cpp='$CPP $CPPFLAGS'
51420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51423
51424
51425 fi
51426
51427   fi
51428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
51429 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
51430
51431   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
51432     for ac_func in isnan
51433 do :
51434   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
51435 if test "x$ac_cv_func_isnan" = x""yes; then :
51436   cat >>confdefs.h <<_ACEOF
51437 #define HAVE_ISNAN 1
51438 _ACEOF
51439
51440 fi
51441 done
51442
51443   else
51444
51445   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
51446 $as_echo_n "checking for _isnan declaration... " >&6; }
51447   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
51448     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
51449   $as_echo_n "(cached) " >&6
51450 else
51451
51452
51453       ac_ext=cpp
51454 ac_cpp='$CXXCPP $CPPFLAGS'
51455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51458
51459       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51460 /* end confdefs.h.  */
51461 #include <math.h>
51462                       #ifdef HAVE_IEEEFP_H
51463                       #include <ieeefp.h>
51464                       #endif
51465
51466 int
51467 main ()
51468 {
51469  _isnan(0);
51470   ;
51471   return 0;
51472 }
51473 _ACEOF
51474 if ac_fn_cxx_try_compile "$LINENO"; then :
51475   glibcxx_cv_func__isnan_use=yes
51476 else
51477   glibcxx_cv_func__isnan_use=no
51478 fi
51479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51480       ac_ext=c
51481 ac_cpp='$CPP $CPPFLAGS'
51482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51485
51486
51487 fi
51488
51489   fi
51490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
51491 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
51492
51493     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
51494       for ac_func in _isnan
51495 do :
51496   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
51497 if test "x$ac_cv_func__isnan" = x""yes; then :
51498   cat >>confdefs.h <<_ACEOF
51499 #define HAVE__ISNAN 1
51500 _ACEOF
51501
51502 fi
51503 done
51504
51505     fi
51506   fi
51507
51508
51509
51510
51511
51512   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
51513 $as_echo_n "checking for finite declaration... " >&6; }
51514   if test x${glibcxx_cv_func_finite_use+set} != xset; then
51515     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
51516   $as_echo_n "(cached) " >&6
51517 else
51518
51519
51520       ac_ext=cpp
51521 ac_cpp='$CXXCPP $CPPFLAGS'
51522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51525
51526       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51527 /* end confdefs.h.  */
51528 #include <math.h>
51529                       #ifdef HAVE_IEEEFP_H
51530                       #include <ieeefp.h>
51531                       #endif
51532
51533 int
51534 main ()
51535 {
51536  finite(0);
51537   ;
51538   return 0;
51539 }
51540 _ACEOF
51541 if ac_fn_cxx_try_compile "$LINENO"; then :
51542   glibcxx_cv_func_finite_use=yes
51543 else
51544   glibcxx_cv_func_finite_use=no
51545 fi
51546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51547       ac_ext=c
51548 ac_cpp='$CPP $CPPFLAGS'
51549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51552
51553
51554 fi
51555
51556   fi
51557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
51558 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
51559
51560   if test x$glibcxx_cv_func_finite_use = x"yes"; then
51561     for ac_func in finite
51562 do :
51563   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
51564 if test "x$ac_cv_func_finite" = x""yes; then :
51565   cat >>confdefs.h <<_ACEOF
51566 #define HAVE_FINITE 1
51567 _ACEOF
51568
51569 fi
51570 done
51571
51572   else
51573
51574   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
51575 $as_echo_n "checking for _finite declaration... " >&6; }
51576   if test x${glibcxx_cv_func__finite_use+set} != xset; then
51577     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
51578   $as_echo_n "(cached) " >&6
51579 else
51580
51581
51582       ac_ext=cpp
51583 ac_cpp='$CXXCPP $CPPFLAGS'
51584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51587
51588       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51589 /* end confdefs.h.  */
51590 #include <math.h>
51591                       #ifdef HAVE_IEEEFP_H
51592                       #include <ieeefp.h>
51593                       #endif
51594
51595 int
51596 main ()
51597 {
51598  _finite(0);
51599   ;
51600   return 0;
51601 }
51602 _ACEOF
51603 if ac_fn_cxx_try_compile "$LINENO"; then :
51604   glibcxx_cv_func__finite_use=yes
51605 else
51606   glibcxx_cv_func__finite_use=no
51607 fi
51608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51609       ac_ext=c
51610 ac_cpp='$CPP $CPPFLAGS'
51611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51614
51615
51616 fi
51617
51618   fi
51619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
51620 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
51621
51622     if test x$glibcxx_cv_func__finite_use = x"yes"; then
51623       for ac_func in _finite
51624 do :
51625   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
51626 if test "x$ac_cv_func__finite" = x""yes; then :
51627   cat >>confdefs.h <<_ACEOF
51628 #define HAVE__FINITE 1
51629 _ACEOF
51630
51631 fi
51632 done
51633
51634     fi
51635   fi
51636
51637
51638
51639
51640
51641   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
51642 $as_echo_n "checking for sincos declaration... " >&6; }
51643   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
51644     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
51645   $as_echo_n "(cached) " >&6
51646 else
51647
51648
51649       ac_ext=cpp
51650 ac_cpp='$CXXCPP $CPPFLAGS'
51651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51654
51655       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51656 /* end confdefs.h.  */
51657 #include <math.h>
51658 int
51659 main ()
51660 {
51661  sincos(0, 0, 0);
51662   ;
51663   return 0;
51664 }
51665 _ACEOF
51666 if ac_fn_cxx_try_compile "$LINENO"; then :
51667   glibcxx_cv_func_sincos_use=yes
51668 else
51669   glibcxx_cv_func_sincos_use=no
51670 fi
51671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51672       ac_ext=c
51673 ac_cpp='$CPP $CPPFLAGS'
51674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51677
51678
51679 fi
51680
51681   fi
51682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
51683 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
51684
51685   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
51686     for ac_func in sincos
51687 do :
51688   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
51689 if test "x$ac_cv_func_sincos" = x""yes; then :
51690   cat >>confdefs.h <<_ACEOF
51691 #define HAVE_SINCOS 1
51692 _ACEOF
51693
51694 fi
51695 done
51696
51697   else
51698
51699   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
51700 $as_echo_n "checking for _sincos declaration... " >&6; }
51701   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
51702     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
51703   $as_echo_n "(cached) " >&6
51704 else
51705
51706
51707       ac_ext=cpp
51708 ac_cpp='$CXXCPP $CPPFLAGS'
51709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51712
51713       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51714 /* end confdefs.h.  */
51715 #include <math.h>
51716 int
51717 main ()
51718 {
51719  _sincos(0, 0, 0);
51720   ;
51721   return 0;
51722 }
51723 _ACEOF
51724 if ac_fn_cxx_try_compile "$LINENO"; then :
51725   glibcxx_cv_func__sincos_use=yes
51726 else
51727   glibcxx_cv_func__sincos_use=no
51728 fi
51729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51730       ac_ext=c
51731 ac_cpp='$CPP $CPPFLAGS'
51732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51735
51736
51737 fi
51738
51739   fi
51740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
51741 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
51742
51743     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
51744       for ac_func in _sincos
51745 do :
51746   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
51747 if test "x$ac_cv_func__sincos" = x""yes; then :
51748   cat >>confdefs.h <<_ACEOF
51749 #define HAVE__SINCOS 1
51750 _ACEOF
51751
51752 fi
51753 done
51754
51755     fi
51756   fi
51757
51758
51759
51760
51761
51762   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
51763 $as_echo_n "checking for fpclass declaration... " >&6; }
51764   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
51765     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
51766   $as_echo_n "(cached) " >&6
51767 else
51768
51769
51770       ac_ext=cpp
51771 ac_cpp='$CXXCPP $CPPFLAGS'
51772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51775
51776       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51777 /* end confdefs.h.  */
51778 #include <math.h>
51779                       #ifdef HAVE_IEEEFP_H
51780                       #include <ieeefp.h>
51781                       #endif
51782
51783 int
51784 main ()
51785 {
51786  fpclass(0);
51787   ;
51788   return 0;
51789 }
51790 _ACEOF
51791 if ac_fn_cxx_try_compile "$LINENO"; then :
51792   glibcxx_cv_func_fpclass_use=yes
51793 else
51794   glibcxx_cv_func_fpclass_use=no
51795 fi
51796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51797       ac_ext=c
51798 ac_cpp='$CPP $CPPFLAGS'
51799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51802
51803
51804 fi
51805
51806   fi
51807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
51808 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
51809
51810   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
51811     for ac_func in fpclass
51812 do :
51813   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
51814 if test "x$ac_cv_func_fpclass" = x""yes; then :
51815   cat >>confdefs.h <<_ACEOF
51816 #define HAVE_FPCLASS 1
51817 _ACEOF
51818
51819 fi
51820 done
51821
51822   else
51823
51824   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
51825 $as_echo_n "checking for _fpclass declaration... " >&6; }
51826   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
51827     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
51828   $as_echo_n "(cached) " >&6
51829 else
51830
51831
51832       ac_ext=cpp
51833 ac_cpp='$CXXCPP $CPPFLAGS'
51834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51837
51838       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51839 /* end confdefs.h.  */
51840 #include <math.h>
51841                       #ifdef HAVE_IEEEFP_H
51842                       #include <ieeefp.h>
51843                       #endif
51844
51845 int
51846 main ()
51847 {
51848  _fpclass(0);
51849   ;
51850   return 0;
51851 }
51852 _ACEOF
51853 if ac_fn_cxx_try_compile "$LINENO"; then :
51854   glibcxx_cv_func__fpclass_use=yes
51855 else
51856   glibcxx_cv_func__fpclass_use=no
51857 fi
51858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51859       ac_ext=c
51860 ac_cpp='$CPP $CPPFLAGS'
51861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51864
51865
51866 fi
51867
51868   fi
51869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
51870 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
51871
51872     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
51873       for ac_func in _fpclass
51874 do :
51875   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
51876 if test "x$ac_cv_func__fpclass" = x""yes; then :
51877   cat >>confdefs.h <<_ACEOF
51878 #define HAVE__FPCLASS 1
51879 _ACEOF
51880
51881 fi
51882 done
51883
51884     fi
51885   fi
51886
51887
51888
51889
51890
51891   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
51892 $as_echo_n "checking for qfpclass declaration... " >&6; }
51893   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
51894     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
51895   $as_echo_n "(cached) " >&6
51896 else
51897
51898
51899       ac_ext=cpp
51900 ac_cpp='$CXXCPP $CPPFLAGS'
51901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51904
51905       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51906 /* end confdefs.h.  */
51907 #include <math.h>
51908                       #ifdef HAVE_IEEEFP_H
51909                       #include <ieeefp.h>
51910                       #endif
51911
51912 int
51913 main ()
51914 {
51915  qfpclass(0);
51916   ;
51917   return 0;
51918 }
51919 _ACEOF
51920 if ac_fn_cxx_try_compile "$LINENO"; then :
51921   glibcxx_cv_func_qfpclass_use=yes
51922 else
51923   glibcxx_cv_func_qfpclass_use=no
51924 fi
51925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51926       ac_ext=c
51927 ac_cpp='$CPP $CPPFLAGS'
51928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51931
51932
51933 fi
51934
51935   fi
51936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
51937 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
51938
51939   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
51940     for ac_func in qfpclass
51941 do :
51942   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
51943 if test "x$ac_cv_func_qfpclass" = x""yes; then :
51944   cat >>confdefs.h <<_ACEOF
51945 #define HAVE_QFPCLASS 1
51946 _ACEOF
51947
51948 fi
51949 done
51950
51951   else
51952
51953   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
51954 $as_echo_n "checking for _qfpclass declaration... " >&6; }
51955   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
51956     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
51957   $as_echo_n "(cached) " >&6
51958 else
51959
51960
51961       ac_ext=cpp
51962 ac_cpp='$CXXCPP $CPPFLAGS'
51963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51966
51967       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51968 /* end confdefs.h.  */
51969 #include <math.h>
51970                       #ifdef HAVE_IEEEFP_H
51971                       #include <ieeefp.h>
51972                       #endif
51973
51974 int
51975 main ()
51976 {
51977  _qfpclass(0);
51978   ;
51979   return 0;
51980 }
51981 _ACEOF
51982 if ac_fn_cxx_try_compile "$LINENO"; then :
51983   glibcxx_cv_func__qfpclass_use=yes
51984 else
51985   glibcxx_cv_func__qfpclass_use=no
51986 fi
51987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51988       ac_ext=c
51989 ac_cpp='$CPP $CPPFLAGS'
51990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51993
51994
51995 fi
51996
51997   fi
51998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
51999 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
52000
52001     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
52002       for ac_func in _qfpclass
52003 do :
52004   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
52005 if test "x$ac_cv_func__qfpclass" = x""yes; then :
52006   cat >>confdefs.h <<_ACEOF
52007 #define HAVE__QFPCLASS 1
52008 _ACEOF
52009
52010 fi
52011 done
52012
52013     fi
52014   fi
52015
52016
52017
52018
52019
52020   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
52021 $as_echo_n "checking for hypot declaration... " >&6; }
52022   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
52023     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
52024   $as_echo_n "(cached) " >&6
52025 else
52026
52027
52028       ac_ext=cpp
52029 ac_cpp='$CXXCPP $CPPFLAGS'
52030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52033
52034       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52035 /* end confdefs.h.  */
52036 #include <math.h>
52037 int
52038 main ()
52039 {
52040  hypot(0, 0);
52041   ;
52042   return 0;
52043 }
52044 _ACEOF
52045 if ac_fn_cxx_try_compile "$LINENO"; then :
52046   glibcxx_cv_func_hypot_use=yes
52047 else
52048   glibcxx_cv_func_hypot_use=no
52049 fi
52050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52051       ac_ext=c
52052 ac_cpp='$CPP $CPPFLAGS'
52053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52056
52057
52058 fi
52059
52060   fi
52061   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
52062 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
52063
52064   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
52065     for ac_func in hypot
52066 do :
52067   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
52068 if test "x$ac_cv_func_hypot" = x""yes; then :
52069   cat >>confdefs.h <<_ACEOF
52070 #define HAVE_HYPOT 1
52071 _ACEOF
52072
52073 fi
52074 done
52075
52076   else
52077
52078   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
52079 $as_echo_n "checking for _hypot declaration... " >&6; }
52080   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
52081     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
52082   $as_echo_n "(cached) " >&6
52083 else
52084
52085
52086       ac_ext=cpp
52087 ac_cpp='$CXXCPP $CPPFLAGS'
52088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52091
52092       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52093 /* end confdefs.h.  */
52094 #include <math.h>
52095 int
52096 main ()
52097 {
52098  _hypot(0, 0);
52099   ;
52100   return 0;
52101 }
52102 _ACEOF
52103 if ac_fn_cxx_try_compile "$LINENO"; then :
52104   glibcxx_cv_func__hypot_use=yes
52105 else
52106   glibcxx_cv_func__hypot_use=no
52107 fi
52108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52109       ac_ext=c
52110 ac_cpp='$CPP $CPPFLAGS'
52111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52114
52115
52116 fi
52117
52118   fi
52119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
52120 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
52121
52122     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
52123       for ac_func in _hypot
52124 do :
52125   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
52126 if test "x$ac_cv_func__hypot" = x""yes; then :
52127   cat >>confdefs.h <<_ACEOF
52128 #define HAVE__HYPOT 1
52129 _ACEOF
52130
52131 fi
52132 done
52133
52134     fi
52135   fi
52136
52137
52138
52139
52140
52141     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
52142 $as_echo_n "checking for float trig functions... " >&6; }
52143   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
52144   $as_echo_n "(cached) " >&6
52145 else
52146
52147
52148     ac_ext=cpp
52149 ac_cpp='$CXXCPP $CPPFLAGS'
52150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52153
52154     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52155 /* end confdefs.h.  */
52156 #include <math.h>
52157 int
52158 main ()
52159 {
52160 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
52161   ;
52162   return 0;
52163 }
52164 _ACEOF
52165 if ac_fn_cxx_try_compile "$LINENO"; then :
52166   glibcxx_cv_func_float_trig_use=yes
52167 else
52168   glibcxx_cv_func_float_trig_use=no
52169 fi
52170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52171     ac_ext=c
52172 ac_cpp='$CPP $CPPFLAGS'
52173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52176
52177 fi
52178
52179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
52180 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
52181   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
52182     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
52183 do :
52184   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52185 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52186 eval as_val=\$$as_ac_var
52187    if test "x$as_val" = x""yes; then :
52188   cat >>confdefs.h <<_ACEOF
52189 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52190 _ACEOF
52191
52192 fi
52193 done
52194
52195   else
52196     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
52197 $as_echo_n "checking for _float trig functions... " >&6; }
52198     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
52199   $as_echo_n "(cached) " >&6
52200 else
52201
52202
52203       ac_ext=cpp
52204 ac_cpp='$CXXCPP $CPPFLAGS'
52205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52208
52209       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52210 /* end confdefs.h.  */
52211 #include <math.h>
52212 int
52213 main ()
52214 {
52215 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
52216   ;
52217   return 0;
52218 }
52219 _ACEOF
52220 if ac_fn_cxx_try_compile "$LINENO"; then :
52221   glibcxx_cv_func__float_trig_use=yes
52222 else
52223   glibcxx_cv_func__float_trig_use=no
52224 fi
52225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52226       ac_ext=c
52227 ac_cpp='$CPP $CPPFLAGS'
52228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52231
52232 fi
52233
52234     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
52235 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
52236     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
52237       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
52238 do :
52239   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52240 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52241 eval as_val=\$$as_ac_var
52242    if test "x$as_val" = x""yes; then :
52243   cat >>confdefs.h <<_ACEOF
52244 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52245 _ACEOF
52246
52247 fi
52248 done
52249
52250     fi
52251   fi
52252
52253
52254
52255
52256
52257     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
52258 $as_echo_n "checking for float round functions... " >&6; }
52259   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
52260   $as_echo_n "(cached) " >&6
52261 else
52262
52263
52264     ac_ext=cpp
52265 ac_cpp='$CXXCPP $CPPFLAGS'
52266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52269
52270     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52271 /* end confdefs.h.  */
52272 #include <math.h>
52273 int
52274 main ()
52275 {
52276 ceilf (0); floorf (0);
52277   ;
52278   return 0;
52279 }
52280 _ACEOF
52281 if ac_fn_cxx_try_compile "$LINENO"; then :
52282   glibcxx_cv_func_float_round_use=yes
52283 else
52284   glibcxx_cv_func_float_round_use=no
52285 fi
52286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52287     ac_ext=c
52288 ac_cpp='$CPP $CPPFLAGS'
52289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52292
52293 fi
52294
52295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
52296 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
52297   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
52298     for ac_func in ceilf floorf
52299 do :
52300   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52301 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52302 eval as_val=\$$as_ac_var
52303    if test "x$as_val" = x""yes; then :
52304   cat >>confdefs.h <<_ACEOF
52305 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52306 _ACEOF
52307
52308 fi
52309 done
52310
52311   else
52312     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
52313 $as_echo_n "checking for _float round functions... " >&6; }
52314     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
52315   $as_echo_n "(cached) " >&6
52316 else
52317
52318
52319       ac_ext=cpp
52320 ac_cpp='$CXXCPP $CPPFLAGS'
52321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52324
52325       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52326 /* end confdefs.h.  */
52327 #include <math.h>
52328 int
52329 main ()
52330 {
52331 _ceilf (0); _floorf (0);
52332   ;
52333   return 0;
52334 }
52335 _ACEOF
52336 if ac_fn_cxx_try_compile "$LINENO"; then :
52337   glibcxx_cv_func__float_round_use=yes
52338 else
52339   glibcxx_cv_func__float_round_use=no
52340 fi
52341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52342       ac_ext=c
52343 ac_cpp='$CPP $CPPFLAGS'
52344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52347
52348 fi
52349
52350     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
52351 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
52352     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
52353       for ac_func in _ceilf _floorf
52354 do :
52355   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52356 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52357 eval as_val=\$$as_ac_var
52358    if test "x$as_val" = x""yes; then :
52359   cat >>confdefs.h <<_ACEOF
52360 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52361 _ACEOF
52362
52363 fi
52364 done
52365
52366     fi
52367   fi
52368
52369
52370
52371
52372
52373
52374   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
52375 $as_echo_n "checking for expf declaration... " >&6; }
52376   if test x${glibcxx_cv_func_expf_use+set} != xset; then
52377     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
52378   $as_echo_n "(cached) " >&6
52379 else
52380
52381
52382       ac_ext=cpp
52383 ac_cpp='$CXXCPP $CPPFLAGS'
52384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52387
52388       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52389 /* end confdefs.h.  */
52390 #include <math.h>
52391                       #ifdef HAVE_IEEEFP_H
52392                       #include <ieeefp.h>
52393                       #endif
52394
52395 int
52396 main ()
52397 {
52398  expf(0);
52399   ;
52400   return 0;
52401 }
52402 _ACEOF
52403 if ac_fn_cxx_try_compile "$LINENO"; then :
52404   glibcxx_cv_func_expf_use=yes
52405 else
52406   glibcxx_cv_func_expf_use=no
52407 fi
52408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52409       ac_ext=c
52410 ac_cpp='$CPP $CPPFLAGS'
52411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52414
52415
52416 fi
52417
52418   fi
52419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
52420 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
52421
52422   if test x$glibcxx_cv_func_expf_use = x"yes"; then
52423     for ac_func in expf
52424 do :
52425   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
52426 if test "x$ac_cv_func_expf" = x""yes; then :
52427   cat >>confdefs.h <<_ACEOF
52428 #define HAVE_EXPF 1
52429 _ACEOF
52430
52431 fi
52432 done
52433
52434   else
52435
52436   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
52437 $as_echo_n "checking for _expf declaration... " >&6; }
52438   if test x${glibcxx_cv_func__expf_use+set} != xset; then
52439     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
52440   $as_echo_n "(cached) " >&6
52441 else
52442
52443
52444       ac_ext=cpp
52445 ac_cpp='$CXXCPP $CPPFLAGS'
52446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52449
52450       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52451 /* end confdefs.h.  */
52452 #include <math.h>
52453                       #ifdef HAVE_IEEEFP_H
52454                       #include <ieeefp.h>
52455                       #endif
52456
52457 int
52458 main ()
52459 {
52460  _expf(0);
52461   ;
52462   return 0;
52463 }
52464 _ACEOF
52465 if ac_fn_cxx_try_compile "$LINENO"; then :
52466   glibcxx_cv_func__expf_use=yes
52467 else
52468   glibcxx_cv_func__expf_use=no
52469 fi
52470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52471       ac_ext=c
52472 ac_cpp='$CPP $CPPFLAGS'
52473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52476
52477
52478 fi
52479
52480   fi
52481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
52482 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
52483
52484     if test x$glibcxx_cv_func__expf_use = x"yes"; then
52485       for ac_func in _expf
52486 do :
52487   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
52488 if test "x$ac_cv_func__expf" = x""yes; then :
52489   cat >>confdefs.h <<_ACEOF
52490 #define HAVE__EXPF 1
52491 _ACEOF
52492
52493 fi
52494 done
52495
52496     fi
52497   fi
52498
52499
52500
52501
52502
52503   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
52504 $as_echo_n "checking for isnanf declaration... " >&6; }
52505   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
52506     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
52507   $as_echo_n "(cached) " >&6
52508 else
52509
52510
52511       ac_ext=cpp
52512 ac_cpp='$CXXCPP $CPPFLAGS'
52513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52516
52517       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52518 /* end confdefs.h.  */
52519 #include <math.h>
52520                       #ifdef HAVE_IEEEFP_H
52521                       #include <ieeefp.h>
52522                       #endif
52523
52524 int
52525 main ()
52526 {
52527  isnanf(0);
52528   ;
52529   return 0;
52530 }
52531 _ACEOF
52532 if ac_fn_cxx_try_compile "$LINENO"; then :
52533   glibcxx_cv_func_isnanf_use=yes
52534 else
52535   glibcxx_cv_func_isnanf_use=no
52536 fi
52537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52538       ac_ext=c
52539 ac_cpp='$CPP $CPPFLAGS'
52540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52543
52544
52545 fi
52546
52547   fi
52548   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
52549 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
52550
52551   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
52552     for ac_func in isnanf
52553 do :
52554   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
52555 if test "x$ac_cv_func_isnanf" = x""yes; then :
52556   cat >>confdefs.h <<_ACEOF
52557 #define HAVE_ISNANF 1
52558 _ACEOF
52559
52560 fi
52561 done
52562
52563   else
52564
52565   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
52566 $as_echo_n "checking for _isnanf declaration... " >&6; }
52567   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
52568     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
52569   $as_echo_n "(cached) " >&6
52570 else
52571
52572
52573       ac_ext=cpp
52574 ac_cpp='$CXXCPP $CPPFLAGS'
52575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52578
52579       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52580 /* end confdefs.h.  */
52581 #include <math.h>
52582                       #ifdef HAVE_IEEEFP_H
52583                       #include <ieeefp.h>
52584                       #endif
52585
52586 int
52587 main ()
52588 {
52589  _isnanf(0);
52590   ;
52591   return 0;
52592 }
52593 _ACEOF
52594 if ac_fn_cxx_try_compile "$LINENO"; then :
52595   glibcxx_cv_func__isnanf_use=yes
52596 else
52597   glibcxx_cv_func__isnanf_use=no
52598 fi
52599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52600       ac_ext=c
52601 ac_cpp='$CPP $CPPFLAGS'
52602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52605
52606
52607 fi
52608
52609   fi
52610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
52611 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
52612
52613     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
52614       for ac_func in _isnanf
52615 do :
52616   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
52617 if test "x$ac_cv_func__isnanf" = x""yes; then :
52618   cat >>confdefs.h <<_ACEOF
52619 #define HAVE__ISNANF 1
52620 _ACEOF
52621
52622 fi
52623 done
52624
52625     fi
52626   fi
52627
52628
52629
52630
52631
52632   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
52633 $as_echo_n "checking for isinff declaration... " >&6; }
52634   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
52635     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
52636   $as_echo_n "(cached) " >&6
52637 else
52638
52639
52640       ac_ext=cpp
52641 ac_cpp='$CXXCPP $CPPFLAGS'
52642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52645
52646       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52647 /* end confdefs.h.  */
52648 #include <math.h>
52649                       #ifdef HAVE_IEEEFP_H
52650                       #include <ieeefp.h>
52651                       #endif
52652
52653 int
52654 main ()
52655 {
52656  isinff(0);
52657   ;
52658   return 0;
52659 }
52660 _ACEOF
52661 if ac_fn_cxx_try_compile "$LINENO"; then :
52662   glibcxx_cv_func_isinff_use=yes
52663 else
52664   glibcxx_cv_func_isinff_use=no
52665 fi
52666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52667       ac_ext=c
52668 ac_cpp='$CPP $CPPFLAGS'
52669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52672
52673
52674 fi
52675
52676   fi
52677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
52678 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
52679
52680   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
52681     for ac_func in isinff
52682 do :
52683   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
52684 if test "x$ac_cv_func_isinff" = x""yes; then :
52685   cat >>confdefs.h <<_ACEOF
52686 #define HAVE_ISINFF 1
52687 _ACEOF
52688
52689 fi
52690 done
52691
52692   else
52693
52694   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
52695 $as_echo_n "checking for _isinff declaration... " >&6; }
52696   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
52697     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
52698   $as_echo_n "(cached) " >&6
52699 else
52700
52701
52702       ac_ext=cpp
52703 ac_cpp='$CXXCPP $CPPFLAGS'
52704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52707
52708       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52709 /* end confdefs.h.  */
52710 #include <math.h>
52711                       #ifdef HAVE_IEEEFP_H
52712                       #include <ieeefp.h>
52713                       #endif
52714
52715 int
52716 main ()
52717 {
52718  _isinff(0);
52719   ;
52720   return 0;
52721 }
52722 _ACEOF
52723 if ac_fn_cxx_try_compile "$LINENO"; then :
52724   glibcxx_cv_func__isinff_use=yes
52725 else
52726   glibcxx_cv_func__isinff_use=no
52727 fi
52728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52729       ac_ext=c
52730 ac_cpp='$CPP $CPPFLAGS'
52731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52734
52735
52736 fi
52737
52738   fi
52739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
52740 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
52741
52742     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
52743       for ac_func in _isinff
52744 do :
52745   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
52746 if test "x$ac_cv_func__isinff" = x""yes; then :
52747   cat >>confdefs.h <<_ACEOF
52748 #define HAVE__ISINFF 1
52749 _ACEOF
52750
52751 fi
52752 done
52753
52754     fi
52755   fi
52756
52757
52758
52759
52760
52761   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
52762 $as_echo_n "checking for atan2f declaration... " >&6; }
52763   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
52764     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
52765   $as_echo_n "(cached) " >&6
52766 else
52767
52768
52769       ac_ext=cpp
52770 ac_cpp='$CXXCPP $CPPFLAGS'
52771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52774
52775       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52776 /* end confdefs.h.  */
52777 #include <math.h>
52778 int
52779 main ()
52780 {
52781  atan2f(0, 0);
52782   ;
52783   return 0;
52784 }
52785 _ACEOF
52786 if ac_fn_cxx_try_compile "$LINENO"; then :
52787   glibcxx_cv_func_atan2f_use=yes
52788 else
52789   glibcxx_cv_func_atan2f_use=no
52790 fi
52791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52792       ac_ext=c
52793 ac_cpp='$CPP $CPPFLAGS'
52794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52797
52798
52799 fi
52800
52801   fi
52802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
52803 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
52804
52805   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
52806     for ac_func in atan2f
52807 do :
52808   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
52809 if test "x$ac_cv_func_atan2f" = x""yes; then :
52810   cat >>confdefs.h <<_ACEOF
52811 #define HAVE_ATAN2F 1
52812 _ACEOF
52813
52814 fi
52815 done
52816
52817   else
52818
52819   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
52820 $as_echo_n "checking for _atan2f declaration... " >&6; }
52821   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
52822     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
52823   $as_echo_n "(cached) " >&6
52824 else
52825
52826
52827       ac_ext=cpp
52828 ac_cpp='$CXXCPP $CPPFLAGS'
52829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52832
52833       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52834 /* end confdefs.h.  */
52835 #include <math.h>
52836 int
52837 main ()
52838 {
52839  _atan2f(0, 0);
52840   ;
52841   return 0;
52842 }
52843 _ACEOF
52844 if ac_fn_cxx_try_compile "$LINENO"; then :
52845   glibcxx_cv_func__atan2f_use=yes
52846 else
52847   glibcxx_cv_func__atan2f_use=no
52848 fi
52849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52850       ac_ext=c
52851 ac_cpp='$CPP $CPPFLAGS'
52852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52855
52856
52857 fi
52858
52859   fi
52860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
52861 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
52862
52863     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
52864       for ac_func in _atan2f
52865 do :
52866   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
52867 if test "x$ac_cv_func__atan2f" = x""yes; then :
52868   cat >>confdefs.h <<_ACEOF
52869 #define HAVE__ATAN2F 1
52870 _ACEOF
52871
52872 fi
52873 done
52874
52875     fi
52876   fi
52877
52878
52879
52880
52881
52882   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
52883 $as_echo_n "checking for fabsf declaration... " >&6; }
52884   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
52885     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
52886   $as_echo_n "(cached) " >&6
52887 else
52888
52889
52890       ac_ext=cpp
52891 ac_cpp='$CXXCPP $CPPFLAGS'
52892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52895
52896       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52897 /* end confdefs.h.  */
52898 #include <math.h>
52899                       #ifdef HAVE_IEEEFP_H
52900                       #include <ieeefp.h>
52901                       #endif
52902
52903 int
52904 main ()
52905 {
52906  fabsf(0);
52907   ;
52908   return 0;
52909 }
52910 _ACEOF
52911 if ac_fn_cxx_try_compile "$LINENO"; then :
52912   glibcxx_cv_func_fabsf_use=yes
52913 else
52914   glibcxx_cv_func_fabsf_use=no
52915 fi
52916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52917       ac_ext=c
52918 ac_cpp='$CPP $CPPFLAGS'
52919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52922
52923
52924 fi
52925
52926   fi
52927   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
52928 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
52929
52930   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
52931     for ac_func in fabsf
52932 do :
52933   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
52934 if test "x$ac_cv_func_fabsf" = x""yes; then :
52935   cat >>confdefs.h <<_ACEOF
52936 #define HAVE_FABSF 1
52937 _ACEOF
52938
52939 fi
52940 done
52941
52942   else
52943
52944   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
52945 $as_echo_n "checking for _fabsf declaration... " >&6; }
52946   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
52947     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
52948   $as_echo_n "(cached) " >&6
52949 else
52950
52951
52952       ac_ext=cpp
52953 ac_cpp='$CXXCPP $CPPFLAGS'
52954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52957
52958       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52959 /* end confdefs.h.  */
52960 #include <math.h>
52961                       #ifdef HAVE_IEEEFP_H
52962                       #include <ieeefp.h>
52963                       #endif
52964
52965 int
52966 main ()
52967 {
52968  _fabsf(0);
52969   ;
52970   return 0;
52971 }
52972 _ACEOF
52973 if ac_fn_cxx_try_compile "$LINENO"; then :
52974   glibcxx_cv_func__fabsf_use=yes
52975 else
52976   glibcxx_cv_func__fabsf_use=no
52977 fi
52978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52979       ac_ext=c
52980 ac_cpp='$CPP $CPPFLAGS'
52981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52984
52985
52986 fi
52987
52988   fi
52989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
52990 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
52991
52992     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
52993       for ac_func in _fabsf
52994 do :
52995   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
52996 if test "x$ac_cv_func__fabsf" = x""yes; then :
52997   cat >>confdefs.h <<_ACEOF
52998 #define HAVE__FABSF 1
52999 _ACEOF
53000
53001 fi
53002 done
53003
53004     fi
53005   fi
53006
53007
53008
53009
53010
53011   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
53012 $as_echo_n "checking for fmodf declaration... " >&6; }
53013   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
53014     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
53015   $as_echo_n "(cached) " >&6
53016 else
53017
53018
53019       ac_ext=cpp
53020 ac_cpp='$CXXCPP $CPPFLAGS'
53021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53024
53025       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53026 /* end confdefs.h.  */
53027 #include <math.h>
53028 int
53029 main ()
53030 {
53031  fmodf(0, 0);
53032   ;
53033   return 0;
53034 }
53035 _ACEOF
53036 if ac_fn_cxx_try_compile "$LINENO"; then :
53037   glibcxx_cv_func_fmodf_use=yes
53038 else
53039   glibcxx_cv_func_fmodf_use=no
53040 fi
53041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53042       ac_ext=c
53043 ac_cpp='$CPP $CPPFLAGS'
53044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53047
53048
53049 fi
53050
53051   fi
53052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
53053 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
53054
53055   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
53056     for ac_func in fmodf
53057 do :
53058   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
53059 if test "x$ac_cv_func_fmodf" = x""yes; then :
53060   cat >>confdefs.h <<_ACEOF
53061 #define HAVE_FMODF 1
53062 _ACEOF
53063
53064 fi
53065 done
53066
53067   else
53068
53069   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
53070 $as_echo_n "checking for _fmodf declaration... " >&6; }
53071   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
53072     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
53073   $as_echo_n "(cached) " >&6
53074 else
53075
53076
53077       ac_ext=cpp
53078 ac_cpp='$CXXCPP $CPPFLAGS'
53079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53082
53083       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53084 /* end confdefs.h.  */
53085 #include <math.h>
53086 int
53087 main ()
53088 {
53089  _fmodf(0, 0);
53090   ;
53091   return 0;
53092 }
53093 _ACEOF
53094 if ac_fn_cxx_try_compile "$LINENO"; then :
53095   glibcxx_cv_func__fmodf_use=yes
53096 else
53097   glibcxx_cv_func__fmodf_use=no
53098 fi
53099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53100       ac_ext=c
53101 ac_cpp='$CPP $CPPFLAGS'
53102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53105
53106
53107 fi
53108
53109   fi
53110   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
53111 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
53112
53113     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
53114       for ac_func in _fmodf
53115 do :
53116   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
53117 if test "x$ac_cv_func__fmodf" = x""yes; then :
53118   cat >>confdefs.h <<_ACEOF
53119 #define HAVE__FMODF 1
53120 _ACEOF
53121
53122 fi
53123 done
53124
53125     fi
53126   fi
53127
53128
53129
53130
53131
53132   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
53133 $as_echo_n "checking for frexpf declaration... " >&6; }
53134   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
53135     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
53136   $as_echo_n "(cached) " >&6
53137 else
53138
53139
53140       ac_ext=cpp
53141 ac_cpp='$CXXCPP $CPPFLAGS'
53142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53145
53146       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53147 /* end confdefs.h.  */
53148 #include <math.h>
53149 int
53150 main ()
53151 {
53152  frexpf(0, 0);
53153   ;
53154   return 0;
53155 }
53156 _ACEOF
53157 if ac_fn_cxx_try_compile "$LINENO"; then :
53158   glibcxx_cv_func_frexpf_use=yes
53159 else
53160   glibcxx_cv_func_frexpf_use=no
53161 fi
53162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53163       ac_ext=c
53164 ac_cpp='$CPP $CPPFLAGS'
53165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53168
53169
53170 fi
53171
53172   fi
53173   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
53174 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
53175
53176   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
53177     for ac_func in frexpf
53178 do :
53179   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
53180 if test "x$ac_cv_func_frexpf" = x""yes; then :
53181   cat >>confdefs.h <<_ACEOF
53182 #define HAVE_FREXPF 1
53183 _ACEOF
53184
53185 fi
53186 done
53187
53188   else
53189
53190   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
53191 $as_echo_n "checking for _frexpf declaration... " >&6; }
53192   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
53193     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
53194   $as_echo_n "(cached) " >&6
53195 else
53196
53197
53198       ac_ext=cpp
53199 ac_cpp='$CXXCPP $CPPFLAGS'
53200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53203
53204       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53205 /* end confdefs.h.  */
53206 #include <math.h>
53207 int
53208 main ()
53209 {
53210  _frexpf(0, 0);
53211   ;
53212   return 0;
53213 }
53214 _ACEOF
53215 if ac_fn_cxx_try_compile "$LINENO"; then :
53216   glibcxx_cv_func__frexpf_use=yes
53217 else
53218   glibcxx_cv_func__frexpf_use=no
53219 fi
53220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53221       ac_ext=c
53222 ac_cpp='$CPP $CPPFLAGS'
53223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53226
53227
53228 fi
53229
53230   fi
53231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
53232 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
53233
53234     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
53235       for ac_func in _frexpf
53236 do :
53237   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
53238 if test "x$ac_cv_func__frexpf" = x""yes; then :
53239   cat >>confdefs.h <<_ACEOF
53240 #define HAVE__FREXPF 1
53241 _ACEOF
53242
53243 fi
53244 done
53245
53246     fi
53247   fi
53248
53249
53250
53251
53252
53253   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
53254 $as_echo_n "checking for hypotf declaration... " >&6; }
53255   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
53256     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
53257   $as_echo_n "(cached) " >&6
53258 else
53259
53260
53261       ac_ext=cpp
53262 ac_cpp='$CXXCPP $CPPFLAGS'
53263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53266
53267       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53268 /* end confdefs.h.  */
53269 #include <math.h>
53270 int
53271 main ()
53272 {
53273  hypotf(0, 0);
53274   ;
53275   return 0;
53276 }
53277 _ACEOF
53278 if ac_fn_cxx_try_compile "$LINENO"; then :
53279   glibcxx_cv_func_hypotf_use=yes
53280 else
53281   glibcxx_cv_func_hypotf_use=no
53282 fi
53283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53284       ac_ext=c
53285 ac_cpp='$CPP $CPPFLAGS'
53286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53289
53290
53291 fi
53292
53293   fi
53294   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
53295 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
53296
53297   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
53298     for ac_func in hypotf
53299 do :
53300   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
53301 if test "x$ac_cv_func_hypotf" = x""yes; then :
53302   cat >>confdefs.h <<_ACEOF
53303 #define HAVE_HYPOTF 1
53304 _ACEOF
53305
53306 fi
53307 done
53308
53309   else
53310
53311   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
53312 $as_echo_n "checking for _hypotf declaration... " >&6; }
53313   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
53314     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
53315   $as_echo_n "(cached) " >&6
53316 else
53317
53318
53319       ac_ext=cpp
53320 ac_cpp='$CXXCPP $CPPFLAGS'
53321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53324
53325       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53326 /* end confdefs.h.  */
53327 #include <math.h>
53328 int
53329 main ()
53330 {
53331  _hypotf(0, 0);
53332   ;
53333   return 0;
53334 }
53335 _ACEOF
53336 if ac_fn_cxx_try_compile "$LINENO"; then :
53337   glibcxx_cv_func__hypotf_use=yes
53338 else
53339   glibcxx_cv_func__hypotf_use=no
53340 fi
53341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53342       ac_ext=c
53343 ac_cpp='$CPP $CPPFLAGS'
53344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53347
53348
53349 fi
53350
53351   fi
53352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
53353 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
53354
53355     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
53356       for ac_func in _hypotf
53357 do :
53358   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
53359 if test "x$ac_cv_func__hypotf" = x""yes; then :
53360   cat >>confdefs.h <<_ACEOF
53361 #define HAVE__HYPOTF 1
53362 _ACEOF
53363
53364 fi
53365 done
53366
53367     fi
53368   fi
53369
53370
53371
53372
53373
53374   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
53375 $as_echo_n "checking for ldexpf declaration... " >&6; }
53376   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
53377     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
53378   $as_echo_n "(cached) " >&6
53379 else
53380
53381
53382       ac_ext=cpp
53383 ac_cpp='$CXXCPP $CPPFLAGS'
53384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53387
53388       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53389 /* end confdefs.h.  */
53390 #include <math.h>
53391 int
53392 main ()
53393 {
53394  ldexpf(0, 0);
53395   ;
53396   return 0;
53397 }
53398 _ACEOF
53399 if ac_fn_cxx_try_compile "$LINENO"; then :
53400   glibcxx_cv_func_ldexpf_use=yes
53401 else
53402   glibcxx_cv_func_ldexpf_use=no
53403 fi
53404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53405       ac_ext=c
53406 ac_cpp='$CPP $CPPFLAGS'
53407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53410
53411
53412 fi
53413
53414   fi
53415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
53416 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
53417
53418   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
53419     for ac_func in ldexpf
53420 do :
53421   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
53422 if test "x$ac_cv_func_ldexpf" = x""yes; then :
53423   cat >>confdefs.h <<_ACEOF
53424 #define HAVE_LDEXPF 1
53425 _ACEOF
53426
53427 fi
53428 done
53429
53430   else
53431
53432   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
53433 $as_echo_n "checking for _ldexpf declaration... " >&6; }
53434   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
53435     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
53436   $as_echo_n "(cached) " >&6
53437 else
53438
53439
53440       ac_ext=cpp
53441 ac_cpp='$CXXCPP $CPPFLAGS'
53442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53445
53446       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53447 /* end confdefs.h.  */
53448 #include <math.h>
53449 int
53450 main ()
53451 {
53452  _ldexpf(0, 0);
53453   ;
53454   return 0;
53455 }
53456 _ACEOF
53457 if ac_fn_cxx_try_compile "$LINENO"; then :
53458   glibcxx_cv_func__ldexpf_use=yes
53459 else
53460   glibcxx_cv_func__ldexpf_use=no
53461 fi
53462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53463       ac_ext=c
53464 ac_cpp='$CPP $CPPFLAGS'
53465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53468
53469
53470 fi
53471
53472   fi
53473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
53474 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
53475
53476     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
53477       for ac_func in _ldexpf
53478 do :
53479   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
53480 if test "x$ac_cv_func__ldexpf" = x""yes; then :
53481   cat >>confdefs.h <<_ACEOF
53482 #define HAVE__LDEXPF 1
53483 _ACEOF
53484
53485 fi
53486 done
53487
53488     fi
53489   fi
53490
53491
53492
53493
53494
53495   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
53496 $as_echo_n "checking for logf declaration... " >&6; }
53497   if test x${glibcxx_cv_func_logf_use+set} != xset; then
53498     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
53499   $as_echo_n "(cached) " >&6
53500 else
53501
53502
53503       ac_ext=cpp
53504 ac_cpp='$CXXCPP $CPPFLAGS'
53505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53508
53509       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53510 /* end confdefs.h.  */
53511 #include <math.h>
53512                       #ifdef HAVE_IEEEFP_H
53513                       #include <ieeefp.h>
53514                       #endif
53515
53516 int
53517 main ()
53518 {
53519  logf(0);
53520   ;
53521   return 0;
53522 }
53523 _ACEOF
53524 if ac_fn_cxx_try_compile "$LINENO"; then :
53525   glibcxx_cv_func_logf_use=yes
53526 else
53527   glibcxx_cv_func_logf_use=no
53528 fi
53529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53530       ac_ext=c
53531 ac_cpp='$CPP $CPPFLAGS'
53532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53535
53536
53537 fi
53538
53539   fi
53540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
53541 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
53542
53543   if test x$glibcxx_cv_func_logf_use = x"yes"; then
53544     for ac_func in logf
53545 do :
53546   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
53547 if test "x$ac_cv_func_logf" = x""yes; then :
53548   cat >>confdefs.h <<_ACEOF
53549 #define HAVE_LOGF 1
53550 _ACEOF
53551
53552 fi
53553 done
53554
53555   else
53556
53557   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
53558 $as_echo_n "checking for _logf declaration... " >&6; }
53559   if test x${glibcxx_cv_func__logf_use+set} != xset; then
53560     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
53561   $as_echo_n "(cached) " >&6
53562 else
53563
53564
53565       ac_ext=cpp
53566 ac_cpp='$CXXCPP $CPPFLAGS'
53567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53570
53571       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53572 /* end confdefs.h.  */
53573 #include <math.h>
53574                       #ifdef HAVE_IEEEFP_H
53575                       #include <ieeefp.h>
53576                       #endif
53577
53578 int
53579 main ()
53580 {
53581  _logf(0);
53582   ;
53583   return 0;
53584 }
53585 _ACEOF
53586 if ac_fn_cxx_try_compile "$LINENO"; then :
53587   glibcxx_cv_func__logf_use=yes
53588 else
53589   glibcxx_cv_func__logf_use=no
53590 fi
53591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53592       ac_ext=c
53593 ac_cpp='$CPP $CPPFLAGS'
53594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53597
53598
53599 fi
53600
53601   fi
53602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
53603 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
53604
53605     if test x$glibcxx_cv_func__logf_use = x"yes"; then
53606       for ac_func in _logf
53607 do :
53608   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
53609 if test "x$ac_cv_func__logf" = x""yes; then :
53610   cat >>confdefs.h <<_ACEOF
53611 #define HAVE__LOGF 1
53612 _ACEOF
53613
53614 fi
53615 done
53616
53617     fi
53618   fi
53619
53620
53621
53622
53623
53624   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
53625 $as_echo_n "checking for log10f declaration... " >&6; }
53626   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
53627     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
53628   $as_echo_n "(cached) " >&6
53629 else
53630
53631
53632       ac_ext=cpp
53633 ac_cpp='$CXXCPP $CPPFLAGS'
53634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53637
53638       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53639 /* end confdefs.h.  */
53640 #include <math.h>
53641                       #ifdef HAVE_IEEEFP_H
53642                       #include <ieeefp.h>
53643                       #endif
53644
53645 int
53646 main ()
53647 {
53648  log10f(0);
53649   ;
53650   return 0;
53651 }
53652 _ACEOF
53653 if ac_fn_cxx_try_compile "$LINENO"; then :
53654   glibcxx_cv_func_log10f_use=yes
53655 else
53656   glibcxx_cv_func_log10f_use=no
53657 fi
53658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53659       ac_ext=c
53660 ac_cpp='$CPP $CPPFLAGS'
53661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53664
53665
53666 fi
53667
53668   fi
53669   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
53670 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
53671
53672   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
53673     for ac_func in log10f
53674 do :
53675   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
53676 if test "x$ac_cv_func_log10f" = x""yes; then :
53677   cat >>confdefs.h <<_ACEOF
53678 #define HAVE_LOG10F 1
53679 _ACEOF
53680
53681 fi
53682 done
53683
53684   else
53685
53686   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
53687 $as_echo_n "checking for _log10f declaration... " >&6; }
53688   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
53689     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
53690   $as_echo_n "(cached) " >&6
53691 else
53692
53693
53694       ac_ext=cpp
53695 ac_cpp='$CXXCPP $CPPFLAGS'
53696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53699
53700       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53701 /* end confdefs.h.  */
53702 #include <math.h>
53703                       #ifdef HAVE_IEEEFP_H
53704                       #include <ieeefp.h>
53705                       #endif
53706
53707 int
53708 main ()
53709 {
53710  _log10f(0);
53711   ;
53712   return 0;
53713 }
53714 _ACEOF
53715 if ac_fn_cxx_try_compile "$LINENO"; then :
53716   glibcxx_cv_func__log10f_use=yes
53717 else
53718   glibcxx_cv_func__log10f_use=no
53719 fi
53720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53721       ac_ext=c
53722 ac_cpp='$CPP $CPPFLAGS'
53723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53726
53727
53728 fi
53729
53730   fi
53731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
53732 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
53733
53734     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
53735       for ac_func in _log10f
53736 do :
53737   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
53738 if test "x$ac_cv_func__log10f" = x""yes; then :
53739   cat >>confdefs.h <<_ACEOF
53740 #define HAVE__LOG10F 1
53741 _ACEOF
53742
53743 fi
53744 done
53745
53746     fi
53747   fi
53748
53749
53750
53751
53752
53753   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
53754 $as_echo_n "checking for modff declaration... " >&6; }
53755   if test x${glibcxx_cv_func_modff_use+set} != xset; then
53756     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
53757   $as_echo_n "(cached) " >&6
53758 else
53759
53760
53761       ac_ext=cpp
53762 ac_cpp='$CXXCPP $CPPFLAGS'
53763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53766
53767       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53768 /* end confdefs.h.  */
53769 #include <math.h>
53770 int
53771 main ()
53772 {
53773  modff(0, 0);
53774   ;
53775   return 0;
53776 }
53777 _ACEOF
53778 if ac_fn_cxx_try_compile "$LINENO"; then :
53779   glibcxx_cv_func_modff_use=yes
53780 else
53781   glibcxx_cv_func_modff_use=no
53782 fi
53783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53784       ac_ext=c
53785 ac_cpp='$CPP $CPPFLAGS'
53786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53789
53790
53791 fi
53792
53793   fi
53794   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
53795 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
53796
53797   if test x$glibcxx_cv_func_modff_use = x"yes"; then
53798     for ac_func in modff
53799 do :
53800   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
53801 if test "x$ac_cv_func_modff" = x""yes; then :
53802   cat >>confdefs.h <<_ACEOF
53803 #define HAVE_MODFF 1
53804 _ACEOF
53805
53806 fi
53807 done
53808
53809   else
53810
53811   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
53812 $as_echo_n "checking for _modff declaration... " >&6; }
53813   if test x${glibcxx_cv_func__modff_use+set} != xset; then
53814     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
53815   $as_echo_n "(cached) " >&6
53816 else
53817
53818
53819       ac_ext=cpp
53820 ac_cpp='$CXXCPP $CPPFLAGS'
53821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53824
53825       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53826 /* end confdefs.h.  */
53827 #include <math.h>
53828 int
53829 main ()
53830 {
53831  _modff(0, 0);
53832   ;
53833   return 0;
53834 }
53835 _ACEOF
53836 if ac_fn_cxx_try_compile "$LINENO"; then :
53837   glibcxx_cv_func__modff_use=yes
53838 else
53839   glibcxx_cv_func__modff_use=no
53840 fi
53841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53842       ac_ext=c
53843 ac_cpp='$CPP $CPPFLAGS'
53844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53847
53848
53849 fi
53850
53851   fi
53852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
53853 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
53854
53855     if test x$glibcxx_cv_func__modff_use = x"yes"; then
53856       for ac_func in _modff
53857 do :
53858   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
53859 if test "x$ac_cv_func__modff" = x""yes; then :
53860   cat >>confdefs.h <<_ACEOF
53861 #define HAVE__MODFF 1
53862 _ACEOF
53863
53864 fi
53865 done
53866
53867     fi
53868   fi
53869
53870
53871
53872
53873
53874   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
53875 $as_echo_n "checking for modf declaration... " >&6; }
53876   if test x${glibcxx_cv_func_modf_use+set} != xset; then
53877     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
53878   $as_echo_n "(cached) " >&6
53879 else
53880
53881
53882       ac_ext=cpp
53883 ac_cpp='$CXXCPP $CPPFLAGS'
53884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53887
53888       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53889 /* end confdefs.h.  */
53890 #include <math.h>
53891 int
53892 main ()
53893 {
53894  modf(0, 0);
53895   ;
53896   return 0;
53897 }
53898 _ACEOF
53899 if ac_fn_cxx_try_compile "$LINENO"; then :
53900   glibcxx_cv_func_modf_use=yes
53901 else
53902   glibcxx_cv_func_modf_use=no
53903 fi
53904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53905       ac_ext=c
53906 ac_cpp='$CPP $CPPFLAGS'
53907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53910
53911
53912 fi
53913
53914   fi
53915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
53916 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
53917
53918   if test x$glibcxx_cv_func_modf_use = x"yes"; then
53919     for ac_func in modf
53920 do :
53921   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
53922 if test "x$ac_cv_func_modf" = x""yes; then :
53923   cat >>confdefs.h <<_ACEOF
53924 #define HAVE_MODF 1
53925 _ACEOF
53926
53927 fi
53928 done
53929
53930   else
53931
53932   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
53933 $as_echo_n "checking for _modf declaration... " >&6; }
53934   if test x${glibcxx_cv_func__modf_use+set} != xset; then
53935     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
53936   $as_echo_n "(cached) " >&6
53937 else
53938
53939
53940       ac_ext=cpp
53941 ac_cpp='$CXXCPP $CPPFLAGS'
53942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53945
53946       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53947 /* end confdefs.h.  */
53948 #include <math.h>
53949 int
53950 main ()
53951 {
53952  _modf(0, 0);
53953   ;
53954   return 0;
53955 }
53956 _ACEOF
53957 if ac_fn_cxx_try_compile "$LINENO"; then :
53958   glibcxx_cv_func__modf_use=yes
53959 else
53960   glibcxx_cv_func__modf_use=no
53961 fi
53962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53963       ac_ext=c
53964 ac_cpp='$CPP $CPPFLAGS'
53965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53968
53969
53970 fi
53971
53972   fi
53973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
53974 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
53975
53976     if test x$glibcxx_cv_func__modf_use = x"yes"; then
53977       for ac_func in _modf
53978 do :
53979   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
53980 if test "x$ac_cv_func__modf" = x""yes; then :
53981   cat >>confdefs.h <<_ACEOF
53982 #define HAVE__MODF 1
53983 _ACEOF
53984
53985 fi
53986 done
53987
53988     fi
53989   fi
53990
53991
53992
53993
53994
53995   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
53996 $as_echo_n "checking for powf declaration... " >&6; }
53997   if test x${glibcxx_cv_func_powf_use+set} != xset; then
53998     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
53999   $as_echo_n "(cached) " >&6
54000 else
54001
54002
54003       ac_ext=cpp
54004 ac_cpp='$CXXCPP $CPPFLAGS'
54005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54008
54009       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54010 /* end confdefs.h.  */
54011 #include <math.h>
54012 int
54013 main ()
54014 {
54015  powf(0, 0);
54016   ;
54017   return 0;
54018 }
54019 _ACEOF
54020 if ac_fn_cxx_try_compile "$LINENO"; then :
54021   glibcxx_cv_func_powf_use=yes
54022 else
54023   glibcxx_cv_func_powf_use=no
54024 fi
54025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54026       ac_ext=c
54027 ac_cpp='$CPP $CPPFLAGS'
54028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54031
54032
54033 fi
54034
54035   fi
54036   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
54037 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
54038
54039   if test x$glibcxx_cv_func_powf_use = x"yes"; then
54040     for ac_func in powf
54041 do :
54042   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
54043 if test "x$ac_cv_func_powf" = x""yes; then :
54044   cat >>confdefs.h <<_ACEOF
54045 #define HAVE_POWF 1
54046 _ACEOF
54047
54048 fi
54049 done
54050
54051   else
54052
54053   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
54054 $as_echo_n "checking for _powf declaration... " >&6; }
54055   if test x${glibcxx_cv_func__powf_use+set} != xset; then
54056     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
54057   $as_echo_n "(cached) " >&6
54058 else
54059
54060
54061       ac_ext=cpp
54062 ac_cpp='$CXXCPP $CPPFLAGS'
54063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54066
54067       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54068 /* end confdefs.h.  */
54069 #include <math.h>
54070 int
54071 main ()
54072 {
54073  _powf(0, 0);
54074   ;
54075   return 0;
54076 }
54077 _ACEOF
54078 if ac_fn_cxx_try_compile "$LINENO"; then :
54079   glibcxx_cv_func__powf_use=yes
54080 else
54081   glibcxx_cv_func__powf_use=no
54082 fi
54083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54084       ac_ext=c
54085 ac_cpp='$CPP $CPPFLAGS'
54086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54089
54090
54091 fi
54092
54093   fi
54094   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
54095 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
54096
54097     if test x$glibcxx_cv_func__powf_use = x"yes"; then
54098       for ac_func in _powf
54099 do :
54100   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
54101 if test "x$ac_cv_func__powf" = x""yes; then :
54102   cat >>confdefs.h <<_ACEOF
54103 #define HAVE__POWF 1
54104 _ACEOF
54105
54106 fi
54107 done
54108
54109     fi
54110   fi
54111
54112
54113
54114
54115
54116   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
54117 $as_echo_n "checking for sqrtf declaration... " >&6; }
54118   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
54119     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
54120   $as_echo_n "(cached) " >&6
54121 else
54122
54123
54124       ac_ext=cpp
54125 ac_cpp='$CXXCPP $CPPFLAGS'
54126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54129
54130       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54131 /* end confdefs.h.  */
54132 #include <math.h>
54133                       #ifdef HAVE_IEEEFP_H
54134                       #include <ieeefp.h>
54135                       #endif
54136
54137 int
54138 main ()
54139 {
54140  sqrtf(0);
54141   ;
54142   return 0;
54143 }
54144 _ACEOF
54145 if ac_fn_cxx_try_compile "$LINENO"; then :
54146   glibcxx_cv_func_sqrtf_use=yes
54147 else
54148   glibcxx_cv_func_sqrtf_use=no
54149 fi
54150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54151       ac_ext=c
54152 ac_cpp='$CPP $CPPFLAGS'
54153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54156
54157
54158 fi
54159
54160   fi
54161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
54162 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
54163
54164   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
54165     for ac_func in sqrtf
54166 do :
54167   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
54168 if test "x$ac_cv_func_sqrtf" = x""yes; then :
54169   cat >>confdefs.h <<_ACEOF
54170 #define HAVE_SQRTF 1
54171 _ACEOF
54172
54173 fi
54174 done
54175
54176   else
54177
54178   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
54179 $as_echo_n "checking for _sqrtf declaration... " >&6; }
54180   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
54181     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
54182   $as_echo_n "(cached) " >&6
54183 else
54184
54185
54186       ac_ext=cpp
54187 ac_cpp='$CXXCPP $CPPFLAGS'
54188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54191
54192       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54193 /* end confdefs.h.  */
54194 #include <math.h>
54195                       #ifdef HAVE_IEEEFP_H
54196                       #include <ieeefp.h>
54197                       #endif
54198
54199 int
54200 main ()
54201 {
54202  _sqrtf(0);
54203   ;
54204   return 0;
54205 }
54206 _ACEOF
54207 if ac_fn_cxx_try_compile "$LINENO"; then :
54208   glibcxx_cv_func__sqrtf_use=yes
54209 else
54210   glibcxx_cv_func__sqrtf_use=no
54211 fi
54212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54213       ac_ext=c
54214 ac_cpp='$CPP $CPPFLAGS'
54215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54218
54219
54220 fi
54221
54222   fi
54223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
54224 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
54225
54226     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
54227       for ac_func in _sqrtf
54228 do :
54229   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
54230 if test "x$ac_cv_func__sqrtf" = x""yes; then :
54231   cat >>confdefs.h <<_ACEOF
54232 #define HAVE__SQRTF 1
54233 _ACEOF
54234
54235 fi
54236 done
54237
54238     fi
54239   fi
54240
54241
54242
54243
54244
54245   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
54246 $as_echo_n "checking for sincosf declaration... " >&6; }
54247   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
54248     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
54249   $as_echo_n "(cached) " >&6
54250 else
54251
54252
54253       ac_ext=cpp
54254 ac_cpp='$CXXCPP $CPPFLAGS'
54255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54258
54259       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54260 /* end confdefs.h.  */
54261 #include <math.h>
54262 int
54263 main ()
54264 {
54265  sincosf(0, 0, 0);
54266   ;
54267   return 0;
54268 }
54269 _ACEOF
54270 if ac_fn_cxx_try_compile "$LINENO"; then :
54271   glibcxx_cv_func_sincosf_use=yes
54272 else
54273   glibcxx_cv_func_sincosf_use=no
54274 fi
54275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54276       ac_ext=c
54277 ac_cpp='$CPP $CPPFLAGS'
54278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54281
54282
54283 fi
54284
54285   fi
54286   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
54287 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
54288
54289   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
54290     for ac_func in sincosf
54291 do :
54292   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
54293 if test "x$ac_cv_func_sincosf" = x""yes; then :
54294   cat >>confdefs.h <<_ACEOF
54295 #define HAVE_SINCOSF 1
54296 _ACEOF
54297
54298 fi
54299 done
54300
54301   else
54302
54303   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
54304 $as_echo_n "checking for _sincosf declaration... " >&6; }
54305   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54306     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
54307   $as_echo_n "(cached) " >&6
54308 else
54309
54310
54311       ac_ext=cpp
54312 ac_cpp='$CXXCPP $CPPFLAGS'
54313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54316
54317       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54318 /* end confdefs.h.  */
54319 #include <math.h>
54320 int
54321 main ()
54322 {
54323  _sincosf(0, 0, 0);
54324   ;
54325   return 0;
54326 }
54327 _ACEOF
54328 if ac_fn_cxx_try_compile "$LINENO"; then :
54329   glibcxx_cv_func__sincosf_use=yes
54330 else
54331   glibcxx_cv_func__sincosf_use=no
54332 fi
54333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54334       ac_ext=c
54335 ac_cpp='$CPP $CPPFLAGS'
54336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54339
54340
54341 fi
54342
54343   fi
54344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
54345 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
54346
54347     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
54348       for ac_func in _sincosf
54349 do :
54350   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
54351 if test "x$ac_cv_func__sincosf" = x""yes; then :
54352   cat >>confdefs.h <<_ACEOF
54353 #define HAVE__SINCOSF 1
54354 _ACEOF
54355
54356 fi
54357 done
54358
54359     fi
54360   fi
54361
54362
54363
54364
54365
54366   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
54367 $as_echo_n "checking for finitef declaration... " >&6; }
54368   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
54369     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
54370   $as_echo_n "(cached) " >&6
54371 else
54372
54373
54374       ac_ext=cpp
54375 ac_cpp='$CXXCPP $CPPFLAGS'
54376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54379
54380       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54381 /* end confdefs.h.  */
54382 #include <math.h>
54383                       #ifdef HAVE_IEEEFP_H
54384                       #include <ieeefp.h>
54385                       #endif
54386
54387 int
54388 main ()
54389 {
54390  finitef(0);
54391   ;
54392   return 0;
54393 }
54394 _ACEOF
54395 if ac_fn_cxx_try_compile "$LINENO"; then :
54396   glibcxx_cv_func_finitef_use=yes
54397 else
54398   glibcxx_cv_func_finitef_use=no
54399 fi
54400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54401       ac_ext=c
54402 ac_cpp='$CPP $CPPFLAGS'
54403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54406
54407
54408 fi
54409
54410   fi
54411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
54412 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
54413
54414   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
54415     for ac_func in finitef
54416 do :
54417   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
54418 if test "x$ac_cv_func_finitef" = x""yes; then :
54419   cat >>confdefs.h <<_ACEOF
54420 #define HAVE_FINITEF 1
54421 _ACEOF
54422
54423 fi
54424 done
54425
54426   else
54427
54428   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
54429 $as_echo_n "checking for _finitef declaration... " >&6; }
54430   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
54431     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
54432   $as_echo_n "(cached) " >&6
54433 else
54434
54435
54436       ac_ext=cpp
54437 ac_cpp='$CXXCPP $CPPFLAGS'
54438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54441
54442       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54443 /* end confdefs.h.  */
54444 #include <math.h>
54445                       #ifdef HAVE_IEEEFP_H
54446                       #include <ieeefp.h>
54447                       #endif
54448
54449 int
54450 main ()
54451 {
54452  _finitef(0);
54453   ;
54454   return 0;
54455 }
54456 _ACEOF
54457 if ac_fn_cxx_try_compile "$LINENO"; then :
54458   glibcxx_cv_func__finitef_use=yes
54459 else
54460   glibcxx_cv_func__finitef_use=no
54461 fi
54462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54463       ac_ext=c
54464 ac_cpp='$CPP $CPPFLAGS'
54465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54468
54469
54470 fi
54471
54472   fi
54473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
54474 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
54475
54476     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
54477       for ac_func in _finitef
54478 do :
54479   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
54480 if test "x$ac_cv_func__finitef" = x""yes; then :
54481   cat >>confdefs.h <<_ACEOF
54482 #define HAVE__FINITEF 1
54483 _ACEOF
54484
54485 fi
54486 done
54487
54488     fi
54489   fi
54490
54491
54492
54493
54494
54495     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
54496 $as_echo_n "checking for long double trig functions... " >&6; }
54497   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
54498   $as_echo_n "(cached) " >&6
54499 else
54500
54501
54502     ac_ext=cpp
54503 ac_cpp='$CXXCPP $CPPFLAGS'
54504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54507
54508     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54509 /* end confdefs.h.  */
54510 #include <math.h>
54511 int
54512 main ()
54513 {
54514 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
54515   ;
54516   return 0;
54517 }
54518 _ACEOF
54519 if ac_fn_cxx_try_compile "$LINENO"; then :
54520   glibcxx_cv_func_long_double_trig_use=yes
54521 else
54522   glibcxx_cv_func_long_double_trig_use=no
54523 fi
54524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54525     ac_ext=c
54526 ac_cpp='$CPP $CPPFLAGS'
54527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54530
54531 fi
54532
54533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
54534 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
54535   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
54536     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
54537 do :
54538   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54539 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54540 eval as_val=\$$as_ac_var
54541    if test "x$as_val" = x""yes; then :
54542   cat >>confdefs.h <<_ACEOF
54543 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54544 _ACEOF
54545
54546 fi
54547 done
54548
54549   else
54550     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
54551 $as_echo_n "checking for _long double trig functions... " >&6; }
54552     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
54553   $as_echo_n "(cached) " >&6
54554 else
54555
54556
54557       ac_ext=cpp
54558 ac_cpp='$CXXCPP $CPPFLAGS'
54559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54562
54563       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54564 /* end confdefs.h.  */
54565 #include <math.h>
54566 int
54567 main ()
54568 {
54569 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
54570   ;
54571   return 0;
54572 }
54573 _ACEOF
54574 if ac_fn_cxx_try_compile "$LINENO"; then :
54575   glibcxx_cv_func__long_double_trig_use=yes
54576 else
54577   glibcxx_cv_func__long_double_trig_use=no
54578 fi
54579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54580       ac_ext=c
54581 ac_cpp='$CPP $CPPFLAGS'
54582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54585
54586 fi
54587
54588     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
54589 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
54590     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
54591       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
54592 do :
54593   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54594 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54595 eval as_val=\$$as_ac_var
54596    if test "x$as_val" = x""yes; then :
54597   cat >>confdefs.h <<_ACEOF
54598 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54599 _ACEOF
54600
54601 fi
54602 done
54603
54604     fi
54605   fi
54606
54607
54608
54609
54610
54611     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
54612 $as_echo_n "checking for long double round functions... " >&6; }
54613   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
54614   $as_echo_n "(cached) " >&6
54615 else
54616
54617
54618     ac_ext=cpp
54619 ac_cpp='$CXXCPP $CPPFLAGS'
54620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54623
54624     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54625 /* end confdefs.h.  */
54626 #include <math.h>
54627 int
54628 main ()
54629 {
54630 ceill (0); floorl (0);
54631   ;
54632   return 0;
54633 }
54634 _ACEOF
54635 if ac_fn_cxx_try_compile "$LINENO"; then :
54636   glibcxx_cv_func_long_double_round_use=yes
54637 else
54638   glibcxx_cv_func_long_double_round_use=no
54639 fi
54640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54641     ac_ext=c
54642 ac_cpp='$CPP $CPPFLAGS'
54643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54646
54647 fi
54648
54649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
54650 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
54651   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
54652     for ac_func in ceill floorl
54653 do :
54654   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54655 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54656 eval as_val=\$$as_ac_var
54657    if test "x$as_val" = x""yes; then :
54658   cat >>confdefs.h <<_ACEOF
54659 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54660 _ACEOF
54661
54662 fi
54663 done
54664
54665   else
54666     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
54667 $as_echo_n "checking for _long double round functions... " >&6; }
54668     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
54669   $as_echo_n "(cached) " >&6
54670 else
54671
54672
54673       ac_ext=cpp
54674 ac_cpp='$CXXCPP $CPPFLAGS'
54675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54678
54679       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54680 /* end confdefs.h.  */
54681 #include <math.h>
54682 int
54683 main ()
54684 {
54685 _ceill (0); _floorl (0);
54686   ;
54687   return 0;
54688 }
54689 _ACEOF
54690 if ac_fn_cxx_try_compile "$LINENO"; then :
54691   glibcxx_cv_func__long_double_round_use=yes
54692 else
54693   glibcxx_cv_func__long_double_round_use=no
54694 fi
54695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54696       ac_ext=c
54697 ac_cpp='$CPP $CPPFLAGS'
54698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54701
54702 fi
54703
54704     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
54705 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
54706     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
54707       for ac_func in _ceill _floorl
54708 do :
54709   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54710 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54711 eval as_val=\$$as_ac_var
54712    if test "x$as_val" = x""yes; then :
54713   cat >>confdefs.h <<_ACEOF
54714 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54715 _ACEOF
54716
54717 fi
54718 done
54719
54720     fi
54721   fi
54722
54723
54724
54725
54726
54727
54728   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
54729 $as_echo_n "checking for isnanl declaration... " >&6; }
54730   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
54731     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
54732   $as_echo_n "(cached) " >&6
54733 else
54734
54735
54736       ac_ext=cpp
54737 ac_cpp='$CXXCPP $CPPFLAGS'
54738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54741
54742       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54743 /* end confdefs.h.  */
54744 #include <math.h>
54745                       #ifdef HAVE_IEEEFP_H
54746                       #include <ieeefp.h>
54747                       #endif
54748
54749 int
54750 main ()
54751 {
54752  isnanl(0);
54753   ;
54754   return 0;
54755 }
54756 _ACEOF
54757 if ac_fn_cxx_try_compile "$LINENO"; then :
54758   glibcxx_cv_func_isnanl_use=yes
54759 else
54760   glibcxx_cv_func_isnanl_use=no
54761 fi
54762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54763       ac_ext=c
54764 ac_cpp='$CPP $CPPFLAGS'
54765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54768
54769
54770 fi
54771
54772   fi
54773   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
54774 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
54775
54776   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
54777     for ac_func in isnanl
54778 do :
54779   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
54780 if test "x$ac_cv_func_isnanl" = x""yes; then :
54781   cat >>confdefs.h <<_ACEOF
54782 #define HAVE_ISNANL 1
54783 _ACEOF
54784
54785 fi
54786 done
54787
54788   else
54789
54790   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
54791 $as_echo_n "checking for _isnanl declaration... " >&6; }
54792   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
54793     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
54794   $as_echo_n "(cached) " >&6
54795 else
54796
54797
54798       ac_ext=cpp
54799 ac_cpp='$CXXCPP $CPPFLAGS'
54800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54803
54804       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54805 /* end confdefs.h.  */
54806 #include <math.h>
54807                       #ifdef HAVE_IEEEFP_H
54808                       #include <ieeefp.h>
54809                       #endif
54810
54811 int
54812 main ()
54813 {
54814  _isnanl(0);
54815   ;
54816   return 0;
54817 }
54818 _ACEOF
54819 if ac_fn_cxx_try_compile "$LINENO"; then :
54820   glibcxx_cv_func__isnanl_use=yes
54821 else
54822   glibcxx_cv_func__isnanl_use=no
54823 fi
54824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54825       ac_ext=c
54826 ac_cpp='$CPP $CPPFLAGS'
54827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54830
54831
54832 fi
54833
54834   fi
54835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
54836 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
54837
54838     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
54839       for ac_func in _isnanl
54840 do :
54841   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
54842 if test "x$ac_cv_func__isnanl" = x""yes; then :
54843   cat >>confdefs.h <<_ACEOF
54844 #define HAVE__ISNANL 1
54845 _ACEOF
54846
54847 fi
54848 done
54849
54850     fi
54851   fi
54852
54853
54854
54855
54856
54857   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
54858 $as_echo_n "checking for isinfl declaration... " >&6; }
54859   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
54860     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
54861   $as_echo_n "(cached) " >&6
54862 else
54863
54864
54865       ac_ext=cpp
54866 ac_cpp='$CXXCPP $CPPFLAGS'
54867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54870
54871       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54872 /* end confdefs.h.  */
54873 #include <math.h>
54874                       #ifdef HAVE_IEEEFP_H
54875                       #include <ieeefp.h>
54876                       #endif
54877
54878 int
54879 main ()
54880 {
54881  isinfl(0);
54882   ;
54883   return 0;
54884 }
54885 _ACEOF
54886 if ac_fn_cxx_try_compile "$LINENO"; then :
54887   glibcxx_cv_func_isinfl_use=yes
54888 else
54889   glibcxx_cv_func_isinfl_use=no
54890 fi
54891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54892       ac_ext=c
54893 ac_cpp='$CPP $CPPFLAGS'
54894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54897
54898
54899 fi
54900
54901   fi
54902   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
54903 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
54904
54905   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
54906     for ac_func in isinfl
54907 do :
54908   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
54909 if test "x$ac_cv_func_isinfl" = x""yes; then :
54910   cat >>confdefs.h <<_ACEOF
54911 #define HAVE_ISINFL 1
54912 _ACEOF
54913
54914 fi
54915 done
54916
54917   else
54918
54919   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
54920 $as_echo_n "checking for _isinfl declaration... " >&6; }
54921   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
54922     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
54923   $as_echo_n "(cached) " >&6
54924 else
54925
54926
54927       ac_ext=cpp
54928 ac_cpp='$CXXCPP $CPPFLAGS'
54929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54932
54933       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54934 /* end confdefs.h.  */
54935 #include <math.h>
54936                       #ifdef HAVE_IEEEFP_H
54937                       #include <ieeefp.h>
54938                       #endif
54939
54940 int
54941 main ()
54942 {
54943  _isinfl(0);
54944   ;
54945   return 0;
54946 }
54947 _ACEOF
54948 if ac_fn_cxx_try_compile "$LINENO"; then :
54949   glibcxx_cv_func__isinfl_use=yes
54950 else
54951   glibcxx_cv_func__isinfl_use=no
54952 fi
54953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54954       ac_ext=c
54955 ac_cpp='$CPP $CPPFLAGS'
54956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54959
54960
54961 fi
54962
54963   fi
54964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
54965 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
54966
54967     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
54968       for ac_func in _isinfl
54969 do :
54970   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
54971 if test "x$ac_cv_func__isinfl" = x""yes; then :
54972   cat >>confdefs.h <<_ACEOF
54973 #define HAVE__ISINFL 1
54974 _ACEOF
54975
54976 fi
54977 done
54978
54979     fi
54980   fi
54981
54982
54983
54984
54985
54986   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
54987 $as_echo_n "checking for atan2l declaration... " >&6; }
54988   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
54989     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
54990   $as_echo_n "(cached) " >&6
54991 else
54992
54993
54994       ac_ext=cpp
54995 ac_cpp='$CXXCPP $CPPFLAGS'
54996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54999
55000       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55001 /* end confdefs.h.  */
55002 #include <math.h>
55003 int
55004 main ()
55005 {
55006  atan2l(0, 0);
55007   ;
55008   return 0;
55009 }
55010 _ACEOF
55011 if ac_fn_cxx_try_compile "$LINENO"; then :
55012   glibcxx_cv_func_atan2l_use=yes
55013 else
55014   glibcxx_cv_func_atan2l_use=no
55015 fi
55016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55017       ac_ext=c
55018 ac_cpp='$CPP $CPPFLAGS'
55019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55022
55023
55024 fi
55025
55026   fi
55027   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
55028 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
55029
55030   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
55031     for ac_func in atan2l
55032 do :
55033   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
55034 if test "x$ac_cv_func_atan2l" = x""yes; then :
55035   cat >>confdefs.h <<_ACEOF
55036 #define HAVE_ATAN2L 1
55037 _ACEOF
55038
55039 fi
55040 done
55041
55042   else
55043
55044   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
55045 $as_echo_n "checking for _atan2l declaration... " >&6; }
55046   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
55047     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
55048   $as_echo_n "(cached) " >&6
55049 else
55050
55051
55052       ac_ext=cpp
55053 ac_cpp='$CXXCPP $CPPFLAGS'
55054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55057
55058       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55059 /* end confdefs.h.  */
55060 #include <math.h>
55061 int
55062 main ()
55063 {
55064  _atan2l(0, 0);
55065   ;
55066   return 0;
55067 }
55068 _ACEOF
55069 if ac_fn_cxx_try_compile "$LINENO"; then :
55070   glibcxx_cv_func__atan2l_use=yes
55071 else
55072   glibcxx_cv_func__atan2l_use=no
55073 fi
55074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55075       ac_ext=c
55076 ac_cpp='$CPP $CPPFLAGS'
55077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55080
55081
55082 fi
55083
55084   fi
55085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
55086 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
55087
55088     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
55089       for ac_func in _atan2l
55090 do :
55091   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
55092 if test "x$ac_cv_func__atan2l" = x""yes; then :
55093   cat >>confdefs.h <<_ACEOF
55094 #define HAVE__ATAN2L 1
55095 _ACEOF
55096
55097 fi
55098 done
55099
55100     fi
55101   fi
55102
55103
55104
55105
55106
55107   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
55108 $as_echo_n "checking for expl declaration... " >&6; }
55109   if test x${glibcxx_cv_func_expl_use+set} != xset; then
55110     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
55111   $as_echo_n "(cached) " >&6
55112 else
55113
55114
55115       ac_ext=cpp
55116 ac_cpp='$CXXCPP $CPPFLAGS'
55117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55120
55121       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55122 /* end confdefs.h.  */
55123 #include <math.h>
55124                       #ifdef HAVE_IEEEFP_H
55125                       #include <ieeefp.h>
55126                       #endif
55127
55128 int
55129 main ()
55130 {
55131  expl(0);
55132   ;
55133   return 0;
55134 }
55135 _ACEOF
55136 if ac_fn_cxx_try_compile "$LINENO"; then :
55137   glibcxx_cv_func_expl_use=yes
55138 else
55139   glibcxx_cv_func_expl_use=no
55140 fi
55141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55142       ac_ext=c
55143 ac_cpp='$CPP $CPPFLAGS'
55144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55147
55148
55149 fi
55150
55151   fi
55152   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
55153 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
55154
55155   if test x$glibcxx_cv_func_expl_use = x"yes"; then
55156     for ac_func in expl
55157 do :
55158   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
55159 if test "x$ac_cv_func_expl" = x""yes; then :
55160   cat >>confdefs.h <<_ACEOF
55161 #define HAVE_EXPL 1
55162 _ACEOF
55163
55164 fi
55165 done
55166
55167   else
55168
55169   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
55170 $as_echo_n "checking for _expl declaration... " >&6; }
55171   if test x${glibcxx_cv_func__expl_use+set} != xset; then
55172     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
55173   $as_echo_n "(cached) " >&6
55174 else
55175
55176
55177       ac_ext=cpp
55178 ac_cpp='$CXXCPP $CPPFLAGS'
55179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55182
55183       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55184 /* end confdefs.h.  */
55185 #include <math.h>
55186                       #ifdef HAVE_IEEEFP_H
55187                       #include <ieeefp.h>
55188                       #endif
55189
55190 int
55191 main ()
55192 {
55193  _expl(0);
55194   ;
55195   return 0;
55196 }
55197 _ACEOF
55198 if ac_fn_cxx_try_compile "$LINENO"; then :
55199   glibcxx_cv_func__expl_use=yes
55200 else
55201   glibcxx_cv_func__expl_use=no
55202 fi
55203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55204       ac_ext=c
55205 ac_cpp='$CPP $CPPFLAGS'
55206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55209
55210
55211 fi
55212
55213   fi
55214   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
55215 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
55216
55217     if test x$glibcxx_cv_func__expl_use = x"yes"; then
55218       for ac_func in _expl
55219 do :
55220   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
55221 if test "x$ac_cv_func__expl" = x""yes; then :
55222   cat >>confdefs.h <<_ACEOF
55223 #define HAVE__EXPL 1
55224 _ACEOF
55225
55226 fi
55227 done
55228
55229     fi
55230   fi
55231
55232
55233
55234
55235
55236   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
55237 $as_echo_n "checking for fabsl declaration... " >&6; }
55238   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
55239     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
55240   $as_echo_n "(cached) " >&6
55241 else
55242
55243
55244       ac_ext=cpp
55245 ac_cpp='$CXXCPP $CPPFLAGS'
55246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55249
55250       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55251 /* end confdefs.h.  */
55252 #include <math.h>
55253                       #ifdef HAVE_IEEEFP_H
55254                       #include <ieeefp.h>
55255                       #endif
55256
55257 int
55258 main ()
55259 {
55260  fabsl(0);
55261   ;
55262   return 0;
55263 }
55264 _ACEOF
55265 if ac_fn_cxx_try_compile "$LINENO"; then :
55266   glibcxx_cv_func_fabsl_use=yes
55267 else
55268   glibcxx_cv_func_fabsl_use=no
55269 fi
55270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55271       ac_ext=c
55272 ac_cpp='$CPP $CPPFLAGS'
55273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55276
55277
55278 fi
55279
55280   fi
55281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
55282 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
55283
55284   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55285     for ac_func in fabsl
55286 do :
55287   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
55288 if test "x$ac_cv_func_fabsl" = x""yes; then :
55289   cat >>confdefs.h <<_ACEOF
55290 #define HAVE_FABSL 1
55291 _ACEOF
55292
55293 fi
55294 done
55295
55296   else
55297
55298   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
55299 $as_echo_n "checking for _fabsl declaration... " >&6; }
55300   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55301     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
55302   $as_echo_n "(cached) " >&6
55303 else
55304
55305
55306       ac_ext=cpp
55307 ac_cpp='$CXXCPP $CPPFLAGS'
55308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55311
55312       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55313 /* end confdefs.h.  */
55314 #include <math.h>
55315                       #ifdef HAVE_IEEEFP_H
55316                       #include <ieeefp.h>
55317                       #endif
55318
55319 int
55320 main ()
55321 {
55322  _fabsl(0);
55323   ;
55324   return 0;
55325 }
55326 _ACEOF
55327 if ac_fn_cxx_try_compile "$LINENO"; then :
55328   glibcxx_cv_func__fabsl_use=yes
55329 else
55330   glibcxx_cv_func__fabsl_use=no
55331 fi
55332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55333       ac_ext=c
55334 ac_cpp='$CPP $CPPFLAGS'
55335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55338
55339
55340 fi
55341
55342   fi
55343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
55344 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
55345
55346     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
55347       for ac_func in _fabsl
55348 do :
55349   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
55350 if test "x$ac_cv_func__fabsl" = x""yes; then :
55351   cat >>confdefs.h <<_ACEOF
55352 #define HAVE__FABSL 1
55353 _ACEOF
55354
55355 fi
55356 done
55357
55358     fi
55359   fi
55360
55361
55362
55363
55364
55365   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
55366 $as_echo_n "checking for fmodl declaration... " >&6; }
55367   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
55368     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
55369   $as_echo_n "(cached) " >&6
55370 else
55371
55372
55373       ac_ext=cpp
55374 ac_cpp='$CXXCPP $CPPFLAGS'
55375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55378
55379       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55380 /* end confdefs.h.  */
55381 #include <math.h>
55382 int
55383 main ()
55384 {
55385  fmodl(0, 0);
55386   ;
55387   return 0;
55388 }
55389 _ACEOF
55390 if ac_fn_cxx_try_compile "$LINENO"; then :
55391   glibcxx_cv_func_fmodl_use=yes
55392 else
55393   glibcxx_cv_func_fmodl_use=no
55394 fi
55395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55396       ac_ext=c
55397 ac_cpp='$CPP $CPPFLAGS'
55398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55401
55402
55403 fi
55404
55405   fi
55406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
55407 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
55408
55409   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
55410     for ac_func in fmodl
55411 do :
55412   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
55413 if test "x$ac_cv_func_fmodl" = x""yes; then :
55414   cat >>confdefs.h <<_ACEOF
55415 #define HAVE_FMODL 1
55416 _ACEOF
55417
55418 fi
55419 done
55420
55421   else
55422
55423   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
55424 $as_echo_n "checking for _fmodl declaration... " >&6; }
55425   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
55426     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
55427   $as_echo_n "(cached) " >&6
55428 else
55429
55430
55431       ac_ext=cpp
55432 ac_cpp='$CXXCPP $CPPFLAGS'
55433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55436
55437       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55438 /* end confdefs.h.  */
55439 #include <math.h>
55440 int
55441 main ()
55442 {
55443  _fmodl(0, 0);
55444   ;
55445   return 0;
55446 }
55447 _ACEOF
55448 if ac_fn_cxx_try_compile "$LINENO"; then :
55449   glibcxx_cv_func__fmodl_use=yes
55450 else
55451   glibcxx_cv_func__fmodl_use=no
55452 fi
55453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55454       ac_ext=c
55455 ac_cpp='$CPP $CPPFLAGS'
55456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55459
55460
55461 fi
55462
55463   fi
55464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
55465 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
55466
55467     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
55468       for ac_func in _fmodl
55469 do :
55470   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
55471 if test "x$ac_cv_func__fmodl" = x""yes; then :
55472   cat >>confdefs.h <<_ACEOF
55473 #define HAVE__FMODL 1
55474 _ACEOF
55475
55476 fi
55477 done
55478
55479     fi
55480   fi
55481
55482
55483
55484
55485
55486   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
55487 $as_echo_n "checking for frexpl declaration... " >&6; }
55488   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
55489     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
55490   $as_echo_n "(cached) " >&6
55491 else
55492
55493
55494       ac_ext=cpp
55495 ac_cpp='$CXXCPP $CPPFLAGS'
55496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55499
55500       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55501 /* end confdefs.h.  */
55502 #include <math.h>
55503 int
55504 main ()
55505 {
55506  frexpl(0, 0);
55507   ;
55508   return 0;
55509 }
55510 _ACEOF
55511 if ac_fn_cxx_try_compile "$LINENO"; then :
55512   glibcxx_cv_func_frexpl_use=yes
55513 else
55514   glibcxx_cv_func_frexpl_use=no
55515 fi
55516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55517       ac_ext=c
55518 ac_cpp='$CPP $CPPFLAGS'
55519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55522
55523
55524 fi
55525
55526   fi
55527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
55528 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
55529
55530   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
55531     for ac_func in frexpl
55532 do :
55533   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
55534 if test "x$ac_cv_func_frexpl" = x""yes; then :
55535   cat >>confdefs.h <<_ACEOF
55536 #define HAVE_FREXPL 1
55537 _ACEOF
55538
55539 fi
55540 done
55541
55542   else
55543
55544   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
55545 $as_echo_n "checking for _frexpl declaration... " >&6; }
55546   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
55547     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
55548   $as_echo_n "(cached) " >&6
55549 else
55550
55551
55552       ac_ext=cpp
55553 ac_cpp='$CXXCPP $CPPFLAGS'
55554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55557
55558       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55559 /* end confdefs.h.  */
55560 #include <math.h>
55561 int
55562 main ()
55563 {
55564  _frexpl(0, 0);
55565   ;
55566   return 0;
55567 }
55568 _ACEOF
55569 if ac_fn_cxx_try_compile "$LINENO"; then :
55570   glibcxx_cv_func__frexpl_use=yes
55571 else
55572   glibcxx_cv_func__frexpl_use=no
55573 fi
55574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55575       ac_ext=c
55576 ac_cpp='$CPP $CPPFLAGS'
55577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55580
55581
55582 fi
55583
55584   fi
55585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
55586 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
55587
55588     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
55589       for ac_func in _frexpl
55590 do :
55591   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
55592 if test "x$ac_cv_func__frexpl" = x""yes; then :
55593   cat >>confdefs.h <<_ACEOF
55594 #define HAVE__FREXPL 1
55595 _ACEOF
55596
55597 fi
55598 done
55599
55600     fi
55601   fi
55602
55603
55604
55605
55606
55607   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
55608 $as_echo_n "checking for hypotl declaration... " >&6; }
55609   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
55610     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
55611   $as_echo_n "(cached) " >&6
55612 else
55613
55614
55615       ac_ext=cpp
55616 ac_cpp='$CXXCPP $CPPFLAGS'
55617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55620
55621       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55622 /* end confdefs.h.  */
55623 #include <math.h>
55624 int
55625 main ()
55626 {
55627  hypotl(0, 0);
55628   ;
55629   return 0;
55630 }
55631 _ACEOF
55632 if ac_fn_cxx_try_compile "$LINENO"; then :
55633   glibcxx_cv_func_hypotl_use=yes
55634 else
55635   glibcxx_cv_func_hypotl_use=no
55636 fi
55637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55638       ac_ext=c
55639 ac_cpp='$CPP $CPPFLAGS'
55640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55643
55644
55645 fi
55646
55647   fi
55648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
55649 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
55650
55651   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
55652     for ac_func in hypotl
55653 do :
55654   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
55655 if test "x$ac_cv_func_hypotl" = x""yes; then :
55656   cat >>confdefs.h <<_ACEOF
55657 #define HAVE_HYPOTL 1
55658 _ACEOF
55659
55660 fi
55661 done
55662
55663   else
55664
55665   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
55666 $as_echo_n "checking for _hypotl declaration... " >&6; }
55667   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
55668     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
55669   $as_echo_n "(cached) " >&6
55670 else
55671
55672
55673       ac_ext=cpp
55674 ac_cpp='$CXXCPP $CPPFLAGS'
55675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55678
55679       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55680 /* end confdefs.h.  */
55681 #include <math.h>
55682 int
55683 main ()
55684 {
55685  _hypotl(0, 0);
55686   ;
55687   return 0;
55688 }
55689 _ACEOF
55690 if ac_fn_cxx_try_compile "$LINENO"; then :
55691   glibcxx_cv_func__hypotl_use=yes
55692 else
55693   glibcxx_cv_func__hypotl_use=no
55694 fi
55695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55696       ac_ext=c
55697 ac_cpp='$CPP $CPPFLAGS'
55698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55701
55702
55703 fi
55704
55705   fi
55706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
55707 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
55708
55709     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
55710       for ac_func in _hypotl
55711 do :
55712   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
55713 if test "x$ac_cv_func__hypotl" = x""yes; then :
55714   cat >>confdefs.h <<_ACEOF
55715 #define HAVE__HYPOTL 1
55716 _ACEOF
55717
55718 fi
55719 done
55720
55721     fi
55722   fi
55723
55724
55725
55726
55727
55728   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
55729 $as_echo_n "checking for ldexpl declaration... " >&6; }
55730   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
55731     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
55732   $as_echo_n "(cached) " >&6
55733 else
55734
55735
55736       ac_ext=cpp
55737 ac_cpp='$CXXCPP $CPPFLAGS'
55738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55741
55742       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55743 /* end confdefs.h.  */
55744 #include <math.h>
55745 int
55746 main ()
55747 {
55748  ldexpl(0, 0);
55749   ;
55750   return 0;
55751 }
55752 _ACEOF
55753 if ac_fn_cxx_try_compile "$LINENO"; then :
55754   glibcxx_cv_func_ldexpl_use=yes
55755 else
55756   glibcxx_cv_func_ldexpl_use=no
55757 fi
55758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55759       ac_ext=c
55760 ac_cpp='$CPP $CPPFLAGS'
55761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55764
55765
55766 fi
55767
55768   fi
55769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
55770 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
55771
55772   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
55773     for ac_func in ldexpl
55774 do :
55775   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
55776 if test "x$ac_cv_func_ldexpl" = x""yes; then :
55777   cat >>confdefs.h <<_ACEOF
55778 #define HAVE_LDEXPL 1
55779 _ACEOF
55780
55781 fi
55782 done
55783
55784   else
55785
55786   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
55787 $as_echo_n "checking for _ldexpl declaration... " >&6; }
55788   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
55789     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
55790   $as_echo_n "(cached) " >&6
55791 else
55792
55793
55794       ac_ext=cpp
55795 ac_cpp='$CXXCPP $CPPFLAGS'
55796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55799
55800       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55801 /* end confdefs.h.  */
55802 #include <math.h>
55803 int
55804 main ()
55805 {
55806  _ldexpl(0, 0);
55807   ;
55808   return 0;
55809 }
55810 _ACEOF
55811 if ac_fn_cxx_try_compile "$LINENO"; then :
55812   glibcxx_cv_func__ldexpl_use=yes
55813 else
55814   glibcxx_cv_func__ldexpl_use=no
55815 fi
55816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55817       ac_ext=c
55818 ac_cpp='$CPP $CPPFLAGS'
55819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55822
55823
55824 fi
55825
55826   fi
55827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
55828 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
55829
55830     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
55831       for ac_func in _ldexpl
55832 do :
55833   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
55834 if test "x$ac_cv_func__ldexpl" = x""yes; then :
55835   cat >>confdefs.h <<_ACEOF
55836 #define HAVE__LDEXPL 1
55837 _ACEOF
55838
55839 fi
55840 done
55841
55842     fi
55843   fi
55844
55845
55846
55847
55848
55849   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
55850 $as_echo_n "checking for logl declaration... " >&6; }
55851   if test x${glibcxx_cv_func_logl_use+set} != xset; then
55852     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
55853   $as_echo_n "(cached) " >&6
55854 else
55855
55856
55857       ac_ext=cpp
55858 ac_cpp='$CXXCPP $CPPFLAGS'
55859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55862
55863       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55864 /* end confdefs.h.  */
55865 #include <math.h>
55866                       #ifdef HAVE_IEEEFP_H
55867                       #include <ieeefp.h>
55868                       #endif
55869
55870 int
55871 main ()
55872 {
55873  logl(0);
55874   ;
55875   return 0;
55876 }
55877 _ACEOF
55878 if ac_fn_cxx_try_compile "$LINENO"; then :
55879   glibcxx_cv_func_logl_use=yes
55880 else
55881   glibcxx_cv_func_logl_use=no
55882 fi
55883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55884       ac_ext=c
55885 ac_cpp='$CPP $CPPFLAGS'
55886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55889
55890
55891 fi
55892
55893   fi
55894   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
55895 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
55896
55897   if test x$glibcxx_cv_func_logl_use = x"yes"; then
55898     for ac_func in logl
55899 do :
55900   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
55901 if test "x$ac_cv_func_logl" = x""yes; then :
55902   cat >>confdefs.h <<_ACEOF
55903 #define HAVE_LOGL 1
55904 _ACEOF
55905
55906 fi
55907 done
55908
55909   else
55910
55911   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
55912 $as_echo_n "checking for _logl declaration... " >&6; }
55913   if test x${glibcxx_cv_func__logl_use+set} != xset; then
55914     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
55915   $as_echo_n "(cached) " >&6
55916 else
55917
55918
55919       ac_ext=cpp
55920 ac_cpp='$CXXCPP $CPPFLAGS'
55921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55924
55925       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55926 /* end confdefs.h.  */
55927 #include <math.h>
55928                       #ifdef HAVE_IEEEFP_H
55929                       #include <ieeefp.h>
55930                       #endif
55931
55932 int
55933 main ()
55934 {
55935  _logl(0);
55936   ;
55937   return 0;
55938 }
55939 _ACEOF
55940 if ac_fn_cxx_try_compile "$LINENO"; then :
55941   glibcxx_cv_func__logl_use=yes
55942 else
55943   glibcxx_cv_func__logl_use=no
55944 fi
55945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55946       ac_ext=c
55947 ac_cpp='$CPP $CPPFLAGS'
55948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55951
55952
55953 fi
55954
55955   fi
55956   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
55957 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
55958
55959     if test x$glibcxx_cv_func__logl_use = x"yes"; then
55960       for ac_func in _logl
55961 do :
55962   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
55963 if test "x$ac_cv_func__logl" = x""yes; then :
55964   cat >>confdefs.h <<_ACEOF
55965 #define HAVE__LOGL 1
55966 _ACEOF
55967
55968 fi
55969 done
55970
55971     fi
55972   fi
55973
55974
55975
55976
55977
55978   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
55979 $as_echo_n "checking for log10l declaration... " >&6; }
55980   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
55981     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
55982   $as_echo_n "(cached) " >&6
55983 else
55984
55985
55986       ac_ext=cpp
55987 ac_cpp='$CXXCPP $CPPFLAGS'
55988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55991
55992       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55993 /* end confdefs.h.  */
55994 #include <math.h>
55995                       #ifdef HAVE_IEEEFP_H
55996                       #include <ieeefp.h>
55997                       #endif
55998
55999 int
56000 main ()
56001 {
56002  log10l(0);
56003   ;
56004   return 0;
56005 }
56006 _ACEOF
56007 if ac_fn_cxx_try_compile "$LINENO"; then :
56008   glibcxx_cv_func_log10l_use=yes
56009 else
56010   glibcxx_cv_func_log10l_use=no
56011 fi
56012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56013       ac_ext=c
56014 ac_cpp='$CPP $CPPFLAGS'
56015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56018
56019
56020 fi
56021
56022   fi
56023   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
56024 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
56025
56026   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
56027     for ac_func in log10l
56028 do :
56029   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
56030 if test "x$ac_cv_func_log10l" = x""yes; then :
56031   cat >>confdefs.h <<_ACEOF
56032 #define HAVE_LOG10L 1
56033 _ACEOF
56034
56035 fi
56036 done
56037
56038   else
56039
56040   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
56041 $as_echo_n "checking for _log10l declaration... " >&6; }
56042   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
56043     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
56044   $as_echo_n "(cached) " >&6
56045 else
56046
56047
56048       ac_ext=cpp
56049 ac_cpp='$CXXCPP $CPPFLAGS'
56050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56053
56054       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56055 /* end confdefs.h.  */
56056 #include <math.h>
56057                       #ifdef HAVE_IEEEFP_H
56058                       #include <ieeefp.h>
56059                       #endif
56060
56061 int
56062 main ()
56063 {
56064  _log10l(0);
56065   ;
56066   return 0;
56067 }
56068 _ACEOF
56069 if ac_fn_cxx_try_compile "$LINENO"; then :
56070   glibcxx_cv_func__log10l_use=yes
56071 else
56072   glibcxx_cv_func__log10l_use=no
56073 fi
56074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56075       ac_ext=c
56076 ac_cpp='$CPP $CPPFLAGS'
56077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56080
56081
56082 fi
56083
56084   fi
56085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
56086 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
56087
56088     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
56089       for ac_func in _log10l
56090 do :
56091   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
56092 if test "x$ac_cv_func__log10l" = x""yes; then :
56093   cat >>confdefs.h <<_ACEOF
56094 #define HAVE__LOG10L 1
56095 _ACEOF
56096
56097 fi
56098 done
56099
56100     fi
56101   fi
56102
56103
56104
56105
56106
56107   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
56108 $as_echo_n "checking for modfl declaration... " >&6; }
56109   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
56110     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
56111   $as_echo_n "(cached) " >&6
56112 else
56113
56114
56115       ac_ext=cpp
56116 ac_cpp='$CXXCPP $CPPFLAGS'
56117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56120
56121       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56122 /* end confdefs.h.  */
56123 #include <math.h>
56124 int
56125 main ()
56126 {
56127  modfl(0, 0);
56128   ;
56129   return 0;
56130 }
56131 _ACEOF
56132 if ac_fn_cxx_try_compile "$LINENO"; then :
56133   glibcxx_cv_func_modfl_use=yes
56134 else
56135   glibcxx_cv_func_modfl_use=no
56136 fi
56137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56138       ac_ext=c
56139 ac_cpp='$CPP $CPPFLAGS'
56140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56143
56144
56145 fi
56146
56147   fi
56148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
56149 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
56150
56151   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
56152     for ac_func in modfl
56153 do :
56154   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
56155 if test "x$ac_cv_func_modfl" = x""yes; then :
56156   cat >>confdefs.h <<_ACEOF
56157 #define HAVE_MODFL 1
56158 _ACEOF
56159
56160 fi
56161 done
56162
56163   else
56164
56165   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
56166 $as_echo_n "checking for _modfl declaration... " >&6; }
56167   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
56168     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
56169   $as_echo_n "(cached) " >&6
56170 else
56171
56172
56173       ac_ext=cpp
56174 ac_cpp='$CXXCPP $CPPFLAGS'
56175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56178
56179       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56180 /* end confdefs.h.  */
56181 #include <math.h>
56182 int
56183 main ()
56184 {
56185  _modfl(0, 0);
56186   ;
56187   return 0;
56188 }
56189 _ACEOF
56190 if ac_fn_cxx_try_compile "$LINENO"; then :
56191   glibcxx_cv_func__modfl_use=yes
56192 else
56193   glibcxx_cv_func__modfl_use=no
56194 fi
56195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56196       ac_ext=c
56197 ac_cpp='$CPP $CPPFLAGS'
56198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56201
56202
56203 fi
56204
56205   fi
56206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
56207 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
56208
56209     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
56210       for ac_func in _modfl
56211 do :
56212   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
56213 if test "x$ac_cv_func__modfl" = x""yes; then :
56214   cat >>confdefs.h <<_ACEOF
56215 #define HAVE__MODFL 1
56216 _ACEOF
56217
56218 fi
56219 done
56220
56221     fi
56222   fi
56223
56224
56225
56226
56227
56228   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
56229 $as_echo_n "checking for powl declaration... " >&6; }
56230   if test x${glibcxx_cv_func_powl_use+set} != xset; then
56231     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
56232   $as_echo_n "(cached) " >&6
56233 else
56234
56235
56236       ac_ext=cpp
56237 ac_cpp='$CXXCPP $CPPFLAGS'
56238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56241
56242       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56243 /* end confdefs.h.  */
56244 #include <math.h>
56245 int
56246 main ()
56247 {
56248  powl(0, 0);
56249   ;
56250   return 0;
56251 }
56252 _ACEOF
56253 if ac_fn_cxx_try_compile "$LINENO"; then :
56254   glibcxx_cv_func_powl_use=yes
56255 else
56256   glibcxx_cv_func_powl_use=no
56257 fi
56258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56259       ac_ext=c
56260 ac_cpp='$CPP $CPPFLAGS'
56261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56264
56265
56266 fi
56267
56268   fi
56269   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
56270 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
56271
56272   if test x$glibcxx_cv_func_powl_use = x"yes"; then
56273     for ac_func in powl
56274 do :
56275   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
56276 if test "x$ac_cv_func_powl" = x""yes; then :
56277   cat >>confdefs.h <<_ACEOF
56278 #define HAVE_POWL 1
56279 _ACEOF
56280
56281 fi
56282 done
56283
56284   else
56285
56286   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
56287 $as_echo_n "checking for _powl declaration... " >&6; }
56288   if test x${glibcxx_cv_func__powl_use+set} != xset; then
56289     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
56290   $as_echo_n "(cached) " >&6
56291 else
56292
56293
56294       ac_ext=cpp
56295 ac_cpp='$CXXCPP $CPPFLAGS'
56296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56299
56300       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56301 /* end confdefs.h.  */
56302 #include <math.h>
56303 int
56304 main ()
56305 {
56306  _powl(0, 0);
56307   ;
56308   return 0;
56309 }
56310 _ACEOF
56311 if ac_fn_cxx_try_compile "$LINENO"; then :
56312   glibcxx_cv_func__powl_use=yes
56313 else
56314   glibcxx_cv_func__powl_use=no
56315 fi
56316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56317       ac_ext=c
56318 ac_cpp='$CPP $CPPFLAGS'
56319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56322
56323
56324 fi
56325
56326   fi
56327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
56328 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
56329
56330     if test x$glibcxx_cv_func__powl_use = x"yes"; then
56331       for ac_func in _powl
56332 do :
56333   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
56334 if test "x$ac_cv_func__powl" = x""yes; then :
56335   cat >>confdefs.h <<_ACEOF
56336 #define HAVE__POWL 1
56337 _ACEOF
56338
56339 fi
56340 done
56341
56342     fi
56343   fi
56344
56345
56346
56347
56348
56349   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
56350 $as_echo_n "checking for sqrtl declaration... " >&6; }
56351   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
56352     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
56353   $as_echo_n "(cached) " >&6
56354 else
56355
56356
56357       ac_ext=cpp
56358 ac_cpp='$CXXCPP $CPPFLAGS'
56359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56362
56363       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56364 /* end confdefs.h.  */
56365 #include <math.h>
56366                       #ifdef HAVE_IEEEFP_H
56367                       #include <ieeefp.h>
56368                       #endif
56369
56370 int
56371 main ()
56372 {
56373  sqrtl(0);
56374   ;
56375   return 0;
56376 }
56377 _ACEOF
56378 if ac_fn_cxx_try_compile "$LINENO"; then :
56379   glibcxx_cv_func_sqrtl_use=yes
56380 else
56381   glibcxx_cv_func_sqrtl_use=no
56382 fi
56383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56384       ac_ext=c
56385 ac_cpp='$CPP $CPPFLAGS'
56386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56389
56390
56391 fi
56392
56393   fi
56394   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
56395 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
56396
56397   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
56398     for ac_func in sqrtl
56399 do :
56400   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
56401 if test "x$ac_cv_func_sqrtl" = x""yes; then :
56402   cat >>confdefs.h <<_ACEOF
56403 #define HAVE_SQRTL 1
56404 _ACEOF
56405
56406 fi
56407 done
56408
56409   else
56410
56411   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
56412 $as_echo_n "checking for _sqrtl declaration... " >&6; }
56413   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
56414     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
56415   $as_echo_n "(cached) " >&6
56416 else
56417
56418
56419       ac_ext=cpp
56420 ac_cpp='$CXXCPP $CPPFLAGS'
56421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56424
56425       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56426 /* end confdefs.h.  */
56427 #include <math.h>
56428                       #ifdef HAVE_IEEEFP_H
56429                       #include <ieeefp.h>
56430                       #endif
56431
56432 int
56433 main ()
56434 {
56435  _sqrtl(0);
56436   ;
56437   return 0;
56438 }
56439 _ACEOF
56440 if ac_fn_cxx_try_compile "$LINENO"; then :
56441   glibcxx_cv_func__sqrtl_use=yes
56442 else
56443   glibcxx_cv_func__sqrtl_use=no
56444 fi
56445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56446       ac_ext=c
56447 ac_cpp='$CPP $CPPFLAGS'
56448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56451
56452
56453 fi
56454
56455   fi
56456   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
56457 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
56458
56459     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
56460       for ac_func in _sqrtl
56461 do :
56462   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
56463 if test "x$ac_cv_func__sqrtl" = x""yes; then :
56464   cat >>confdefs.h <<_ACEOF
56465 #define HAVE__SQRTL 1
56466 _ACEOF
56467
56468 fi
56469 done
56470
56471     fi
56472   fi
56473
56474
56475
56476
56477
56478   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
56479 $as_echo_n "checking for sincosl declaration... " >&6; }
56480   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
56481     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
56482   $as_echo_n "(cached) " >&6
56483 else
56484
56485
56486       ac_ext=cpp
56487 ac_cpp='$CXXCPP $CPPFLAGS'
56488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56491
56492       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56493 /* end confdefs.h.  */
56494 #include <math.h>
56495 int
56496 main ()
56497 {
56498  sincosl(0, 0, 0);
56499   ;
56500   return 0;
56501 }
56502 _ACEOF
56503 if ac_fn_cxx_try_compile "$LINENO"; then :
56504   glibcxx_cv_func_sincosl_use=yes
56505 else
56506   glibcxx_cv_func_sincosl_use=no
56507 fi
56508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56509       ac_ext=c
56510 ac_cpp='$CPP $CPPFLAGS'
56511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56514
56515
56516 fi
56517
56518   fi
56519   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
56520 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
56521
56522   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
56523     for ac_func in sincosl
56524 do :
56525   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
56526 if test "x$ac_cv_func_sincosl" = x""yes; then :
56527   cat >>confdefs.h <<_ACEOF
56528 #define HAVE_SINCOSL 1
56529 _ACEOF
56530
56531 fi
56532 done
56533
56534   else
56535
56536   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
56537 $as_echo_n "checking for _sincosl declaration... " >&6; }
56538   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
56539     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
56540   $as_echo_n "(cached) " >&6
56541 else
56542
56543
56544       ac_ext=cpp
56545 ac_cpp='$CXXCPP $CPPFLAGS'
56546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56549
56550       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56551 /* end confdefs.h.  */
56552 #include <math.h>
56553 int
56554 main ()
56555 {
56556  _sincosl(0, 0, 0);
56557   ;
56558   return 0;
56559 }
56560 _ACEOF
56561 if ac_fn_cxx_try_compile "$LINENO"; then :
56562   glibcxx_cv_func__sincosl_use=yes
56563 else
56564   glibcxx_cv_func__sincosl_use=no
56565 fi
56566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56567       ac_ext=c
56568 ac_cpp='$CPP $CPPFLAGS'
56569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56572
56573
56574 fi
56575
56576   fi
56577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
56578 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
56579
56580     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
56581       for ac_func in _sincosl
56582 do :
56583   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
56584 if test "x$ac_cv_func__sincosl" = x""yes; then :
56585   cat >>confdefs.h <<_ACEOF
56586 #define HAVE__SINCOSL 1
56587 _ACEOF
56588
56589 fi
56590 done
56591
56592     fi
56593   fi
56594
56595
56596
56597
56598
56599   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
56600 $as_echo_n "checking for finitel declaration... " >&6; }
56601   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
56602     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
56603   $as_echo_n "(cached) " >&6
56604 else
56605
56606
56607       ac_ext=cpp
56608 ac_cpp='$CXXCPP $CPPFLAGS'
56609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56612
56613       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56614 /* end confdefs.h.  */
56615 #include <math.h>
56616                       #ifdef HAVE_IEEEFP_H
56617                       #include <ieeefp.h>
56618                       #endif
56619
56620 int
56621 main ()
56622 {
56623  finitel(0);
56624   ;
56625   return 0;
56626 }
56627 _ACEOF
56628 if ac_fn_cxx_try_compile "$LINENO"; then :
56629   glibcxx_cv_func_finitel_use=yes
56630 else
56631   glibcxx_cv_func_finitel_use=no
56632 fi
56633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56634       ac_ext=c
56635 ac_cpp='$CPP $CPPFLAGS'
56636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56639
56640
56641 fi
56642
56643   fi
56644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
56645 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
56646
56647   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
56648     for ac_func in finitel
56649 do :
56650   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
56651 if test "x$ac_cv_func_finitel" = x""yes; then :
56652   cat >>confdefs.h <<_ACEOF
56653 #define HAVE_FINITEL 1
56654 _ACEOF
56655
56656 fi
56657 done
56658
56659   else
56660
56661   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
56662 $as_echo_n "checking for _finitel declaration... " >&6; }
56663   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
56664     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
56665   $as_echo_n "(cached) " >&6
56666 else
56667
56668
56669       ac_ext=cpp
56670 ac_cpp='$CXXCPP $CPPFLAGS'
56671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56674
56675       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56676 /* end confdefs.h.  */
56677 #include <math.h>
56678                       #ifdef HAVE_IEEEFP_H
56679                       #include <ieeefp.h>
56680                       #endif
56681
56682 int
56683 main ()
56684 {
56685  _finitel(0);
56686   ;
56687   return 0;
56688 }
56689 _ACEOF
56690 if ac_fn_cxx_try_compile "$LINENO"; then :
56691   glibcxx_cv_func__finitel_use=yes
56692 else
56693   glibcxx_cv_func__finitel_use=no
56694 fi
56695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56696       ac_ext=c
56697 ac_cpp='$CPP $CPPFLAGS'
56698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56701
56702
56703 fi
56704
56705   fi
56706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
56707 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
56708
56709     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
56710       for ac_func in _finitel
56711 do :
56712   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
56713 if test "x$ac_cv_func__finitel" = x""yes; then :
56714   cat >>confdefs.h <<_ACEOF
56715 #define HAVE__FINITEL 1
56716 _ACEOF
56717
56718 fi
56719 done
56720
56721     fi
56722   fi
56723
56724
56725
56726
56727   LIBS="$ac_save_LIBS"
56728   CXXFLAGS="$ac_save_CXXFLAGS"
56729
56730
56731   ac_test_CXXFLAGS="${CXXFLAGS+set}"
56732   ac_save_CXXFLAGS="$CXXFLAGS"
56733   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
56734
56735
56736   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
56737 $as_echo_n "checking for strtold declaration... " >&6; }
56738   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
56739     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
56740   $as_echo_n "(cached) " >&6
56741 else
56742
56743
56744       ac_ext=cpp
56745 ac_cpp='$CXXCPP $CPPFLAGS'
56746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56749
56750       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56751 /* end confdefs.h.  */
56752 #include <stdlib.h>
56753 int
56754 main ()
56755 {
56756  strtold(0, 0);
56757   ;
56758   return 0;
56759 }
56760 _ACEOF
56761 if ac_fn_cxx_try_compile "$LINENO"; then :
56762   glibcxx_cv_func_strtold_use=yes
56763 else
56764   glibcxx_cv_func_strtold_use=no
56765 fi
56766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56767       ac_ext=c
56768 ac_cpp='$CPP $CPPFLAGS'
56769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56772
56773
56774 fi
56775
56776   fi
56777   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
56778 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
56779   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
56780     for ac_func in strtold
56781 do :
56782   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
56783 if test "x$ac_cv_func_strtold" = x""yes; then :
56784   cat >>confdefs.h <<_ACEOF
56785 #define HAVE_STRTOLD 1
56786 _ACEOF
56787
56788 fi
56789 done
56790
56791   fi
56792
56793
56794
56795
56796   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
56797 $as_echo_n "checking for strtof declaration... " >&6; }
56798   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
56799     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
56800   $as_echo_n "(cached) " >&6
56801 else
56802
56803
56804       ac_ext=cpp
56805 ac_cpp='$CXXCPP $CPPFLAGS'
56806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56809
56810       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56811 /* end confdefs.h.  */
56812 #include <stdlib.h>
56813 int
56814 main ()
56815 {
56816  strtof(0, 0);
56817   ;
56818   return 0;
56819 }
56820 _ACEOF
56821 if ac_fn_cxx_try_compile "$LINENO"; then :
56822   glibcxx_cv_func_strtof_use=yes
56823 else
56824   glibcxx_cv_func_strtof_use=no
56825 fi
56826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56827       ac_ext=c
56828 ac_cpp='$CPP $CPPFLAGS'
56829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56832
56833
56834 fi
56835
56836   fi
56837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
56838 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
56839   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
56840     for ac_func in strtof
56841 do :
56842   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
56843 if test "x$ac_cv_func_strtof" = x""yes; then :
56844   cat >>confdefs.h <<_ACEOF
56845 #define HAVE_STRTOF 1
56846 _ACEOF
56847
56848 fi
56849 done
56850
56851   fi
56852
56853
56854
56855
56856   CXXFLAGS="$ac_save_CXXFLAGS"
56857
56858     ;;
56859   *-netbsd*)
56860     SECTION_FLAGS='-ffunction-sections -fdata-sections'
56861
56862
56863   # If we're not using GNU ld, then there's no point in even trying these
56864   # tests.  Check for that first.  We should have already tested for gld
56865   # by now (in libtool), but require it now just to be safe...
56866   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56867   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56868
56869
56870
56871   # The name set by libtool depends on the version of libtool.  Shame on us
56872   # for depending on an impl detail, but c'est la vie.  Older versions used
56873   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56874   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56875   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
56876   # set (hence we're using an older libtool), then set it.
56877   if test x${with_gnu_ld+set} != xset; then
56878     if test x${ac_cv_prog_gnu_ld+set} != xset; then
56879       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
56880       with_gnu_ld=no
56881     else
56882       with_gnu_ld=$ac_cv_prog_gnu_ld
56883     fi
56884   fi
56885
56886   # Start by getting the version number.  I think the libtool test already
56887   # does some of this, but throws away the result.
56888   glibcxx_ld_is_gold=no
56889   if test x"$with_gnu_ld" = x"yes"; then
56890     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56891 $as_echo_n "checking for ld version... " >&6; }
56892
56893     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56894       glibcxx_ld_is_gold=yes
56895     fi
56896     ldver=`$LD --version 2>/dev/null |
56897            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'`
56898
56899     glibcxx_gnu_ld_version=`echo $ldver | \
56900            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56901     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56902 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56903   fi
56904
56905   # Set --gc-sections.
56906   glibcxx_have_gc_sections=no
56907   if test "$glibcxx_ld_is_gold" = "yes"; then
56908     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56909       glibcxx_have_gc_sections=yes
56910     fi
56911   else
56912     glibcxx_gcsections_min_ld=21602
56913     if test x"$with_gnu_ld" = x"yes" &&
56914         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56915       glibcxx_have_gc_sections=yes
56916     fi
56917   fi
56918   if test "$glibcxx_have_gc_sections" = "yes"; then
56919     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
56920     # NB: This flag only works reliably after 2.16.1. Configure tests
56921     # for this are difficult, so hard wire a value that should work.
56922
56923     ac_test_CFLAGS="${CFLAGS+set}"
56924     ac_save_CFLAGS="$CFLAGS"
56925     CFLAGS='-Wl,--gc-sections'
56926
56927     # Check for -Wl,--gc-sections
56928     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56929 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56930     if test x$gcc_no_link = xyes; then
56931   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56932 fi
56933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56934 /* end confdefs.h.  */
56935  int one(void) { return 1; }
56936      int two(void) { return 2; }
56937
56938 int
56939 main ()
56940 {
56941  two();
56942   ;
56943   return 0;
56944 }
56945 _ACEOF
56946 if ac_fn_c_try_link "$LINENO"; then :
56947   ac_gcsections=yes
56948 else
56949   ac_gcsections=no
56950 fi
56951 rm -f core conftest.err conftest.$ac_objext \
56952     conftest$ac_exeext conftest.$ac_ext
56953     if test "$ac_gcsections" = "yes"; then
56954       rm -f conftest.c
56955       touch conftest.c
56956       if $CC -c conftest.c; then
56957         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56958            grep "Warning: gc-sections option ignored" > /dev/null; then
56959           ac_gcsections=no
56960         fi
56961       fi
56962       rm -f conftest.c conftest.o conftest
56963     fi
56964     if test "$ac_gcsections" = "yes"; then
56965       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56966     fi
56967     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56968 $as_echo "$ac_gcsections" >&6; }
56969
56970     if test "$ac_test_CFLAGS" = set; then
56971       CFLAGS="$ac_save_CFLAGS"
56972     else
56973       # this is the suspicious part
56974       CFLAGS=''
56975     fi
56976   fi
56977
56978   # Set -z,relro.
56979   # Note this is only for shared objects.
56980   ac_ld_relro=no
56981   if test x"$with_gnu_ld" = x"yes"; then
56982     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56983 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56984     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56985     if test -n "$cxx_z_relo"; then
56986       OPT_LDFLAGS="-Wl,-z,relro"
56987       ac_ld_relro=yes
56988     fi
56989     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56990 $as_echo "$ac_ld_relro" >&6; }
56991   fi
56992
56993   # Set linker optimization flags.
56994   if test x"$with_gnu_ld" = x"yes"; then
56995     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56996   fi
56997
56998
56999
57000
57001     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
57002
57003     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57004
57005     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57006
57007     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57008
57009     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57010
57011     $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57012
57013     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57014
57015     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57016
57017     if test x"long_double_math_on_this_cpu" = x"yes"; then
57018       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57019
57020       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57021
57022       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57023
57024     fi
57025     ;;
57026   *-netware)
57027     SECTION_FLAGS='-ffunction-sections -fdata-sections'
57028
57029
57030   # If we're not using GNU ld, then there's no point in even trying these
57031   # tests.  Check for that first.  We should have already tested for gld
57032   # by now (in libtool), but require it now just to be safe...
57033   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57034   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57035
57036
57037
57038   # The name set by libtool depends on the version of libtool.  Shame on us
57039   # for depending on an impl detail, but c'est la vie.  Older versions used
57040   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57041   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57042   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
57043   # set (hence we're using an older libtool), then set it.
57044   if test x${with_gnu_ld+set} != xset; then
57045     if test x${ac_cv_prog_gnu_ld+set} != xset; then
57046       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
57047       with_gnu_ld=no
57048     else
57049       with_gnu_ld=$ac_cv_prog_gnu_ld
57050     fi
57051   fi
57052
57053   # Start by getting the version number.  I think the libtool test already
57054   # does some of this, but throws away the result.
57055   glibcxx_ld_is_gold=no
57056   if test x"$with_gnu_ld" = x"yes"; then
57057     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57058 $as_echo_n "checking for ld version... " >&6; }
57059
57060     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57061       glibcxx_ld_is_gold=yes
57062     fi
57063     ldver=`$LD --version 2>/dev/null |
57064            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'`
57065
57066     glibcxx_gnu_ld_version=`echo $ldver | \
57067            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57068     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57069 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57070   fi
57071
57072   # Set --gc-sections.
57073   glibcxx_have_gc_sections=no
57074   if test "$glibcxx_ld_is_gold" = "yes"; then
57075     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57076       glibcxx_have_gc_sections=yes
57077     fi
57078   else
57079     glibcxx_gcsections_min_ld=21602
57080     if test x"$with_gnu_ld" = x"yes" &&
57081         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57082       glibcxx_have_gc_sections=yes
57083     fi
57084   fi
57085   if test "$glibcxx_have_gc_sections" = "yes"; then
57086     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
57087     # NB: This flag only works reliably after 2.16.1. Configure tests
57088     # for this are difficult, so hard wire a value that should work.
57089
57090     ac_test_CFLAGS="${CFLAGS+set}"
57091     ac_save_CFLAGS="$CFLAGS"
57092     CFLAGS='-Wl,--gc-sections'
57093
57094     # Check for -Wl,--gc-sections
57095     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57096 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57097     if test x$gcc_no_link = xyes; then
57098   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57099 fi
57100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57101 /* end confdefs.h.  */
57102  int one(void) { return 1; }
57103      int two(void) { return 2; }
57104
57105 int
57106 main ()
57107 {
57108  two();
57109   ;
57110   return 0;
57111 }
57112 _ACEOF
57113 if ac_fn_c_try_link "$LINENO"; then :
57114   ac_gcsections=yes
57115 else
57116   ac_gcsections=no
57117 fi
57118 rm -f core conftest.err conftest.$ac_objext \
57119     conftest$ac_exeext conftest.$ac_ext
57120     if test "$ac_gcsections" = "yes"; then
57121       rm -f conftest.c
57122       touch conftest.c
57123       if $CC -c conftest.c; then
57124         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57125            grep "Warning: gc-sections option ignored" > /dev/null; then
57126           ac_gcsections=no
57127         fi
57128       fi
57129       rm -f conftest.c conftest.o conftest
57130     fi
57131     if test "$ac_gcsections" = "yes"; then
57132       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57133     fi
57134     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57135 $as_echo "$ac_gcsections" >&6; }
57136
57137     if test "$ac_test_CFLAGS" = set; then
57138       CFLAGS="$ac_save_CFLAGS"
57139     else
57140       # this is the suspicious part
57141       CFLAGS=''
57142     fi
57143   fi
57144
57145   # Set -z,relro.
57146   # Note this is only for shared objects.
57147   ac_ld_relro=no
57148   if test x"$with_gnu_ld" = x"yes"; then
57149     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57150 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57151     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57152     if test -n "$cxx_z_relo"; then
57153       OPT_LDFLAGS="-Wl,-z,relro"
57154       ac_ld_relro=yes
57155     fi
57156     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57157 $as_echo "$ac_ld_relro" >&6; }
57158   fi
57159
57160   # Set linker optimization flags.
57161   if test x"$with_gnu_ld" = x"yes"; then
57162     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57163   fi
57164
57165
57166
57167
57168     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
57169
57170     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57171
57172     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57173
57174     ;;
57175   *-qnx6.1* | *-qnx6.2*)
57176     SECTION_FLAGS='-ffunction-sections -fdata-sections'
57177
57178
57179   # If we're not using GNU ld, then there's no point in even trying these
57180   # tests.  Check for that first.  We should have already tested for gld
57181   # by now (in libtool), but require it now just to be safe...
57182   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57183   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57184
57185
57186
57187   # The name set by libtool depends on the version of libtool.  Shame on us
57188   # for depending on an impl detail, but c'est la vie.  Older versions used
57189   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57190   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57191   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
57192   # set (hence we're using an older libtool), then set it.
57193   if test x${with_gnu_ld+set} != xset; then
57194     if test x${ac_cv_prog_gnu_ld+set} != xset; then
57195       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
57196       with_gnu_ld=no
57197     else
57198       with_gnu_ld=$ac_cv_prog_gnu_ld
57199     fi
57200   fi
57201
57202   # Start by getting the version number.  I think the libtool test already
57203   # does some of this, but throws away the result.
57204   glibcxx_ld_is_gold=no
57205   if test x"$with_gnu_ld" = x"yes"; then
57206     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57207 $as_echo_n "checking for ld version... " >&6; }
57208
57209     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57210       glibcxx_ld_is_gold=yes
57211     fi
57212     ldver=`$LD --version 2>/dev/null |
57213            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'`
57214
57215     glibcxx_gnu_ld_version=`echo $ldver | \
57216            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57217     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57218 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57219   fi
57220
57221   # Set --gc-sections.
57222   glibcxx_have_gc_sections=no
57223   if test "$glibcxx_ld_is_gold" = "yes"; then
57224     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57225       glibcxx_have_gc_sections=yes
57226     fi
57227   else
57228     glibcxx_gcsections_min_ld=21602
57229     if test x"$with_gnu_ld" = x"yes" &&
57230         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57231       glibcxx_have_gc_sections=yes
57232     fi
57233   fi
57234   if test "$glibcxx_have_gc_sections" = "yes"; then
57235     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
57236     # NB: This flag only works reliably after 2.16.1. Configure tests
57237     # for this are difficult, so hard wire a value that should work.
57238
57239     ac_test_CFLAGS="${CFLAGS+set}"
57240     ac_save_CFLAGS="$CFLAGS"
57241     CFLAGS='-Wl,--gc-sections'
57242
57243     # Check for -Wl,--gc-sections
57244     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57245 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57246     if test x$gcc_no_link = xyes; then
57247   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57248 fi
57249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57250 /* end confdefs.h.  */
57251  int one(void) { return 1; }
57252      int two(void) { return 2; }
57253
57254 int
57255 main ()
57256 {
57257  two();
57258   ;
57259   return 0;
57260 }
57261 _ACEOF
57262 if ac_fn_c_try_link "$LINENO"; then :
57263   ac_gcsections=yes
57264 else
57265   ac_gcsections=no
57266 fi
57267 rm -f core conftest.err conftest.$ac_objext \
57268     conftest$ac_exeext conftest.$ac_ext
57269     if test "$ac_gcsections" = "yes"; then
57270       rm -f conftest.c
57271       touch conftest.c
57272       if $CC -c conftest.c; then
57273         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57274            grep "Warning: gc-sections option ignored" > /dev/null; then
57275           ac_gcsections=no
57276         fi
57277       fi
57278       rm -f conftest.c conftest.o conftest
57279     fi
57280     if test "$ac_gcsections" = "yes"; then
57281       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57282     fi
57283     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57284 $as_echo "$ac_gcsections" >&6; }
57285
57286     if test "$ac_test_CFLAGS" = set; then
57287       CFLAGS="$ac_save_CFLAGS"
57288     else
57289       # this is the suspicious part
57290       CFLAGS=''
57291     fi
57292   fi
57293
57294   # Set -z,relro.
57295   # Note this is only for shared objects.
57296   ac_ld_relro=no
57297   if test x"$with_gnu_ld" = x"yes"; then
57298     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57299 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57300     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57301     if test -n "$cxx_z_relo"; then
57302       OPT_LDFLAGS="-Wl,-z,relro"
57303       ac_ld_relro=yes
57304     fi
57305     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57306 $as_echo "$ac_ld_relro" >&6; }
57307   fi
57308
57309   # Set linker optimization flags.
57310   if test x"$with_gnu_ld" = x"yes"; then
57311     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57312   fi
57313
57314
57315
57316
57317     $as_echo "#define HAVE_COSF 1" >>confdefs.h
57318
57319     $as_echo "#define HAVE_COSL 1" >>confdefs.h
57320
57321     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57322
57323     $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57324
57325     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57326
57327     $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57328
57329     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57330
57331     $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57332
57333     $as_echo "#define HAVE_SINF 1" >>confdefs.h
57334
57335     $as_echo "#define HAVE_SINL 1" >>confdefs.h
57336
57337     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57338
57339     $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57340
57341     ;;
57342   *-rtems*)
57343
57344   # All these tests are for C++; save the language and the compiler flags.
57345   # The CXXFLAGS thing is suspicious, but based on similar bits previously
57346   # found in GLIBCXX_CONFIGURE.
57347
57348   ac_ext=cpp
57349 ac_cpp='$CXXCPP $CPPFLAGS'
57350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57353
57354   ac_test_CXXFLAGS="${CXXFLAGS+set}"
57355   ac_save_CXXFLAGS="$CXXFLAGS"
57356
57357   # Check for maintainer-mode bits.
57358   if test x"$USE_MAINTAINER_MODE" = xno; then
57359     WERROR=''
57360   else
57361     WERROR='-Werror'
57362   fi
57363
57364   # Check for -ffunction-sections -fdata-sections
57365   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
57366 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
57367   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
57368   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57369 /* end confdefs.h.  */
57370 int foo; void bar() { };
57371 int
57372 main ()
57373 {
57374
57375   ;
57376   return 0;
57377 }
57378 _ACEOF
57379 if ac_fn_cxx_try_compile "$LINENO"; then :
57380   ac_fdsections=yes
57381 else
57382   ac_fdsections=no
57383 fi
57384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57385   if test "$ac_test_CXXFLAGS" = set; then
57386     CXXFLAGS="$ac_save_CXXFLAGS"
57387   else
57388     # this is the suspicious part
57389     CXXFLAGS=''
57390   fi
57391   if test x"$ac_fdsections" = x"yes"; then
57392     SECTION_FLAGS='-ffunction-sections -fdata-sections'
57393   fi
57394   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
57395 $as_echo "$ac_fdsections" >&6; }
57396
57397   ac_ext=c
57398 ac_cpp='$CPP $CPPFLAGS'
57399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57402
57403
57404
57405
57406
57407   # If we're not using GNU ld, then there's no point in even trying these
57408   # tests.  Check for that first.  We should have already tested for gld
57409   # by now (in libtool), but require it now just to be safe...
57410   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57411   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57412
57413
57414
57415   # The name set by libtool depends on the version of libtool.  Shame on us
57416   # for depending on an impl detail, but c'est la vie.  Older versions used
57417   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57418   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57419   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
57420   # set (hence we're using an older libtool), then set it.
57421   if test x${with_gnu_ld+set} != xset; then
57422     if test x${ac_cv_prog_gnu_ld+set} != xset; then
57423       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
57424       with_gnu_ld=no
57425     else
57426       with_gnu_ld=$ac_cv_prog_gnu_ld
57427     fi
57428   fi
57429
57430   # Start by getting the version number.  I think the libtool test already
57431   # does some of this, but throws away the result.
57432   glibcxx_ld_is_gold=no
57433   if test x"$with_gnu_ld" = x"yes"; then
57434     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57435 $as_echo_n "checking for ld version... " >&6; }
57436
57437     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57438       glibcxx_ld_is_gold=yes
57439     fi
57440     ldver=`$LD --version 2>/dev/null |
57441            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'`
57442
57443     glibcxx_gnu_ld_version=`echo $ldver | \
57444            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57445     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57446 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57447   fi
57448
57449   # Set --gc-sections.
57450   glibcxx_have_gc_sections=no
57451   if test "$glibcxx_ld_is_gold" = "yes"; then
57452     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57453       glibcxx_have_gc_sections=yes
57454     fi
57455   else
57456     glibcxx_gcsections_min_ld=21602
57457     if test x"$with_gnu_ld" = x"yes" &&
57458         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57459       glibcxx_have_gc_sections=yes
57460     fi
57461   fi
57462   if test "$glibcxx_have_gc_sections" = "yes"; then
57463     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
57464     # NB: This flag only works reliably after 2.16.1. Configure tests
57465     # for this are difficult, so hard wire a value that should work.
57466
57467     ac_test_CFLAGS="${CFLAGS+set}"
57468     ac_save_CFLAGS="$CFLAGS"
57469     CFLAGS='-Wl,--gc-sections'
57470
57471     # Check for -Wl,--gc-sections
57472     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57473 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57474     if test x$gcc_no_link = xyes; then
57475   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57476 fi
57477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57478 /* end confdefs.h.  */
57479  int one(void) { return 1; }
57480      int two(void) { return 2; }
57481
57482 int
57483 main ()
57484 {
57485  two();
57486   ;
57487   return 0;
57488 }
57489 _ACEOF
57490 if ac_fn_c_try_link "$LINENO"; then :
57491   ac_gcsections=yes
57492 else
57493   ac_gcsections=no
57494 fi
57495 rm -f core conftest.err conftest.$ac_objext \
57496     conftest$ac_exeext conftest.$ac_ext
57497     if test "$ac_gcsections" = "yes"; then
57498       rm -f conftest.c
57499       touch conftest.c
57500       if $CC -c conftest.c; then
57501         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57502            grep "Warning: gc-sections option ignored" > /dev/null; then
57503           ac_gcsections=no
57504         fi
57505       fi
57506       rm -f conftest.c conftest.o conftest
57507     fi
57508     if test "$ac_gcsections" = "yes"; then
57509       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57510     fi
57511     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57512 $as_echo "$ac_gcsections" >&6; }
57513
57514     if test "$ac_test_CFLAGS" = set; then
57515       CFLAGS="$ac_save_CFLAGS"
57516     else
57517       # this is the suspicious part
57518       CFLAGS=''
57519     fi
57520   fi
57521
57522   # Set -z,relro.
57523   # Note this is only for shared objects.
57524   ac_ld_relro=no
57525   if test x"$with_gnu_ld" = x"yes"; then
57526     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57527 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57528     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57529     if test -n "$cxx_z_relo"; then
57530       OPT_LDFLAGS="-Wl,-z,relro"
57531       ac_ld_relro=yes
57532     fi
57533     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57534 $as_echo "$ac_ld_relro" >&6; }
57535   fi
57536
57537   # Set linker optimization flags.
57538   if test x"$with_gnu_ld" = x"yes"; then
57539     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57540   fi
57541
57542
57543
57544
57545
57546   ac_test_CXXFLAGS="${CXXFLAGS+set}"
57547   ac_save_CXXFLAGS="$CXXFLAGS"
57548   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
57549
57550     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
57551 $as_echo_n "checking for sin in -lm... " >&6; }
57552 if test "${ac_cv_lib_m_sin+set}" = set; then :
57553   $as_echo_n "(cached) " >&6
57554 else
57555   ac_check_lib_save_LIBS=$LIBS
57556 LIBS="-lm  $LIBS"
57557 if test x$gcc_no_link = xyes; then
57558   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57559 fi
57560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57561 /* end confdefs.h.  */
57562
57563 /* Override any GCC internal prototype to avoid an error.
57564    Use char because int might match the return type of a GCC
57565    builtin and then its argument prototype would still apply.  */
57566 #ifdef __cplusplus
57567 extern "C"
57568 #endif
57569 char sin ();
57570 int
57571 main ()
57572 {
57573 return sin ();
57574   ;
57575   return 0;
57576 }
57577 _ACEOF
57578 if ac_fn_c_try_link "$LINENO"; then :
57579   ac_cv_lib_m_sin=yes
57580 else
57581   ac_cv_lib_m_sin=no
57582 fi
57583 rm -f core conftest.err conftest.$ac_objext \
57584     conftest$ac_exeext conftest.$ac_ext
57585 LIBS=$ac_check_lib_save_LIBS
57586 fi
57587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
57588 $as_echo "$ac_cv_lib_m_sin" >&6; }
57589 if test "x$ac_cv_lib_m_sin" = x""yes; then :
57590   libm="-lm"
57591 fi
57592
57593   ac_save_LIBS="$LIBS"
57594   LIBS="$LIBS $libm"
57595
57596
57597
57598   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
57599 $as_echo_n "checking for isinf declaration... " >&6; }
57600   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
57601     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
57602   $as_echo_n "(cached) " >&6
57603 else
57604
57605
57606       ac_ext=cpp
57607 ac_cpp='$CXXCPP $CPPFLAGS'
57608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57611
57612       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57613 /* end confdefs.h.  */
57614 #include <math.h>
57615                       #ifdef HAVE_IEEEFP_H
57616                       #include <ieeefp.h>
57617                       #endif
57618
57619 int
57620 main ()
57621 {
57622  isinf(0);
57623   ;
57624   return 0;
57625 }
57626 _ACEOF
57627 if ac_fn_cxx_try_compile "$LINENO"; then :
57628   glibcxx_cv_func_isinf_use=yes
57629 else
57630   glibcxx_cv_func_isinf_use=no
57631 fi
57632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57633       ac_ext=c
57634 ac_cpp='$CPP $CPPFLAGS'
57635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57638
57639
57640 fi
57641
57642   fi
57643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
57644 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
57645
57646   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
57647     for ac_func in isinf
57648 do :
57649   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
57650 if test "x$ac_cv_func_isinf" = x""yes; then :
57651   cat >>confdefs.h <<_ACEOF
57652 #define HAVE_ISINF 1
57653 _ACEOF
57654
57655 fi
57656 done
57657
57658   else
57659
57660   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
57661 $as_echo_n "checking for _isinf declaration... " >&6; }
57662   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
57663     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
57664   $as_echo_n "(cached) " >&6
57665 else
57666
57667
57668       ac_ext=cpp
57669 ac_cpp='$CXXCPP $CPPFLAGS'
57670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57673
57674       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57675 /* end confdefs.h.  */
57676 #include <math.h>
57677                       #ifdef HAVE_IEEEFP_H
57678                       #include <ieeefp.h>
57679                       #endif
57680
57681 int
57682 main ()
57683 {
57684  _isinf(0);
57685   ;
57686   return 0;
57687 }
57688 _ACEOF
57689 if ac_fn_cxx_try_compile "$LINENO"; then :
57690   glibcxx_cv_func__isinf_use=yes
57691 else
57692   glibcxx_cv_func__isinf_use=no
57693 fi
57694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57695       ac_ext=c
57696 ac_cpp='$CPP $CPPFLAGS'
57697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57700
57701
57702 fi
57703
57704   fi
57705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
57706 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
57707
57708     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
57709       for ac_func in _isinf
57710 do :
57711   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
57712 if test "x$ac_cv_func__isinf" = x""yes; then :
57713   cat >>confdefs.h <<_ACEOF
57714 #define HAVE__ISINF 1
57715 _ACEOF
57716
57717 fi
57718 done
57719
57720     fi
57721   fi
57722
57723
57724
57725
57726
57727   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
57728 $as_echo_n "checking for isnan declaration... " >&6; }
57729   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
57730     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
57731   $as_echo_n "(cached) " >&6
57732 else
57733
57734
57735       ac_ext=cpp
57736 ac_cpp='$CXXCPP $CPPFLAGS'
57737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57740
57741       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57742 /* end confdefs.h.  */
57743 #include <math.h>
57744                       #ifdef HAVE_IEEEFP_H
57745                       #include <ieeefp.h>
57746                       #endif
57747
57748 int
57749 main ()
57750 {
57751  isnan(0);
57752   ;
57753   return 0;
57754 }
57755 _ACEOF
57756 if ac_fn_cxx_try_compile "$LINENO"; then :
57757   glibcxx_cv_func_isnan_use=yes
57758 else
57759   glibcxx_cv_func_isnan_use=no
57760 fi
57761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57762       ac_ext=c
57763 ac_cpp='$CPP $CPPFLAGS'
57764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57767
57768
57769 fi
57770
57771   fi
57772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
57773 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
57774
57775   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
57776     for ac_func in isnan
57777 do :
57778   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
57779 if test "x$ac_cv_func_isnan" = x""yes; then :
57780   cat >>confdefs.h <<_ACEOF
57781 #define HAVE_ISNAN 1
57782 _ACEOF
57783
57784 fi
57785 done
57786
57787   else
57788
57789   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
57790 $as_echo_n "checking for _isnan declaration... " >&6; }
57791   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
57792     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
57793   $as_echo_n "(cached) " >&6
57794 else
57795
57796
57797       ac_ext=cpp
57798 ac_cpp='$CXXCPP $CPPFLAGS'
57799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57802
57803       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57804 /* end confdefs.h.  */
57805 #include <math.h>
57806                       #ifdef HAVE_IEEEFP_H
57807                       #include <ieeefp.h>
57808                       #endif
57809
57810 int
57811 main ()
57812 {
57813  _isnan(0);
57814   ;
57815   return 0;
57816 }
57817 _ACEOF
57818 if ac_fn_cxx_try_compile "$LINENO"; then :
57819   glibcxx_cv_func__isnan_use=yes
57820 else
57821   glibcxx_cv_func__isnan_use=no
57822 fi
57823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57824       ac_ext=c
57825 ac_cpp='$CPP $CPPFLAGS'
57826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57829
57830
57831 fi
57832
57833   fi
57834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
57835 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
57836
57837     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
57838       for ac_func in _isnan
57839 do :
57840   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
57841 if test "x$ac_cv_func__isnan" = x""yes; then :
57842   cat >>confdefs.h <<_ACEOF
57843 #define HAVE__ISNAN 1
57844 _ACEOF
57845
57846 fi
57847 done
57848
57849     fi
57850   fi
57851
57852
57853
57854
57855
57856   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
57857 $as_echo_n "checking for finite declaration... " >&6; }
57858   if test x${glibcxx_cv_func_finite_use+set} != xset; then
57859     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
57860   $as_echo_n "(cached) " >&6
57861 else
57862
57863
57864       ac_ext=cpp
57865 ac_cpp='$CXXCPP $CPPFLAGS'
57866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57869
57870       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57871 /* end confdefs.h.  */
57872 #include <math.h>
57873                       #ifdef HAVE_IEEEFP_H
57874                       #include <ieeefp.h>
57875                       #endif
57876
57877 int
57878 main ()
57879 {
57880  finite(0);
57881   ;
57882   return 0;
57883 }
57884 _ACEOF
57885 if ac_fn_cxx_try_compile "$LINENO"; then :
57886   glibcxx_cv_func_finite_use=yes
57887 else
57888   glibcxx_cv_func_finite_use=no
57889 fi
57890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57891       ac_ext=c
57892 ac_cpp='$CPP $CPPFLAGS'
57893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57896
57897
57898 fi
57899
57900   fi
57901   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
57902 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
57903
57904   if test x$glibcxx_cv_func_finite_use = x"yes"; then
57905     for ac_func in finite
57906 do :
57907   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
57908 if test "x$ac_cv_func_finite" = x""yes; then :
57909   cat >>confdefs.h <<_ACEOF
57910 #define HAVE_FINITE 1
57911 _ACEOF
57912
57913 fi
57914 done
57915
57916   else
57917
57918   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
57919 $as_echo_n "checking for _finite declaration... " >&6; }
57920   if test x${glibcxx_cv_func__finite_use+set} != xset; then
57921     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
57922   $as_echo_n "(cached) " >&6
57923 else
57924
57925
57926       ac_ext=cpp
57927 ac_cpp='$CXXCPP $CPPFLAGS'
57928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57931
57932       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57933 /* end confdefs.h.  */
57934 #include <math.h>
57935                       #ifdef HAVE_IEEEFP_H
57936                       #include <ieeefp.h>
57937                       #endif
57938
57939 int
57940 main ()
57941 {
57942  _finite(0);
57943   ;
57944   return 0;
57945 }
57946 _ACEOF
57947 if ac_fn_cxx_try_compile "$LINENO"; then :
57948   glibcxx_cv_func__finite_use=yes
57949 else
57950   glibcxx_cv_func__finite_use=no
57951 fi
57952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57953       ac_ext=c
57954 ac_cpp='$CPP $CPPFLAGS'
57955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57958
57959
57960 fi
57961
57962   fi
57963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
57964 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
57965
57966     if test x$glibcxx_cv_func__finite_use = x"yes"; then
57967       for ac_func in _finite
57968 do :
57969   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
57970 if test "x$ac_cv_func__finite" = x""yes; then :
57971   cat >>confdefs.h <<_ACEOF
57972 #define HAVE__FINITE 1
57973 _ACEOF
57974
57975 fi
57976 done
57977
57978     fi
57979   fi
57980
57981
57982
57983
57984
57985   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
57986 $as_echo_n "checking for sincos declaration... " >&6; }
57987   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
57988     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
57989   $as_echo_n "(cached) " >&6
57990 else
57991
57992
57993       ac_ext=cpp
57994 ac_cpp='$CXXCPP $CPPFLAGS'
57995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57998
57999       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58000 /* end confdefs.h.  */
58001 #include <math.h>
58002 int
58003 main ()
58004 {
58005  sincos(0, 0, 0);
58006   ;
58007   return 0;
58008 }
58009 _ACEOF
58010 if ac_fn_cxx_try_compile "$LINENO"; then :
58011   glibcxx_cv_func_sincos_use=yes
58012 else
58013   glibcxx_cv_func_sincos_use=no
58014 fi
58015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58016       ac_ext=c
58017 ac_cpp='$CPP $CPPFLAGS'
58018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58021
58022
58023 fi
58024
58025   fi
58026   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
58027 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
58028
58029   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
58030     for ac_func in sincos
58031 do :
58032   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
58033 if test "x$ac_cv_func_sincos" = x""yes; then :
58034   cat >>confdefs.h <<_ACEOF
58035 #define HAVE_SINCOS 1
58036 _ACEOF
58037
58038 fi
58039 done
58040
58041   else
58042
58043   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
58044 $as_echo_n "checking for _sincos declaration... " >&6; }
58045   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
58046     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
58047   $as_echo_n "(cached) " >&6
58048 else
58049
58050
58051       ac_ext=cpp
58052 ac_cpp='$CXXCPP $CPPFLAGS'
58053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58056
58057       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58058 /* end confdefs.h.  */
58059 #include <math.h>
58060 int
58061 main ()
58062 {
58063  _sincos(0, 0, 0);
58064   ;
58065   return 0;
58066 }
58067 _ACEOF
58068 if ac_fn_cxx_try_compile "$LINENO"; then :
58069   glibcxx_cv_func__sincos_use=yes
58070 else
58071   glibcxx_cv_func__sincos_use=no
58072 fi
58073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58074       ac_ext=c
58075 ac_cpp='$CPP $CPPFLAGS'
58076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58079
58080
58081 fi
58082
58083   fi
58084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
58085 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
58086
58087     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
58088       for ac_func in _sincos
58089 do :
58090   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
58091 if test "x$ac_cv_func__sincos" = x""yes; then :
58092   cat >>confdefs.h <<_ACEOF
58093 #define HAVE__SINCOS 1
58094 _ACEOF
58095
58096 fi
58097 done
58098
58099     fi
58100   fi
58101
58102
58103
58104
58105
58106   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
58107 $as_echo_n "checking for fpclass declaration... " >&6; }
58108   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
58109     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
58110   $as_echo_n "(cached) " >&6
58111 else
58112
58113
58114       ac_ext=cpp
58115 ac_cpp='$CXXCPP $CPPFLAGS'
58116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58119
58120       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58121 /* end confdefs.h.  */
58122 #include <math.h>
58123                       #ifdef HAVE_IEEEFP_H
58124                       #include <ieeefp.h>
58125                       #endif
58126
58127 int
58128 main ()
58129 {
58130  fpclass(0);
58131   ;
58132   return 0;
58133 }
58134 _ACEOF
58135 if ac_fn_cxx_try_compile "$LINENO"; then :
58136   glibcxx_cv_func_fpclass_use=yes
58137 else
58138   glibcxx_cv_func_fpclass_use=no
58139 fi
58140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58141       ac_ext=c
58142 ac_cpp='$CPP $CPPFLAGS'
58143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58146
58147
58148 fi
58149
58150   fi
58151   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
58152 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
58153
58154   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
58155     for ac_func in fpclass
58156 do :
58157   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
58158 if test "x$ac_cv_func_fpclass" = x""yes; then :
58159   cat >>confdefs.h <<_ACEOF
58160 #define HAVE_FPCLASS 1
58161 _ACEOF
58162
58163 fi
58164 done
58165
58166   else
58167
58168   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
58169 $as_echo_n "checking for _fpclass declaration... " >&6; }
58170   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
58171     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
58172   $as_echo_n "(cached) " >&6
58173 else
58174
58175
58176       ac_ext=cpp
58177 ac_cpp='$CXXCPP $CPPFLAGS'
58178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58181
58182       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58183 /* end confdefs.h.  */
58184 #include <math.h>
58185                       #ifdef HAVE_IEEEFP_H
58186                       #include <ieeefp.h>
58187                       #endif
58188
58189 int
58190 main ()
58191 {
58192  _fpclass(0);
58193   ;
58194   return 0;
58195 }
58196 _ACEOF
58197 if ac_fn_cxx_try_compile "$LINENO"; then :
58198   glibcxx_cv_func__fpclass_use=yes
58199 else
58200   glibcxx_cv_func__fpclass_use=no
58201 fi
58202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58203       ac_ext=c
58204 ac_cpp='$CPP $CPPFLAGS'
58205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58208
58209
58210 fi
58211
58212   fi
58213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
58214 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
58215
58216     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
58217       for ac_func in _fpclass
58218 do :
58219   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
58220 if test "x$ac_cv_func__fpclass" = x""yes; then :
58221   cat >>confdefs.h <<_ACEOF
58222 #define HAVE__FPCLASS 1
58223 _ACEOF
58224
58225 fi
58226 done
58227
58228     fi
58229   fi
58230
58231
58232
58233
58234
58235   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
58236 $as_echo_n "checking for qfpclass declaration... " >&6; }
58237   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
58238     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
58239   $as_echo_n "(cached) " >&6
58240 else
58241
58242
58243       ac_ext=cpp
58244 ac_cpp='$CXXCPP $CPPFLAGS'
58245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58248
58249       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58250 /* end confdefs.h.  */
58251 #include <math.h>
58252                       #ifdef HAVE_IEEEFP_H
58253                       #include <ieeefp.h>
58254                       #endif
58255
58256 int
58257 main ()
58258 {
58259  qfpclass(0);
58260   ;
58261   return 0;
58262 }
58263 _ACEOF
58264 if ac_fn_cxx_try_compile "$LINENO"; then :
58265   glibcxx_cv_func_qfpclass_use=yes
58266 else
58267   glibcxx_cv_func_qfpclass_use=no
58268 fi
58269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58270       ac_ext=c
58271 ac_cpp='$CPP $CPPFLAGS'
58272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58275
58276
58277 fi
58278
58279   fi
58280   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
58281 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
58282
58283   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
58284     for ac_func in qfpclass
58285 do :
58286   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
58287 if test "x$ac_cv_func_qfpclass" = x""yes; then :
58288   cat >>confdefs.h <<_ACEOF
58289 #define HAVE_QFPCLASS 1
58290 _ACEOF
58291
58292 fi
58293 done
58294
58295   else
58296
58297   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
58298 $as_echo_n "checking for _qfpclass declaration... " >&6; }
58299   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
58300     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
58301   $as_echo_n "(cached) " >&6
58302 else
58303
58304
58305       ac_ext=cpp
58306 ac_cpp='$CXXCPP $CPPFLAGS'
58307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58310
58311       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58312 /* end confdefs.h.  */
58313 #include <math.h>
58314                       #ifdef HAVE_IEEEFP_H
58315                       #include <ieeefp.h>
58316                       #endif
58317
58318 int
58319 main ()
58320 {
58321  _qfpclass(0);
58322   ;
58323   return 0;
58324 }
58325 _ACEOF
58326 if ac_fn_cxx_try_compile "$LINENO"; then :
58327   glibcxx_cv_func__qfpclass_use=yes
58328 else
58329   glibcxx_cv_func__qfpclass_use=no
58330 fi
58331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58332       ac_ext=c
58333 ac_cpp='$CPP $CPPFLAGS'
58334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58337
58338
58339 fi
58340
58341   fi
58342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
58343 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
58344
58345     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
58346       for ac_func in _qfpclass
58347 do :
58348   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
58349 if test "x$ac_cv_func__qfpclass" = x""yes; then :
58350   cat >>confdefs.h <<_ACEOF
58351 #define HAVE__QFPCLASS 1
58352 _ACEOF
58353
58354 fi
58355 done
58356
58357     fi
58358   fi
58359
58360
58361
58362
58363
58364   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
58365 $as_echo_n "checking for hypot declaration... " >&6; }
58366   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
58367     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
58368   $as_echo_n "(cached) " >&6
58369 else
58370
58371
58372       ac_ext=cpp
58373 ac_cpp='$CXXCPP $CPPFLAGS'
58374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58377
58378       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58379 /* end confdefs.h.  */
58380 #include <math.h>
58381 int
58382 main ()
58383 {
58384  hypot(0, 0);
58385   ;
58386   return 0;
58387 }
58388 _ACEOF
58389 if ac_fn_cxx_try_compile "$LINENO"; then :
58390   glibcxx_cv_func_hypot_use=yes
58391 else
58392   glibcxx_cv_func_hypot_use=no
58393 fi
58394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58395       ac_ext=c
58396 ac_cpp='$CPP $CPPFLAGS'
58397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58400
58401
58402 fi
58403
58404   fi
58405   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
58406 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
58407
58408   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
58409     for ac_func in hypot
58410 do :
58411   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
58412 if test "x$ac_cv_func_hypot" = x""yes; then :
58413   cat >>confdefs.h <<_ACEOF
58414 #define HAVE_HYPOT 1
58415 _ACEOF
58416
58417 fi
58418 done
58419
58420   else
58421
58422   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
58423 $as_echo_n "checking for _hypot declaration... " >&6; }
58424   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
58425     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
58426   $as_echo_n "(cached) " >&6
58427 else
58428
58429
58430       ac_ext=cpp
58431 ac_cpp='$CXXCPP $CPPFLAGS'
58432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58435
58436       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58437 /* end confdefs.h.  */
58438 #include <math.h>
58439 int
58440 main ()
58441 {
58442  _hypot(0, 0);
58443   ;
58444   return 0;
58445 }
58446 _ACEOF
58447 if ac_fn_cxx_try_compile "$LINENO"; then :
58448   glibcxx_cv_func__hypot_use=yes
58449 else
58450   glibcxx_cv_func__hypot_use=no
58451 fi
58452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58453       ac_ext=c
58454 ac_cpp='$CPP $CPPFLAGS'
58455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58458
58459
58460 fi
58461
58462   fi
58463   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
58464 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
58465
58466     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
58467       for ac_func in _hypot
58468 do :
58469   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
58470 if test "x$ac_cv_func__hypot" = x""yes; then :
58471   cat >>confdefs.h <<_ACEOF
58472 #define HAVE__HYPOT 1
58473 _ACEOF
58474
58475 fi
58476 done
58477
58478     fi
58479   fi
58480
58481
58482
58483
58484
58485     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
58486 $as_echo_n "checking for float trig functions... " >&6; }
58487   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
58488   $as_echo_n "(cached) " >&6
58489 else
58490
58491
58492     ac_ext=cpp
58493 ac_cpp='$CXXCPP $CPPFLAGS'
58494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58497
58498     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58499 /* end confdefs.h.  */
58500 #include <math.h>
58501 int
58502 main ()
58503 {
58504 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
58505   ;
58506   return 0;
58507 }
58508 _ACEOF
58509 if ac_fn_cxx_try_compile "$LINENO"; then :
58510   glibcxx_cv_func_float_trig_use=yes
58511 else
58512   glibcxx_cv_func_float_trig_use=no
58513 fi
58514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58515     ac_ext=c
58516 ac_cpp='$CPP $CPPFLAGS'
58517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58520
58521 fi
58522
58523   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
58524 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
58525   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
58526     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
58527 do :
58528   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58529 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58530 eval as_val=\$$as_ac_var
58531    if test "x$as_val" = x""yes; then :
58532   cat >>confdefs.h <<_ACEOF
58533 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58534 _ACEOF
58535
58536 fi
58537 done
58538
58539   else
58540     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
58541 $as_echo_n "checking for _float trig functions... " >&6; }
58542     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
58543   $as_echo_n "(cached) " >&6
58544 else
58545
58546
58547       ac_ext=cpp
58548 ac_cpp='$CXXCPP $CPPFLAGS'
58549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58552
58553       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58554 /* end confdefs.h.  */
58555 #include <math.h>
58556 int
58557 main ()
58558 {
58559 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
58560   ;
58561   return 0;
58562 }
58563 _ACEOF
58564 if ac_fn_cxx_try_compile "$LINENO"; then :
58565   glibcxx_cv_func__float_trig_use=yes
58566 else
58567   glibcxx_cv_func__float_trig_use=no
58568 fi
58569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58570       ac_ext=c
58571 ac_cpp='$CPP $CPPFLAGS'
58572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58575
58576 fi
58577
58578     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
58579 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
58580     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
58581       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
58582 do :
58583   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58584 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58585 eval as_val=\$$as_ac_var
58586    if test "x$as_val" = x""yes; then :
58587   cat >>confdefs.h <<_ACEOF
58588 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58589 _ACEOF
58590
58591 fi
58592 done
58593
58594     fi
58595   fi
58596
58597
58598
58599
58600
58601     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
58602 $as_echo_n "checking for float round functions... " >&6; }
58603   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
58604   $as_echo_n "(cached) " >&6
58605 else
58606
58607
58608     ac_ext=cpp
58609 ac_cpp='$CXXCPP $CPPFLAGS'
58610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58613
58614     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58615 /* end confdefs.h.  */
58616 #include <math.h>
58617 int
58618 main ()
58619 {
58620 ceilf (0); floorf (0);
58621   ;
58622   return 0;
58623 }
58624 _ACEOF
58625 if ac_fn_cxx_try_compile "$LINENO"; then :
58626   glibcxx_cv_func_float_round_use=yes
58627 else
58628   glibcxx_cv_func_float_round_use=no
58629 fi
58630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58631     ac_ext=c
58632 ac_cpp='$CPP $CPPFLAGS'
58633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58636
58637 fi
58638
58639   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
58640 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
58641   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
58642     for ac_func in ceilf floorf
58643 do :
58644   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58645 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58646 eval as_val=\$$as_ac_var
58647    if test "x$as_val" = x""yes; then :
58648   cat >>confdefs.h <<_ACEOF
58649 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58650 _ACEOF
58651
58652 fi
58653 done
58654
58655   else
58656     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
58657 $as_echo_n "checking for _float round functions... " >&6; }
58658     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
58659   $as_echo_n "(cached) " >&6
58660 else
58661
58662
58663       ac_ext=cpp
58664 ac_cpp='$CXXCPP $CPPFLAGS'
58665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58668
58669       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58670 /* end confdefs.h.  */
58671 #include <math.h>
58672 int
58673 main ()
58674 {
58675 _ceilf (0); _floorf (0);
58676   ;
58677   return 0;
58678 }
58679 _ACEOF
58680 if ac_fn_cxx_try_compile "$LINENO"; then :
58681   glibcxx_cv_func__float_round_use=yes
58682 else
58683   glibcxx_cv_func__float_round_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 fi
58693
58694     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
58695 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
58696     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
58697       for ac_func in _ceilf _floorf
58698 do :
58699   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58700 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58701 eval as_val=\$$as_ac_var
58702    if test "x$as_val" = x""yes; then :
58703   cat >>confdefs.h <<_ACEOF
58704 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58705 _ACEOF
58706
58707 fi
58708 done
58709
58710     fi
58711   fi
58712
58713
58714
58715
58716
58717
58718   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
58719 $as_echo_n "checking for expf declaration... " >&6; }
58720   if test x${glibcxx_cv_func_expf_use+set} != xset; then
58721     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
58722   $as_echo_n "(cached) " >&6
58723 else
58724
58725
58726       ac_ext=cpp
58727 ac_cpp='$CXXCPP $CPPFLAGS'
58728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58731
58732       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58733 /* end confdefs.h.  */
58734 #include <math.h>
58735                       #ifdef HAVE_IEEEFP_H
58736                       #include <ieeefp.h>
58737                       #endif
58738
58739 int
58740 main ()
58741 {
58742  expf(0);
58743   ;
58744   return 0;
58745 }
58746 _ACEOF
58747 if ac_fn_cxx_try_compile "$LINENO"; then :
58748   glibcxx_cv_func_expf_use=yes
58749 else
58750   glibcxx_cv_func_expf_use=no
58751 fi
58752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58753       ac_ext=c
58754 ac_cpp='$CPP $CPPFLAGS'
58755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58758
58759
58760 fi
58761
58762   fi
58763   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
58764 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
58765
58766   if test x$glibcxx_cv_func_expf_use = x"yes"; then
58767     for ac_func in expf
58768 do :
58769   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
58770 if test "x$ac_cv_func_expf" = x""yes; then :
58771   cat >>confdefs.h <<_ACEOF
58772 #define HAVE_EXPF 1
58773 _ACEOF
58774
58775 fi
58776 done
58777
58778   else
58779
58780   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
58781 $as_echo_n "checking for _expf declaration... " >&6; }
58782   if test x${glibcxx_cv_func__expf_use+set} != xset; then
58783     if test "${glibcxx_cv_func__expf_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  _expf(0);
58805   ;
58806   return 0;
58807 }
58808 _ACEOF
58809 if ac_fn_cxx_try_compile "$LINENO"; then :
58810   glibcxx_cv_func__expf_use=yes
58811 else
58812   glibcxx_cv_func__expf_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__expf_use" >&5
58826 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
58827
58828     if test x$glibcxx_cv_func__expf_use = x"yes"; then
58829       for ac_func in _expf
58830 do :
58831   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
58832 if test "x$ac_cv_func__expf" = x""yes; then :
58833   cat >>confdefs.h <<_ACEOF
58834 #define HAVE__EXPF 1
58835 _ACEOF
58836
58837 fi
58838 done
58839
58840     fi
58841   fi
58842
58843
58844
58845
58846
58847   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
58848 $as_echo_n "checking for isnanf declaration... " >&6; }
58849   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
58850     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
58851   $as_echo_n "(cached) " >&6
58852 else
58853
58854
58855       ac_ext=cpp
58856 ac_cpp='$CXXCPP $CPPFLAGS'
58857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58860
58861       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58862 /* end confdefs.h.  */
58863 #include <math.h>
58864                       #ifdef HAVE_IEEEFP_H
58865                       #include <ieeefp.h>
58866                       #endif
58867
58868 int
58869 main ()
58870 {
58871  isnanf(0);
58872   ;
58873   return 0;
58874 }
58875 _ACEOF
58876 if ac_fn_cxx_try_compile "$LINENO"; then :
58877   glibcxx_cv_func_isnanf_use=yes
58878 else
58879   glibcxx_cv_func_isnanf_use=no
58880 fi
58881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58882       ac_ext=c
58883 ac_cpp='$CPP $CPPFLAGS'
58884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58887
58888
58889 fi
58890
58891   fi
58892   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
58893 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
58894
58895   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
58896     for ac_func in isnanf
58897 do :
58898   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
58899 if test "x$ac_cv_func_isnanf" = x""yes; then :
58900   cat >>confdefs.h <<_ACEOF
58901 #define HAVE_ISNANF 1
58902 _ACEOF
58903
58904 fi
58905 done
58906
58907   else
58908
58909   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
58910 $as_echo_n "checking for _isnanf declaration... " >&6; }
58911   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
58912     if test "${glibcxx_cv_func__isnanf_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                       #ifdef HAVE_IEEEFP_H
58927                       #include <ieeefp.h>
58928                       #endif
58929
58930 int
58931 main ()
58932 {
58933  _isnanf(0);
58934   ;
58935   return 0;
58936 }
58937 _ACEOF
58938 if ac_fn_cxx_try_compile "$LINENO"; then :
58939   glibcxx_cv_func__isnanf_use=yes
58940 else
58941   glibcxx_cv_func__isnanf_use=no
58942 fi
58943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58944       ac_ext=c
58945 ac_cpp='$CPP $CPPFLAGS'
58946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58949
58950
58951 fi
58952
58953   fi
58954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
58955 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
58956
58957     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
58958       for ac_func in _isnanf
58959 do :
58960   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
58961 if test "x$ac_cv_func__isnanf" = x""yes; then :
58962   cat >>confdefs.h <<_ACEOF
58963 #define HAVE__ISNANF 1
58964 _ACEOF
58965
58966 fi
58967 done
58968
58969     fi
58970   fi
58971
58972
58973
58974
58975
58976   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
58977 $as_echo_n "checking for isinff declaration... " >&6; }
58978   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
58979     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
58980   $as_echo_n "(cached) " >&6
58981 else
58982
58983
58984       ac_ext=cpp
58985 ac_cpp='$CXXCPP $CPPFLAGS'
58986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58989
58990       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58991 /* end confdefs.h.  */
58992 #include <math.h>
58993                       #ifdef HAVE_IEEEFP_H
58994                       #include <ieeefp.h>
58995                       #endif
58996
58997 int
58998 main ()
58999 {
59000  isinff(0);
59001   ;
59002   return 0;
59003 }
59004 _ACEOF
59005 if ac_fn_cxx_try_compile "$LINENO"; then :
59006   glibcxx_cv_func_isinff_use=yes
59007 else
59008   glibcxx_cv_func_isinff_use=no
59009 fi
59010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59011       ac_ext=c
59012 ac_cpp='$CPP $CPPFLAGS'
59013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59016
59017
59018 fi
59019
59020   fi
59021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
59022 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
59023
59024   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
59025     for ac_func in isinff
59026 do :
59027   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
59028 if test "x$ac_cv_func_isinff" = x""yes; then :
59029   cat >>confdefs.h <<_ACEOF
59030 #define HAVE_ISINFF 1
59031 _ACEOF
59032
59033 fi
59034 done
59035
59036   else
59037
59038   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
59039 $as_echo_n "checking for _isinff declaration... " >&6; }
59040   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
59041     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
59042   $as_echo_n "(cached) " >&6
59043 else
59044
59045
59046       ac_ext=cpp
59047 ac_cpp='$CXXCPP $CPPFLAGS'
59048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59051
59052       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59053 /* end confdefs.h.  */
59054 #include <math.h>
59055                       #ifdef HAVE_IEEEFP_H
59056                       #include <ieeefp.h>
59057                       #endif
59058
59059 int
59060 main ()
59061 {
59062  _isinff(0);
59063   ;
59064   return 0;
59065 }
59066 _ACEOF
59067 if ac_fn_cxx_try_compile "$LINENO"; then :
59068   glibcxx_cv_func__isinff_use=yes
59069 else
59070   glibcxx_cv_func__isinff_use=no
59071 fi
59072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59073       ac_ext=c
59074 ac_cpp='$CPP $CPPFLAGS'
59075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59078
59079
59080 fi
59081
59082   fi
59083   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
59084 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
59085
59086     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
59087       for ac_func in _isinff
59088 do :
59089   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
59090 if test "x$ac_cv_func__isinff" = x""yes; then :
59091   cat >>confdefs.h <<_ACEOF
59092 #define HAVE__ISINFF 1
59093 _ACEOF
59094
59095 fi
59096 done
59097
59098     fi
59099   fi
59100
59101
59102
59103
59104
59105   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
59106 $as_echo_n "checking for atan2f declaration... " >&6; }
59107   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
59108     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
59109   $as_echo_n "(cached) " >&6
59110 else
59111
59112
59113       ac_ext=cpp
59114 ac_cpp='$CXXCPP $CPPFLAGS'
59115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59118
59119       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59120 /* end confdefs.h.  */
59121 #include <math.h>
59122 int
59123 main ()
59124 {
59125  atan2f(0, 0);
59126   ;
59127   return 0;
59128 }
59129 _ACEOF
59130 if ac_fn_cxx_try_compile "$LINENO"; then :
59131   glibcxx_cv_func_atan2f_use=yes
59132 else
59133   glibcxx_cv_func_atan2f_use=no
59134 fi
59135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59136       ac_ext=c
59137 ac_cpp='$CPP $CPPFLAGS'
59138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59141
59142
59143 fi
59144
59145   fi
59146   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
59147 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
59148
59149   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
59150     for ac_func in atan2f
59151 do :
59152   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
59153 if test "x$ac_cv_func_atan2f" = x""yes; then :
59154   cat >>confdefs.h <<_ACEOF
59155 #define HAVE_ATAN2F 1
59156 _ACEOF
59157
59158 fi
59159 done
59160
59161   else
59162
59163   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
59164 $as_echo_n "checking for _atan2f declaration... " >&6; }
59165   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
59166     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
59167   $as_echo_n "(cached) " >&6
59168 else
59169
59170
59171       ac_ext=cpp
59172 ac_cpp='$CXXCPP $CPPFLAGS'
59173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59176
59177       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59178 /* end confdefs.h.  */
59179 #include <math.h>
59180 int
59181 main ()
59182 {
59183  _atan2f(0, 0);
59184   ;
59185   return 0;
59186 }
59187 _ACEOF
59188 if ac_fn_cxx_try_compile "$LINENO"; then :
59189   glibcxx_cv_func__atan2f_use=yes
59190 else
59191   glibcxx_cv_func__atan2f_use=no
59192 fi
59193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59194       ac_ext=c
59195 ac_cpp='$CPP $CPPFLAGS'
59196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59199
59200
59201 fi
59202
59203   fi
59204   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
59205 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
59206
59207     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
59208       for ac_func in _atan2f
59209 do :
59210   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
59211 if test "x$ac_cv_func__atan2f" = x""yes; then :
59212   cat >>confdefs.h <<_ACEOF
59213 #define HAVE__ATAN2F 1
59214 _ACEOF
59215
59216 fi
59217 done
59218
59219     fi
59220   fi
59221
59222
59223
59224
59225
59226   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
59227 $as_echo_n "checking for fabsf declaration... " >&6; }
59228   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
59229     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
59230   $as_echo_n "(cached) " >&6
59231 else
59232
59233
59234       ac_ext=cpp
59235 ac_cpp='$CXXCPP $CPPFLAGS'
59236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59239
59240       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59241 /* end confdefs.h.  */
59242 #include <math.h>
59243                       #ifdef HAVE_IEEEFP_H
59244                       #include <ieeefp.h>
59245                       #endif
59246
59247 int
59248 main ()
59249 {
59250  fabsf(0);
59251   ;
59252   return 0;
59253 }
59254 _ACEOF
59255 if ac_fn_cxx_try_compile "$LINENO"; then :
59256   glibcxx_cv_func_fabsf_use=yes
59257 else
59258   glibcxx_cv_func_fabsf_use=no
59259 fi
59260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59261       ac_ext=c
59262 ac_cpp='$CPP $CPPFLAGS'
59263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59266
59267
59268 fi
59269
59270   fi
59271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
59272 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
59273
59274   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
59275     for ac_func in fabsf
59276 do :
59277   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
59278 if test "x$ac_cv_func_fabsf" = x""yes; then :
59279   cat >>confdefs.h <<_ACEOF
59280 #define HAVE_FABSF 1
59281 _ACEOF
59282
59283 fi
59284 done
59285
59286   else
59287
59288   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
59289 $as_echo_n "checking for _fabsf declaration... " >&6; }
59290   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
59291     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
59292   $as_echo_n "(cached) " >&6
59293 else
59294
59295
59296       ac_ext=cpp
59297 ac_cpp='$CXXCPP $CPPFLAGS'
59298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59301
59302       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59303 /* end confdefs.h.  */
59304 #include <math.h>
59305                       #ifdef HAVE_IEEEFP_H
59306                       #include <ieeefp.h>
59307                       #endif
59308
59309 int
59310 main ()
59311 {
59312  _fabsf(0);
59313   ;
59314   return 0;
59315 }
59316 _ACEOF
59317 if ac_fn_cxx_try_compile "$LINENO"; then :
59318   glibcxx_cv_func__fabsf_use=yes
59319 else
59320   glibcxx_cv_func__fabsf_use=no
59321 fi
59322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59323       ac_ext=c
59324 ac_cpp='$CPP $CPPFLAGS'
59325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59328
59329
59330 fi
59331
59332   fi
59333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
59334 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
59335
59336     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
59337       for ac_func in _fabsf
59338 do :
59339   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
59340 if test "x$ac_cv_func__fabsf" = x""yes; then :
59341   cat >>confdefs.h <<_ACEOF
59342 #define HAVE__FABSF 1
59343 _ACEOF
59344
59345 fi
59346 done
59347
59348     fi
59349   fi
59350
59351
59352
59353
59354
59355   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
59356 $as_echo_n "checking for fmodf declaration... " >&6; }
59357   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
59358     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
59359   $as_echo_n "(cached) " >&6
59360 else
59361
59362
59363       ac_ext=cpp
59364 ac_cpp='$CXXCPP $CPPFLAGS'
59365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59368
59369       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59370 /* end confdefs.h.  */
59371 #include <math.h>
59372 int
59373 main ()
59374 {
59375  fmodf(0, 0);
59376   ;
59377   return 0;
59378 }
59379 _ACEOF
59380 if ac_fn_cxx_try_compile "$LINENO"; then :
59381   glibcxx_cv_func_fmodf_use=yes
59382 else
59383   glibcxx_cv_func_fmodf_use=no
59384 fi
59385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59386       ac_ext=c
59387 ac_cpp='$CPP $CPPFLAGS'
59388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59391
59392
59393 fi
59394
59395   fi
59396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
59397 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
59398
59399   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
59400     for ac_func in fmodf
59401 do :
59402   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
59403 if test "x$ac_cv_func_fmodf" = x""yes; then :
59404   cat >>confdefs.h <<_ACEOF
59405 #define HAVE_FMODF 1
59406 _ACEOF
59407
59408 fi
59409 done
59410
59411   else
59412
59413   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
59414 $as_echo_n "checking for _fmodf declaration... " >&6; }
59415   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59416     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
59417   $as_echo_n "(cached) " >&6
59418 else
59419
59420
59421       ac_ext=cpp
59422 ac_cpp='$CXXCPP $CPPFLAGS'
59423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59426
59427       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59428 /* end confdefs.h.  */
59429 #include <math.h>
59430 int
59431 main ()
59432 {
59433  _fmodf(0, 0);
59434   ;
59435   return 0;
59436 }
59437 _ACEOF
59438 if ac_fn_cxx_try_compile "$LINENO"; then :
59439   glibcxx_cv_func__fmodf_use=yes
59440 else
59441   glibcxx_cv_func__fmodf_use=no
59442 fi
59443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59444       ac_ext=c
59445 ac_cpp='$CPP $CPPFLAGS'
59446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59449
59450
59451 fi
59452
59453   fi
59454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
59455 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
59456
59457     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59458       for ac_func in _fmodf
59459 do :
59460   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
59461 if test "x$ac_cv_func__fmodf" = x""yes; then :
59462   cat >>confdefs.h <<_ACEOF
59463 #define HAVE__FMODF 1
59464 _ACEOF
59465
59466 fi
59467 done
59468
59469     fi
59470   fi
59471
59472
59473
59474
59475
59476   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
59477 $as_echo_n "checking for frexpf declaration... " >&6; }
59478   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59479     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
59480   $as_echo_n "(cached) " >&6
59481 else
59482
59483
59484       ac_ext=cpp
59485 ac_cpp='$CXXCPP $CPPFLAGS'
59486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59489
59490       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59491 /* end confdefs.h.  */
59492 #include <math.h>
59493 int
59494 main ()
59495 {
59496  frexpf(0, 0);
59497   ;
59498   return 0;
59499 }
59500 _ACEOF
59501 if ac_fn_cxx_try_compile "$LINENO"; then :
59502   glibcxx_cv_func_frexpf_use=yes
59503 else
59504   glibcxx_cv_func_frexpf_use=no
59505 fi
59506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59507       ac_ext=c
59508 ac_cpp='$CPP $CPPFLAGS'
59509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59512
59513
59514 fi
59515
59516   fi
59517   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
59518 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
59519
59520   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
59521     for ac_func in frexpf
59522 do :
59523   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
59524 if test "x$ac_cv_func_frexpf" = x""yes; then :
59525   cat >>confdefs.h <<_ACEOF
59526 #define HAVE_FREXPF 1
59527 _ACEOF
59528
59529 fi
59530 done
59531
59532   else
59533
59534   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
59535 $as_echo_n "checking for _frexpf declaration... " >&6; }
59536   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
59537     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
59538   $as_echo_n "(cached) " >&6
59539 else
59540
59541
59542       ac_ext=cpp
59543 ac_cpp='$CXXCPP $CPPFLAGS'
59544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59547
59548       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59549 /* end confdefs.h.  */
59550 #include <math.h>
59551 int
59552 main ()
59553 {
59554  _frexpf(0, 0);
59555   ;
59556   return 0;
59557 }
59558 _ACEOF
59559 if ac_fn_cxx_try_compile "$LINENO"; then :
59560   glibcxx_cv_func__frexpf_use=yes
59561 else
59562   glibcxx_cv_func__frexpf_use=no
59563 fi
59564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59565       ac_ext=c
59566 ac_cpp='$CPP $CPPFLAGS'
59567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59570
59571
59572 fi
59573
59574   fi
59575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
59576 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
59577
59578     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
59579       for ac_func in _frexpf
59580 do :
59581   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
59582 if test "x$ac_cv_func__frexpf" = x""yes; then :
59583   cat >>confdefs.h <<_ACEOF
59584 #define HAVE__FREXPF 1
59585 _ACEOF
59586
59587 fi
59588 done
59589
59590     fi
59591   fi
59592
59593
59594
59595
59596
59597   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
59598 $as_echo_n "checking for hypotf declaration... " >&6; }
59599   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
59600     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
59601   $as_echo_n "(cached) " >&6
59602 else
59603
59604
59605       ac_ext=cpp
59606 ac_cpp='$CXXCPP $CPPFLAGS'
59607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59610
59611       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59612 /* end confdefs.h.  */
59613 #include <math.h>
59614 int
59615 main ()
59616 {
59617  hypotf(0, 0);
59618   ;
59619   return 0;
59620 }
59621 _ACEOF
59622 if ac_fn_cxx_try_compile "$LINENO"; then :
59623   glibcxx_cv_func_hypotf_use=yes
59624 else
59625   glibcxx_cv_func_hypotf_use=no
59626 fi
59627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59628       ac_ext=c
59629 ac_cpp='$CPP $CPPFLAGS'
59630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59633
59634
59635 fi
59636
59637   fi
59638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
59639 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
59640
59641   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
59642     for ac_func in hypotf
59643 do :
59644   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
59645 if test "x$ac_cv_func_hypotf" = x""yes; then :
59646   cat >>confdefs.h <<_ACEOF
59647 #define HAVE_HYPOTF 1
59648 _ACEOF
59649
59650 fi
59651 done
59652
59653   else
59654
59655   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
59656 $as_echo_n "checking for _hypotf declaration... " >&6; }
59657   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
59658     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
59659   $as_echo_n "(cached) " >&6
59660 else
59661
59662
59663       ac_ext=cpp
59664 ac_cpp='$CXXCPP $CPPFLAGS'
59665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59668
59669       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59670 /* end confdefs.h.  */
59671 #include <math.h>
59672 int
59673 main ()
59674 {
59675  _hypotf(0, 0);
59676   ;
59677   return 0;
59678 }
59679 _ACEOF
59680 if ac_fn_cxx_try_compile "$LINENO"; then :
59681   glibcxx_cv_func__hypotf_use=yes
59682 else
59683   glibcxx_cv_func__hypotf_use=no
59684 fi
59685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59686       ac_ext=c
59687 ac_cpp='$CPP $CPPFLAGS'
59688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59691
59692
59693 fi
59694
59695   fi
59696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
59697 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
59698
59699     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
59700       for ac_func in _hypotf
59701 do :
59702   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
59703 if test "x$ac_cv_func__hypotf" = x""yes; then :
59704   cat >>confdefs.h <<_ACEOF
59705 #define HAVE__HYPOTF 1
59706 _ACEOF
59707
59708 fi
59709 done
59710
59711     fi
59712   fi
59713
59714
59715
59716
59717
59718   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
59719 $as_echo_n "checking for ldexpf declaration... " >&6; }
59720   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
59721     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
59722   $as_echo_n "(cached) " >&6
59723 else
59724
59725
59726       ac_ext=cpp
59727 ac_cpp='$CXXCPP $CPPFLAGS'
59728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59731
59732       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59733 /* end confdefs.h.  */
59734 #include <math.h>
59735 int
59736 main ()
59737 {
59738  ldexpf(0, 0);
59739   ;
59740   return 0;
59741 }
59742 _ACEOF
59743 if ac_fn_cxx_try_compile "$LINENO"; then :
59744   glibcxx_cv_func_ldexpf_use=yes
59745 else
59746   glibcxx_cv_func_ldexpf_use=no
59747 fi
59748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59749       ac_ext=c
59750 ac_cpp='$CPP $CPPFLAGS'
59751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59754
59755
59756 fi
59757
59758   fi
59759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
59760 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
59761
59762   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
59763     for ac_func in ldexpf
59764 do :
59765   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
59766 if test "x$ac_cv_func_ldexpf" = x""yes; then :
59767   cat >>confdefs.h <<_ACEOF
59768 #define HAVE_LDEXPF 1
59769 _ACEOF
59770
59771 fi
59772 done
59773
59774   else
59775
59776   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
59777 $as_echo_n "checking for _ldexpf declaration... " >&6; }
59778   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
59779     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
59780   $as_echo_n "(cached) " >&6
59781 else
59782
59783
59784       ac_ext=cpp
59785 ac_cpp='$CXXCPP $CPPFLAGS'
59786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59789
59790       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59791 /* end confdefs.h.  */
59792 #include <math.h>
59793 int
59794 main ()
59795 {
59796  _ldexpf(0, 0);
59797   ;
59798   return 0;
59799 }
59800 _ACEOF
59801 if ac_fn_cxx_try_compile "$LINENO"; then :
59802   glibcxx_cv_func__ldexpf_use=yes
59803 else
59804   glibcxx_cv_func__ldexpf_use=no
59805 fi
59806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59807       ac_ext=c
59808 ac_cpp='$CPP $CPPFLAGS'
59809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59812
59813
59814 fi
59815
59816   fi
59817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
59818 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
59819
59820     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
59821       for ac_func in _ldexpf
59822 do :
59823   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
59824 if test "x$ac_cv_func__ldexpf" = x""yes; then :
59825   cat >>confdefs.h <<_ACEOF
59826 #define HAVE__LDEXPF 1
59827 _ACEOF
59828
59829 fi
59830 done
59831
59832     fi
59833   fi
59834
59835
59836
59837
59838
59839   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
59840 $as_echo_n "checking for logf declaration... " >&6; }
59841   if test x${glibcxx_cv_func_logf_use+set} != xset; then
59842     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
59843   $as_echo_n "(cached) " >&6
59844 else
59845
59846
59847       ac_ext=cpp
59848 ac_cpp='$CXXCPP $CPPFLAGS'
59849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59852
59853       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59854 /* end confdefs.h.  */
59855 #include <math.h>
59856                       #ifdef HAVE_IEEEFP_H
59857                       #include <ieeefp.h>
59858                       #endif
59859
59860 int
59861 main ()
59862 {
59863  logf(0);
59864   ;
59865   return 0;
59866 }
59867 _ACEOF
59868 if ac_fn_cxx_try_compile "$LINENO"; then :
59869   glibcxx_cv_func_logf_use=yes
59870 else
59871   glibcxx_cv_func_logf_use=no
59872 fi
59873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59874       ac_ext=c
59875 ac_cpp='$CPP $CPPFLAGS'
59876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59879
59880
59881 fi
59882
59883   fi
59884   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
59885 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
59886
59887   if test x$glibcxx_cv_func_logf_use = x"yes"; then
59888     for ac_func in logf
59889 do :
59890   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
59891 if test "x$ac_cv_func_logf" = x""yes; then :
59892   cat >>confdefs.h <<_ACEOF
59893 #define HAVE_LOGF 1
59894 _ACEOF
59895
59896 fi
59897 done
59898
59899   else
59900
59901   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
59902 $as_echo_n "checking for _logf declaration... " >&6; }
59903   if test x${glibcxx_cv_func__logf_use+set} != xset; then
59904     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
59905   $as_echo_n "(cached) " >&6
59906 else
59907
59908
59909       ac_ext=cpp
59910 ac_cpp='$CXXCPP $CPPFLAGS'
59911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59914
59915       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59916 /* end confdefs.h.  */
59917 #include <math.h>
59918                       #ifdef HAVE_IEEEFP_H
59919                       #include <ieeefp.h>
59920                       #endif
59921
59922 int
59923 main ()
59924 {
59925  _logf(0);
59926   ;
59927   return 0;
59928 }
59929 _ACEOF
59930 if ac_fn_cxx_try_compile "$LINENO"; then :
59931   glibcxx_cv_func__logf_use=yes
59932 else
59933   glibcxx_cv_func__logf_use=no
59934 fi
59935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59936       ac_ext=c
59937 ac_cpp='$CPP $CPPFLAGS'
59938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59941
59942
59943 fi
59944
59945   fi
59946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
59947 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
59948
59949     if test x$glibcxx_cv_func__logf_use = x"yes"; then
59950       for ac_func in _logf
59951 do :
59952   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
59953 if test "x$ac_cv_func__logf" = x""yes; then :
59954   cat >>confdefs.h <<_ACEOF
59955 #define HAVE__LOGF 1
59956 _ACEOF
59957
59958 fi
59959 done
59960
59961     fi
59962   fi
59963
59964
59965
59966
59967
59968   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
59969 $as_echo_n "checking for log10f declaration... " >&6; }
59970   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
59971     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
59972   $as_echo_n "(cached) " >&6
59973 else
59974
59975
59976       ac_ext=cpp
59977 ac_cpp='$CXXCPP $CPPFLAGS'
59978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59981
59982       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59983 /* end confdefs.h.  */
59984 #include <math.h>
59985                       #ifdef HAVE_IEEEFP_H
59986                       #include <ieeefp.h>
59987                       #endif
59988
59989 int
59990 main ()
59991 {
59992  log10f(0);
59993   ;
59994   return 0;
59995 }
59996 _ACEOF
59997 if ac_fn_cxx_try_compile "$LINENO"; then :
59998   glibcxx_cv_func_log10f_use=yes
59999 else
60000   glibcxx_cv_func_log10f_use=no
60001 fi
60002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60003       ac_ext=c
60004 ac_cpp='$CPP $CPPFLAGS'
60005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60008
60009
60010 fi
60011
60012   fi
60013   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
60014 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
60015
60016   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60017     for ac_func in log10f
60018 do :
60019   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
60020 if test "x$ac_cv_func_log10f" = x""yes; then :
60021   cat >>confdefs.h <<_ACEOF
60022 #define HAVE_LOG10F 1
60023 _ACEOF
60024
60025 fi
60026 done
60027
60028   else
60029
60030   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
60031 $as_echo_n "checking for _log10f declaration... " >&6; }
60032   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
60033     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
60034   $as_echo_n "(cached) " >&6
60035 else
60036
60037
60038       ac_ext=cpp
60039 ac_cpp='$CXXCPP $CPPFLAGS'
60040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60043
60044       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60045 /* end confdefs.h.  */
60046 #include <math.h>
60047                       #ifdef HAVE_IEEEFP_H
60048                       #include <ieeefp.h>
60049                       #endif
60050
60051 int
60052 main ()
60053 {
60054  _log10f(0);
60055   ;
60056   return 0;
60057 }
60058 _ACEOF
60059 if ac_fn_cxx_try_compile "$LINENO"; then :
60060   glibcxx_cv_func__log10f_use=yes
60061 else
60062   glibcxx_cv_func__log10f_use=no
60063 fi
60064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60065       ac_ext=c
60066 ac_cpp='$CPP $CPPFLAGS'
60067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60070
60071
60072 fi
60073
60074   fi
60075   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
60076 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
60077
60078     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
60079       for ac_func in _log10f
60080 do :
60081   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
60082 if test "x$ac_cv_func__log10f" = x""yes; then :
60083   cat >>confdefs.h <<_ACEOF
60084 #define HAVE__LOG10F 1
60085 _ACEOF
60086
60087 fi
60088 done
60089
60090     fi
60091   fi
60092
60093
60094
60095
60096
60097   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
60098 $as_echo_n "checking for modff declaration... " >&6; }
60099   if test x${glibcxx_cv_func_modff_use+set} != xset; then
60100     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
60101   $as_echo_n "(cached) " >&6
60102 else
60103
60104
60105       ac_ext=cpp
60106 ac_cpp='$CXXCPP $CPPFLAGS'
60107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60110
60111       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60112 /* end confdefs.h.  */
60113 #include <math.h>
60114 int
60115 main ()
60116 {
60117  modff(0, 0);
60118   ;
60119   return 0;
60120 }
60121 _ACEOF
60122 if ac_fn_cxx_try_compile "$LINENO"; then :
60123   glibcxx_cv_func_modff_use=yes
60124 else
60125   glibcxx_cv_func_modff_use=no
60126 fi
60127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60128       ac_ext=c
60129 ac_cpp='$CPP $CPPFLAGS'
60130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60133
60134
60135 fi
60136
60137   fi
60138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
60139 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
60140
60141   if test x$glibcxx_cv_func_modff_use = x"yes"; then
60142     for ac_func in modff
60143 do :
60144   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
60145 if test "x$ac_cv_func_modff" = x""yes; then :
60146   cat >>confdefs.h <<_ACEOF
60147 #define HAVE_MODFF 1
60148 _ACEOF
60149
60150 fi
60151 done
60152
60153   else
60154
60155   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
60156 $as_echo_n "checking for _modff declaration... " >&6; }
60157   if test x${glibcxx_cv_func__modff_use+set} != xset; then
60158     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
60159   $as_echo_n "(cached) " >&6
60160 else
60161
60162
60163       ac_ext=cpp
60164 ac_cpp='$CXXCPP $CPPFLAGS'
60165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60168
60169       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60170 /* end confdefs.h.  */
60171 #include <math.h>
60172 int
60173 main ()
60174 {
60175  _modff(0, 0);
60176   ;
60177   return 0;
60178 }
60179 _ACEOF
60180 if ac_fn_cxx_try_compile "$LINENO"; then :
60181   glibcxx_cv_func__modff_use=yes
60182 else
60183   glibcxx_cv_func__modff_use=no
60184 fi
60185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60186       ac_ext=c
60187 ac_cpp='$CPP $CPPFLAGS'
60188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60191
60192
60193 fi
60194
60195   fi
60196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
60197 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
60198
60199     if test x$glibcxx_cv_func__modff_use = x"yes"; then
60200       for ac_func in _modff
60201 do :
60202   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
60203 if test "x$ac_cv_func__modff" = x""yes; then :
60204   cat >>confdefs.h <<_ACEOF
60205 #define HAVE__MODFF 1
60206 _ACEOF
60207
60208 fi
60209 done
60210
60211     fi
60212   fi
60213
60214
60215
60216
60217
60218   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
60219 $as_echo_n "checking for modf declaration... " >&6; }
60220   if test x${glibcxx_cv_func_modf_use+set} != xset; then
60221     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
60222   $as_echo_n "(cached) " >&6
60223 else
60224
60225
60226       ac_ext=cpp
60227 ac_cpp='$CXXCPP $CPPFLAGS'
60228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60231
60232       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60233 /* end confdefs.h.  */
60234 #include <math.h>
60235 int
60236 main ()
60237 {
60238  modf(0, 0);
60239   ;
60240   return 0;
60241 }
60242 _ACEOF
60243 if ac_fn_cxx_try_compile "$LINENO"; then :
60244   glibcxx_cv_func_modf_use=yes
60245 else
60246   glibcxx_cv_func_modf_use=no
60247 fi
60248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60249       ac_ext=c
60250 ac_cpp='$CPP $CPPFLAGS'
60251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60254
60255
60256 fi
60257
60258   fi
60259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
60260 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
60261
60262   if test x$glibcxx_cv_func_modf_use = x"yes"; then
60263     for ac_func in modf
60264 do :
60265   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
60266 if test "x$ac_cv_func_modf" = x""yes; then :
60267   cat >>confdefs.h <<_ACEOF
60268 #define HAVE_MODF 1
60269 _ACEOF
60270
60271 fi
60272 done
60273
60274   else
60275
60276   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
60277 $as_echo_n "checking for _modf declaration... " >&6; }
60278   if test x${glibcxx_cv_func__modf_use+set} != xset; then
60279     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
60280   $as_echo_n "(cached) " >&6
60281 else
60282
60283
60284       ac_ext=cpp
60285 ac_cpp='$CXXCPP $CPPFLAGS'
60286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60289
60290       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60291 /* end confdefs.h.  */
60292 #include <math.h>
60293 int
60294 main ()
60295 {
60296  _modf(0, 0);
60297   ;
60298   return 0;
60299 }
60300 _ACEOF
60301 if ac_fn_cxx_try_compile "$LINENO"; then :
60302   glibcxx_cv_func__modf_use=yes
60303 else
60304   glibcxx_cv_func__modf_use=no
60305 fi
60306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60307       ac_ext=c
60308 ac_cpp='$CPP $CPPFLAGS'
60309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60312
60313
60314 fi
60315
60316   fi
60317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
60318 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
60319
60320     if test x$glibcxx_cv_func__modf_use = x"yes"; then
60321       for ac_func in _modf
60322 do :
60323   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
60324 if test "x$ac_cv_func__modf" = x""yes; then :
60325   cat >>confdefs.h <<_ACEOF
60326 #define HAVE__MODF 1
60327 _ACEOF
60328
60329 fi
60330 done
60331
60332     fi
60333   fi
60334
60335
60336
60337
60338
60339   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
60340 $as_echo_n "checking for powf declaration... " >&6; }
60341   if test x${glibcxx_cv_func_powf_use+set} != xset; then
60342     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
60343   $as_echo_n "(cached) " >&6
60344 else
60345
60346
60347       ac_ext=cpp
60348 ac_cpp='$CXXCPP $CPPFLAGS'
60349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60352
60353       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60354 /* end confdefs.h.  */
60355 #include <math.h>
60356 int
60357 main ()
60358 {
60359  powf(0, 0);
60360   ;
60361   return 0;
60362 }
60363 _ACEOF
60364 if ac_fn_cxx_try_compile "$LINENO"; then :
60365   glibcxx_cv_func_powf_use=yes
60366 else
60367   glibcxx_cv_func_powf_use=no
60368 fi
60369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60370       ac_ext=c
60371 ac_cpp='$CPP $CPPFLAGS'
60372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60375
60376
60377 fi
60378
60379   fi
60380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
60381 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
60382
60383   if test x$glibcxx_cv_func_powf_use = x"yes"; then
60384     for ac_func in powf
60385 do :
60386   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
60387 if test "x$ac_cv_func_powf" = x""yes; then :
60388   cat >>confdefs.h <<_ACEOF
60389 #define HAVE_POWF 1
60390 _ACEOF
60391
60392 fi
60393 done
60394
60395   else
60396
60397   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
60398 $as_echo_n "checking for _powf declaration... " >&6; }
60399   if test x${glibcxx_cv_func__powf_use+set} != xset; then
60400     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
60401   $as_echo_n "(cached) " >&6
60402 else
60403
60404
60405       ac_ext=cpp
60406 ac_cpp='$CXXCPP $CPPFLAGS'
60407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60410
60411       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60412 /* end confdefs.h.  */
60413 #include <math.h>
60414 int
60415 main ()
60416 {
60417  _powf(0, 0);
60418   ;
60419   return 0;
60420 }
60421 _ACEOF
60422 if ac_fn_cxx_try_compile "$LINENO"; then :
60423   glibcxx_cv_func__powf_use=yes
60424 else
60425   glibcxx_cv_func__powf_use=no
60426 fi
60427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60428       ac_ext=c
60429 ac_cpp='$CPP $CPPFLAGS'
60430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60433
60434
60435 fi
60436
60437   fi
60438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
60439 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
60440
60441     if test x$glibcxx_cv_func__powf_use = x"yes"; then
60442       for ac_func in _powf
60443 do :
60444   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
60445 if test "x$ac_cv_func__powf" = x""yes; then :
60446   cat >>confdefs.h <<_ACEOF
60447 #define HAVE__POWF 1
60448 _ACEOF
60449
60450 fi
60451 done
60452
60453     fi
60454   fi
60455
60456
60457
60458
60459
60460   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
60461 $as_echo_n "checking for sqrtf declaration... " >&6; }
60462   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
60463     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
60464   $as_echo_n "(cached) " >&6
60465 else
60466
60467
60468       ac_ext=cpp
60469 ac_cpp='$CXXCPP $CPPFLAGS'
60470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60473
60474       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60475 /* end confdefs.h.  */
60476 #include <math.h>
60477                       #ifdef HAVE_IEEEFP_H
60478                       #include <ieeefp.h>
60479                       #endif
60480
60481 int
60482 main ()
60483 {
60484  sqrtf(0);
60485   ;
60486   return 0;
60487 }
60488 _ACEOF
60489 if ac_fn_cxx_try_compile "$LINENO"; then :
60490   glibcxx_cv_func_sqrtf_use=yes
60491 else
60492   glibcxx_cv_func_sqrtf_use=no
60493 fi
60494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60495       ac_ext=c
60496 ac_cpp='$CPP $CPPFLAGS'
60497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60500
60501
60502 fi
60503
60504   fi
60505   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
60506 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
60507
60508   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
60509     for ac_func in sqrtf
60510 do :
60511   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
60512 if test "x$ac_cv_func_sqrtf" = x""yes; then :
60513   cat >>confdefs.h <<_ACEOF
60514 #define HAVE_SQRTF 1
60515 _ACEOF
60516
60517 fi
60518 done
60519
60520   else
60521
60522   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
60523 $as_echo_n "checking for _sqrtf declaration... " >&6; }
60524   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
60525     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
60526   $as_echo_n "(cached) " >&6
60527 else
60528
60529
60530       ac_ext=cpp
60531 ac_cpp='$CXXCPP $CPPFLAGS'
60532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60535
60536       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60537 /* end confdefs.h.  */
60538 #include <math.h>
60539                       #ifdef HAVE_IEEEFP_H
60540                       #include <ieeefp.h>
60541                       #endif
60542
60543 int
60544 main ()
60545 {
60546  _sqrtf(0);
60547   ;
60548   return 0;
60549 }
60550 _ACEOF
60551 if ac_fn_cxx_try_compile "$LINENO"; then :
60552   glibcxx_cv_func__sqrtf_use=yes
60553 else
60554   glibcxx_cv_func__sqrtf_use=no
60555 fi
60556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60557       ac_ext=c
60558 ac_cpp='$CPP $CPPFLAGS'
60559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60562
60563
60564 fi
60565
60566   fi
60567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
60568 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
60569
60570     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
60571       for ac_func in _sqrtf
60572 do :
60573   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
60574 if test "x$ac_cv_func__sqrtf" = x""yes; then :
60575   cat >>confdefs.h <<_ACEOF
60576 #define HAVE__SQRTF 1
60577 _ACEOF
60578
60579 fi
60580 done
60581
60582     fi
60583   fi
60584
60585
60586
60587
60588
60589   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
60590 $as_echo_n "checking for sincosf declaration... " >&6; }
60591   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
60592     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
60593   $as_echo_n "(cached) " >&6
60594 else
60595
60596
60597       ac_ext=cpp
60598 ac_cpp='$CXXCPP $CPPFLAGS'
60599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60602
60603       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60604 /* end confdefs.h.  */
60605 #include <math.h>
60606 int
60607 main ()
60608 {
60609  sincosf(0, 0, 0);
60610   ;
60611   return 0;
60612 }
60613 _ACEOF
60614 if ac_fn_cxx_try_compile "$LINENO"; then :
60615   glibcxx_cv_func_sincosf_use=yes
60616 else
60617   glibcxx_cv_func_sincosf_use=no
60618 fi
60619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60620       ac_ext=c
60621 ac_cpp='$CPP $CPPFLAGS'
60622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60625
60626
60627 fi
60628
60629   fi
60630   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
60631 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
60632
60633   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
60634     for ac_func in sincosf
60635 do :
60636   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
60637 if test "x$ac_cv_func_sincosf" = x""yes; then :
60638   cat >>confdefs.h <<_ACEOF
60639 #define HAVE_SINCOSF 1
60640 _ACEOF
60641
60642 fi
60643 done
60644
60645   else
60646
60647   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
60648 $as_echo_n "checking for _sincosf declaration... " >&6; }
60649   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
60650     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
60651   $as_echo_n "(cached) " >&6
60652 else
60653
60654
60655       ac_ext=cpp
60656 ac_cpp='$CXXCPP $CPPFLAGS'
60657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60660
60661       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60662 /* end confdefs.h.  */
60663 #include <math.h>
60664 int
60665 main ()
60666 {
60667  _sincosf(0, 0, 0);
60668   ;
60669   return 0;
60670 }
60671 _ACEOF
60672 if ac_fn_cxx_try_compile "$LINENO"; then :
60673   glibcxx_cv_func__sincosf_use=yes
60674 else
60675   glibcxx_cv_func__sincosf_use=no
60676 fi
60677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60678       ac_ext=c
60679 ac_cpp='$CPP $CPPFLAGS'
60680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60683
60684
60685 fi
60686
60687   fi
60688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
60689 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
60690
60691     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
60692       for ac_func in _sincosf
60693 do :
60694   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
60695 if test "x$ac_cv_func__sincosf" = x""yes; then :
60696   cat >>confdefs.h <<_ACEOF
60697 #define HAVE__SINCOSF 1
60698 _ACEOF
60699
60700 fi
60701 done
60702
60703     fi
60704   fi
60705
60706
60707
60708
60709
60710   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
60711 $as_echo_n "checking for finitef declaration... " >&6; }
60712   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
60713     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
60714   $as_echo_n "(cached) " >&6
60715 else
60716
60717
60718       ac_ext=cpp
60719 ac_cpp='$CXXCPP $CPPFLAGS'
60720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60723
60724       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60725 /* end confdefs.h.  */
60726 #include <math.h>
60727                       #ifdef HAVE_IEEEFP_H
60728                       #include <ieeefp.h>
60729                       #endif
60730
60731 int
60732 main ()
60733 {
60734  finitef(0);
60735   ;
60736   return 0;
60737 }
60738 _ACEOF
60739 if ac_fn_cxx_try_compile "$LINENO"; then :
60740   glibcxx_cv_func_finitef_use=yes
60741 else
60742   glibcxx_cv_func_finitef_use=no
60743 fi
60744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60745       ac_ext=c
60746 ac_cpp='$CPP $CPPFLAGS'
60747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60750
60751
60752 fi
60753
60754   fi
60755   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
60756 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
60757
60758   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
60759     for ac_func in finitef
60760 do :
60761   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
60762 if test "x$ac_cv_func_finitef" = x""yes; then :
60763   cat >>confdefs.h <<_ACEOF
60764 #define HAVE_FINITEF 1
60765 _ACEOF
60766
60767 fi
60768 done
60769
60770   else
60771
60772   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
60773 $as_echo_n "checking for _finitef declaration... " >&6; }
60774   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
60775     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
60776   $as_echo_n "(cached) " >&6
60777 else
60778
60779
60780       ac_ext=cpp
60781 ac_cpp='$CXXCPP $CPPFLAGS'
60782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60785
60786       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60787 /* end confdefs.h.  */
60788 #include <math.h>
60789                       #ifdef HAVE_IEEEFP_H
60790                       #include <ieeefp.h>
60791                       #endif
60792
60793 int
60794 main ()
60795 {
60796  _finitef(0);
60797   ;
60798   return 0;
60799 }
60800 _ACEOF
60801 if ac_fn_cxx_try_compile "$LINENO"; then :
60802   glibcxx_cv_func__finitef_use=yes
60803 else
60804   glibcxx_cv_func__finitef_use=no
60805 fi
60806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60807       ac_ext=c
60808 ac_cpp='$CPP $CPPFLAGS'
60809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60812
60813
60814 fi
60815
60816   fi
60817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
60818 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
60819
60820     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
60821       for ac_func in _finitef
60822 do :
60823   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
60824 if test "x$ac_cv_func__finitef" = x""yes; then :
60825   cat >>confdefs.h <<_ACEOF
60826 #define HAVE__FINITEF 1
60827 _ACEOF
60828
60829 fi
60830 done
60831
60832     fi
60833   fi
60834
60835
60836
60837
60838
60839     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
60840 $as_echo_n "checking for long double trig functions... " >&6; }
60841   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
60842   $as_echo_n "(cached) " >&6
60843 else
60844
60845
60846     ac_ext=cpp
60847 ac_cpp='$CXXCPP $CPPFLAGS'
60848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60851
60852     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60853 /* end confdefs.h.  */
60854 #include <math.h>
60855 int
60856 main ()
60857 {
60858 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
60859   ;
60860   return 0;
60861 }
60862 _ACEOF
60863 if ac_fn_cxx_try_compile "$LINENO"; then :
60864   glibcxx_cv_func_long_double_trig_use=yes
60865 else
60866   glibcxx_cv_func_long_double_trig_use=no
60867 fi
60868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60869     ac_ext=c
60870 ac_cpp='$CPP $CPPFLAGS'
60871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60874
60875 fi
60876
60877   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
60878 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
60879   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
60880     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
60881 do :
60882   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60883 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60884 eval as_val=\$$as_ac_var
60885    if test "x$as_val" = x""yes; then :
60886   cat >>confdefs.h <<_ACEOF
60887 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60888 _ACEOF
60889
60890 fi
60891 done
60892
60893   else
60894     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
60895 $as_echo_n "checking for _long double trig functions... " >&6; }
60896     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
60897   $as_echo_n "(cached) " >&6
60898 else
60899
60900
60901       ac_ext=cpp
60902 ac_cpp='$CXXCPP $CPPFLAGS'
60903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60906
60907       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60908 /* end confdefs.h.  */
60909 #include <math.h>
60910 int
60911 main ()
60912 {
60913 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
60914   ;
60915   return 0;
60916 }
60917 _ACEOF
60918 if ac_fn_cxx_try_compile "$LINENO"; then :
60919   glibcxx_cv_func__long_double_trig_use=yes
60920 else
60921   glibcxx_cv_func__long_double_trig_use=no
60922 fi
60923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60924       ac_ext=c
60925 ac_cpp='$CPP $CPPFLAGS'
60926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60929
60930 fi
60931
60932     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
60933 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
60934     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
60935       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
60936 do :
60937   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60938 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60939 eval as_val=\$$as_ac_var
60940    if test "x$as_val" = x""yes; then :
60941   cat >>confdefs.h <<_ACEOF
60942 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60943 _ACEOF
60944
60945 fi
60946 done
60947
60948     fi
60949   fi
60950
60951
60952
60953
60954
60955     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
60956 $as_echo_n "checking for long double round functions... " >&6; }
60957   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
60958   $as_echo_n "(cached) " >&6
60959 else
60960
60961
60962     ac_ext=cpp
60963 ac_cpp='$CXXCPP $CPPFLAGS'
60964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60967
60968     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60969 /* end confdefs.h.  */
60970 #include <math.h>
60971 int
60972 main ()
60973 {
60974 ceill (0); floorl (0);
60975   ;
60976   return 0;
60977 }
60978 _ACEOF
60979 if ac_fn_cxx_try_compile "$LINENO"; then :
60980   glibcxx_cv_func_long_double_round_use=yes
60981 else
60982   glibcxx_cv_func_long_double_round_use=no
60983 fi
60984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60985     ac_ext=c
60986 ac_cpp='$CPP $CPPFLAGS'
60987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60990
60991 fi
60992
60993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
60994 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
60995   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
60996     for ac_func in ceill floorl
60997 do :
60998   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60999 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61000 eval as_val=\$$as_ac_var
61001    if test "x$as_val" = x""yes; then :
61002   cat >>confdefs.h <<_ACEOF
61003 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61004 _ACEOF
61005
61006 fi
61007 done
61008
61009   else
61010     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
61011 $as_echo_n "checking for _long double round functions... " >&6; }
61012     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
61013   $as_echo_n "(cached) " >&6
61014 else
61015
61016
61017       ac_ext=cpp
61018 ac_cpp='$CXXCPP $CPPFLAGS'
61019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61022
61023       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61024 /* end confdefs.h.  */
61025 #include <math.h>
61026 int
61027 main ()
61028 {
61029 _ceill (0); _floorl (0);
61030   ;
61031   return 0;
61032 }
61033 _ACEOF
61034 if ac_fn_cxx_try_compile "$LINENO"; then :
61035   glibcxx_cv_func__long_double_round_use=yes
61036 else
61037   glibcxx_cv_func__long_double_round_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 fi
61047
61048     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
61049 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
61050     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
61051       for ac_func in _ceill _floorl
61052 do :
61053   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61054 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61055 eval as_val=\$$as_ac_var
61056    if test "x$as_val" = x""yes; then :
61057   cat >>confdefs.h <<_ACEOF
61058 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61059 _ACEOF
61060
61061 fi
61062 done
61063
61064     fi
61065   fi
61066
61067
61068
61069
61070
61071
61072   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
61073 $as_echo_n "checking for isnanl declaration... " >&6; }
61074   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
61075     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
61076   $as_echo_n "(cached) " >&6
61077 else
61078
61079
61080       ac_ext=cpp
61081 ac_cpp='$CXXCPP $CPPFLAGS'
61082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61085
61086       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61087 /* end confdefs.h.  */
61088 #include <math.h>
61089                       #ifdef HAVE_IEEEFP_H
61090                       #include <ieeefp.h>
61091                       #endif
61092
61093 int
61094 main ()
61095 {
61096  isnanl(0);
61097   ;
61098   return 0;
61099 }
61100 _ACEOF
61101 if ac_fn_cxx_try_compile "$LINENO"; then :
61102   glibcxx_cv_func_isnanl_use=yes
61103 else
61104   glibcxx_cv_func_isnanl_use=no
61105 fi
61106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61107       ac_ext=c
61108 ac_cpp='$CPP $CPPFLAGS'
61109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61112
61113
61114 fi
61115
61116   fi
61117   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
61118 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
61119
61120   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
61121     for ac_func in isnanl
61122 do :
61123   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
61124 if test "x$ac_cv_func_isnanl" = x""yes; then :
61125   cat >>confdefs.h <<_ACEOF
61126 #define HAVE_ISNANL 1
61127 _ACEOF
61128
61129 fi
61130 done
61131
61132   else
61133
61134   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
61135 $as_echo_n "checking for _isnanl declaration... " >&6; }
61136   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
61137     if test "${glibcxx_cv_func__isnanl_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                       #ifdef HAVE_IEEEFP_H
61152                       #include <ieeefp.h>
61153                       #endif
61154
61155 int
61156 main ()
61157 {
61158  _isnanl(0);
61159   ;
61160   return 0;
61161 }
61162 _ACEOF
61163 if ac_fn_cxx_try_compile "$LINENO"; then :
61164   glibcxx_cv_func__isnanl_use=yes
61165 else
61166   glibcxx_cv_func__isnanl_use=no
61167 fi
61168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61169       ac_ext=c
61170 ac_cpp='$CPP $CPPFLAGS'
61171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61174
61175
61176 fi
61177
61178   fi
61179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
61180 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
61181
61182     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
61183       for ac_func in _isnanl
61184 do :
61185   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
61186 if test "x$ac_cv_func__isnanl" = x""yes; then :
61187   cat >>confdefs.h <<_ACEOF
61188 #define HAVE__ISNANL 1
61189 _ACEOF
61190
61191 fi
61192 done
61193
61194     fi
61195   fi
61196
61197
61198
61199
61200
61201   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
61202 $as_echo_n "checking for isinfl declaration... " >&6; }
61203   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
61204     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
61205   $as_echo_n "(cached) " >&6
61206 else
61207
61208
61209       ac_ext=cpp
61210 ac_cpp='$CXXCPP $CPPFLAGS'
61211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61214
61215       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61216 /* end confdefs.h.  */
61217 #include <math.h>
61218                       #ifdef HAVE_IEEEFP_H
61219                       #include <ieeefp.h>
61220                       #endif
61221
61222 int
61223 main ()
61224 {
61225  isinfl(0);
61226   ;
61227   return 0;
61228 }
61229 _ACEOF
61230 if ac_fn_cxx_try_compile "$LINENO"; then :
61231   glibcxx_cv_func_isinfl_use=yes
61232 else
61233   glibcxx_cv_func_isinfl_use=no
61234 fi
61235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61236       ac_ext=c
61237 ac_cpp='$CPP $CPPFLAGS'
61238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61241
61242
61243 fi
61244
61245   fi
61246   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
61247 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
61248
61249   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
61250     for ac_func in isinfl
61251 do :
61252   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
61253 if test "x$ac_cv_func_isinfl" = x""yes; then :
61254   cat >>confdefs.h <<_ACEOF
61255 #define HAVE_ISINFL 1
61256 _ACEOF
61257
61258 fi
61259 done
61260
61261   else
61262
61263   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
61264 $as_echo_n "checking for _isinfl declaration... " >&6; }
61265   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
61266     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
61267   $as_echo_n "(cached) " >&6
61268 else
61269
61270
61271       ac_ext=cpp
61272 ac_cpp='$CXXCPP $CPPFLAGS'
61273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61276
61277       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61278 /* end confdefs.h.  */
61279 #include <math.h>
61280                       #ifdef HAVE_IEEEFP_H
61281                       #include <ieeefp.h>
61282                       #endif
61283
61284 int
61285 main ()
61286 {
61287  _isinfl(0);
61288   ;
61289   return 0;
61290 }
61291 _ACEOF
61292 if ac_fn_cxx_try_compile "$LINENO"; then :
61293   glibcxx_cv_func__isinfl_use=yes
61294 else
61295   glibcxx_cv_func__isinfl_use=no
61296 fi
61297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61298       ac_ext=c
61299 ac_cpp='$CPP $CPPFLAGS'
61300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61303
61304
61305 fi
61306
61307   fi
61308   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
61309 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
61310
61311     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
61312       for ac_func in _isinfl
61313 do :
61314   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
61315 if test "x$ac_cv_func__isinfl" = x""yes; then :
61316   cat >>confdefs.h <<_ACEOF
61317 #define HAVE__ISINFL 1
61318 _ACEOF
61319
61320 fi
61321 done
61322
61323     fi
61324   fi
61325
61326
61327
61328
61329
61330   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
61331 $as_echo_n "checking for atan2l declaration... " >&6; }
61332   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
61333     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
61334   $as_echo_n "(cached) " >&6
61335 else
61336
61337
61338       ac_ext=cpp
61339 ac_cpp='$CXXCPP $CPPFLAGS'
61340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61343
61344       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61345 /* end confdefs.h.  */
61346 #include <math.h>
61347 int
61348 main ()
61349 {
61350  atan2l(0, 0);
61351   ;
61352   return 0;
61353 }
61354 _ACEOF
61355 if ac_fn_cxx_try_compile "$LINENO"; then :
61356   glibcxx_cv_func_atan2l_use=yes
61357 else
61358   glibcxx_cv_func_atan2l_use=no
61359 fi
61360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61361       ac_ext=c
61362 ac_cpp='$CPP $CPPFLAGS'
61363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61366
61367
61368 fi
61369
61370   fi
61371   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
61372 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
61373
61374   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
61375     for ac_func in atan2l
61376 do :
61377   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
61378 if test "x$ac_cv_func_atan2l" = x""yes; then :
61379   cat >>confdefs.h <<_ACEOF
61380 #define HAVE_ATAN2L 1
61381 _ACEOF
61382
61383 fi
61384 done
61385
61386   else
61387
61388   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
61389 $as_echo_n "checking for _atan2l declaration... " >&6; }
61390   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
61391     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
61392   $as_echo_n "(cached) " >&6
61393 else
61394
61395
61396       ac_ext=cpp
61397 ac_cpp='$CXXCPP $CPPFLAGS'
61398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61401
61402       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61403 /* end confdefs.h.  */
61404 #include <math.h>
61405 int
61406 main ()
61407 {
61408  _atan2l(0, 0);
61409   ;
61410   return 0;
61411 }
61412 _ACEOF
61413 if ac_fn_cxx_try_compile "$LINENO"; then :
61414   glibcxx_cv_func__atan2l_use=yes
61415 else
61416   glibcxx_cv_func__atan2l_use=no
61417 fi
61418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61419       ac_ext=c
61420 ac_cpp='$CPP $CPPFLAGS'
61421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61424
61425
61426 fi
61427
61428   fi
61429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
61430 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
61431
61432     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
61433       for ac_func in _atan2l
61434 do :
61435   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
61436 if test "x$ac_cv_func__atan2l" = x""yes; then :
61437   cat >>confdefs.h <<_ACEOF
61438 #define HAVE__ATAN2L 1
61439 _ACEOF
61440
61441 fi
61442 done
61443
61444     fi
61445   fi
61446
61447
61448
61449
61450
61451   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
61452 $as_echo_n "checking for expl declaration... " >&6; }
61453   if test x${glibcxx_cv_func_expl_use+set} != xset; then
61454     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
61455   $as_echo_n "(cached) " >&6
61456 else
61457
61458
61459       ac_ext=cpp
61460 ac_cpp='$CXXCPP $CPPFLAGS'
61461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61464
61465       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61466 /* end confdefs.h.  */
61467 #include <math.h>
61468                       #ifdef HAVE_IEEEFP_H
61469                       #include <ieeefp.h>
61470                       #endif
61471
61472 int
61473 main ()
61474 {
61475  expl(0);
61476   ;
61477   return 0;
61478 }
61479 _ACEOF
61480 if ac_fn_cxx_try_compile "$LINENO"; then :
61481   glibcxx_cv_func_expl_use=yes
61482 else
61483   glibcxx_cv_func_expl_use=no
61484 fi
61485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61486       ac_ext=c
61487 ac_cpp='$CPP $CPPFLAGS'
61488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61491
61492
61493 fi
61494
61495   fi
61496   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
61497 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
61498
61499   if test x$glibcxx_cv_func_expl_use = x"yes"; then
61500     for ac_func in expl
61501 do :
61502   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
61503 if test "x$ac_cv_func_expl" = x""yes; then :
61504   cat >>confdefs.h <<_ACEOF
61505 #define HAVE_EXPL 1
61506 _ACEOF
61507
61508 fi
61509 done
61510
61511   else
61512
61513   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
61514 $as_echo_n "checking for _expl declaration... " >&6; }
61515   if test x${glibcxx_cv_func__expl_use+set} != xset; then
61516     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
61517   $as_echo_n "(cached) " >&6
61518 else
61519
61520
61521       ac_ext=cpp
61522 ac_cpp='$CXXCPP $CPPFLAGS'
61523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61526
61527       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61528 /* end confdefs.h.  */
61529 #include <math.h>
61530                       #ifdef HAVE_IEEEFP_H
61531                       #include <ieeefp.h>
61532                       #endif
61533
61534 int
61535 main ()
61536 {
61537  _expl(0);
61538   ;
61539   return 0;
61540 }
61541 _ACEOF
61542 if ac_fn_cxx_try_compile "$LINENO"; then :
61543   glibcxx_cv_func__expl_use=yes
61544 else
61545   glibcxx_cv_func__expl_use=no
61546 fi
61547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61548       ac_ext=c
61549 ac_cpp='$CPP $CPPFLAGS'
61550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61553
61554
61555 fi
61556
61557   fi
61558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
61559 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
61560
61561     if test x$glibcxx_cv_func__expl_use = x"yes"; then
61562       for ac_func in _expl
61563 do :
61564   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
61565 if test "x$ac_cv_func__expl" = x""yes; then :
61566   cat >>confdefs.h <<_ACEOF
61567 #define HAVE__EXPL 1
61568 _ACEOF
61569
61570 fi
61571 done
61572
61573     fi
61574   fi
61575
61576
61577
61578
61579
61580   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
61581 $as_echo_n "checking for fabsl declaration... " >&6; }
61582   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
61583     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
61584   $as_echo_n "(cached) " >&6
61585 else
61586
61587
61588       ac_ext=cpp
61589 ac_cpp='$CXXCPP $CPPFLAGS'
61590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61593
61594       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61595 /* end confdefs.h.  */
61596 #include <math.h>
61597                       #ifdef HAVE_IEEEFP_H
61598                       #include <ieeefp.h>
61599                       #endif
61600
61601 int
61602 main ()
61603 {
61604  fabsl(0);
61605   ;
61606   return 0;
61607 }
61608 _ACEOF
61609 if ac_fn_cxx_try_compile "$LINENO"; then :
61610   glibcxx_cv_func_fabsl_use=yes
61611 else
61612   glibcxx_cv_func_fabsl_use=no
61613 fi
61614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61615       ac_ext=c
61616 ac_cpp='$CPP $CPPFLAGS'
61617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61620
61621
61622 fi
61623
61624   fi
61625   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
61626 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
61627
61628   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
61629     for ac_func in fabsl
61630 do :
61631   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
61632 if test "x$ac_cv_func_fabsl" = x""yes; then :
61633   cat >>confdefs.h <<_ACEOF
61634 #define HAVE_FABSL 1
61635 _ACEOF
61636
61637 fi
61638 done
61639
61640   else
61641
61642   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
61643 $as_echo_n "checking for _fabsl declaration... " >&6; }
61644   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
61645     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
61646   $as_echo_n "(cached) " >&6
61647 else
61648
61649
61650       ac_ext=cpp
61651 ac_cpp='$CXXCPP $CPPFLAGS'
61652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61655
61656       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61657 /* end confdefs.h.  */
61658 #include <math.h>
61659                       #ifdef HAVE_IEEEFP_H
61660                       #include <ieeefp.h>
61661                       #endif
61662
61663 int
61664 main ()
61665 {
61666  _fabsl(0);
61667   ;
61668   return 0;
61669 }
61670 _ACEOF
61671 if ac_fn_cxx_try_compile "$LINENO"; then :
61672   glibcxx_cv_func__fabsl_use=yes
61673 else
61674   glibcxx_cv_func__fabsl_use=no
61675 fi
61676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61677       ac_ext=c
61678 ac_cpp='$CPP $CPPFLAGS'
61679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61682
61683
61684 fi
61685
61686   fi
61687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
61688 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
61689
61690     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
61691       for ac_func in _fabsl
61692 do :
61693   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
61694 if test "x$ac_cv_func__fabsl" = x""yes; then :
61695   cat >>confdefs.h <<_ACEOF
61696 #define HAVE__FABSL 1
61697 _ACEOF
61698
61699 fi
61700 done
61701
61702     fi
61703   fi
61704
61705
61706
61707
61708
61709   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
61710 $as_echo_n "checking for fmodl declaration... " >&6; }
61711   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
61712     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
61713   $as_echo_n "(cached) " >&6
61714 else
61715
61716
61717       ac_ext=cpp
61718 ac_cpp='$CXXCPP $CPPFLAGS'
61719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61722
61723       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61724 /* end confdefs.h.  */
61725 #include <math.h>
61726 int
61727 main ()
61728 {
61729  fmodl(0, 0);
61730   ;
61731   return 0;
61732 }
61733 _ACEOF
61734 if ac_fn_cxx_try_compile "$LINENO"; then :
61735   glibcxx_cv_func_fmodl_use=yes
61736 else
61737   glibcxx_cv_func_fmodl_use=no
61738 fi
61739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61740       ac_ext=c
61741 ac_cpp='$CPP $CPPFLAGS'
61742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61745
61746
61747 fi
61748
61749   fi
61750   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
61751 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
61752
61753   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
61754     for ac_func in fmodl
61755 do :
61756   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
61757 if test "x$ac_cv_func_fmodl" = x""yes; then :
61758   cat >>confdefs.h <<_ACEOF
61759 #define HAVE_FMODL 1
61760 _ACEOF
61761
61762 fi
61763 done
61764
61765   else
61766
61767   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
61768 $as_echo_n "checking for _fmodl declaration... " >&6; }
61769   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
61770     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
61771   $as_echo_n "(cached) " >&6
61772 else
61773
61774
61775       ac_ext=cpp
61776 ac_cpp='$CXXCPP $CPPFLAGS'
61777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61780
61781       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61782 /* end confdefs.h.  */
61783 #include <math.h>
61784 int
61785 main ()
61786 {
61787  _fmodl(0, 0);
61788   ;
61789   return 0;
61790 }
61791 _ACEOF
61792 if ac_fn_cxx_try_compile "$LINENO"; then :
61793   glibcxx_cv_func__fmodl_use=yes
61794 else
61795   glibcxx_cv_func__fmodl_use=no
61796 fi
61797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61798       ac_ext=c
61799 ac_cpp='$CPP $CPPFLAGS'
61800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61803
61804
61805 fi
61806
61807   fi
61808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
61809 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
61810
61811     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
61812       for ac_func in _fmodl
61813 do :
61814   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
61815 if test "x$ac_cv_func__fmodl" = x""yes; then :
61816   cat >>confdefs.h <<_ACEOF
61817 #define HAVE__FMODL 1
61818 _ACEOF
61819
61820 fi
61821 done
61822
61823     fi
61824   fi
61825
61826
61827
61828
61829
61830   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
61831 $as_echo_n "checking for frexpl declaration... " >&6; }
61832   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
61833     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
61834   $as_echo_n "(cached) " >&6
61835 else
61836
61837
61838       ac_ext=cpp
61839 ac_cpp='$CXXCPP $CPPFLAGS'
61840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61843
61844       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61845 /* end confdefs.h.  */
61846 #include <math.h>
61847 int
61848 main ()
61849 {
61850  frexpl(0, 0);
61851   ;
61852   return 0;
61853 }
61854 _ACEOF
61855 if ac_fn_cxx_try_compile "$LINENO"; then :
61856   glibcxx_cv_func_frexpl_use=yes
61857 else
61858   glibcxx_cv_func_frexpl_use=no
61859 fi
61860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61861       ac_ext=c
61862 ac_cpp='$CPP $CPPFLAGS'
61863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61866
61867
61868 fi
61869
61870   fi
61871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
61872 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
61873
61874   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
61875     for ac_func in frexpl
61876 do :
61877   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
61878 if test "x$ac_cv_func_frexpl" = x""yes; then :
61879   cat >>confdefs.h <<_ACEOF
61880 #define HAVE_FREXPL 1
61881 _ACEOF
61882
61883 fi
61884 done
61885
61886   else
61887
61888   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
61889 $as_echo_n "checking for _frexpl declaration... " >&6; }
61890   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
61891     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
61892   $as_echo_n "(cached) " >&6
61893 else
61894
61895
61896       ac_ext=cpp
61897 ac_cpp='$CXXCPP $CPPFLAGS'
61898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61901
61902       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61903 /* end confdefs.h.  */
61904 #include <math.h>
61905 int
61906 main ()
61907 {
61908  _frexpl(0, 0);
61909   ;
61910   return 0;
61911 }
61912 _ACEOF
61913 if ac_fn_cxx_try_compile "$LINENO"; then :
61914   glibcxx_cv_func__frexpl_use=yes
61915 else
61916   glibcxx_cv_func__frexpl_use=no
61917 fi
61918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61919       ac_ext=c
61920 ac_cpp='$CPP $CPPFLAGS'
61921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61924
61925
61926 fi
61927
61928   fi
61929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
61930 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
61931
61932     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
61933       for ac_func in _frexpl
61934 do :
61935   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
61936 if test "x$ac_cv_func__frexpl" = x""yes; then :
61937   cat >>confdefs.h <<_ACEOF
61938 #define HAVE__FREXPL 1
61939 _ACEOF
61940
61941 fi
61942 done
61943
61944     fi
61945   fi
61946
61947
61948
61949
61950
61951   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
61952 $as_echo_n "checking for hypotl declaration... " >&6; }
61953   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
61954     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
61955   $as_echo_n "(cached) " >&6
61956 else
61957
61958
61959       ac_ext=cpp
61960 ac_cpp='$CXXCPP $CPPFLAGS'
61961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61964
61965       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61966 /* end confdefs.h.  */
61967 #include <math.h>
61968 int
61969 main ()
61970 {
61971  hypotl(0, 0);
61972   ;
61973   return 0;
61974 }
61975 _ACEOF
61976 if ac_fn_cxx_try_compile "$LINENO"; then :
61977   glibcxx_cv_func_hypotl_use=yes
61978 else
61979   glibcxx_cv_func_hypotl_use=no
61980 fi
61981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61982       ac_ext=c
61983 ac_cpp='$CPP $CPPFLAGS'
61984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61987
61988
61989 fi
61990
61991   fi
61992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
61993 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
61994
61995   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
61996     for ac_func in hypotl
61997 do :
61998   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
61999 if test "x$ac_cv_func_hypotl" = x""yes; then :
62000   cat >>confdefs.h <<_ACEOF
62001 #define HAVE_HYPOTL 1
62002 _ACEOF
62003
62004 fi
62005 done
62006
62007   else
62008
62009   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
62010 $as_echo_n "checking for _hypotl declaration... " >&6; }
62011   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
62012     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
62013   $as_echo_n "(cached) " >&6
62014 else
62015
62016
62017       ac_ext=cpp
62018 ac_cpp='$CXXCPP $CPPFLAGS'
62019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62022
62023       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62024 /* end confdefs.h.  */
62025 #include <math.h>
62026 int
62027 main ()
62028 {
62029  _hypotl(0, 0);
62030   ;
62031   return 0;
62032 }
62033 _ACEOF
62034 if ac_fn_cxx_try_compile "$LINENO"; then :
62035   glibcxx_cv_func__hypotl_use=yes
62036 else
62037   glibcxx_cv_func__hypotl_use=no
62038 fi
62039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62040       ac_ext=c
62041 ac_cpp='$CPP $CPPFLAGS'
62042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62045
62046
62047 fi
62048
62049   fi
62050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
62051 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
62052
62053     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
62054       for ac_func in _hypotl
62055 do :
62056   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
62057 if test "x$ac_cv_func__hypotl" = x""yes; then :
62058   cat >>confdefs.h <<_ACEOF
62059 #define HAVE__HYPOTL 1
62060 _ACEOF
62061
62062 fi
62063 done
62064
62065     fi
62066   fi
62067
62068
62069
62070
62071
62072   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
62073 $as_echo_n "checking for ldexpl declaration... " >&6; }
62074   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
62075     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
62076   $as_echo_n "(cached) " >&6
62077 else
62078
62079
62080       ac_ext=cpp
62081 ac_cpp='$CXXCPP $CPPFLAGS'
62082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62085
62086       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62087 /* end confdefs.h.  */
62088 #include <math.h>
62089 int
62090 main ()
62091 {
62092  ldexpl(0, 0);
62093   ;
62094   return 0;
62095 }
62096 _ACEOF
62097 if ac_fn_cxx_try_compile "$LINENO"; then :
62098   glibcxx_cv_func_ldexpl_use=yes
62099 else
62100   glibcxx_cv_func_ldexpl_use=no
62101 fi
62102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62103       ac_ext=c
62104 ac_cpp='$CPP $CPPFLAGS'
62105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62108
62109
62110 fi
62111
62112   fi
62113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
62114 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
62115
62116   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
62117     for ac_func in ldexpl
62118 do :
62119   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
62120 if test "x$ac_cv_func_ldexpl" = x""yes; then :
62121   cat >>confdefs.h <<_ACEOF
62122 #define HAVE_LDEXPL 1
62123 _ACEOF
62124
62125 fi
62126 done
62127
62128   else
62129
62130   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
62131 $as_echo_n "checking for _ldexpl declaration... " >&6; }
62132   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
62133     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
62134   $as_echo_n "(cached) " >&6
62135 else
62136
62137
62138       ac_ext=cpp
62139 ac_cpp='$CXXCPP $CPPFLAGS'
62140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62143
62144       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62145 /* end confdefs.h.  */
62146 #include <math.h>
62147 int
62148 main ()
62149 {
62150  _ldexpl(0, 0);
62151   ;
62152   return 0;
62153 }
62154 _ACEOF
62155 if ac_fn_cxx_try_compile "$LINENO"; then :
62156   glibcxx_cv_func__ldexpl_use=yes
62157 else
62158   glibcxx_cv_func__ldexpl_use=no
62159 fi
62160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62161       ac_ext=c
62162 ac_cpp='$CPP $CPPFLAGS'
62163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62166
62167
62168 fi
62169
62170   fi
62171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
62172 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
62173
62174     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
62175       for ac_func in _ldexpl
62176 do :
62177   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
62178 if test "x$ac_cv_func__ldexpl" = x""yes; then :
62179   cat >>confdefs.h <<_ACEOF
62180 #define HAVE__LDEXPL 1
62181 _ACEOF
62182
62183 fi
62184 done
62185
62186     fi
62187   fi
62188
62189
62190
62191
62192
62193   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
62194 $as_echo_n "checking for logl declaration... " >&6; }
62195   if test x${glibcxx_cv_func_logl_use+set} != xset; then
62196     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
62197   $as_echo_n "(cached) " >&6
62198 else
62199
62200
62201       ac_ext=cpp
62202 ac_cpp='$CXXCPP $CPPFLAGS'
62203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62206
62207       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62208 /* end confdefs.h.  */
62209 #include <math.h>
62210                       #ifdef HAVE_IEEEFP_H
62211                       #include <ieeefp.h>
62212                       #endif
62213
62214 int
62215 main ()
62216 {
62217  logl(0);
62218   ;
62219   return 0;
62220 }
62221 _ACEOF
62222 if ac_fn_cxx_try_compile "$LINENO"; then :
62223   glibcxx_cv_func_logl_use=yes
62224 else
62225   glibcxx_cv_func_logl_use=no
62226 fi
62227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62228       ac_ext=c
62229 ac_cpp='$CPP $CPPFLAGS'
62230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62233
62234
62235 fi
62236
62237   fi
62238   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
62239 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
62240
62241   if test x$glibcxx_cv_func_logl_use = x"yes"; then
62242     for ac_func in logl
62243 do :
62244   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
62245 if test "x$ac_cv_func_logl" = x""yes; then :
62246   cat >>confdefs.h <<_ACEOF
62247 #define HAVE_LOGL 1
62248 _ACEOF
62249
62250 fi
62251 done
62252
62253   else
62254
62255   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
62256 $as_echo_n "checking for _logl declaration... " >&6; }
62257   if test x${glibcxx_cv_func__logl_use+set} != xset; then
62258     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
62259   $as_echo_n "(cached) " >&6
62260 else
62261
62262
62263       ac_ext=cpp
62264 ac_cpp='$CXXCPP $CPPFLAGS'
62265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62268
62269       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62270 /* end confdefs.h.  */
62271 #include <math.h>
62272                       #ifdef HAVE_IEEEFP_H
62273                       #include <ieeefp.h>
62274                       #endif
62275
62276 int
62277 main ()
62278 {
62279  _logl(0);
62280   ;
62281   return 0;
62282 }
62283 _ACEOF
62284 if ac_fn_cxx_try_compile "$LINENO"; then :
62285   glibcxx_cv_func__logl_use=yes
62286 else
62287   glibcxx_cv_func__logl_use=no
62288 fi
62289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62290       ac_ext=c
62291 ac_cpp='$CPP $CPPFLAGS'
62292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62295
62296
62297 fi
62298
62299   fi
62300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
62301 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
62302
62303     if test x$glibcxx_cv_func__logl_use = x"yes"; then
62304       for ac_func in _logl
62305 do :
62306   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
62307 if test "x$ac_cv_func__logl" = x""yes; then :
62308   cat >>confdefs.h <<_ACEOF
62309 #define HAVE__LOGL 1
62310 _ACEOF
62311
62312 fi
62313 done
62314
62315     fi
62316   fi
62317
62318
62319
62320
62321
62322   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
62323 $as_echo_n "checking for log10l declaration... " >&6; }
62324   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
62325     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
62326   $as_echo_n "(cached) " >&6
62327 else
62328
62329
62330       ac_ext=cpp
62331 ac_cpp='$CXXCPP $CPPFLAGS'
62332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62335
62336       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62337 /* end confdefs.h.  */
62338 #include <math.h>
62339                       #ifdef HAVE_IEEEFP_H
62340                       #include <ieeefp.h>
62341                       #endif
62342
62343 int
62344 main ()
62345 {
62346  log10l(0);
62347   ;
62348   return 0;
62349 }
62350 _ACEOF
62351 if ac_fn_cxx_try_compile "$LINENO"; then :
62352   glibcxx_cv_func_log10l_use=yes
62353 else
62354   glibcxx_cv_func_log10l_use=no
62355 fi
62356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62357       ac_ext=c
62358 ac_cpp='$CPP $CPPFLAGS'
62359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62362
62363
62364 fi
62365
62366   fi
62367   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
62368 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
62369
62370   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
62371     for ac_func in log10l
62372 do :
62373   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
62374 if test "x$ac_cv_func_log10l" = x""yes; then :
62375   cat >>confdefs.h <<_ACEOF
62376 #define HAVE_LOG10L 1
62377 _ACEOF
62378
62379 fi
62380 done
62381
62382   else
62383
62384   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
62385 $as_echo_n "checking for _log10l declaration... " >&6; }
62386   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
62387     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
62388   $as_echo_n "(cached) " >&6
62389 else
62390
62391
62392       ac_ext=cpp
62393 ac_cpp='$CXXCPP $CPPFLAGS'
62394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62397
62398       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62399 /* end confdefs.h.  */
62400 #include <math.h>
62401                       #ifdef HAVE_IEEEFP_H
62402                       #include <ieeefp.h>
62403                       #endif
62404
62405 int
62406 main ()
62407 {
62408  _log10l(0);
62409   ;
62410   return 0;
62411 }
62412 _ACEOF
62413 if ac_fn_cxx_try_compile "$LINENO"; then :
62414   glibcxx_cv_func__log10l_use=yes
62415 else
62416   glibcxx_cv_func__log10l_use=no
62417 fi
62418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62419       ac_ext=c
62420 ac_cpp='$CPP $CPPFLAGS'
62421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62424
62425
62426 fi
62427
62428   fi
62429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
62430 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
62431
62432     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
62433       for ac_func in _log10l
62434 do :
62435   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
62436 if test "x$ac_cv_func__log10l" = x""yes; then :
62437   cat >>confdefs.h <<_ACEOF
62438 #define HAVE__LOG10L 1
62439 _ACEOF
62440
62441 fi
62442 done
62443
62444     fi
62445   fi
62446
62447
62448
62449
62450
62451   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
62452 $as_echo_n "checking for modfl declaration... " >&6; }
62453   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
62454     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
62455   $as_echo_n "(cached) " >&6
62456 else
62457
62458
62459       ac_ext=cpp
62460 ac_cpp='$CXXCPP $CPPFLAGS'
62461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62464
62465       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62466 /* end confdefs.h.  */
62467 #include <math.h>
62468 int
62469 main ()
62470 {
62471  modfl(0, 0);
62472   ;
62473   return 0;
62474 }
62475 _ACEOF
62476 if ac_fn_cxx_try_compile "$LINENO"; then :
62477   glibcxx_cv_func_modfl_use=yes
62478 else
62479   glibcxx_cv_func_modfl_use=no
62480 fi
62481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62482       ac_ext=c
62483 ac_cpp='$CPP $CPPFLAGS'
62484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62487
62488
62489 fi
62490
62491   fi
62492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
62493 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
62494
62495   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
62496     for ac_func in modfl
62497 do :
62498   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
62499 if test "x$ac_cv_func_modfl" = x""yes; then :
62500   cat >>confdefs.h <<_ACEOF
62501 #define HAVE_MODFL 1
62502 _ACEOF
62503
62504 fi
62505 done
62506
62507   else
62508
62509   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
62510 $as_echo_n "checking for _modfl declaration... " >&6; }
62511   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
62512     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
62513   $as_echo_n "(cached) " >&6
62514 else
62515
62516
62517       ac_ext=cpp
62518 ac_cpp='$CXXCPP $CPPFLAGS'
62519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62522
62523       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62524 /* end confdefs.h.  */
62525 #include <math.h>
62526 int
62527 main ()
62528 {
62529  _modfl(0, 0);
62530   ;
62531   return 0;
62532 }
62533 _ACEOF
62534 if ac_fn_cxx_try_compile "$LINENO"; then :
62535   glibcxx_cv_func__modfl_use=yes
62536 else
62537   glibcxx_cv_func__modfl_use=no
62538 fi
62539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62540       ac_ext=c
62541 ac_cpp='$CPP $CPPFLAGS'
62542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62545
62546
62547 fi
62548
62549   fi
62550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
62551 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
62552
62553     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
62554       for ac_func in _modfl
62555 do :
62556   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
62557 if test "x$ac_cv_func__modfl" = x""yes; then :
62558   cat >>confdefs.h <<_ACEOF
62559 #define HAVE__MODFL 1
62560 _ACEOF
62561
62562 fi
62563 done
62564
62565     fi
62566   fi
62567
62568
62569
62570
62571
62572   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
62573 $as_echo_n "checking for powl declaration... " >&6; }
62574   if test x${glibcxx_cv_func_powl_use+set} != xset; then
62575     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
62576   $as_echo_n "(cached) " >&6
62577 else
62578
62579
62580       ac_ext=cpp
62581 ac_cpp='$CXXCPP $CPPFLAGS'
62582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62585
62586       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62587 /* end confdefs.h.  */
62588 #include <math.h>
62589 int
62590 main ()
62591 {
62592  powl(0, 0);
62593   ;
62594   return 0;
62595 }
62596 _ACEOF
62597 if ac_fn_cxx_try_compile "$LINENO"; then :
62598   glibcxx_cv_func_powl_use=yes
62599 else
62600   glibcxx_cv_func_powl_use=no
62601 fi
62602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62603       ac_ext=c
62604 ac_cpp='$CPP $CPPFLAGS'
62605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62608
62609
62610 fi
62611
62612   fi
62613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
62614 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
62615
62616   if test x$glibcxx_cv_func_powl_use = x"yes"; then
62617     for ac_func in powl
62618 do :
62619   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
62620 if test "x$ac_cv_func_powl" = x""yes; then :
62621   cat >>confdefs.h <<_ACEOF
62622 #define HAVE_POWL 1
62623 _ACEOF
62624
62625 fi
62626 done
62627
62628   else
62629
62630   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
62631 $as_echo_n "checking for _powl declaration... " >&6; }
62632   if test x${glibcxx_cv_func__powl_use+set} != xset; then
62633     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
62634   $as_echo_n "(cached) " >&6
62635 else
62636
62637
62638       ac_ext=cpp
62639 ac_cpp='$CXXCPP $CPPFLAGS'
62640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62643
62644       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62645 /* end confdefs.h.  */
62646 #include <math.h>
62647 int
62648 main ()
62649 {
62650  _powl(0, 0);
62651   ;
62652   return 0;
62653 }
62654 _ACEOF
62655 if ac_fn_cxx_try_compile "$LINENO"; then :
62656   glibcxx_cv_func__powl_use=yes
62657 else
62658   glibcxx_cv_func__powl_use=no
62659 fi
62660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62661       ac_ext=c
62662 ac_cpp='$CPP $CPPFLAGS'
62663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62666
62667
62668 fi
62669
62670   fi
62671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
62672 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
62673
62674     if test x$glibcxx_cv_func__powl_use = x"yes"; then
62675       for ac_func in _powl
62676 do :
62677   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
62678 if test "x$ac_cv_func__powl" = x""yes; then :
62679   cat >>confdefs.h <<_ACEOF
62680 #define HAVE__POWL 1
62681 _ACEOF
62682
62683 fi
62684 done
62685
62686     fi
62687   fi
62688
62689
62690
62691
62692
62693   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
62694 $as_echo_n "checking for sqrtl declaration... " >&6; }
62695   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
62696     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
62697   $as_echo_n "(cached) " >&6
62698 else
62699
62700
62701       ac_ext=cpp
62702 ac_cpp='$CXXCPP $CPPFLAGS'
62703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62706
62707       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62708 /* end confdefs.h.  */
62709 #include <math.h>
62710                       #ifdef HAVE_IEEEFP_H
62711                       #include <ieeefp.h>
62712                       #endif
62713
62714 int
62715 main ()
62716 {
62717  sqrtl(0);
62718   ;
62719   return 0;
62720 }
62721 _ACEOF
62722 if ac_fn_cxx_try_compile "$LINENO"; then :
62723   glibcxx_cv_func_sqrtl_use=yes
62724 else
62725   glibcxx_cv_func_sqrtl_use=no
62726 fi
62727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62728       ac_ext=c
62729 ac_cpp='$CPP $CPPFLAGS'
62730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62733
62734
62735 fi
62736
62737   fi
62738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
62739 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
62740
62741   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
62742     for ac_func in sqrtl
62743 do :
62744   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
62745 if test "x$ac_cv_func_sqrtl" = x""yes; then :
62746   cat >>confdefs.h <<_ACEOF
62747 #define HAVE_SQRTL 1
62748 _ACEOF
62749
62750 fi
62751 done
62752
62753   else
62754
62755   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
62756 $as_echo_n "checking for _sqrtl declaration... " >&6; }
62757   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
62758     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
62759   $as_echo_n "(cached) " >&6
62760 else
62761
62762
62763       ac_ext=cpp
62764 ac_cpp='$CXXCPP $CPPFLAGS'
62765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62768
62769       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62770 /* end confdefs.h.  */
62771 #include <math.h>
62772                       #ifdef HAVE_IEEEFP_H
62773                       #include <ieeefp.h>
62774                       #endif
62775
62776 int
62777 main ()
62778 {
62779  _sqrtl(0);
62780   ;
62781   return 0;
62782 }
62783 _ACEOF
62784 if ac_fn_cxx_try_compile "$LINENO"; then :
62785   glibcxx_cv_func__sqrtl_use=yes
62786 else
62787   glibcxx_cv_func__sqrtl_use=no
62788 fi
62789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62790       ac_ext=c
62791 ac_cpp='$CPP $CPPFLAGS'
62792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62795
62796
62797 fi
62798
62799   fi
62800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
62801 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
62802
62803     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
62804       for ac_func in _sqrtl
62805 do :
62806   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
62807 if test "x$ac_cv_func__sqrtl" = x""yes; then :
62808   cat >>confdefs.h <<_ACEOF
62809 #define HAVE__SQRTL 1
62810 _ACEOF
62811
62812 fi
62813 done
62814
62815     fi
62816   fi
62817
62818
62819
62820
62821
62822   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
62823 $as_echo_n "checking for sincosl declaration... " >&6; }
62824   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
62825     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
62826   $as_echo_n "(cached) " >&6
62827 else
62828
62829
62830       ac_ext=cpp
62831 ac_cpp='$CXXCPP $CPPFLAGS'
62832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62835
62836       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62837 /* end confdefs.h.  */
62838 #include <math.h>
62839 int
62840 main ()
62841 {
62842  sincosl(0, 0, 0);
62843   ;
62844   return 0;
62845 }
62846 _ACEOF
62847 if ac_fn_cxx_try_compile "$LINENO"; then :
62848   glibcxx_cv_func_sincosl_use=yes
62849 else
62850   glibcxx_cv_func_sincosl_use=no
62851 fi
62852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62853       ac_ext=c
62854 ac_cpp='$CPP $CPPFLAGS'
62855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62858
62859
62860 fi
62861
62862   fi
62863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
62864 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
62865
62866   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
62867     for ac_func in sincosl
62868 do :
62869   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
62870 if test "x$ac_cv_func_sincosl" = x""yes; then :
62871   cat >>confdefs.h <<_ACEOF
62872 #define HAVE_SINCOSL 1
62873 _ACEOF
62874
62875 fi
62876 done
62877
62878   else
62879
62880   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
62881 $as_echo_n "checking for _sincosl declaration... " >&6; }
62882   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
62883     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
62884   $as_echo_n "(cached) " >&6
62885 else
62886
62887
62888       ac_ext=cpp
62889 ac_cpp='$CXXCPP $CPPFLAGS'
62890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62893
62894       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62895 /* end confdefs.h.  */
62896 #include <math.h>
62897 int
62898 main ()
62899 {
62900  _sincosl(0, 0, 0);
62901   ;
62902   return 0;
62903 }
62904 _ACEOF
62905 if ac_fn_cxx_try_compile "$LINENO"; then :
62906   glibcxx_cv_func__sincosl_use=yes
62907 else
62908   glibcxx_cv_func__sincosl_use=no
62909 fi
62910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62911       ac_ext=c
62912 ac_cpp='$CPP $CPPFLAGS'
62913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62916
62917
62918 fi
62919
62920   fi
62921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
62922 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
62923
62924     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
62925       for ac_func in _sincosl
62926 do :
62927   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
62928 if test "x$ac_cv_func__sincosl" = x""yes; then :
62929   cat >>confdefs.h <<_ACEOF
62930 #define HAVE__SINCOSL 1
62931 _ACEOF
62932
62933 fi
62934 done
62935
62936     fi
62937   fi
62938
62939
62940
62941
62942
62943   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
62944 $as_echo_n "checking for finitel declaration... " >&6; }
62945   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
62946     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
62947   $as_echo_n "(cached) " >&6
62948 else
62949
62950
62951       ac_ext=cpp
62952 ac_cpp='$CXXCPP $CPPFLAGS'
62953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62956
62957       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62958 /* end confdefs.h.  */
62959 #include <math.h>
62960                       #ifdef HAVE_IEEEFP_H
62961                       #include <ieeefp.h>
62962                       #endif
62963
62964 int
62965 main ()
62966 {
62967  finitel(0);
62968   ;
62969   return 0;
62970 }
62971 _ACEOF
62972 if ac_fn_cxx_try_compile "$LINENO"; then :
62973   glibcxx_cv_func_finitel_use=yes
62974 else
62975   glibcxx_cv_func_finitel_use=no
62976 fi
62977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62978       ac_ext=c
62979 ac_cpp='$CPP $CPPFLAGS'
62980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62983
62984
62985 fi
62986
62987   fi
62988   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
62989 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
62990
62991   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
62992     for ac_func in finitel
62993 do :
62994   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
62995 if test "x$ac_cv_func_finitel" = x""yes; then :
62996   cat >>confdefs.h <<_ACEOF
62997 #define HAVE_FINITEL 1
62998 _ACEOF
62999
63000 fi
63001 done
63002
63003   else
63004
63005   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
63006 $as_echo_n "checking for _finitel declaration... " >&6; }
63007   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
63008     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
63009   $as_echo_n "(cached) " >&6
63010 else
63011
63012
63013       ac_ext=cpp
63014 ac_cpp='$CXXCPP $CPPFLAGS'
63015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63018
63019       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63020 /* end confdefs.h.  */
63021 #include <math.h>
63022                       #ifdef HAVE_IEEEFP_H
63023                       #include <ieeefp.h>
63024                       #endif
63025
63026 int
63027 main ()
63028 {
63029  _finitel(0);
63030   ;
63031   return 0;
63032 }
63033 _ACEOF
63034 if ac_fn_cxx_try_compile "$LINENO"; then :
63035   glibcxx_cv_func__finitel_use=yes
63036 else
63037   glibcxx_cv_func__finitel_use=no
63038 fi
63039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63040       ac_ext=c
63041 ac_cpp='$CPP $CPPFLAGS'
63042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63045
63046
63047 fi
63048
63049   fi
63050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
63051 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
63052
63053     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
63054       for ac_func in _finitel
63055 do :
63056   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
63057 if test "x$ac_cv_func__finitel" = x""yes; then :
63058   cat >>confdefs.h <<_ACEOF
63059 #define HAVE__FINITEL 1
63060 _ACEOF
63061
63062 fi
63063 done
63064
63065     fi
63066   fi
63067
63068
63069
63070
63071   LIBS="$ac_save_LIBS"
63072   CXXFLAGS="$ac_save_CXXFLAGS"
63073
63074
63075   ac_test_CXXFLAGS="${CXXFLAGS+set}"
63076   ac_save_CXXFLAGS="$CXXFLAGS"
63077   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63078
63079
63080   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
63081 $as_echo_n "checking for strtold declaration... " >&6; }
63082   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
63083     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
63084   $as_echo_n "(cached) " >&6
63085 else
63086
63087
63088       ac_ext=cpp
63089 ac_cpp='$CXXCPP $CPPFLAGS'
63090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63093
63094       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63095 /* end confdefs.h.  */
63096 #include <stdlib.h>
63097 int
63098 main ()
63099 {
63100  strtold(0, 0);
63101   ;
63102   return 0;
63103 }
63104 _ACEOF
63105 if ac_fn_cxx_try_compile "$LINENO"; then :
63106   glibcxx_cv_func_strtold_use=yes
63107 else
63108   glibcxx_cv_func_strtold_use=no
63109 fi
63110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63111       ac_ext=c
63112 ac_cpp='$CPP $CPPFLAGS'
63113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63116
63117
63118 fi
63119
63120   fi
63121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
63122 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
63123   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
63124     for ac_func in strtold
63125 do :
63126   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
63127 if test "x$ac_cv_func_strtold" = x""yes; then :
63128   cat >>confdefs.h <<_ACEOF
63129 #define HAVE_STRTOLD 1
63130 _ACEOF
63131
63132 fi
63133 done
63134
63135   fi
63136
63137
63138
63139
63140   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
63141 $as_echo_n "checking for strtof declaration... " >&6; }
63142   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
63143     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
63144   $as_echo_n "(cached) " >&6
63145 else
63146
63147
63148       ac_ext=cpp
63149 ac_cpp='$CXXCPP $CPPFLAGS'
63150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63153
63154       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63155 /* end confdefs.h.  */
63156 #include <stdlib.h>
63157 int
63158 main ()
63159 {
63160  strtof(0, 0);
63161   ;
63162   return 0;
63163 }
63164 _ACEOF
63165 if ac_fn_cxx_try_compile "$LINENO"; then :
63166   glibcxx_cv_func_strtof_use=yes
63167 else
63168   glibcxx_cv_func_strtof_use=no
63169 fi
63170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63171       ac_ext=c
63172 ac_cpp='$CPP $CPPFLAGS'
63173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63176
63177
63178 fi
63179
63180   fi
63181   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
63182 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
63183   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
63184     for ac_func in strtof
63185 do :
63186   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
63187 if test "x$ac_cv_func_strtof" = x""yes; then :
63188   cat >>confdefs.h <<_ACEOF
63189 #define HAVE_STRTOF 1
63190 _ACEOF
63191
63192 fi
63193 done
63194
63195   fi
63196
63197
63198
63199
63200   CXXFLAGS="$ac_save_CXXFLAGS"
63201
63202     ;;
63203   *-solaris*)
63204     case "$target" in
63205       *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
63206
63207   # If we're not using GNU ld, then there's no point in even trying these
63208   # tests.  Check for that first.  We should have already tested for gld
63209   # by now (in libtool), but require it now just to be safe...
63210   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63211   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63212
63213
63214
63215   # The name set by libtool depends on the version of libtool.  Shame on us
63216   # for depending on an impl detail, but c'est la vie.  Older versions used
63217   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63218   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63219   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
63220   # set (hence we're using an older libtool), then set it.
63221   if test x${with_gnu_ld+set} != xset; then
63222     if test x${ac_cv_prog_gnu_ld+set} != xset; then
63223       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
63224       with_gnu_ld=no
63225     else
63226       with_gnu_ld=$ac_cv_prog_gnu_ld
63227     fi
63228   fi
63229
63230   # Start by getting the version number.  I think the libtool test already
63231   # does some of this, but throws away the result.
63232   glibcxx_ld_is_gold=no
63233   if test x"$with_gnu_ld" = x"yes"; then
63234     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63235 $as_echo_n "checking for ld version... " >&6; }
63236
63237     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63238       glibcxx_ld_is_gold=yes
63239     fi
63240     ldver=`$LD --version 2>/dev/null |
63241            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'`
63242
63243     glibcxx_gnu_ld_version=`echo $ldver | \
63244            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63245     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63246 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63247   fi
63248
63249   # Set --gc-sections.
63250   glibcxx_have_gc_sections=no
63251   if test "$glibcxx_ld_is_gold" = "yes"; then
63252     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63253       glibcxx_have_gc_sections=yes
63254     fi
63255   else
63256     glibcxx_gcsections_min_ld=21602
63257     if test x"$with_gnu_ld" = x"yes" &&
63258         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63259       glibcxx_have_gc_sections=yes
63260     fi
63261   fi
63262   if test "$glibcxx_have_gc_sections" = "yes"; then
63263     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
63264     # NB: This flag only works reliably after 2.16.1. Configure tests
63265     # for this are difficult, so hard wire a value that should work.
63266
63267     ac_test_CFLAGS="${CFLAGS+set}"
63268     ac_save_CFLAGS="$CFLAGS"
63269     CFLAGS='-Wl,--gc-sections'
63270
63271     # Check for -Wl,--gc-sections
63272     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63273 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63274     if test x$gcc_no_link = xyes; then
63275   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63276 fi
63277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63278 /* end confdefs.h.  */
63279  int one(void) { return 1; }
63280      int two(void) { return 2; }
63281
63282 int
63283 main ()
63284 {
63285  two();
63286   ;
63287   return 0;
63288 }
63289 _ACEOF
63290 if ac_fn_c_try_link "$LINENO"; then :
63291   ac_gcsections=yes
63292 else
63293   ac_gcsections=no
63294 fi
63295 rm -f core conftest.err conftest.$ac_objext \
63296     conftest$ac_exeext conftest.$ac_ext
63297     if test "$ac_gcsections" = "yes"; then
63298       rm -f conftest.c
63299       touch conftest.c
63300       if $CC -c conftest.c; then
63301         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63302            grep "Warning: gc-sections option ignored" > /dev/null; then
63303           ac_gcsections=no
63304         fi
63305       fi
63306       rm -f conftest.c conftest.o conftest
63307     fi
63308     if test "$ac_gcsections" = "yes"; then
63309       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63310     fi
63311     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63312 $as_echo "$ac_gcsections" >&6; }
63313
63314     if test "$ac_test_CFLAGS" = set; then
63315       CFLAGS="$ac_save_CFLAGS"
63316     else
63317       # this is the suspicious part
63318       CFLAGS=''
63319     fi
63320   fi
63321
63322   # Set -z,relro.
63323   # Note this is only for shared objects.
63324   ac_ld_relro=no
63325   if test x"$with_gnu_ld" = x"yes"; then
63326     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63327 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63328     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63329     if test -n "$cxx_z_relo"; then
63330       OPT_LDFLAGS="-Wl,-z,relro"
63331       ac_ld_relro=yes
63332     fi
63333     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63334 $as_echo "$ac_ld_relro" >&6; }
63335   fi
63336
63337   # Set linker optimization flags.
63338   if test x"$with_gnu_ld" = x"yes"; then
63339     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63340   fi
63341
63342
63343
63344
63345          $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
63346
63347          $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63348
63349          $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
63350
63351          # All of the dependencies for wide character support are here, so
63352          # turn it on.
63353          $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
63354
63355         ;;
63356     esac
63357     case "$target" in
63358       *-*-solaris2.10)
63359       # These two C99 functions are present only in Solaris >= 10
63360       $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
63361
63362       $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
63363
63364      ;;
63365     esac
63366     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63367
63368     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63369
63370     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
63371
63372     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63373
63374     ;;
63375   *-tpf)
63376     SECTION_FLAGS='-ffunction-sections -fdata-sections'
63377
63378
63379   # If we're not using GNU ld, then there's no point in even trying these
63380   # tests.  Check for that first.  We should have already tested for gld
63381   # by now (in libtool), but require it now just to be safe...
63382   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63383   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63384
63385
63386
63387   # The name set by libtool depends on the version of libtool.  Shame on us
63388   # for depending on an impl detail, but c'est la vie.  Older versions used
63389   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63390   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63391   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
63392   # set (hence we're using an older libtool), then set it.
63393   if test x${with_gnu_ld+set} != xset; then
63394     if test x${ac_cv_prog_gnu_ld+set} != xset; then
63395       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
63396       with_gnu_ld=no
63397     else
63398       with_gnu_ld=$ac_cv_prog_gnu_ld
63399     fi
63400   fi
63401
63402   # Start by getting the version number.  I think the libtool test already
63403   # does some of this, but throws away the result.
63404   glibcxx_ld_is_gold=no
63405   if test x"$with_gnu_ld" = x"yes"; then
63406     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63407 $as_echo_n "checking for ld version... " >&6; }
63408
63409     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63410       glibcxx_ld_is_gold=yes
63411     fi
63412     ldver=`$LD --version 2>/dev/null |
63413            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'`
63414
63415     glibcxx_gnu_ld_version=`echo $ldver | \
63416            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63417     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63418 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63419   fi
63420
63421   # Set --gc-sections.
63422   glibcxx_have_gc_sections=no
63423   if test "$glibcxx_ld_is_gold" = "yes"; then
63424     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63425       glibcxx_have_gc_sections=yes
63426     fi
63427   else
63428     glibcxx_gcsections_min_ld=21602
63429     if test x"$with_gnu_ld" = x"yes" &&
63430         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63431       glibcxx_have_gc_sections=yes
63432     fi
63433   fi
63434   if test "$glibcxx_have_gc_sections" = "yes"; then
63435     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
63436     # NB: This flag only works reliably after 2.16.1. Configure tests
63437     # for this are difficult, so hard wire a value that should work.
63438
63439     ac_test_CFLAGS="${CFLAGS+set}"
63440     ac_save_CFLAGS="$CFLAGS"
63441     CFLAGS='-Wl,--gc-sections'
63442
63443     # Check for -Wl,--gc-sections
63444     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63445 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63446     if test x$gcc_no_link = xyes; then
63447   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63448 fi
63449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63450 /* end confdefs.h.  */
63451  int one(void) { return 1; }
63452      int two(void) { return 2; }
63453
63454 int
63455 main ()
63456 {
63457  two();
63458   ;
63459   return 0;
63460 }
63461 _ACEOF
63462 if ac_fn_c_try_link "$LINENO"; then :
63463   ac_gcsections=yes
63464 else
63465   ac_gcsections=no
63466 fi
63467 rm -f core conftest.err conftest.$ac_objext \
63468     conftest$ac_exeext conftest.$ac_ext
63469     if test "$ac_gcsections" = "yes"; then
63470       rm -f conftest.c
63471       touch conftest.c
63472       if $CC -c conftest.c; then
63473         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63474            grep "Warning: gc-sections option ignored" > /dev/null; then
63475           ac_gcsections=no
63476         fi
63477       fi
63478       rm -f conftest.c conftest.o conftest
63479     fi
63480     if test "$ac_gcsections" = "yes"; then
63481       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63482     fi
63483     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63484 $as_echo "$ac_gcsections" >&6; }
63485
63486     if test "$ac_test_CFLAGS" = set; then
63487       CFLAGS="$ac_save_CFLAGS"
63488     else
63489       # this is the suspicious part
63490       CFLAGS=''
63491     fi
63492   fi
63493
63494   # Set -z,relro.
63495   # Note this is only for shared objects.
63496   ac_ld_relro=no
63497   if test x"$with_gnu_ld" = x"yes"; then
63498     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63499 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63500     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63501     if test -n "$cxx_z_relo"; then
63502       OPT_LDFLAGS="-Wl,-z,relro"
63503       ac_ld_relro=yes
63504     fi
63505     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63506 $as_echo "$ac_ld_relro" >&6; }
63507   fi
63508
63509   # Set linker optimization flags.
63510   if test x"$with_gnu_ld" = x"yes"; then
63511     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63512   fi
63513
63514
63515
63516
63517     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63518
63519     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
63520
63521     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
63522
63523     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
63524
63525     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
63526
63527     $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
63528
63529     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63530
63531     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63532
63533     $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
63534
63535     $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
63536
63537     if test x"long_double_math_on_this_cpu" = x"yes"; then
63538       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
63539
63540       $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
63541
63542       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
63543
63544       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
63545
63546     fi
63547     ;;
63548   *-vxworks)
63549     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
63550
63551     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
63552
63553     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
63554
63555     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
63556
63557     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
63558
63559     $as_echo "#define HAVE_COSF 1" >>confdefs.h
63560
63561     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
63562
63563     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
63564
63565     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
63566
63567     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
63568
63569     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
63570
63571     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63572
63573     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
63574
63575     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
63576
63577     $as_echo "#define HAVE_POWF 1" >>confdefs.h
63578
63579     $as_echo "#define HAVE_SINF 1" >>confdefs.h
63580
63581     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
63582
63583     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
63584
63585     $as_echo "#define HAVE_TANF 1" >>confdefs.h
63586
63587     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
63588
63589     ;;
63590   *)
63591     as_fn_error "No support for this host/target combination." "$LINENO" 5
63592    ;;
63593 esac
63594
63595   fi
63596
63597   # At some point, we should differentiate between architectures
63598   # like x86, which have long double versions, and alpha/powerpc/etc.,
63599   # which don't. For the time being, punt.
63600   if test x"long_double_math_on_this_cpu" = x"yes"; then
63601     $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
63602
63603     $as_echo "#define HAVE_ASINL 1" >>confdefs.h
63604
63605     $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
63606
63607     $as_echo "#define HAVE_ATANL 1" >>confdefs.h
63608
63609     $as_echo "#define HAVE_CEILL 1" >>confdefs.h
63610
63611     $as_echo "#define HAVE_COSL 1" >>confdefs.h
63612
63613     $as_echo "#define HAVE_COSHL 1" >>confdefs.h
63614
63615     $as_echo "#define HAVE_EXPL 1" >>confdefs.h
63616
63617     $as_echo "#define HAVE_FABSL 1" >>confdefs.h
63618
63619     $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
63620
63621     $as_echo "#define HAVE_FMODL 1" >>confdefs.h
63622
63623     $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
63624
63625     $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
63626
63627     $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
63628
63629     $as_echo "#define HAVE_LOGL 1" >>confdefs.h
63630
63631     $as_echo "#define HAVE_MODFL 1" >>confdefs.h
63632
63633     $as_echo "#define HAVE_POWL 1" >>confdefs.h
63634
63635     $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
63636
63637     $as_echo "#define HAVE_SINL 1" >>confdefs.h
63638
63639     $as_echo "#define HAVE_SINHL 1" >>confdefs.h
63640
63641     $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
63642
63643     $as_echo "#define HAVE_TANL 1" >>confdefs.h
63644
63645     $as_echo "#define HAVE_TANHL 1" >>confdefs.h
63646
63647   fi
63648 fi
63649
63650 # Check for _Unwind_GetIPInfo.
63651
63652
63653 # Check whether --with-system-libunwind was given.
63654 if test "${with_system_libunwind+set}" = set; then :
63655   withval=$with_system_libunwind;
63656 fi
63657
63658   # If system-libunwind was not specifically set, pick a default setting.
63659   if test x$with_system_libunwind = x; then
63660     case ${target} in
63661       ia64-*-hpux*) with_system_libunwind=yes ;;
63662       *) with_system_libunwind=no ;;
63663     esac
63664   fi
63665   # Based on system-libunwind and target, do we have ipinfo?
63666   if  test x$with_system_libunwind = xyes; then
63667     case ${target} in
63668       ia64-*-*) have_unwind_getipinfo=no ;;
63669       *) have_unwind_getipinfo=yes ;;
63670     esac
63671   else
63672     # Darwin before version 9 does not have _Unwind_GetIPInfo.
63673
63674     case ${target} in
63675       *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
63676       *) have_unwind_getipinfo=yes ;;
63677     esac
63678
63679   fi
63680
63681   if test x$have_unwind_getipinfo = xyes; then
63682
63683 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
63684
63685   fi
63686
63687
63688
63689  # Check whether --enable-linux-futex was given.
63690 if test "${enable_linux_futex+set}" = set; then :
63691   enableval=$enable_linux_futex;
63692       case "$enableval" in
63693        yes|no|default) ;;
63694        *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
63695                           esac
63696
63697 else
63698   enable_linux_futex=default
63699 fi
63700
63701
63702 case "$target" in
63703   *-linux*)
63704     case "$enable_linux_futex" in
63705       default)
63706         # If headers don't have gettid/futex syscalls definition, then
63707         # default to no, otherwise there will be compile time failures.
63708         # Otherwise, default to yes.  If we don't detect we are
63709         # compiled/linked against NPTL and not cross-compiling, check
63710         # if programs are run by default against NPTL and if not, issue
63711         # a warning.
63712         enable_linux_futex=no
63713         if test x$gcc_no_link = xyes; then
63714   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63715 fi
63716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63717 /* end confdefs.h.  */
63718 #include <sys/syscall.h>
63719            int lk;
63720 int
63721 main ()
63722 {
63723 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
63724   ;
63725   return 0;
63726 }
63727 _ACEOF
63728 if ac_fn_c_try_link "$LINENO"; then :
63729   save_LIBS="$LIBS"
63730            LIBS="-lpthread $LIBS"
63731            if test x$gcc_no_link = xyes; then
63732   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63733 fi
63734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63735 /* end confdefs.h.  */
63736 #ifndef _GNU_SOURCE
63737              #define _GNU_SOURCE 1
63738              #endif
63739              #include <pthread.h>
63740              pthread_t th; void *status;
63741 int
63742 main ()
63743 {
63744 pthread_tryjoin_np (th, &status);
63745   ;
63746   return 0;
63747 }
63748 _ACEOF
63749 if ac_fn_c_try_link "$LINENO"; then :
63750   enable_linux_futex=yes
63751 else
63752   if test x$cross_compiling = xno; then
63753                if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
63754                   | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
63755                  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
63756 If so, please configure with --disable-linux-futex" >&5
63757 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
63758 If so, please configure with --disable-linux-futex" >&2;}
63759                fi
63760              fi
63761              enable_linux_futex=yes
63762 fi
63763 rm -f core conftest.err conftest.$ac_objext \
63764     conftest$ac_exeext conftest.$ac_ext
63765            LIBS="$save_LIBS"
63766 fi
63767 rm -f core conftest.err conftest.$ac_objext \
63768     conftest$ac_exeext conftest.$ac_ext
63769         ;;
63770       yes)
63771         if test x$gcc_no_link = xyes; then
63772   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63773 fi
63774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63775 /* end confdefs.h.  */
63776 #include <sys/syscall.h>
63777            int lk;
63778 int
63779 main ()
63780 {
63781 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
63782   ;
63783   return 0;
63784 }
63785 _ACEOF
63786 if ac_fn_c_try_link "$LINENO"; then :
63787
63788 else
63789   as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
63790 fi
63791 rm -f core conftest.err conftest.$ac_objext \
63792     conftest$ac_exeext conftest.$ac_ext
63793         ;;
63794     esac
63795     ;;
63796   *)
63797     enable_linux_futex=no
63798     ;;
63799 esac
63800 if test x$enable_linux_futex = xyes; then
63801
63802 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
63803
63804 fi
63805
63806
63807
63808
63809 inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
63810
63811 acx_cv_header_stdint=stddef.h
63812 acx_cv_header_stdint_kind="(already complete)"
63813 for i in stdint.h $inttype_headers; do
63814   unset ac_cv_type_uintptr_t
63815   unset ac_cv_type_uintmax_t
63816   unset ac_cv_type_int_least32_t
63817   unset ac_cv_type_int_fast32_t
63818   unset ac_cv_type_uint64_t
63819   $as_echo_n "looking for a compliant stdint.h in $i, " >&6
63820   ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
63821 #include <$i>
63822 "
63823 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
63824   acx_cv_header_stdint=$i
63825 else
63826   continue
63827 fi
63828
63829   ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
63830 #include <$i>
63831 "
63832 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
63833
63834 else
63835   acx_cv_header_stdint_kind="(mostly complete)"
63836 fi
63837
63838   ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
63839 #include <$i>
63840 "
63841 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
63842
63843 else
63844   acx_cv_header_stdint_kind="(mostly complete)"
63845 fi
63846
63847   ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
63848 #include <$i>
63849 "
63850 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
63851
63852 else
63853   acx_cv_header_stdint_kind="(mostly complete)"
63854 fi
63855
63856   ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
63857 #include <$i>
63858 "
63859 if test "x$ac_cv_type_uint64_t" = x""yes; then :
63860
63861 else
63862   acx_cv_header_stdint_kind="(lacks uint64_t)"
63863 fi
63864
63865   break
63866 done
63867 if test "$acx_cv_header_stdint" = stddef.h; then
63868   acx_cv_header_stdint_kind="(lacks uintmax_t)"
63869   for i in stdint.h $inttype_headers; do
63870     unset ac_cv_type_uintptr_t
63871     unset ac_cv_type_uint32_t
63872     unset ac_cv_type_uint64_t
63873     $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
63874     ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
63875 #include <$i>
63876 "
63877 if test "x$ac_cv_type_uint32_t" = x""yes; then :
63878   acx_cv_header_stdint=$i
63879 else
63880   continue
63881 fi
63882
63883     ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
63884 #include <$i>
63885 "
63886 if test "x$ac_cv_type_uint64_t" = x""yes; then :
63887
63888 fi
63889
63890     ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
63891 #include <$i>
63892 "
63893 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
63894
63895 fi
63896
63897     break
63898   done
63899 fi
63900 if test "$acx_cv_header_stdint" = stddef.h; then
63901   acx_cv_header_stdint_kind="(u_intXX_t style)"
63902   for i in sys/types.h $inttype_headers; do
63903     unset ac_cv_type_u_int32_t
63904     unset ac_cv_type_u_int64_t
63905     $as_echo_n "looking for u_intXX_t types in $i, " >&6
63906     ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
63907 #include <$i>
63908 "
63909 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
63910   acx_cv_header_stdint=$i
63911 else
63912   continue
63913 fi
63914
63915     ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
63916 #include <$i>
63917 "
63918 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
63919
63920 fi
63921
63922     break
63923   done
63924 fi
63925 if test "$acx_cv_header_stdint" = stddef.h; then
63926   acx_cv_header_stdint_kind="(using manual detection)"
63927 fi
63928
63929 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
63930 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
63931 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
63932 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
63933 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
63934
63935 # ----------------- Summarize what we found so far
63936
63937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
63938 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
63939
63940 case `$as_basename -- include/gstdint.h ||
63941 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
63942          Xinclude/gstdint.h : 'X\(//\)$' \| \
63943          Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
63944 $as_echo X/include/gstdint.h |
63945     sed '/^.*\/\([^/][^/]*\)\/*$/{
63946             s//\1/
63947             q
63948           }
63949           /^X\/\(\/\/\)$/{
63950             s//\1/
63951             q
63952           }
63953           /^X\/\(\/\).*/{
63954             s//\1/
63955             q
63956           }
63957           s/.*/./; q'` in
63958   stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
63959 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
63960   inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
63961 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
63962   *) ;;
63963 esac
63964
63965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
63966 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
63967
63968 # ----------------- done included file, check C basic types --------
63969
63970 # Lacking an uintptr_t?  Test size of void *
63971 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
63972   stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
63973 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
63974 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
63975 # This bug is HP SR number 8606223364.
63976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
63977 $as_echo_n "checking size of void *... " >&6; }
63978 if test "${ac_cv_sizeof_void_p+set}" = set; then :
63979   $as_echo_n "(cached) " >&6
63980 else
63981   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
63982
63983 else
63984   if test "$ac_cv_type_void_p" = yes; then
63985      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
63986 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
63987 { as_fn_set_status 77
63988 as_fn_error "cannot compute sizeof (void *)
63989 See \`config.log' for more details." "$LINENO" 5; }; }
63990    else
63991      ac_cv_sizeof_void_p=0
63992    fi
63993 fi
63994
63995 fi
63996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
63997 $as_echo "$ac_cv_sizeof_void_p" >&6; }
63998
63999
64000
64001 cat >>confdefs.h <<_ACEOF
64002 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
64003 _ACEOF
64004
64005  ;;
64006 esac
64007
64008 # Lacking an uint64_t?  Test size of long
64009 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
64010   stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
64011 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64012 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64013 # This bug is HP SR number 8606223364.
64014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
64015 $as_echo_n "checking size of long... " >&6; }
64016 if test "${ac_cv_sizeof_long+set}" = set; then :
64017   $as_echo_n "(cached) " >&6
64018 else
64019   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
64020
64021 else
64022   if test "$ac_cv_type_long" = yes; then
64023      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64024 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64025 { as_fn_set_status 77
64026 as_fn_error "cannot compute sizeof (long)
64027 See \`config.log' for more details." "$LINENO" 5; }; }
64028    else
64029      ac_cv_sizeof_long=0
64030    fi
64031 fi
64032
64033 fi
64034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
64035 $as_echo "$ac_cv_sizeof_long" >&6; }
64036
64037
64038
64039 cat >>confdefs.h <<_ACEOF
64040 #define SIZEOF_LONG $ac_cv_sizeof_long
64041 _ACEOF
64042
64043  ;;
64044 esac
64045
64046 if test $acx_cv_header_stdint = stddef.h; then
64047   # Lacking a good header?  Test size of everything and deduce all types.
64048   # The cast to long int works around a bug in the HP C Compiler
64049 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64050 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64051 # This bug is HP SR number 8606223364.
64052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
64053 $as_echo_n "checking size of int... " >&6; }
64054 if test "${ac_cv_sizeof_int+set}" = set; then :
64055   $as_echo_n "(cached) " >&6
64056 else
64057   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
64058
64059 else
64060   if test "$ac_cv_type_int" = yes; then
64061      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64062 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64063 { as_fn_set_status 77
64064 as_fn_error "cannot compute sizeof (int)
64065 See \`config.log' for more details." "$LINENO" 5; }; }
64066    else
64067      ac_cv_sizeof_int=0
64068    fi
64069 fi
64070
64071 fi
64072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
64073 $as_echo "$ac_cv_sizeof_int" >&6; }
64074
64075
64076
64077 cat >>confdefs.h <<_ACEOF
64078 #define SIZEOF_INT $ac_cv_sizeof_int
64079 _ACEOF
64080
64081
64082   # The cast to long int works around a bug in the HP C Compiler
64083 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64084 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64085 # This bug is HP SR number 8606223364.
64086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
64087 $as_echo_n "checking size of short... " >&6; }
64088 if test "${ac_cv_sizeof_short+set}" = set; then :
64089   $as_echo_n "(cached) " >&6
64090 else
64091   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
64092
64093 else
64094   if test "$ac_cv_type_short" = yes; then
64095      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64096 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64097 { as_fn_set_status 77
64098 as_fn_error "cannot compute sizeof (short)
64099 See \`config.log' for more details." "$LINENO" 5; }; }
64100    else
64101      ac_cv_sizeof_short=0
64102    fi
64103 fi
64104
64105 fi
64106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
64107 $as_echo "$ac_cv_sizeof_short" >&6; }
64108
64109
64110
64111 cat >>confdefs.h <<_ACEOF
64112 #define SIZEOF_SHORT $ac_cv_sizeof_short
64113 _ACEOF
64114
64115
64116   # The cast to long int works around a bug in the HP C Compiler
64117 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64118 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64119 # This bug is HP SR number 8606223364.
64120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
64121 $as_echo_n "checking size of char... " >&6; }
64122 if test "${ac_cv_sizeof_char+set}" = set; then :
64123   $as_echo_n "(cached) " >&6
64124 else
64125   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
64126
64127 else
64128   if test "$ac_cv_type_char" = yes; then
64129      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64130 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64131 { as_fn_set_status 77
64132 as_fn_error "cannot compute sizeof (char)
64133 See \`config.log' for more details." "$LINENO" 5; }; }
64134    else
64135      ac_cv_sizeof_char=0
64136    fi
64137 fi
64138
64139 fi
64140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
64141 $as_echo "$ac_cv_sizeof_char" >&6; }
64142
64143
64144
64145 cat >>confdefs.h <<_ACEOF
64146 #define SIZEOF_CHAR $ac_cv_sizeof_char
64147 _ACEOF
64148
64149
64150
64151   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
64152 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
64153   case "$ac_cv_sizeof_char" in
64154     1) acx_cv_type_int8_t=char ;;
64155     *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
64156   esac
64157   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
64158 $as_echo "$acx_cv_type_int8_t" >&6; }
64159
64160   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
64161 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
64162   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
64163     2:*) acx_cv_type_int16_t=int ;;
64164     *:2) acx_cv_type_int16_t=short ;;
64165     *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
64166   esac
64167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
64168 $as_echo "$acx_cv_type_int16_t" >&6; }
64169
64170   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
64171 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
64172   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
64173     4:*) acx_cv_type_int32_t=int ;;
64174     *:4) acx_cv_type_int32_t=long ;;
64175     *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
64176   esac
64177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
64178 $as_echo "$acx_cv_type_int32_t" >&6; }
64179 fi
64180
64181 # These tests are here to make the output prettier
64182
64183 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
64184   case "$ac_cv_sizeof_long" in
64185     8) acx_cv_type_int64_t=long ;;
64186   esac
64187   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
64188 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
64189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
64190 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
64191 fi
64192
64193 # Now we can use the above types
64194
64195 if test "$ac_cv_type_uintptr_t" != yes; then
64196   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
64197 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
64198   case $ac_cv_sizeof_void_p in
64199     2) acx_cv_type_intptr_t=int16_t ;;
64200     4) acx_cv_type_intptr_t=int32_t ;;
64201     8) acx_cv_type_intptr_t=int64_t ;;
64202     *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
64203   esac
64204   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
64205 $as_echo "$acx_cv_type_intptr_t" >&6; }
64206 fi
64207
64208 # ----------------- done all checks, emit header -------------
64209 ac_config_commands="$ac_config_commands include/gstdint.h"
64210
64211
64212
64213
64214 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
64215
64216   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
64217 $as_echo_n "checking for GNU c++filt... " >&6; }
64218 if test "${ac_cv_path_CXXFILT+set}" = set; then :
64219   $as_echo_n "(cached) " >&6
64220 else
64221   if test -z "$CXXFILT"; then
64222   ac_path_CXXFILT_found=false
64223   # Loop through the user's path and test for each of PROGNAME-LIST
64224   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64225 for as_dir in $PATH
64226 do
64227   IFS=$as_save_IFS
64228   test -z "$as_dir" && as_dir=.
64229     for ac_prog in c++filt gc++filt; do
64230     for ac_exec_ext in '' $ac_executable_extensions; do
64231       ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
64232       { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
64233 # Check for GNU $ac_path_CXXFILT
64234 case `"$ac_path_CXXFILT" --version 2>&1` in
64235 *GNU*)
64236   ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
64237 esac
64238
64239       $ac_path_CXXFILT_found && break 3
64240     done
64241   done
64242   done
64243 IFS=$as_save_IFS
64244   if test -z "$ac_cv_path_CXXFILT"; then
64245     :
64246   fi
64247 else
64248   ac_cv_path_CXXFILT=$CXXFILT
64249 fi
64250
64251 fi
64252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
64253 $as_echo "$ac_cv_path_CXXFILT" >&6; }
64254   CXXFILT=$ac_cv_path_CXXFILT
64255
64256
64257
64258  # Check whether --enable-symvers was given.
64259 if test "${enable_symvers+set}" = set; then :
64260   enableval=$enable_symvers;
64261       case "$enableval" in
64262        yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
64263        *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
64264                         esac
64265
64266 else
64267   enable_symvers=yes
64268 fi
64269
64270
64271
64272 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
64273 # don't know enough about $LD to do tricks...
64274
64275 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
64276 # with extern "C++" in version scripts.
64277
64278
64279 # Turn a 'yes' into a suitable default.
64280 if test x$enable_symvers = xyes ; then
64281   if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
64282     enable_symvers=no
64283   else
64284     if test $with_gnu_ld = yes ; then
64285       case ${target_os} in
64286         hpux*)
64287           enable_symvers=no ;;
64288         *)
64289           enable_symvers=gnu ;;
64290       esac
64291     else
64292       case ${target_os} in
64293         darwin*)
64294           enable_symvers=darwin ;;
64295         # Sun symbol versioning exists since Solaris 2.5.
64296         solaris2.[5-9]* | solaris2.1[0-9]*)
64297           # make_sunver.pl needs GNU c++filt to support extern "C++" in
64298           # version scripts, so disable symbol versioning if none can be
64299           # found.
64300           if test -z "$ac_cv_path_CXXFILT"; then
64301             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
64302 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
64303             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could  be found." >&5
64304 $as_echo "$as_me: WARNING: === no GNU c++filt could  be found." >&2;}
64305             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64306 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64307             enable_symvers=no
64308           else
64309             enable_symvers=sun
64310           fi
64311           ;;
64312         *)
64313           enable_symvers=no ;;
64314       esac
64315     fi
64316   fi
64317 fi
64318
64319 # Check to see if 'darwin' or 'darwin-export' can win.
64320 if test x$enable_symvers = xdarwin-export ; then
64321     enable_symvers=darwin
64322 fi
64323
64324 # Check if 'sun' was requested on non-Solaris 2 platforms.
64325 if test x$enable_symvers = xsun ; then
64326   case ${target_os} in
64327     solaris2*)
64328       # All fine.
64329       ;;
64330     *)
64331       # Unlikely to work.
64332       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
64333 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
64334       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
64335 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
64336       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64337 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64338       enable_symvers=no
64339       ;;
64340   esac
64341 fi
64342
64343 # Check to see if 'gnu' can win.
64344 if test $enable_symvers = gnu ||
64345   test $enable_symvers = gnu-versioned-namespace ||
64346   test $enable_symvers = sun; then
64347   # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
64348   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
64349 $as_echo_n "checking for shared libgcc... " >&6; }
64350   ac_save_CFLAGS="$CFLAGS"
64351   CFLAGS=' -lgcc_s'
64352   if test x$gcc_no_link = xyes; then
64353   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64354 fi
64355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64356 /* end confdefs.h.  */
64357
64358 int
64359 main ()
64360 {
64361 return 0;
64362   ;
64363   return 0;
64364 }
64365 _ACEOF
64366 if ac_fn_c_try_link "$LINENO"; then :
64367   glibcxx_shared_libgcc=yes
64368 else
64369   glibcxx_shared_libgcc=no
64370 fi
64371 rm -f core conftest.err conftest.$ac_objext \
64372     conftest$ac_exeext conftest.$ac_ext
64373   CFLAGS="$ac_save_CFLAGS"
64374   if test $glibcxx_shared_libgcc = no; then
64375     cat > conftest.c <<EOF
64376 int main (void) { return 0; }
64377 EOF
64378     glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
64379                              -shared -shared-libgcc -o conftest.so \
64380                              conftest.c -v 2>&1 >/dev/null \
64381                              | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
64382     rm -f conftest.c conftest.so
64383     if test x${glibcxx_libgcc_s_suffix+set} = xset; then
64384       CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
64385       if test x$gcc_no_link = xyes; then
64386   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64387 fi
64388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64389 /* end confdefs.h.  */
64390
64391 int
64392 main ()
64393 {
64394 return 0;
64395   ;
64396   return 0;
64397 }
64398 _ACEOF
64399 if ac_fn_c_try_link "$LINENO"; then :
64400   glibcxx_shared_libgcc=yes
64401 fi
64402 rm -f core conftest.err conftest.$ac_objext \
64403     conftest$ac_exeext conftest.$ac_ext
64404       CFLAGS="$ac_save_CFLAGS"
64405     fi
64406   fi
64407   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
64408 $as_echo "$glibcxx_shared_libgcc" >&6; }
64409
64410   # For GNU ld, we need at least this version.  The format is described in
64411   # GLIBCXX_CHECK_LINKER_FEATURES above.
64412   glibcxx_min_gnu_ld_version=21400
64413
64414   # If no shared libgcc, can't win.
64415   if test $glibcxx_shared_libgcc != yes; then
64416       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
64417 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
64418       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
64419 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
64420       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64421 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64422       enable_symvers=no
64423   elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
64424     : All interesting versions of Sun ld support sun style symbol versioning.
64425   elif test $with_gnu_ld != yes ; then
64426     # just fail for now
64427     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
64428 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
64429     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
64430 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
64431     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64432 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64433     enable_symvers=no
64434   elif test $glibcxx_ld_is_gold = yes ; then
64435     : All versions of gold support symbol versioning.
64436   elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
64437     # The right tools, the right setup, but too old.  Fallbacks?
64438     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
64439 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
64440     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
64441 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
64442     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
64443 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
64444     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
64445 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
64446     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64447 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64448     enable_symvers=no
64449   fi
64450 fi
64451
64452 # Everything parsed; figure out what file to use.
64453 case $enable_symvers in
64454   no)
64455     SYMVER_FILE=config/abi/pre/none.ver
64456     ;;
64457   gnu)
64458     SYMVER_FILE=config/abi/pre/gnu.ver
64459
64460 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
64461
64462     ;;
64463   gnu-versioned-namespace)
64464     SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
64465
64466 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
64467
64468     ;;
64469   darwin)
64470     SYMVER_FILE=config/abi/pre/gnu.ver
64471
64472 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
64473
64474     ;;
64475   sun)
64476     SYMVER_FILE=config/abi/pre/gnu.ver
64477
64478 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
64479
64480     ;;
64481 esac
64482
64483 if test x$enable_symvers != xno ; then
64484
64485 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
64486
64487 fi
64488
64489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
64490 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
64491 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
64492   $as_echo_n "(cached) " >&6
64493 else
64494
64495   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64496 /* end confdefs.h.  */
64497 void foo (void); __asm (".symver foo, bar@SYMVER");
64498 int
64499 main ()
64500 {
64501
64502   ;
64503   return 0;
64504 }
64505 _ACEOF
64506 if ac_fn_c_try_compile "$LINENO"; then :
64507   glibcxx_cv_have_as_symver_directive=yes
64508 else
64509   glibcxx_cv_have_as_symver_directive=no
64510 fi
64511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64512 fi
64513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
64514 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
64515 if test $glibcxx_cv_have_as_symver_directive = yes; then
64516
64517 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
64518
64519 fi
64520
64521
64522
64523
64524
64525
64526
64527
64528 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
64529 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
64530
64531 if test $enable_symvers != no ; then
64532    case ${target_os} in
64533      # The Solaris 2 runtime linker doesn't support the GNU extension of
64534      # binding the same symbol to different versions
64535      solaris2*)
64536        symvers_renaming=no  ;;
64537      # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
64538      *)
64539
64540 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
64541
64542        symvers_renaming=yes  ;;
64543     esac
64544 else
64545     symvers_renaming=no
64546 fi
64547
64548
64549 # Now, set up compatibility support, if any.
64550 # In addition, need this to deal with std::size_t mangling in
64551 # src/compatibility.cc.  In a perfect world, could use
64552 # typeid(std::size_t).name()[0] to do direct substitution.
64553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
64554 $as_echo_n "checking for size_t as unsigned int... " >&6; }
64555 ac_save_CFLAGS="$CFLAGS"
64556 CFLAGS="-Werror"
64557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64558 /* end confdefs.h.  */
64559
64560 int
64561 main ()
64562 {
64563 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
64564   ;
64565   return 0;
64566 }
64567 _ACEOF
64568 if ac_fn_c_try_compile "$LINENO"; then :
64569   glibcxx_size_t_is_i=yes
64570 else
64571   glibcxx_size_t_is_i=no
64572 fi
64573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64574 CFLAGS=$ac_save_CFLAGS
64575 if test "$glibcxx_size_t_is_i" = yes; then
64576
64577 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
64578
64579 fi
64580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
64581 $as_echo "$glibcxx_size_t_is_i" >&6; }
64582
64583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
64584 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
64585 ac_save_CFLAGS="$CFLAGS"
64586 CFLAGS="-Werror"
64587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64588 /* end confdefs.h.  */
64589
64590 int
64591 main ()
64592 {
64593 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
64594   ;
64595   return 0;
64596 }
64597 _ACEOF
64598 if ac_fn_c_try_compile "$LINENO"; then :
64599   glibcxx_ptrdiff_t_is_i=yes
64600 else
64601   glibcxx_ptrdiff_t_is_i=no
64602 fi
64603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64604 CFLAGS=$ac_save_CFLAGS
64605 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
64606
64607 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
64608
64609 fi
64610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
64611 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
64612
64613
64614  # Check whether --enable-visibility was given.
64615 if test "${enable_visibility+set}" = set; then :
64616   enableval=$enable_visibility;
64617       case "$enableval" in
64618        yes|no) ;;
64619        *) as_fn_error "Argument to enable/disable visibility must be yes or no" "$LINENO" 5 ;;
64620       esac
64621
64622 else
64623   enable_visibility=yes
64624 fi
64625
64626
64627
64628 if test x$enable_visibility = xyes ; then
64629       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
64630 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
64631 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
64632   $as_echo_n "(cached) " >&6
64633 else
64634
64635   save_CFLAGS="$CFLAGS"
64636   CFLAGS="$CFLAGS -Werror"
64637   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64638 /* end confdefs.h.  */
64639 void __attribute__((visibility("hidden"))) foo(void) { }
64640 int
64641 main ()
64642 {
64643
64644   ;
64645   return 0;
64646 }
64647 _ACEOF
64648 if ac_fn_c_try_compile "$LINENO"; then :
64649   glibcxx_cv_have_attribute_visibility=yes
64650 else
64651   glibcxx_cv_have_attribute_visibility=no
64652 fi
64653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64654   CFLAGS="$save_CFLAGS"
64655 fi
64656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
64657 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
64658   if test $glibcxx_cv_have_attribute_visibility = no; then
64659     enable_visibility=no
64660   fi
64661 fi
64662
64663
64664 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_visibility" >&5
64665 $as_echo "$as_me: visibility supported: $enable_visibility" >&6;}
64666
64667
64668 ac_ldbl_compat=no
64669 case "$target" in
64670   powerpc*-*-linux* | \
64671   sparc*-*-linux* | \
64672   s390*-*-linux* | \
64673   alpha*-*-linux*)
64674   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64675 /* end confdefs.h.  */
64676
64677 int
64678 main ()
64679 {
64680
64681 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
64682 #error no need for long double compatibility
64683 #endif
64684
64685   ;
64686   return 0;
64687 }
64688 _ACEOF
64689 if ac_fn_c_try_compile "$LINENO"; then :
64690   ac_ldbl_compat=yes
64691 else
64692   ac_ldbl_compat=no
64693 fi
64694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64695   if test "$ac_ldbl_compat" = yes; then
64696
64697 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
64698
64699     port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
64700   fi
64701 esac
64702
64703
64704 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
64705
64706   if $GLIBCXX_IS_NATIVE ; then
64707     # Do checks for resource limit functions.
64708
64709   setrlimit_have_headers=yes
64710   for ac_header in unistd.h sys/time.h sys/resource.h
64711 do :
64712   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
64713 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
64714 eval as_val=\$$as_ac_Header
64715    if test "x$as_val" = x""yes; then :
64716   cat >>confdefs.h <<_ACEOF
64717 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
64718 _ACEOF
64719
64720 else
64721   setrlimit_have_headers=no
64722 fi
64723
64724 done
64725
64726   # If don't have the headers, then we can't run the tests now, and we
64727   # won't be seeing any of these during testsuite compilation.
64728   if test $setrlimit_have_headers = yes; then
64729     # Can't do these in a loop, else the resulting syntax is wrong.
64730
64731   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
64732 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
64733   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64734 /* end confdefs.h.  */
64735 #include <unistd.h>
64736      #include <sys/time.h>
64737      #include <sys/resource.h>
64738
64739 int
64740 main ()
64741 {
64742  int f = RLIMIT_DATA ;
64743   ;
64744   return 0;
64745 }
64746 _ACEOF
64747 if ac_fn_c_try_compile "$LINENO"; then :
64748   glibcxx_mresult=1
64749 else
64750   glibcxx_mresult=0
64751 fi
64752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64753
64754 cat >>confdefs.h <<_ACEOF
64755 #define HAVE_LIMIT_DATA $glibcxx_mresult
64756 _ACEOF
64757
64758   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
64759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
64760 $as_echo "$res" >&6; }
64761
64762
64763   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
64764 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
64765   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64766 /* end confdefs.h.  */
64767 #include <unistd.h>
64768      #include <sys/time.h>
64769      #include <sys/resource.h>
64770
64771 int
64772 main ()
64773 {
64774  int f = RLIMIT_RSS ;
64775   ;
64776   return 0;
64777 }
64778 _ACEOF
64779 if ac_fn_c_try_compile "$LINENO"; then :
64780   glibcxx_mresult=1
64781 else
64782   glibcxx_mresult=0
64783 fi
64784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64785
64786 cat >>confdefs.h <<_ACEOF
64787 #define HAVE_LIMIT_RSS $glibcxx_mresult
64788 _ACEOF
64789
64790   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
64791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
64792 $as_echo "$res" >&6; }
64793
64794
64795   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
64796 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
64797   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64798 /* end confdefs.h.  */
64799 #include <unistd.h>
64800      #include <sys/time.h>
64801      #include <sys/resource.h>
64802
64803 int
64804 main ()
64805 {
64806  int f = RLIMIT_VMEM ;
64807   ;
64808   return 0;
64809 }
64810 _ACEOF
64811 if ac_fn_c_try_compile "$LINENO"; then :
64812   glibcxx_mresult=1
64813 else
64814   glibcxx_mresult=0
64815 fi
64816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64817
64818 cat >>confdefs.h <<_ACEOF
64819 #define HAVE_LIMIT_VMEM $glibcxx_mresult
64820 _ACEOF
64821
64822   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
64823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
64824 $as_echo "$res" >&6; }
64825
64826
64827   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
64828 $as_echo_n "checking for RLIMIT_AS... " >&6; }
64829   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64830 /* end confdefs.h.  */
64831 #include <unistd.h>
64832      #include <sys/time.h>
64833      #include <sys/resource.h>
64834
64835 int
64836 main ()
64837 {
64838  int f = RLIMIT_AS ;
64839   ;
64840   return 0;
64841 }
64842 _ACEOF
64843 if ac_fn_c_try_compile "$LINENO"; then :
64844   glibcxx_mresult=1
64845 else
64846   glibcxx_mresult=0
64847 fi
64848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64849
64850 cat >>confdefs.h <<_ACEOF
64851 #define HAVE_LIMIT_AS $glibcxx_mresult
64852 _ACEOF
64853
64854   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
64855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
64856 $as_echo "$res" >&6; }
64857
64858
64859   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
64860 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
64861   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64862 /* end confdefs.h.  */
64863 #include <unistd.h>
64864      #include <sys/time.h>
64865      #include <sys/resource.h>
64866
64867 int
64868 main ()
64869 {
64870  int f = RLIMIT_FSIZE ;
64871   ;
64872   return 0;
64873 }
64874 _ACEOF
64875 if ac_fn_c_try_compile "$LINENO"; then :
64876   glibcxx_mresult=1
64877 else
64878   glibcxx_mresult=0
64879 fi
64880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64881
64882 cat >>confdefs.h <<_ACEOF
64883 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
64884 _ACEOF
64885
64886   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
64887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
64888 $as_echo "$res" >&6; }
64889
64890
64891     # Check for rlimit, setrlimit.
64892     if test "${glibcxx_cv_setrlimit+set}" = set; then :
64893   $as_echo_n "(cached) " >&6
64894 else
64895
64896       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64897 /* end confdefs.h.  */
64898 #include <unistd.h>
64899          #include <sys/time.h>
64900          #include <sys/resource.h>
64901
64902 int
64903 main ()
64904 {
64905 struct rlimit r;
64906          setrlimit(0, &r);
64907   ;
64908   return 0;
64909 }
64910 _ACEOF
64911 if ac_fn_c_try_compile "$LINENO"; then :
64912   glibcxx_cv_setrlimit=yes
64913 else
64914   glibcxx_cv_setrlimit=no
64915 fi
64916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64917
64918 fi
64919
64920   fi
64921
64922   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
64923 $as_echo_n "checking for testsuite resource limits support... " >&6; }
64924   if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
64925     ac_res_limits=yes
64926
64927 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
64928
64929   else
64930     ac_res_limits=no
64931   fi
64932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
64933 $as_echo "$ac_res_limits" >&6; }
64934
64935
64936     # Look for setenv, so that extended locale tests can be performed.
64937
64938   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
64939 $as_echo_n "checking for setenv declaration... " >&6; }
64940   if test x${glibcxx_cv_func_setenv_use+set} != xset; then
64941     if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
64942   $as_echo_n "(cached) " >&6
64943 else
64944
64945
64946       ac_ext=cpp
64947 ac_cpp='$CXXCPP $CPPFLAGS'
64948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64951
64952       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64953 /* end confdefs.h.  */
64954 #include <stdlib.h>
64955 int
64956 main ()
64957 {
64958  setenv(0, 0, 0);
64959   ;
64960   return 0;
64961 }
64962 _ACEOF
64963 if ac_fn_cxx_try_compile "$LINENO"; then :
64964   glibcxx_cv_func_setenv_use=yes
64965 else
64966   glibcxx_cv_func_setenv_use=no
64967 fi
64968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64969       ac_ext=c
64970 ac_cpp='$CPP $CPPFLAGS'
64971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64974
64975
64976 fi
64977
64978   fi
64979   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
64980 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
64981   if test x$glibcxx_cv_func_setenv_use = x"yes"; then
64982     for ac_func in setenv
64983 do :
64984   ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
64985 if test "x$ac_cv_func_setenv" = x""yes; then :
64986   cat >>confdefs.h <<_ACEOF
64987 #define HAVE_SETENV 1
64988 _ACEOF
64989
64990 fi
64991 done
64992
64993   fi
64994
64995   fi
64996
64997   if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
64998      test $enable_symvers != no; then
64999     case "$host" in
65000       *-*-cygwin*)
65001         enable_abi_check=no ;;
65002       *)
65003         enable_abi_check=yes ;;
65004     esac
65005   else
65006     # Only build this as native, since automake does not understand
65007     # CXX_FOR_BUILD.
65008     enable_abi_check=no
65009   fi
65010
65011   # Export file names for ABI checking.
65012   baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
65013
65014
65015
65016 # Define documentation rules conditionally.
65017
65018 # See if makeinfo has been installed and is modern enough
65019 # that we can use it.
65020
65021   # Extract the first word of "makeinfo", so it can be a program name with args.
65022 set dummy makeinfo; ac_word=$2
65023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65024 $as_echo_n "checking for $ac_word... " >&6; }
65025 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
65026   $as_echo_n "(cached) " >&6
65027 else
65028   if test -n "$MAKEINFO"; then
65029   ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
65030 else
65031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65032 for as_dir in $PATH
65033 do
65034   IFS=$as_save_IFS
65035   test -z "$as_dir" && as_dir=.
65036     for ac_exec_ext in '' $ac_executable_extensions; do
65037   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65038     ac_cv_prog_MAKEINFO="makeinfo"
65039     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65040     break 2
65041   fi
65042 done
65043   done
65044 IFS=$as_save_IFS
65045
65046 fi
65047 fi
65048 MAKEINFO=$ac_cv_prog_MAKEINFO
65049 if test -n "$MAKEINFO"; then
65050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
65051 $as_echo "$MAKEINFO" >&6; }
65052 else
65053   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65054 $as_echo "no" >&6; }
65055 fi
65056
65057
65058   if test -n "$MAKEINFO"; then
65059     # Found it, now check the version.
65060     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
65061 $as_echo_n "checking for modern makeinfo... " >&6; }
65062 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
65063   $as_echo_n "(cached) " >&6
65064 else
65065   ac_prog_version=`eval $MAKEINFO --version 2>&1 |
65066                                      sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
65067
65068                     case $ac_prog_version in
65069                       '')  gcc_cv_prog_makeinfo_modern=no;;
65070                       4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*)  gcc_cv_prog_makeinfo_modern=yes;;
65071                       *)   gcc_cv_prog_makeinfo_modern=no;;
65072                     esac
65073
65074 fi
65075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
65076 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
65077   else
65078     gcc_cv_prog_makeinfo_modern=no
65079   fi
65080   if test $gcc_cv_prog_makeinfo_modern = no; then
65081     MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
65082   fi
65083
65084  if test $gcc_cv_prog_makeinfo_modern = "yes"; then
65085   BUILD_INFO_TRUE=
65086   BUILD_INFO_FALSE='#'
65087 else
65088   BUILD_INFO_TRUE='#'
65089   BUILD_INFO_FALSE=
65090 fi
65091
65092
65093 # Check for doxygen
65094 # Extract the first word of "doxygen", so it can be a program name with args.
65095 set dummy doxygen; ac_word=$2
65096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65097 $as_echo_n "checking for $ac_word... " >&6; }
65098 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
65099   $as_echo_n "(cached) " >&6
65100 else
65101   if test -n "$DOXYGEN"; then
65102   ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
65103 else
65104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65105 for as_dir in $PATH
65106 do
65107   IFS=$as_save_IFS
65108   test -z "$as_dir" && as_dir=.
65109     for ac_exec_ext in '' $ac_executable_extensions; do
65110   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65111     ac_cv_prog_DOXYGEN="yes"
65112     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65113     break 2
65114   fi
65115 done
65116   done
65117 IFS=$as_save_IFS
65118
65119   test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
65120 fi
65121 fi
65122 DOXYGEN=$ac_cv_prog_DOXYGEN
65123 if test -n "$DOXYGEN"; then
65124   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
65125 $as_echo "$DOXYGEN" >&6; }
65126 else
65127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65128 $as_echo "no" >&6; }
65129 fi
65130
65131
65132 # Extract the first word of "dot", so it can be a program name with args.
65133 set dummy dot; ac_word=$2
65134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65135 $as_echo_n "checking for $ac_word... " >&6; }
65136 if test "${ac_cv_prog_DOT+set}" = set; then :
65137   $as_echo_n "(cached) " >&6
65138 else
65139   if test -n "$DOT"; then
65140   ac_cv_prog_DOT="$DOT" # Let the user override the test.
65141 else
65142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65143 for as_dir in $PATH
65144 do
65145   IFS=$as_save_IFS
65146   test -z "$as_dir" && as_dir=.
65147     for ac_exec_ext in '' $ac_executable_extensions; do
65148   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65149     ac_cv_prog_DOT="yes"
65150     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65151     break 2
65152   fi
65153 done
65154   done
65155 IFS=$as_save_IFS
65156
65157   test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
65158 fi
65159 fi
65160 DOT=$ac_cv_prog_DOT
65161 if test -n "$DOT"; then
65162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
65163 $as_echo "$DOT" >&6; }
65164 else
65165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65166 $as_echo "no" >&6; }
65167 fi
65168
65169
65170
65171 # Check for docbook
65172 # Extract the first word of "xsltproc", so it can be a program name with args.
65173 set dummy xsltproc; ac_word=$2
65174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65175 $as_echo_n "checking for $ac_word... " >&6; }
65176 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
65177   $as_echo_n "(cached) " >&6
65178 else
65179   if test -n "$XSLTPROC"; then
65180   ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
65181 else
65182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65183 for as_dir in $PATH
65184 do
65185   IFS=$as_save_IFS
65186   test -z "$as_dir" && as_dir=.
65187     for ac_exec_ext in '' $ac_executable_extensions; do
65188   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65189     ac_cv_prog_XSLTPROC="yes"
65190     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65191     break 2
65192   fi
65193 done
65194   done
65195 IFS=$as_save_IFS
65196
65197   test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
65198 fi
65199 fi
65200 XSLTPROC=$ac_cv_prog_XSLTPROC
65201 if test -n "$XSLTPROC"; then
65202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
65203 $as_echo "$XSLTPROC" >&6; }
65204 else
65205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65206 $as_echo "no" >&6; }
65207 fi
65208
65209
65210 # Extract the first word of "xmllint", so it can be a program name with args.
65211 set dummy xmllint; ac_word=$2
65212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65213 $as_echo_n "checking for $ac_word... " >&6; }
65214 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
65215   $as_echo_n "(cached) " >&6
65216 else
65217   if test -n "$XMLLINT"; then
65218   ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
65219 else
65220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65221 for as_dir in $PATH
65222 do
65223   IFS=$as_save_IFS
65224   test -z "$as_dir" && as_dir=.
65225     for ac_exec_ext in '' $ac_executable_extensions; do
65226   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65227     ac_cv_prog_XMLLINT="yes"
65228     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65229     break 2
65230   fi
65231 done
65232   done
65233 IFS=$as_save_IFS
65234
65235   test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
65236 fi
65237 fi
65238 XMLLINT=$ac_cv_prog_XMLLINT
65239 if test -n "$XMLLINT"; then
65240   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
65241 $as_echo "$XMLLINT" >&6; }
65242 else
65243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65244 $as_echo "no" >&6; }
65245 fi
65246
65247
65248
65249
65250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stylesheets used in generation of documentation" >&5
65251 $as_echo_n "checking for stylesheets used in generation of documentation... " >&6; }
65252 glibcxx_stylesheets=no
65253 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
65254   glibcxx_stylesheets=yes
65255 fi
65256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
65257 $as_echo "$glibcxx_stylesheets" >&6; }
65258
65259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
65260 $as_echo_n "checking for local stylesheet directory... " >&6; }
65261 glibcxx_local_stylesheets=no
65262 if test x"$glibcxx_stylesheets" = x"yes"; then
65263   if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
65264     glibcxx_local_stylesheets=yes
65265     XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
65266   fi
65267   if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
65268     glibcxx_local_stylesheets=yes
65269     XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
65270   fi
65271 fi
65272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
65273 $as_echo "$glibcxx_local_stylesheets" >&6; }
65274
65275 if test x"$glibcxx_local_stylesheets" = x"yes"; then
65276
65277   { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
65278 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
65279 else
65280   glibcxx_stylesheets=no
65281 fi
65282
65283
65284 # Check for xml/html dependencies.
65285  if test $ac_cv_prog_DOXYGEN = "yes" &&
65286                test $ac_cv_prog_DOT = "yes" &&
65287                test $ac_cv_prog_XSLTPROC = "yes" &&
65288                test $ac_cv_prog_XMLLINT = "yes" &&
65289                test $glibcxx_stylesheets = "yes"; then
65290   BUILD_XML_TRUE=
65291   BUILD_XML_FALSE='#'
65292 else
65293   BUILD_XML_TRUE='#'
65294   BUILD_XML_FALSE=
65295 fi
65296
65297
65298  if test $ac_cv_prog_DOXYGEN = "yes" &&
65299                test $ac_cv_prog_DOT = "yes" &&
65300                test $ac_cv_prog_XSLTPROC = "yes" &&
65301                test $ac_cv_prog_XMLLINT = "yes" &&
65302                test $glibcxx_stylesheets = "yes"; then
65303   BUILD_HTML_TRUE=
65304   BUILD_HTML_FALSE='#'
65305 else
65306   BUILD_HTML_TRUE='#'
65307   BUILD_HTML_FALSE=
65308 fi
65309
65310
65311 # Check for man dependencies.
65312  if test $ac_cv_prog_DOXYGEN = "yes" &&
65313                test $ac_cv_prog_DOT = "yes"; then
65314   BUILD_MAN_TRUE=
65315   BUILD_MAN_FALSE='#'
65316 else
65317   BUILD_MAN_TRUE='#'
65318   BUILD_MAN_FALSE=
65319 fi
65320
65321
65322 # Check for pdf/epub dependencies.
65323 # Extract the first word of "dblatex", so it can be a program name with args.
65324 set dummy dblatex; ac_word=$2
65325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65326 $as_echo_n "checking for $ac_word... " >&6; }
65327 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
65328   $as_echo_n "(cached) " >&6
65329 else
65330   if test -n "$DBLATEX"; then
65331   ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
65332 else
65333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65334 for as_dir in $PATH
65335 do
65336   IFS=$as_save_IFS
65337   test -z "$as_dir" && as_dir=.
65338     for ac_exec_ext in '' $ac_executable_extensions; do
65339   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65340     ac_cv_prog_DBLATEX="yes"
65341     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65342     break 2
65343   fi
65344 done
65345   done
65346 IFS=$as_save_IFS
65347
65348   test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
65349 fi
65350 fi
65351 DBLATEX=$ac_cv_prog_DBLATEX
65352 if test -n "$DBLATEX"; then
65353   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
65354 $as_echo "$DBLATEX" >&6; }
65355 else
65356   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65357 $as_echo "no" >&6; }
65358 fi
65359
65360
65361 # Extract the first word of "pdflatex", so it can be a program name with args.
65362 set dummy pdflatex; ac_word=$2
65363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65364 $as_echo_n "checking for $ac_word... " >&6; }
65365 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
65366   $as_echo_n "(cached) " >&6
65367 else
65368   if test -n "$PDFLATEX"; then
65369   ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
65370 else
65371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65372 for as_dir in $PATH
65373 do
65374   IFS=$as_save_IFS
65375   test -z "$as_dir" && as_dir=.
65376     for ac_exec_ext in '' $ac_executable_extensions; do
65377   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65378     ac_cv_prog_PDFLATEX="yes"
65379     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65380     break 2
65381   fi
65382 done
65383   done
65384 IFS=$as_save_IFS
65385
65386   test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
65387 fi
65388 fi
65389 PDFLATEX=$ac_cv_prog_PDFLATEX
65390 if test -n "$PDFLATEX"; then
65391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
65392 $as_echo "$PDFLATEX" >&6; }
65393 else
65394   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65395 $as_echo "no" >&6; }
65396 fi
65397
65398
65399  if test $ac_cv_prog_DBLATEX = "yes" &&
65400                test $ac_cv_prog_PDFLATEX = "yes"; then
65401   BUILD_PDF_TRUE=
65402   BUILD_PDF_FALSE='#'
65403 else
65404   BUILD_PDF_TRUE='#'
65405   BUILD_PDF_FALSE=
65406 fi
65407
65408
65409 # Extract the first word of "ruby", so it can be a program name with args.
65410 set dummy ruby; ac_word=$2
65411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65412 $as_echo_n "checking for $ac_word... " >&6; }
65413 if test "${ac_cv_prog_RUBY+set}" = set; then :
65414   $as_echo_n "(cached) " >&6
65415 else
65416   if test -n "$RUBY"; then
65417   ac_cv_prog_RUBY="$RUBY" # Let the user override the test.
65418 else
65419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65420 for as_dir in $PATH
65421 do
65422   IFS=$as_save_IFS
65423   test -z "$as_dir" && as_dir=.
65424     for ac_exec_ext in '' $ac_executable_extensions; do
65425   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65426     ac_cv_prog_RUBY="yes"
65427     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65428     break 2
65429   fi
65430 done
65431   done
65432 IFS=$as_save_IFS
65433
65434   test -z "$ac_cv_prog_RUBY" && ac_cv_prog_RUBY="no"
65435 fi
65436 fi
65437 RUBY=$ac_cv_prog_RUBY
65438 if test -n "$RUBY"; then
65439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY" >&5
65440 $as_echo "$RUBY" >&6; }
65441 else
65442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65443 $as_echo "no" >&6; }
65444 fi
65445
65446
65447 # Extract the first word of "dbtoepub", so it can be a program name with args.
65448 set dummy dbtoepub; ac_word=$2
65449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65450 $as_echo_n "checking for $ac_word... " >&6; }
65451 if test "${ac_cv_prog_DBTOEPUB+set}" = set; then :
65452   $as_echo_n "(cached) " >&6
65453 else
65454   if test -n "$DBTOEPUB"; then
65455   ac_cv_prog_DBTOEPUB="$DBTOEPUB" # Let the user override the test.
65456 else
65457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65458 for as_dir in $PATH
65459 do
65460   IFS=$as_save_IFS
65461   test -z "$as_dir" && as_dir=.
65462     for ac_exec_ext in '' $ac_executable_extensions; do
65463   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65464     ac_cv_prog_DBTOEPUB="yes"
65465     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65466     break 2
65467   fi
65468 done
65469   done
65470 IFS=$as_save_IFS
65471
65472   test -z "$ac_cv_prog_DBTOEPUB" && ac_cv_prog_DBTOEPUB="no"
65473 fi
65474 fi
65475 DBTOEPUB=$ac_cv_prog_DBTOEPUB
65476 if test -n "$DBTOEPUB"; then
65477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBTOEPUB" >&5
65478 $as_echo "$DBTOEPUB" >&6; }
65479 else
65480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65481 $as_echo "no" >&6; }
65482 fi
65483
65484
65485  if test $ac_cv_prog_RUBY = "yes" &&
65486                test $ac_cv_prog_DBTOEPUB = "yes"; then
65487   BUILD_EPUB_TRUE=
65488   BUILD_EPUB_FALSE='#'
65489 else
65490   BUILD_EPUB_TRUE='#'
65491   BUILD_EPUB_FALSE=
65492 fi
65493
65494
65495
65496 # Propagate the target-specific source directories through the build chain.
65497 ATOMICITY_SRCDIR=config/${atomicity_dir}
65498 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
65499 ATOMIC_FLAGS=${atomic_flags}
65500 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
65501 OS_INC_SRCDIR=config/${os_include_dir}
65502 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
65503 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
65504
65505
65506
65507
65508
65509
65510
65511
65512
65513 # Determine cross-compile flags and AM_CONDITIONALs.
65514 #AC_SUBST(GLIBCXX_IS_NATIVE)
65515 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
65516     if test $is_hosted = yes; then
65517   GLIBCXX_HOSTED_TRUE=
65518   GLIBCXX_HOSTED_FALSE='#'
65519 else
65520   GLIBCXX_HOSTED_TRUE='#'
65521   GLIBCXX_HOSTED_FALSE=
65522 fi
65523
65524
65525     if test $enable_libstdcxx_pch = yes; then
65526   GLIBCXX_BUILD_PCH_TRUE=
65527   GLIBCXX_BUILD_PCH_FALSE='#'
65528 else
65529   GLIBCXX_BUILD_PCH_TRUE='#'
65530   GLIBCXX_BUILD_PCH_FALSE=
65531 fi
65532
65533
65534     if test $enable_cheaders = c; then
65535   GLIBCXX_C_HEADERS_C_TRUE=
65536   GLIBCXX_C_HEADERS_C_FALSE='#'
65537 else
65538   GLIBCXX_C_HEADERS_C_TRUE='#'
65539   GLIBCXX_C_HEADERS_C_FALSE=
65540 fi
65541
65542
65543     if test $enable_cheaders = c_std; then
65544   GLIBCXX_C_HEADERS_C_STD_TRUE=
65545   GLIBCXX_C_HEADERS_C_STD_FALSE='#'
65546 else
65547   GLIBCXX_C_HEADERS_C_STD_TRUE='#'
65548   GLIBCXX_C_HEADERS_C_STD_FALSE=
65549 fi
65550
65551
65552     if test $enable_cheaders = c_global; then
65553   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
65554   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
65555 else
65556   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
65557   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
65558 fi
65559
65560
65561     if test $c_compatibility = yes; then
65562   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
65563   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
65564 else
65565   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
65566   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
65567 fi
65568
65569
65570     if test $enable_libstdcxx_debug = yes; then
65571   GLIBCXX_BUILD_DEBUG_TRUE=
65572   GLIBCXX_BUILD_DEBUG_FALSE='#'
65573 else
65574   GLIBCXX_BUILD_DEBUG_TRUE='#'
65575   GLIBCXX_BUILD_DEBUG_FALSE=
65576 fi
65577
65578
65579     if test $enable_parallel = yes; then
65580   ENABLE_PARALLEL_TRUE=
65581   ENABLE_PARALLEL_FALSE='#'
65582 else
65583   ENABLE_PARALLEL_TRUE='#'
65584   ENABLE_PARALLEL_FALSE=
65585 fi
65586
65587
65588     if test $enable_extern_template = yes; then
65589   ENABLE_EXTERN_TEMPLATE_TRUE=
65590   ENABLE_EXTERN_TEMPLATE_FALSE='#'
65591 else
65592   ENABLE_EXTERN_TEMPLATE_TRUE='#'
65593   ENABLE_EXTERN_TEMPLATE_FALSE=
65594 fi
65595
65596
65597     if test $enable_symvers != no; then
65598   ENABLE_SYMVERS_TRUE=
65599   ENABLE_SYMVERS_FALSE='#'
65600 else
65601   ENABLE_SYMVERS_TRUE='#'
65602   ENABLE_SYMVERS_FALSE=
65603 fi
65604
65605
65606     if test $enable_symvers = gnu; then
65607   ENABLE_SYMVERS_GNU_TRUE=
65608   ENABLE_SYMVERS_GNU_FALSE='#'
65609 else
65610   ENABLE_SYMVERS_GNU_TRUE='#'
65611   ENABLE_SYMVERS_GNU_FALSE=
65612 fi
65613
65614
65615     if test $enable_symvers = gnu-versioned-namespace; then
65616   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
65617   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
65618 else
65619   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
65620   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
65621 fi
65622
65623
65624     if test $enable_symvers = darwin; then
65625   ENABLE_SYMVERS_DARWIN_TRUE=
65626   ENABLE_SYMVERS_DARWIN_FALSE='#'
65627 else
65628   ENABLE_SYMVERS_DARWIN_TRUE='#'
65629   ENABLE_SYMVERS_DARWIN_FALSE=
65630 fi
65631
65632
65633     if test $enable_symvers = sun; then
65634   ENABLE_SYMVERS_SUN_TRUE=
65635   ENABLE_SYMVERS_SUN_FALSE='#'
65636 else
65637   ENABLE_SYMVERS_SUN_TRUE='#'
65638   ENABLE_SYMVERS_SUN_FALSE=
65639 fi
65640
65641
65642     if test $symvers_renaming = no; then
65643   ENABLE_SYMVERS_SOL2_TRUE=
65644   ENABLE_SYMVERS_SOL2_FALSE='#'
65645 else
65646   ENABLE_SYMVERS_SOL2_TRUE='#'
65647   ENABLE_SYMVERS_SOL2_FALSE=
65648 fi
65649
65650
65651     if test $enable_visibility = yes; then
65652   ENABLE_VISIBILITY_TRUE=
65653   ENABLE_VISIBILITY_FALSE='#'
65654 else
65655   ENABLE_VISIBILITY_TRUE='#'
65656   ENABLE_VISIBILITY_FALSE=
65657 fi
65658
65659
65660     if test $ac_ldbl_compat = yes; then
65661   GLIBCXX_LDBL_COMPAT_TRUE=
65662   GLIBCXX_LDBL_COMPAT_FALSE='#'
65663 else
65664   GLIBCXX_LDBL_COMPAT_TRUE='#'
65665   GLIBCXX_LDBL_COMPAT_FALSE=
65666 fi
65667
65668
65669
65670
65671 cat >confcache <<\_ACEOF
65672 # This file is a shell script that caches the results of configure
65673 # tests run on this system so they can be shared between configure
65674 # scripts and configure runs, see configure's option --config-cache.
65675 # It is not useful on other systems.  If it contains results you don't
65676 # want to keep, you may remove or edit it.
65677 #
65678 # config.status only pays attention to the cache file if you give it
65679 # the --recheck option to rerun configure.
65680 #
65681 # `ac_cv_env_foo' variables (set or unset) will be overridden when
65682 # loading this file, other *unset* `ac_cv_foo' will be assigned the
65683 # following values.
65684
65685 _ACEOF
65686
65687 # The following way of writing the cache mishandles newlines in values,
65688 # but we know of no workaround that is simple, portable, and efficient.
65689 # So, we kill variables containing newlines.
65690 # Ultrix sh set writes to stderr and can't be redirected directly,
65691 # and sets the high bit in the cache file unless we assign to the vars.
65692 (
65693   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
65694     eval ac_val=\$$ac_var
65695     case $ac_val in #(
65696     *${as_nl}*)
65697       case $ac_var in #(
65698       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
65699 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
65700       esac
65701       case $ac_var in #(
65702       _ | IFS | as_nl) ;; #(
65703       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
65704       *) { eval $ac_var=; unset $ac_var;} ;;
65705       esac ;;
65706     esac
65707   done
65708
65709   (set) 2>&1 |
65710     case $as_nl`(ac_space=' '; set) 2>&1` in #(
65711     *${as_nl}ac_space=\ *)
65712       # `set' does not quote correctly, so add quotes: double-quote
65713       # substitution turns \\\\ into \\, and sed turns \\ into \.
65714       sed -n \
65715         "s/'/'\\\\''/g;
65716           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
65717       ;; #(
65718     *)
65719       # `set' quotes correctly as required by POSIX, so do not add quotes.
65720       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
65721       ;;
65722     esac |
65723     sort
65724 ) |
65725   sed '
65726      /^ac_cv_env_/b end
65727      t clear
65728      :clear
65729      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
65730      t end
65731      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
65732      :end' >>confcache
65733 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
65734   if test -w "$cache_file"; then
65735     test "x$cache_file" != "x/dev/null" &&
65736       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
65737 $as_echo "$as_me: updating cache $cache_file" >&6;}
65738     cat confcache >$cache_file
65739   else
65740     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
65741 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
65742   fi
65743 fi
65744 rm -f confcache
65745
65746 if test ${multilib} = yes; then
65747   multilib_arg="--enable-multilib"
65748 else
65749   multilib_arg=
65750 fi
65751
65752 # Export all the install information.
65753
65754   glibcxx_toolexecdir=no
65755   glibcxx_toolexeclibdir=no
65756   glibcxx_prefixdir=$prefix
65757
65758   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
65759 $as_echo_n "checking for gxx-include-dir... " >&6; }
65760
65761 # Check whether --with-gxx-include-dir was given.
65762 if test "${with_gxx_include_dir+set}" = set; then :
65763   withval=$with_gxx_include_dir; case "$withval" in
65764       yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
65765       no)  gxx_include_dir=no ;;
65766       *)   gxx_include_dir=$withval ;;
65767      esac
65768 else
65769   gxx_include_dir=no
65770 fi
65771
65772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
65773 $as_echo "$gxx_include_dir" >&6; }
65774
65775   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
65776 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
65777   # Check whether --enable-version-specific-runtime-libs was given.
65778 if test "${enable_version_specific_runtime_libs+set}" = set; then :
65779   enableval=$enable_version_specific_runtime_libs; case "$enableval" in
65780       yes) version_specific_libs=yes ;;
65781       no)  version_specific_libs=no ;;
65782       *)   as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
65783      esac
65784 else
65785   version_specific_libs=no
65786 fi
65787
65788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
65789 $as_echo "$version_specific_libs" >&6; }
65790
65791   # Default case for install directory for include files.
65792   if test $version_specific_libs = no && test $gxx_include_dir = no; then
65793     gxx_include_dir='include/c++/${gcc_version}'
65794     if test -n "$with_cross_host" &&
65795        test x"$with_cross_host" != x"no"; then
65796       gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
65797     else
65798       gxx_include_dir='${prefix}/'"$gxx_include_dir"
65799     fi
65800   fi
65801
65802   # Version-specific runtime libs processing.
65803   if test $version_specific_libs = yes; then
65804     # Need the gcc compiler version to know where to install libraries
65805     # and header files if --enable-version-specific-runtime-libs option
65806     # is selected.  FIXME: these variables are misnamed, there are
65807     # no executables installed in _toolexecdir or _toolexeclibdir.
65808     if test x"$gxx_include_dir" = x"no"; then
65809       gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
65810     fi
65811     glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
65812     glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
65813   fi
65814
65815   # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
65816   # Install a library built with a cross compiler in tooldir, not libdir.
65817   if test x"$glibcxx_toolexecdir" = x"no"; then
65818     if test -n "$with_cross_host" &&
65819        test x"$with_cross_host" != x"no"; then
65820       glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
65821       glibcxx_toolexeclibdir='${toolexecdir}/lib'
65822     else
65823       glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
65824       glibcxx_toolexeclibdir='${libdir}'
65825     fi
65826     multi_os_directory=`$CXX -print-multi-os-directory`
65827     case $multi_os_directory in
65828       .) ;; # Avoid trailing /.
65829       *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
65830     esac
65831   fi
65832
65833   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
65834 $as_echo_n "checking for install location... " >&6; }
65835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
65836 $as_echo "$gxx_include_dir" >&6; }
65837
65838
65839
65840
65841
65842
65843
65844 # Export all the include and flag information to Makefiles.
65845
65846   # Used for every C++ compile we perform.
65847   GLIBCXX_INCLUDES="\
65848 -I$glibcxx_builddir/include/$host_alias \
65849 -I$glibcxx_builddir/include \
65850 -I$glibcxx_srcdir/libsupc++"
65851
65852   # For Canadian crosses, pick this up too.
65853   if test $CANADIAN = yes; then
65854     GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
65855   fi
65856
65857   # Stuff in the actual top level.  Currently only used by libsupc++ to
65858   # get unwind* headers from the gcc dir.
65859   #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
65860   TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
65861
65862   # Now, export this to all the little Makefiles....
65863
65864
65865
65866
65867   # Optimization flags that are probably a good idea for thrill-seekers. Just
65868   # uncomment the lines below and make, everything else is ready to go...
65869   # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
65870   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
65871
65872
65873   WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
65874
65875
65876
65877 if test "$enable_shared" = yes; then
65878   LIBSUPCXX_PICFLAGS="-prefer-pic"
65879 else
65880   LIBSUPCXX_PICFLAGS=
65881 fi
65882
65883
65884 ac_config_files="$ac_config_files Makefile"
65885
65886 ac_config_files="$ac_config_files scripts/testsuite_flags"
65887
65888 ac_config_files="$ac_config_files scripts/extract_symvers"
65889
65890
65891 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
65892 # that multilib installs will end up installed in the correct place.
65893 # The testsuite needs it for multilib-aware ABI baseline files.
65894 # To work around this not being passed down from config-ml.in ->
65895 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
65896 # append it here.  Only modify Makefiles that have just been created.
65897 #
65898 # Also, get rid of this simulated-VPATH thing that automake does.
65899 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
65900
65901
65902 ac_config_commands="$ac_config_commands generate-headers"
65903
65904
65905 cat >confcache <<\_ACEOF
65906 # This file is a shell script that caches the results of configure
65907 # tests run on this system so they can be shared between configure
65908 # scripts and configure runs, see configure's option --config-cache.
65909 # It is not useful on other systems.  If it contains results you don't
65910 # want to keep, you may remove or edit it.
65911 #
65912 # config.status only pays attention to the cache file if you give it
65913 # the --recheck option to rerun configure.
65914 #
65915 # `ac_cv_env_foo' variables (set or unset) will be overridden when
65916 # loading this file, other *unset* `ac_cv_foo' will be assigned the
65917 # following values.
65918
65919 _ACEOF
65920
65921 # The following way of writing the cache mishandles newlines in values,
65922 # but we know of no workaround that is simple, portable, and efficient.
65923 # So, we kill variables containing newlines.
65924 # Ultrix sh set writes to stderr and can't be redirected directly,
65925 # and sets the high bit in the cache file unless we assign to the vars.
65926 (
65927   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
65928     eval ac_val=\$$ac_var
65929     case $ac_val in #(
65930     *${as_nl}*)
65931       case $ac_var in #(
65932       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
65933 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
65934       esac
65935       case $ac_var in #(
65936       _ | IFS | as_nl) ;; #(
65937       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
65938       *) { eval $ac_var=; unset $ac_var;} ;;
65939       esac ;;
65940     esac
65941   done
65942
65943   (set) 2>&1 |
65944     case $as_nl`(ac_space=' '; set) 2>&1` in #(
65945     *${as_nl}ac_space=\ *)
65946       # `set' does not quote correctly, so add quotes: double-quote
65947       # substitution turns \\\\ into \\, and sed turns \\ into \.
65948       sed -n \
65949         "s/'/'\\\\''/g;
65950           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
65951       ;; #(
65952     *)
65953       # `set' quotes correctly as required by POSIX, so do not add quotes.
65954       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
65955       ;;
65956     esac |
65957     sort
65958 ) |
65959   sed '
65960      /^ac_cv_env_/b end
65961      t clear
65962      :clear
65963      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
65964      t end
65965      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
65966      :end' >>confcache
65967 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
65968   if test -w "$cache_file"; then
65969     test "x$cache_file" != "x/dev/null" &&
65970       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
65971 $as_echo "$as_me: updating cache $cache_file" >&6;}
65972     cat confcache >$cache_file
65973   else
65974     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
65975 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
65976   fi
65977 fi
65978 rm -f confcache
65979
65980 test "x$prefix" = xNONE && prefix=$ac_default_prefix
65981 # Let make expand exec_prefix.
65982 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
65983
65984 DEFS=-DHAVE_CONFIG_H
65985
65986 ac_libobjs=
65987 ac_ltlibobjs=
65988 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
65989   # 1. Remove the extension, and $U if already installed.
65990   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
65991   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
65992   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
65993   #    will be set to the directory where LIBOBJS objects are built.
65994   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
65995   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
65996 done
65997 LIBOBJS=$ac_libobjs
65998
65999 LTLIBOBJS=$ac_ltlibobjs
66000
66001
66002  if test -n "$EXEEXT"; then
66003   am__EXEEXT_TRUE=
66004   am__EXEEXT_FALSE='#'
66005 else
66006   am__EXEEXT_TRUE='#'
66007   am__EXEEXT_FALSE=
66008 fi
66009
66010 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
66011   as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
66012 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66013 fi
66014 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
66015   as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
66016 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66017 fi
66018 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
66019   as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
66020 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66021 fi
66022 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
66023   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
66024 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66025 fi
66026 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
66027   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
66028 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66029 fi
66030 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
66031   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
66032 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66033 fi
66034 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
66035   as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
66036 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66037 fi
66038 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
66039   as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
66040 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66041 fi
66042 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
66043   as_fn_error "conditional \"ENABLE_PARALLEL\" was never defined.
66044 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66045 fi
66046 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
66047   as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
66048 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66049 fi
66050 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
66051   as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
66052 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66053 fi
66054 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
66055   as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
66056 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66057 fi
66058 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
66059   as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
66060 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66061 fi
66062 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
66063   as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
66064 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66065 fi
66066 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
66067   as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
66068 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66069 fi
66070 if test -z "${ENABLE_SYMVERS_SOL2_TRUE}" && test -z "${ENABLE_SYMVERS_SOL2_FALSE}"; then
66071   as_fn_error "conditional \"ENABLE_SYMVERS_SOL2\" was never defined.
66072 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66073 fi
66074 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
66075   as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
66076 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66077 fi
66078 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
66079   as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
66080 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66081 fi
66082 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
66083   as_fn_error "conditional \"BUILD_INFO\" was never defined.
66084 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66085 fi
66086 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
66087   as_fn_error "conditional \"BUILD_XML\" was never defined.
66088 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66089 fi
66090 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
66091   as_fn_error "conditional \"BUILD_HTML\" was never defined.
66092 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66093 fi
66094 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
66095   as_fn_error "conditional \"BUILD_MAN\" was never defined.
66096 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66097 fi
66098 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
66099   as_fn_error "conditional \"BUILD_PDF\" was never defined.
66100 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66101 fi
66102 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
66103   as_fn_error "conditional \"BUILD_EPUB\" was never defined.
66104 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66105 fi
66106
66107 : ${CONFIG_STATUS=./config.status}
66108 ac_write_fail=0
66109 ac_clean_files_save=$ac_clean_files
66110 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
66111 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
66112 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
66113 as_write_fail=0
66114 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
66115 #! $SHELL
66116 # Generated by $as_me.
66117 # Run this file to recreate the current configuration.
66118 # Compiler output produced by configure, useful for debugging
66119 # configure, is in config.log if it exists.
66120
66121 debug=false
66122 ac_cs_recheck=false
66123 ac_cs_silent=false
66124
66125 SHELL=\${CONFIG_SHELL-$SHELL}
66126 export SHELL
66127 _ASEOF
66128 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
66129 ## -------------------- ##
66130 ## M4sh Initialization. ##
66131 ## -------------------- ##
66132
66133 # Be more Bourne compatible
66134 DUALCASE=1; export DUALCASE # for MKS sh
66135 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
66136   emulate sh
66137   NULLCMD=:
66138   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
66139   # is contrary to our usage.  Disable this feature.
66140   alias -g '${1+"$@"}'='"$@"'
66141   setopt NO_GLOB_SUBST
66142 else
66143   case `(set -o) 2>/dev/null` in #(
66144   *posix*) :
66145     set -o posix ;; #(
66146   *) :
66147      ;;
66148 esac
66149 fi
66150
66151
66152 as_nl='
66153 '
66154 export as_nl
66155 # Printing a long string crashes Solaris 7 /usr/bin/printf.
66156 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
66157 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
66158 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
66159 # Prefer a ksh shell builtin over an external printf program on Solaris,
66160 # but without wasting forks for bash or zsh.
66161 if test -z "$BASH_VERSION$ZSH_VERSION" \
66162     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
66163   as_echo='print -r --'
66164   as_echo_n='print -rn --'
66165 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
66166   as_echo='printf %s\n'
66167   as_echo_n='printf %s'
66168 else
66169   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
66170     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
66171     as_echo_n='/usr/ucb/echo -n'
66172   else
66173     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
66174     as_echo_n_body='eval
66175       arg=$1;
66176       case $arg in #(
66177       *"$as_nl"*)
66178         expr "X$arg" : "X\\(.*\\)$as_nl";
66179         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66180       esac;
66181       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66182     '
66183     export as_echo_n_body
66184     as_echo_n='sh -c $as_echo_n_body as_echo'
66185   fi
66186   export as_echo_body
66187   as_echo='sh -c $as_echo_body as_echo'
66188 fi
66189
66190 # The user is always right.
66191 if test "${PATH_SEPARATOR+set}" != set; then
66192   PATH_SEPARATOR=:
66193   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
66194     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
66195       PATH_SEPARATOR=';'
66196   }
66197 fi
66198
66199
66200 # IFS
66201 # We need space, tab and new line, in precisely that order.  Quoting is
66202 # there to prevent editors from complaining about space-tab.
66203 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
66204 # splitting by setting IFS to empty value.)
66205 IFS=" ""        $as_nl"
66206
66207 # Find who we are.  Look in the path if we contain no directory separator.
66208 case $0 in #((
66209   *[\\/]* ) as_myself=$0 ;;
66210   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
66211 for as_dir in $PATH
66212 do
66213   IFS=$as_save_IFS
66214   test -z "$as_dir" && as_dir=.
66215     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
66216   done
66217 IFS=$as_save_IFS
66218
66219      ;;
66220 esac
66221 # We did not find ourselves, most probably we were run as `sh COMMAND'
66222 # in which case we are not to be found in the path.
66223 if test "x$as_myself" = x; then
66224   as_myself=$0
66225 fi
66226 if test ! -f "$as_myself"; then
66227   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
66228   exit 1
66229 fi
66230
66231 # Unset variables that we do not need and which cause bugs (e.g. in
66232 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
66233 # suppresses any "Segmentation fault" message there.  '((' could
66234 # trigger a bug in pdksh 5.2.14.
66235 for as_var in BASH_ENV ENV MAIL MAILPATH
66236 do eval test x\${$as_var+set} = xset \
66237   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
66238 done
66239 PS1='$ '
66240 PS2='> '
66241 PS4='+ '
66242
66243 # NLS nuisances.
66244 LC_ALL=C
66245 export LC_ALL
66246 LANGUAGE=C
66247 export LANGUAGE
66248
66249 # CDPATH.
66250 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
66251
66252
66253 # as_fn_error ERROR [LINENO LOG_FD]
66254 # ---------------------------------
66255 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
66256 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
66257 # script with status $?, using 1 if that was 0.
66258 as_fn_error ()
66259 {
66260   as_status=$?; test $as_status -eq 0 && as_status=1
66261   if test "$3"; then
66262     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
66263     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
66264   fi
66265   $as_echo "$as_me: error: $1" >&2
66266   as_fn_exit $as_status
66267 } # as_fn_error
66268
66269
66270 # as_fn_set_status STATUS
66271 # -----------------------
66272 # Set $? to STATUS, without forking.
66273 as_fn_set_status ()
66274 {
66275   return $1
66276 } # as_fn_set_status
66277
66278 # as_fn_exit STATUS
66279 # -----------------
66280 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
66281 as_fn_exit ()
66282 {
66283   set +e
66284   as_fn_set_status $1
66285   exit $1
66286 } # as_fn_exit
66287
66288 # as_fn_unset VAR
66289 # ---------------
66290 # Portably unset VAR.
66291 as_fn_unset ()
66292 {
66293   { eval $1=; unset $1;}
66294 }
66295 as_unset=as_fn_unset
66296 # as_fn_append VAR VALUE
66297 # ----------------------
66298 # Append the text in VALUE to the end of the definition contained in VAR. Take
66299 # advantage of any shell optimizations that allow amortized linear growth over
66300 # repeated appends, instead of the typical quadratic growth present in naive
66301 # implementations.
66302 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
66303   eval 'as_fn_append ()
66304   {
66305     eval $1+=\$2
66306   }'
66307 else
66308   as_fn_append ()
66309   {
66310     eval $1=\$$1\$2
66311   }
66312 fi # as_fn_append
66313
66314 # as_fn_arith ARG...
66315 # ------------------
66316 # Perform arithmetic evaluation on the ARGs, and store the result in the
66317 # global $as_val. Take advantage of shells that can avoid forks. The arguments
66318 # must be portable across $(()) and expr.
66319 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
66320   eval 'as_fn_arith ()
66321   {
66322     as_val=$(( $* ))
66323   }'
66324 else
66325   as_fn_arith ()
66326   {
66327     as_val=`expr "$@" || test $? -eq 1`
66328   }
66329 fi # as_fn_arith
66330
66331
66332 if expr a : '\(a\)' >/dev/null 2>&1 &&
66333    test "X`expr 00001 : '.*\(...\)'`" = X001; then
66334   as_expr=expr
66335 else
66336   as_expr=false
66337 fi
66338
66339 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
66340   as_basename=basename
66341 else
66342   as_basename=false
66343 fi
66344
66345 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
66346   as_dirname=dirname
66347 else
66348   as_dirname=false
66349 fi
66350
66351 as_me=`$as_basename -- "$0" ||
66352 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66353          X"$0" : 'X\(//\)$' \| \
66354          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
66355 $as_echo X/"$0" |
66356     sed '/^.*\/\([^/][^/]*\)\/*$/{
66357             s//\1/
66358             q
66359           }
66360           /^X\/\(\/\/\)$/{
66361             s//\1/
66362             q
66363           }
66364           /^X\/\(\/\).*/{
66365             s//\1/
66366             q
66367           }
66368           s/.*/./; q'`
66369
66370 # Avoid depending upon Character Ranges.
66371 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
66372 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
66373 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
66374 as_cr_digits='0123456789'
66375 as_cr_alnum=$as_cr_Letters$as_cr_digits
66376
66377 ECHO_C= ECHO_N= ECHO_T=
66378 case `echo -n x` in #(((((
66379 -n*)
66380   case `echo 'xy\c'` in
66381   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
66382   xy)  ECHO_C='\c';;
66383   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
66384        ECHO_T=' ';;
66385   esac;;
66386 *)
66387   ECHO_N='-n';;
66388 esac
66389
66390 rm -f conf$$ conf$$.exe conf$$.file
66391 if test -d conf$$.dir; then
66392   rm -f conf$$.dir/conf$$.file
66393 else
66394   rm -f conf$$.dir
66395   mkdir conf$$.dir 2>/dev/null
66396 fi
66397 if (echo >conf$$.file) 2>/dev/null; then
66398   if ln -s conf$$.file conf$$ 2>/dev/null; then
66399     as_ln_s='ln -s'
66400     # ... but there are two gotchas:
66401     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
66402     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
66403     # In both cases, we have to default to `cp -p'.
66404     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
66405       as_ln_s='cp -p'
66406   elif ln conf$$.file conf$$ 2>/dev/null; then
66407     as_ln_s=ln
66408   else
66409     as_ln_s='cp -p'
66410   fi
66411 else
66412   as_ln_s='cp -p'
66413 fi
66414 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
66415 rmdir conf$$.dir 2>/dev/null
66416
66417
66418 # as_fn_mkdir_p
66419 # -------------
66420 # Create "$as_dir" as a directory, including parents if necessary.
66421 as_fn_mkdir_p ()
66422 {
66423
66424   case $as_dir in #(
66425   -*) as_dir=./$as_dir;;
66426   esac
66427   test -d "$as_dir" || eval $as_mkdir_p || {
66428     as_dirs=
66429     while :; do
66430       case $as_dir in #(
66431       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
66432       *) as_qdir=$as_dir;;
66433       esac
66434       as_dirs="'$as_qdir' $as_dirs"
66435       as_dir=`$as_dirname -- "$as_dir" ||
66436 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
66437          X"$as_dir" : 'X\(//\)[^/]' \| \
66438          X"$as_dir" : 'X\(//\)$' \| \
66439          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
66440 $as_echo X"$as_dir" |
66441     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
66442             s//\1/
66443             q
66444           }
66445           /^X\(\/\/\)[^/].*/{
66446             s//\1/
66447             q
66448           }
66449           /^X\(\/\/\)$/{
66450             s//\1/
66451             q
66452           }
66453           /^X\(\/\).*/{
66454             s//\1/
66455             q
66456           }
66457           s/.*/./; q'`
66458       test -d "$as_dir" && break
66459     done
66460     test -z "$as_dirs" || eval "mkdir $as_dirs"
66461   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
66462
66463
66464 } # as_fn_mkdir_p
66465 if mkdir -p . 2>/dev/null; then
66466   as_mkdir_p='mkdir -p "$as_dir"'
66467 else
66468   test -d ./-p && rmdir ./-p
66469   as_mkdir_p=false
66470 fi
66471
66472 if test -x / >/dev/null 2>&1; then
66473   as_test_x='test -x'
66474 else
66475   if ls -dL / >/dev/null 2>&1; then
66476     as_ls_L_option=L
66477   else
66478     as_ls_L_option=
66479   fi
66480   as_test_x='
66481     eval sh -c '\''
66482       if test -d "$1"; then
66483         test -d "$1/.";
66484       else
66485         case $1 in #(
66486         -*)set "./$1";;
66487         esac;
66488         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
66489         ???[sx]*):;;*)false;;esac;fi
66490     '\'' sh
66491   '
66492 fi
66493 as_executable_p=$as_test_x
66494
66495 # Sed expression to map a string onto a valid CPP name.
66496 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
66497
66498 # Sed expression to map a string onto a valid variable name.
66499 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
66500
66501
66502 exec 6>&1
66503 ## ----------------------------------- ##
66504 ## Main body of $CONFIG_STATUS script. ##
66505 ## ----------------------------------- ##
66506 _ASEOF
66507 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
66508
66509 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66510 # Save the log message, to keep $0 and so on meaningful, and to
66511 # report actual input values of CONFIG_FILES etc. instead of their
66512 # values after options handling.
66513 ac_log="
66514 This file was extended by package-unused $as_me version-unused, which was
66515 generated by GNU Autoconf 2.64.  Invocation command line was
66516
66517   CONFIG_FILES    = $CONFIG_FILES
66518   CONFIG_HEADERS  = $CONFIG_HEADERS
66519   CONFIG_LINKS    = $CONFIG_LINKS
66520   CONFIG_COMMANDS = $CONFIG_COMMANDS
66521   $ $0 $@
66522
66523 on `(hostname || uname -n) 2>/dev/null | sed 1q`
66524 "
66525
66526 _ACEOF
66527
66528 case $ac_config_files in *"
66529 "*) set x $ac_config_files; shift; ac_config_files=$*;;
66530 esac
66531
66532 case $ac_config_headers in *"
66533 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
66534 esac
66535
66536
66537 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66538 # Files that config.status was made for.
66539 config_files="$ac_config_files"
66540 config_headers="$ac_config_headers"
66541 config_commands="$ac_config_commands"
66542
66543 _ACEOF
66544
66545 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66546 ac_cs_usage="\
66547 \`$as_me' instantiates files and other configuration actions
66548 from templates according to the current configuration.  Unless the files
66549 and actions are specified as TAGs, all are instantiated by default.
66550
66551 Usage: $0 [OPTION]... [TAG]...
66552
66553   -h, --help       print this help, then exit
66554   -V, --version    print version number and configuration settings, then exit
66555   -q, --quiet, --silent
66556                    do not print progress messages
66557   -d, --debug      don't remove temporary files
66558       --recheck    update $as_me by reconfiguring in the same conditions
66559       --file=FILE[:TEMPLATE]
66560                    instantiate the configuration file FILE
66561       --header=FILE[:TEMPLATE]
66562                    instantiate the configuration header FILE
66563
66564 Configuration files:
66565 $config_files
66566
66567 Configuration headers:
66568 $config_headers
66569
66570 Configuration commands:
66571 $config_commands
66572
66573 Report bugs to the package provider."
66574
66575 _ACEOF
66576 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66577 ac_cs_version="\\
66578 package-unused config.status version-unused
66579 configured by $0, generated by GNU Autoconf 2.64,
66580   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
66581
66582 Copyright (C) 2009 Free Software Foundation, Inc.
66583 This config.status script is free software; the Free Software Foundation
66584 gives unlimited permission to copy, distribute and modify it."
66585
66586 ac_pwd='$ac_pwd'
66587 srcdir='$srcdir'
66588 INSTALL='$INSTALL'
66589 MKDIR_P='$MKDIR_P'
66590 AWK='$AWK'
66591 test -n "\$AWK" || AWK=awk
66592 _ACEOF
66593
66594 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66595 # The default lists apply if the user does not specify any file.
66596 ac_need_defaults=:
66597 while test $# != 0
66598 do
66599   case $1 in
66600   --*=*)
66601     ac_option=`expr "X$1" : 'X\([^=]*\)='`
66602     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
66603     ac_shift=:
66604     ;;
66605   *)
66606     ac_option=$1
66607     ac_optarg=$2
66608     ac_shift=shift
66609     ;;
66610   esac
66611
66612   case $ac_option in
66613   # Handling of the options.
66614   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
66615     ac_cs_recheck=: ;;
66616   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
66617     $as_echo "$ac_cs_version"; exit ;;
66618   --debug | --debu | --deb | --de | --d | -d )
66619     debug=: ;;
66620   --file | --fil | --fi | --f )
66621     $ac_shift
66622     case $ac_optarg in
66623     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
66624     esac
66625     as_fn_append CONFIG_FILES " '$ac_optarg'"
66626     ac_need_defaults=false;;
66627   --header | --heade | --head | --hea )
66628     $ac_shift
66629     case $ac_optarg in
66630     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
66631     esac
66632     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
66633     ac_need_defaults=false;;
66634   --he | --h)
66635     # Conflict between --help and --header
66636     as_fn_error "ambiguous option: \`$1'
66637 Try \`$0 --help' for more information.";;
66638   --help | --hel | -h )
66639     $as_echo "$ac_cs_usage"; exit ;;
66640   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
66641   | -silent | --silent | --silen | --sile | --sil | --si | --s)
66642     ac_cs_silent=: ;;
66643
66644   # This is an error.
66645   -*) as_fn_error "unrecognized option: \`$1'
66646 Try \`$0 --help' for more information." ;;
66647
66648   *) as_fn_append ac_config_targets " $1"
66649      ac_need_defaults=false ;;
66650
66651   esac
66652   shift
66653 done
66654
66655 ac_configure_extra_args=
66656
66657 if $ac_cs_silent; then
66658   exec 6>/dev/null
66659   ac_configure_extra_args="$ac_configure_extra_args --silent"
66660 fi
66661
66662 _ACEOF
66663 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66664 if \$ac_cs_recheck; then
66665   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
66666   shift
66667   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
66668   CONFIG_SHELL='$SHELL'
66669   export CONFIG_SHELL
66670   exec "\$@"
66671 fi
66672
66673 _ACEOF
66674 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66675 exec 5>>config.log
66676 {
66677   echo
66678   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
66679 ## Running $as_me. ##
66680 _ASBOX
66681   $as_echo "$ac_log"
66682 } >&5
66683
66684 _ACEOF
66685 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66686 #
66687 # INIT-COMMANDS
66688 #
66689
66690 srcdir="$srcdir"
66691 host="$host"
66692 target="$target"
66693 with_multisubdir="$with_multisubdir"
66694 with_multisrctop="$with_multisrctop"
66695 with_target_subdir="$with_target_subdir"
66696 ac_configure_args="${multilib_arg} ${ac_configure_args}"
66697 multi_basedir="$multi_basedir"
66698 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
66699 CC="$CC"
66700 CXX="$CXX"
66701 GFORTRAN="$GFORTRAN"
66702 GCJ="$GCJ"
66703
66704
66705 # The HP-UX ksh and POSIX shell print the target directory to stdout
66706 # if CDPATH is set.
66707 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
66708
66709 sed_quote_subst='$sed_quote_subst'
66710 double_quote_subst='$double_quote_subst'
66711 delay_variable_subst='$delay_variable_subst'
66712 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
66713 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
66714 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
66715 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
66716 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
66717 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
66718 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
66719 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
66720 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
66721 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
66722 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
66723 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
66724 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
66725 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
66726 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
66727 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
66728 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
66729 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
66730 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
66731 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
66732 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
66733 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
66734 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
66735 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
66736 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
66737 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
66738 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
66739 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
66740 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
66741 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
66742 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
66743 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
66744 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
66745 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
66746 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
66747 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
66748 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
66749 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
66750 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
66751 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
66752 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
66753 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
66754 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
66755 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
66756 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
66757 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
66758 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
66759 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
66760 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"`'
66761 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
66762 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
66763 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
66764 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
66765 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
66766 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
66767 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
66768 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
66769 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
66770 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
66771 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
66772 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
66773 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
66774 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
66775 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
66776 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
66777 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
66778 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
66779 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
66780 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
66781 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
66782 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
66783 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
66784 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
66785 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
66786 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
66787 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
66788 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
66789 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
66790 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
66791 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
66792 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
66793 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
66794 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
66795 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
66796 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
66797 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
66798 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
66799 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
66800 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
66801 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
66802 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
66803 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
66804 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
66805 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
66806 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
66807 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
66808 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
66809 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
66810 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
66811 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
66812 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
66813 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
66814 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
66815 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
66816 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
66817 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
66818 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
66819 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
66820 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
66821 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
66822 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
66823 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
66824 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
66825 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
66826 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
66827 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
66828 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
66829 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
66830 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
66831 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
66832 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
66833 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
66834 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
66835 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
66836 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
66837 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
66838 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
66839 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
66840 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66841 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66842 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
66843 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
66844 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
66845 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
66846 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
66847 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
66848 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
66849 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
66850 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
66851 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
66852 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
66853 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
66854 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66855 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66856 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66857 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66858 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66859 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66860 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
66861 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
66862 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
66863 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
66864 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
66865 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
66866 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
66867 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
66868 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
66869 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
66870 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
66871 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
66872 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
66873 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
66874 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
66875 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66876 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
66877 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
66878 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66879 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
66880 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
66881 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
66882 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
66883 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
66884 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
66885 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
66886 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
66887
66888 LTCC='$LTCC'
66889 LTCFLAGS='$LTCFLAGS'
66890 compiler='$compiler_DEFAULT'
66891
66892 # A function that is used when there is no print builtin or printf.
66893 func_fallback_echo ()
66894 {
66895   eval 'cat <<_LTECHO_EOF
66896 \$1
66897 _LTECHO_EOF'
66898 }
66899
66900 # Quote evaled strings.
66901 for var in SHELL \
66902 ECHO \
66903 SED \
66904 GREP \
66905 EGREP \
66906 FGREP \
66907 LD \
66908 NM \
66909 LN_S \
66910 lt_SP2NL \
66911 lt_NL2SP \
66912 reload_flag \
66913 OBJDUMP \
66914 deplibs_check_method \
66915 file_magic_cmd \
66916 AR \
66917 AR_FLAGS \
66918 STRIP \
66919 RANLIB \
66920 CC \
66921 CFLAGS \
66922 compiler \
66923 lt_cv_sys_global_symbol_pipe \
66924 lt_cv_sys_global_symbol_to_cdecl \
66925 lt_cv_sys_global_symbol_to_c_name_address \
66926 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
66927 lt_prog_compiler_no_builtin_flag \
66928 lt_prog_compiler_wl \
66929 lt_prog_compiler_pic \
66930 lt_prog_compiler_static \
66931 lt_cv_prog_compiler_c_o \
66932 need_locks \
66933 DSYMUTIL \
66934 NMEDIT \
66935 LIPO \
66936 OTOOL \
66937 OTOOL64 \
66938 shrext_cmds \
66939 export_dynamic_flag_spec \
66940 whole_archive_flag_spec \
66941 compiler_needs_object \
66942 with_gnu_ld \
66943 allow_undefined_flag \
66944 no_undefined_flag \
66945 hardcode_libdir_flag_spec \
66946 hardcode_libdir_flag_spec_ld \
66947 hardcode_libdir_separator \
66948 fix_srcfile_path \
66949 exclude_expsyms \
66950 include_expsyms \
66951 file_list_spec \
66952 variables_saved_for_relink \
66953 libname_spec \
66954 library_names_spec \
66955 soname_spec \
66956 install_override_mode \
66957 finish_eval \
66958 old_striplib \
66959 striplib \
66960 compiler_lib_search_dirs \
66961 predep_objects \
66962 postdep_objects \
66963 predeps \
66964 postdeps \
66965 compiler_lib_search_path \
66966 LD_CXX \
66967 reload_flag_CXX \
66968 compiler_CXX \
66969 lt_prog_compiler_no_builtin_flag_CXX \
66970 lt_prog_compiler_wl_CXX \
66971 lt_prog_compiler_pic_CXX \
66972 lt_prog_compiler_static_CXX \
66973 lt_cv_prog_compiler_c_o_CXX \
66974 export_dynamic_flag_spec_CXX \
66975 whole_archive_flag_spec_CXX \
66976 compiler_needs_object_CXX \
66977 with_gnu_ld_CXX \
66978 allow_undefined_flag_CXX \
66979 no_undefined_flag_CXX \
66980 hardcode_libdir_flag_spec_CXX \
66981 hardcode_libdir_flag_spec_ld_CXX \
66982 hardcode_libdir_separator_CXX \
66983 fix_srcfile_path_CXX \
66984 exclude_expsyms_CXX \
66985 include_expsyms_CXX \
66986 file_list_spec_CXX \
66987 compiler_lib_search_dirs_CXX \
66988 predep_objects_CXX \
66989 postdep_objects_CXX \
66990 predeps_CXX \
66991 postdeps_CXX \
66992 compiler_lib_search_path_CXX; do
66993     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
66994     *[\\\\\\\`\\"\\\$]*)
66995       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
66996       ;;
66997     *)
66998       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
66999       ;;
67000     esac
67001 done
67002
67003 # Double-quote double-evaled strings.
67004 for var in reload_cmds \
67005 old_postinstall_cmds \
67006 old_postuninstall_cmds \
67007 old_archive_cmds \
67008 extract_expsyms_cmds \
67009 old_archive_from_new_cmds \
67010 old_archive_from_expsyms_cmds \
67011 archive_cmds \
67012 archive_expsym_cmds \
67013 module_cmds \
67014 module_expsym_cmds \
67015 export_symbols_cmds \
67016 prelink_cmds \
67017 postinstall_cmds \
67018 postuninstall_cmds \
67019 finish_cmds \
67020 sys_lib_search_path_spec \
67021 sys_lib_dlsearch_path_spec \
67022 reload_cmds_CXX \
67023 old_archive_cmds_CXX \
67024 old_archive_from_new_cmds_CXX \
67025 old_archive_from_expsyms_cmds_CXX \
67026 archive_cmds_CXX \
67027 archive_expsym_cmds_CXX \
67028 module_cmds_CXX \
67029 module_expsym_cmds_CXX \
67030 export_symbols_cmds_CXX \
67031 prelink_cmds_CXX; do
67032     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
67033     *[\\\\\\\`\\"\\\$]*)
67034       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
67035       ;;
67036     *)
67037       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
67038       ;;
67039     esac
67040 done
67041
67042 ac_aux_dir='$ac_aux_dir'
67043 xsi_shell='$xsi_shell'
67044 lt_shell_append='$lt_shell_append'
67045
67046 # See if we are running on zsh, and set the options which allow our
67047 # commands through without removal of \ escapes INIT.
67048 if test -n "\${ZSH_VERSION+set}" ; then
67049    setopt NO_GLOB_SUBST
67050 fi
67051
67052
67053     PACKAGE='$PACKAGE'
67054     VERSION='$VERSION'
67055     TIMESTAMP='$TIMESTAMP'
67056     RM='$RM'
67057     ofile='$ofile'
67058
67059
67060
67061
67062
67063
67064 GCC="$GCC"
67065 CC="$CC"
67066 acx_cv_header_stdint="$acx_cv_header_stdint"
67067 acx_cv_type_int8_t="$acx_cv_type_int8_t"
67068 acx_cv_type_int16_t="$acx_cv_type_int16_t"
67069 acx_cv_type_int32_t="$acx_cv_type_int32_t"
67070 acx_cv_type_int64_t="$acx_cv_type_int64_t"
67071 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
67072 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
67073 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
67074 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
67075 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
67076 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
67077 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
67078 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
67079 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
67080
67081
67082 _ACEOF
67083
67084 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67085
67086 # Handling of arguments.
67087 for ac_config_target in $ac_config_targets
67088 do
67089   case $ac_config_target in
67090     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
67091     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
67092     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
67093     "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
67094     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
67095     "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
67096     "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
67097     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
67098     "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
67099     "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
67100     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
67101     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
67102     "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
67103     "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
67104     "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
67105
67106   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
67107   esac
67108 done
67109
67110
67111 # If the user did not use the arguments to specify the items to instantiate,
67112 # then the envvar interface is used.  Set only those that are not.
67113 # We use the long form for the default assignment because of an extremely
67114 # bizarre bug on SunOS 4.1.3.
67115 if $ac_need_defaults; then
67116   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
67117   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
67118   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
67119 fi
67120
67121 # Have a temporary directory for convenience.  Make it in the build tree
67122 # simply because there is no reason against having it here, and in addition,
67123 # creating and moving files from /tmp can sometimes cause problems.
67124 # Hook for its removal unless debugging.
67125 # Note that there is a small window in which the directory will not be cleaned:
67126 # after its creation but before its name has been assigned to `$tmp'.
67127 $debug ||
67128 {
67129   tmp=
67130   trap 'exit_status=$?
67131   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
67132 ' 0
67133   trap 'as_fn_exit 1' 1 2 13 15
67134 }
67135 # Create a (secure) tmp directory for tmp files.
67136
67137 {
67138   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
67139   test -n "$tmp" && test -d "$tmp"
67140 }  ||
67141 {
67142   tmp=./conf$$-$RANDOM
67143   (umask 077 && mkdir "$tmp")
67144 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
67145
67146 # Set up the scripts for CONFIG_FILES section.
67147 # No need to generate them if there are no CONFIG_FILES.
67148 # This happens for instance with `./config.status config.h'.
67149 if test -n "$CONFIG_FILES"; then
67150
67151
67152 ac_cr=`echo X | tr X '\015'`
67153 # On cygwin, bash can eat \r inside `` if the user requested igncr.
67154 # But we know of no other shell where ac_cr would be empty at this
67155 # point, so we can use a bashism as a fallback.
67156 if test "x$ac_cr" = x; then
67157   eval ac_cr=\$\'\\r\'
67158 fi
67159 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
67160 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
67161   ac_cs_awk_cr='\r'
67162 else
67163   ac_cs_awk_cr=$ac_cr
67164 fi
67165
67166 echo 'BEGIN {' >"$tmp/subs1.awk" &&
67167 _ACEOF
67168
67169
67170 {
67171   echo "cat >conf$$subs.awk <<_ACEOF" &&
67172   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
67173   echo "_ACEOF"
67174 } >conf$$subs.sh ||
67175   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67176 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
67177 ac_delim='%!_!# '
67178 for ac_last_try in false false false false false :; do
67179   . ./conf$$subs.sh ||
67180     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67181
67182   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
67183   if test $ac_delim_n = $ac_delim_num; then
67184     break
67185   elif $ac_last_try; then
67186     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67187   else
67188     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
67189   fi
67190 done
67191 rm -f conf$$subs.sh
67192
67193 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67194 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
67195 _ACEOF
67196 sed -n '
67197 h
67198 s/^/S["/; s/!.*/"]=/
67199 p
67200 g
67201 s/^[^!]*!//
67202 :repl
67203 t repl
67204 s/'"$ac_delim"'$//
67205 t delim
67206 :nl
67207 h
67208 s/\(.\{148\}\).*/\1/
67209 t more1
67210 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
67211 p
67212 n
67213 b repl
67214 :more1
67215 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
67216 p
67217 g
67218 s/.\{148\}//
67219 t nl
67220 :delim
67221 h
67222 s/\(.\{148\}\).*/\1/
67223 t more2
67224 s/["\\]/\\&/g; s/^/"/; s/$/"/
67225 p
67226 b
67227 :more2
67228 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
67229 p
67230 g
67231 s/.\{148\}//
67232 t delim
67233 ' <conf$$subs.awk | sed '
67234 /^[^""]/{
67235   N
67236   s/\n//
67237 }
67238 ' >>$CONFIG_STATUS || ac_write_fail=1
67239 rm -f conf$$subs.awk
67240 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67241 _ACAWK
67242 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
67243   for (key in S) S_is_set[key] = 1
67244   FS = "\a"
67245
67246 }
67247 {
67248   line = $ 0
67249   nfields = split(line, field, "@")
67250   substed = 0
67251   len = length(field[1])
67252   for (i = 2; i < nfields; i++) {
67253     key = field[i]
67254     keylen = length(key)
67255     if (S_is_set[key]) {
67256       value = S[key]
67257       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
67258       len += length(value) + length(field[++i])
67259       substed = 1
67260     } else
67261       len += 1 + keylen
67262   }
67263
67264   print line
67265 }
67266
67267 _ACAWK
67268 _ACEOF
67269 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67270 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
67271   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
67272 else
67273   cat
67274 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
67275   || as_fn_error "could not setup config files machinery" "$LINENO" 5
67276 _ACEOF
67277
67278 # VPATH may cause trouble with some makes, so we remove $(srcdir),
67279 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
67280 # trailing colons and then remove the whole line if VPATH becomes empty
67281 # (actually we leave an empty line to preserve line numbers).
67282 if test "x$srcdir" = x.; then
67283   ac_vpsub='/^[  ]*VPATH[        ]*=/{
67284 s/:*\$(srcdir):*/:/
67285 s/:*\${srcdir}:*/:/
67286 s/:*@srcdir@:*/:/
67287 s/^\([^=]*=[     ]*\):*/\1/
67288 s/:*$//
67289 s/^[^=]*=[       ]*$//
67290 }'
67291 fi
67292
67293 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67294 fi # test -n "$CONFIG_FILES"
67295
67296 # Set up the scripts for CONFIG_HEADERS section.
67297 # No need to generate them if there are no CONFIG_HEADERS.
67298 # This happens for instance with `./config.status Makefile'.
67299 if test -n "$CONFIG_HEADERS"; then
67300 cat >"$tmp/defines.awk" <<\_ACAWK ||
67301 BEGIN {
67302 _ACEOF
67303
67304 # Transform confdefs.h into an awk script `defines.awk', embedded as
67305 # here-document in config.status, that substitutes the proper values into
67306 # config.h.in to produce config.h.
67307
67308 # Create a delimiter string that does not exist in confdefs.h, to ease
67309 # handling of long lines.
67310 ac_delim='%!_!# '
67311 for ac_last_try in false false :; do
67312   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
67313   if test -z "$ac_t"; then
67314     break
67315   elif $ac_last_try; then
67316     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
67317   else
67318     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
67319   fi
67320 done
67321
67322 # For the awk script, D is an array of macro values keyed by name,
67323 # likewise P contains macro parameters if any.  Preserve backslash
67324 # newline sequences.
67325
67326 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
67327 sed -n '
67328 s/.\{148\}/&'"$ac_delim"'/g
67329 t rset
67330 :rset
67331 s/^[     ]*#[    ]*define[       ][      ]*/ /
67332 t def
67333 d
67334 :def
67335 s/\\$//
67336 t bsnl
67337 s/["\\]/\\&/g
67338 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
67339 D["\1"]=" \3"/p
67340 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
67341 d
67342 :bsnl
67343 s/["\\]/\\&/g
67344 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
67345 D["\1"]=" \3\\\\\\n"\\/p
67346 t cont
67347 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
67348 t cont
67349 d
67350 :cont
67351 n
67352 s/.\{148\}/&'"$ac_delim"'/g
67353 t clear
67354 :clear
67355 s/\\$//
67356 t bsnlc
67357 s/["\\]/\\&/g; s/^/"/; s/$/"/p
67358 d
67359 :bsnlc
67360 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
67361 b cont
67362 ' <confdefs.h | sed '
67363 s/'"$ac_delim"'/"\\\
67364 "/g' >>$CONFIG_STATUS || ac_write_fail=1
67365
67366 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67367   for (key in D) D_is_set[key] = 1
67368   FS = "\a"
67369 }
67370 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
67371   line = \$ 0
67372   split(line, arg, " ")
67373   if (arg[1] == "#") {
67374     defundef = arg[2]
67375     mac1 = arg[3]
67376   } else {
67377     defundef = substr(arg[1], 2)
67378     mac1 = arg[2]
67379   }
67380   split(mac1, mac2, "(") #)
67381   macro = mac2[1]
67382   prefix = substr(line, 1, index(line, defundef) - 1)
67383   if (D_is_set[macro]) {
67384     # Preserve the white space surrounding the "#".
67385     print prefix "define", macro P[macro] D[macro]
67386     next
67387   } else {
67388     # Replace #undef with comments.  This is necessary, for example,
67389     # in the case of _POSIX_SOURCE, which is predefined and required
67390     # on some systems where configure will not decide to define it.
67391     if (defundef == "undef") {
67392       print "/*", prefix defundef, macro, "*/"
67393       next
67394     }
67395   }
67396 }
67397 { print }
67398 _ACAWK
67399 _ACEOF
67400 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67401   as_fn_error "could not setup config headers machinery" "$LINENO" 5
67402 fi # test -n "$CONFIG_HEADERS"
67403
67404
67405 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
67406 shift
67407 for ac_tag
67408 do
67409   case $ac_tag in
67410   :[FHLC]) ac_mode=$ac_tag; continue;;
67411   esac
67412   case $ac_mode$ac_tag in
67413   :[FHL]*:*);;
67414   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
67415   :[FH]-) ac_tag=-:-;;
67416   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
67417   esac
67418   ac_save_IFS=$IFS
67419   IFS=:
67420   set x $ac_tag
67421   IFS=$ac_save_IFS
67422   shift
67423   ac_file=$1
67424   shift
67425
67426   case $ac_mode in
67427   :L) ac_source=$1;;
67428   :[FH])
67429     ac_file_inputs=
67430     for ac_f
67431     do
67432       case $ac_f in
67433       -) ac_f="$tmp/stdin";;
67434       *) # Look for the file first in the build tree, then in the source tree
67435          # (if the path is not absolute).  The absolute path cannot be DOS-style,
67436          # because $ac_f cannot contain `:'.
67437          test -f "$ac_f" ||
67438            case $ac_f in
67439            [\\/$]*) false;;
67440            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
67441            esac ||
67442            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
67443       esac
67444       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
67445       as_fn_append ac_file_inputs " '$ac_f'"
67446     done
67447
67448     # Let's still pretend it is `configure' which instantiates (i.e., don't
67449     # use $as_me), people would be surprised to read:
67450     #    /* config.h.  Generated by config.status.  */
67451     configure_input='Generated from '`
67452           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
67453         `' by configure.'
67454     if test x"$ac_file" != x-; then
67455       configure_input="$ac_file.  $configure_input"
67456       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
67457 $as_echo "$as_me: creating $ac_file" >&6;}
67458     fi
67459     # Neutralize special characters interpreted by sed in replacement strings.
67460     case $configure_input in #(
67461     *\&* | *\|* | *\\* )
67462        ac_sed_conf_input=`$as_echo "$configure_input" |
67463        sed 's/[\\\\&|]/\\\\&/g'`;; #(
67464     *) ac_sed_conf_input=$configure_input;;
67465     esac
67466
67467     case $ac_tag in
67468     *:-:* | *:-) cat >"$tmp/stdin" \
67469       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
67470     esac
67471     ;;
67472   esac
67473
67474   ac_dir=`$as_dirname -- "$ac_file" ||
67475 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67476          X"$ac_file" : 'X\(//\)[^/]' \| \
67477          X"$ac_file" : 'X\(//\)$' \| \
67478          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
67479 $as_echo X"$ac_file" |
67480     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
67481             s//\1/
67482             q
67483           }
67484           /^X\(\/\/\)[^/].*/{
67485             s//\1/
67486             q
67487           }
67488           /^X\(\/\/\)$/{
67489             s//\1/
67490             q
67491           }
67492           /^X\(\/\).*/{
67493             s//\1/
67494             q
67495           }
67496           s/.*/./; q'`
67497   as_dir="$ac_dir"; as_fn_mkdir_p
67498   ac_builddir=.
67499
67500 case "$ac_dir" in
67501 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
67502 *)
67503   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
67504   # A ".." for each directory in $ac_dir_suffix.
67505   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
67506   case $ac_top_builddir_sub in
67507   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
67508   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
67509   esac ;;
67510 esac
67511 ac_abs_top_builddir=$ac_pwd
67512 ac_abs_builddir=$ac_pwd$ac_dir_suffix
67513 # for backward compatibility:
67514 ac_top_builddir=$ac_top_build_prefix
67515
67516 case $srcdir in
67517   .)  # We are building in place.
67518     ac_srcdir=.
67519     ac_top_srcdir=$ac_top_builddir_sub
67520     ac_abs_top_srcdir=$ac_pwd ;;
67521   [\\/]* | ?:[\\/]* )  # Absolute name.
67522     ac_srcdir=$srcdir$ac_dir_suffix;
67523     ac_top_srcdir=$srcdir
67524     ac_abs_top_srcdir=$srcdir ;;
67525   *) # Relative name.
67526     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
67527     ac_top_srcdir=$ac_top_build_prefix$srcdir
67528     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
67529 esac
67530 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
67531
67532
67533   case $ac_mode in
67534   :F)
67535   #
67536   # CONFIG_FILE
67537   #
67538
67539   case $INSTALL in
67540   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
67541   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
67542   esac
67543   ac_MKDIR_P=$MKDIR_P
67544   case $MKDIR_P in
67545   [\\/$]* | ?:[\\/]* ) ;;
67546   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
67547   esac
67548 _ACEOF
67549
67550 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67551 # If the template does not know about datarootdir, expand it.
67552 # FIXME: This hack should be removed a few years after 2.60.
67553 ac_datarootdir_hack=; ac_datarootdir_seen=
67554 ac_sed_dataroot='
67555 /datarootdir/ {
67556   p
67557   q
67558 }
67559 /@datadir@/p
67560 /@docdir@/p
67561 /@infodir@/p
67562 /@localedir@/p
67563 /@mandir@/p'
67564 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
67565 *datarootdir*) ac_datarootdir_seen=yes;;
67566 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
67567   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
67568 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
67569 _ACEOF
67570 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67571   ac_datarootdir_hack='
67572   s&@datadir@&$datadir&g
67573   s&@docdir@&$docdir&g
67574   s&@infodir@&$infodir&g
67575   s&@localedir@&$localedir&g
67576   s&@mandir@&$mandir&g
67577   s&\\\${datarootdir}&$datarootdir&g' ;;
67578 esac
67579 _ACEOF
67580
67581 # Neutralize VPATH when `$srcdir' = `.'.
67582 # Shell code in configure.ac might set extrasub.
67583 # FIXME: do we really want to maintain this feature?
67584 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67585 ac_sed_extra="$ac_vpsub
67586 $extrasub
67587 _ACEOF
67588 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67589 :t
67590 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
67591 s|@configure_input@|$ac_sed_conf_input|;t t
67592 s&@top_builddir@&$ac_top_builddir_sub&;t t
67593 s&@top_build_prefix@&$ac_top_build_prefix&;t t
67594 s&@srcdir@&$ac_srcdir&;t t
67595 s&@abs_srcdir@&$ac_abs_srcdir&;t t
67596 s&@top_srcdir@&$ac_top_srcdir&;t t
67597 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
67598 s&@builddir@&$ac_builddir&;t t
67599 s&@abs_builddir@&$ac_abs_builddir&;t t
67600 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
67601 s&@INSTALL@&$ac_INSTALL&;t t
67602 s&@MKDIR_P@&$ac_MKDIR_P&;t t
67603 $ac_datarootdir_hack
67604 "
67605 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
67606   || as_fn_error "could not create $ac_file" "$LINENO" 5
67607
67608 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
67609   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
67610   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
67611   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
67612 which seems to be undefined.  Please make sure it is defined." >&5
67613 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
67614 which seems to be undefined.  Please make sure it is defined." >&2;}
67615
67616   rm -f "$tmp/stdin"
67617   case $ac_file in
67618   -) cat "$tmp/out" && rm -f "$tmp/out";;
67619   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
67620   esac \
67621   || as_fn_error "could not create $ac_file" "$LINENO" 5
67622  ;;
67623   :H)
67624   #
67625   # CONFIG_HEADER
67626   #
67627   if test x"$ac_file" != x-; then
67628     {
67629       $as_echo "/* $configure_input  */" \
67630       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
67631     } >"$tmp/config.h" \
67632       || as_fn_error "could not create $ac_file" "$LINENO" 5
67633     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
67634       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
67635 $as_echo "$as_me: $ac_file is unchanged" >&6;}
67636     else
67637       rm -f "$ac_file"
67638       mv "$tmp/config.h" "$ac_file" \
67639         || as_fn_error "could not create $ac_file" "$LINENO" 5
67640     fi
67641   else
67642     $as_echo "/* $configure_input  */" \
67643       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
67644       || as_fn_error "could not create -" "$LINENO" 5
67645   fi
67646 # Compute "$ac_file"'s index in $config_headers.
67647 _am_arg="$ac_file"
67648 _am_stamp_count=1
67649 for _am_header in $config_headers :; do
67650   case $_am_header in
67651     $_am_arg | $_am_arg:* )
67652       break ;;
67653     * )
67654       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
67655   esac
67656 done
67657 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
67658 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67659          X"$_am_arg" : 'X\(//\)[^/]' \| \
67660          X"$_am_arg" : 'X\(//\)$' \| \
67661          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
67662 $as_echo X"$_am_arg" |
67663     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
67664             s//\1/
67665             q
67666           }
67667           /^X\(\/\/\)[^/].*/{
67668             s//\1/
67669             q
67670           }
67671           /^X\(\/\/\)$/{
67672             s//\1/
67673             q
67674           }
67675           /^X\(\/\).*/{
67676             s//\1/
67677             q
67678           }
67679           s/.*/./; q'`/stamp-h$_am_stamp_count
67680  ;;
67681
67682   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
67683 $as_echo "$as_me: executing $ac_file commands" >&6;}
67684  ;;
67685   esac
67686
67687
67688   case $ac_file$ac_mode in
67689     "default-1":C)
67690 # Only add multilib support code if we just rebuilt the top-level
67691 # Makefile.
67692 case " $CONFIG_FILES " in
67693  *" Makefile "*)
67694    ac_file=Makefile . ${multi_basedir}/config-ml.in
67695    ;;
67696 esac ;;
67697     "libtool":C)
67698
67699     # See if we are running on zsh, and set the options which allow our
67700     # commands through without removal of \ escapes.
67701     if test -n "${ZSH_VERSION+set}" ; then
67702       setopt NO_GLOB_SUBST
67703     fi
67704
67705     cfgfile="${ofile}T"
67706     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
67707     $RM "$cfgfile"
67708
67709     cat <<_LT_EOF >> "$cfgfile"
67710 #! $SHELL
67711
67712 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
67713 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
67714 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
67715 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
67716 #
67717 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
67718 #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
67719 #   Written by Gordon Matzigkeit, 1996
67720 #
67721 #   This file is part of GNU Libtool.
67722 #
67723 # GNU Libtool is free software; you can redistribute it and/or
67724 # modify it under the terms of the GNU General Public License as
67725 # published by the Free Software Foundation; either version 2 of
67726 # the License, or (at your option) any later version.
67727 #
67728 # As a special exception to the GNU General Public License,
67729 # if you distribute this file as part of a program or library that
67730 # is built using GNU Libtool, you may include this file under the
67731 # same distribution terms that you use for the rest of that program.
67732 #
67733 # GNU Libtool is distributed in the hope that it will be useful,
67734 # but WITHOUT ANY WARRANTY; without even the implied warranty of
67735 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
67736 # GNU General Public License for more details.
67737 #
67738 # You should have received a copy of the GNU General Public License
67739 # along with GNU Libtool; see the file COPYING.  If not, a copy
67740 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
67741 # obtained by writing to the Free Software Foundation, Inc.,
67742 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
67743
67744
67745 # The names of the tagged configurations supported by this script.
67746 available_tags="CXX "
67747
67748 # ### BEGIN LIBTOOL CONFIG
67749
67750 # Which release of libtool.m4 was used?
67751 macro_version=$macro_version
67752 macro_revision=$macro_revision
67753
67754 # Whether or not to build shared libraries.
67755 build_libtool_libs=$enable_shared
67756
67757 # Whether or not to build static libraries.
67758 build_old_libs=$enable_static
67759
67760 # What type of objects to build.
67761 pic_mode=$pic_mode
67762
67763 # Whether or not to optimize for fast installation.
67764 fast_install=$enable_fast_install
67765
67766 # Shell to use when invoking shell scripts.
67767 SHELL=$lt_SHELL
67768
67769 # An echo program that protects backslashes.
67770 ECHO=$lt_ECHO
67771
67772 # The host system.
67773 host_alias=$host_alias
67774 host=$host
67775 host_os=$host_os
67776
67777 # The build system.
67778 build_alias=$build_alias
67779 build=$build
67780 build_os=$build_os
67781
67782 # A sed program that does not truncate output.
67783 SED=$lt_SED
67784
67785 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
67786 Xsed="\$SED -e 1s/^X//"
67787
67788 # A grep program that handles long lines.
67789 GREP=$lt_GREP
67790
67791 # An ERE matcher.
67792 EGREP=$lt_EGREP
67793
67794 # A literal string matcher.
67795 FGREP=$lt_FGREP
67796
67797 # A BSD- or MS-compatible name lister.
67798 NM=$lt_NM
67799
67800 # Whether we need soft or hard links.
67801 LN_S=$lt_LN_S
67802
67803 # What is the maximum length of a command?
67804 max_cmd_len=$max_cmd_len
67805
67806 # Object file suffix (normally "o").
67807 objext=$ac_objext
67808
67809 # Executable file suffix (normally "").
67810 exeext=$exeext
67811
67812 # whether the shell understands "unset".
67813 lt_unset=$lt_unset
67814
67815 # turn spaces into newlines.
67816 SP2NL=$lt_lt_SP2NL
67817
67818 # turn newlines into spaces.
67819 NL2SP=$lt_lt_NL2SP
67820
67821 # An object symbol dumper.
67822 OBJDUMP=$lt_OBJDUMP
67823
67824 # Method to check whether dependent libraries are shared objects.
67825 deplibs_check_method=$lt_deplibs_check_method
67826
67827 # Command to use when deplibs_check_method == "file_magic".
67828 file_magic_cmd=$lt_file_magic_cmd
67829
67830 # The archiver.
67831 AR=$lt_AR
67832 AR_FLAGS=$lt_AR_FLAGS
67833
67834 # A symbol stripping program.
67835 STRIP=$lt_STRIP
67836
67837 # Commands used to install an old-style archive.
67838 RANLIB=$lt_RANLIB
67839 old_postinstall_cmds=$lt_old_postinstall_cmds
67840 old_postuninstall_cmds=$lt_old_postuninstall_cmds
67841
67842 # Whether to use a lock for old archive extraction.
67843 lock_old_archive_extraction=$lock_old_archive_extraction
67844
67845 # A C compiler.
67846 LTCC=$lt_CC
67847
67848 # LTCC compiler flags.
67849 LTCFLAGS=$lt_CFLAGS
67850
67851 # Take the output of nm and produce a listing of raw symbols and C names.
67852 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
67853
67854 # Transform the output of nm in a proper C declaration.
67855 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
67856
67857 # Transform the output of nm in a C name address pair.
67858 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
67859
67860 # Transform the output of nm in a C name address pair when lib prefix is needed.
67861 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
67862
67863 # The name of the directory that contains temporary libtool files.
67864 objdir=$objdir
67865
67866 # Used to examine libraries when file_magic_cmd begins with "file".
67867 MAGIC_CMD=$MAGIC_CMD
67868
67869 # Must we lock files when doing compilation?
67870 need_locks=$lt_need_locks
67871
67872 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
67873 DSYMUTIL=$lt_DSYMUTIL
67874
67875 # Tool to change global to local symbols on Mac OS X.
67876 NMEDIT=$lt_NMEDIT
67877
67878 # Tool to manipulate fat objects and archives on Mac OS X.
67879 LIPO=$lt_LIPO
67880
67881 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
67882 OTOOL=$lt_OTOOL
67883
67884 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
67885 OTOOL64=$lt_OTOOL64
67886
67887 # Old archive suffix (normally "a").
67888 libext=$libext
67889
67890 # Shared library suffix (normally ".so").
67891 shrext_cmds=$lt_shrext_cmds
67892
67893 # The commands to extract the exported symbol list from a shared archive.
67894 extract_expsyms_cmds=$lt_extract_expsyms_cmds
67895
67896 # Variables whose values should be saved in libtool wrapper scripts and
67897 # restored at link time.
67898 variables_saved_for_relink=$lt_variables_saved_for_relink
67899
67900 # Do we need the "lib" prefix for modules?
67901 need_lib_prefix=$need_lib_prefix
67902
67903 # Do we need a version for libraries?
67904 need_version=$need_version
67905
67906 # Library versioning type.
67907 version_type=$version_type
67908
67909 # Shared library runtime path variable.
67910 runpath_var=$runpath_var
67911
67912 # Shared library path variable.
67913 shlibpath_var=$shlibpath_var
67914
67915 # Is shlibpath searched before the hard-coded library search path?
67916 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
67917
67918 # Format of library name prefix.
67919 libname_spec=$lt_libname_spec
67920
67921 # List of archive names.  First name is the real one, the rest are links.
67922 # The last name is the one that the linker finds with -lNAME
67923 library_names_spec=$lt_library_names_spec
67924
67925 # The coded name of the library, if different from the real name.
67926 soname_spec=$lt_soname_spec
67927
67928 # Permission mode override for installation of shared libraries.
67929 install_override_mode=$lt_install_override_mode
67930
67931 # Command to use after installation of a shared archive.
67932 postinstall_cmds=$lt_postinstall_cmds
67933
67934 # Command to use after uninstallation of a shared archive.
67935 postuninstall_cmds=$lt_postuninstall_cmds
67936
67937 # Commands used to finish a libtool library installation in a directory.
67938 finish_cmds=$lt_finish_cmds
67939
67940 # As "finish_cmds", except a single script fragment to be evaled but
67941 # not shown.
67942 finish_eval=$lt_finish_eval
67943
67944 # Whether we should hardcode library paths into libraries.
67945 hardcode_into_libs=$hardcode_into_libs
67946
67947 # Compile-time system search path for libraries.
67948 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
67949
67950 # Run-time system search path for libraries.
67951 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
67952
67953 # Whether dlopen is supported.
67954 dlopen_support=$enable_dlopen
67955
67956 # Whether dlopen of programs is supported.
67957 dlopen_self=$enable_dlopen_self
67958
67959 # Whether dlopen of statically linked programs is supported.
67960 dlopen_self_static=$enable_dlopen_self_static
67961
67962 # Commands to strip libraries.
67963 old_striplib=$lt_old_striplib
67964 striplib=$lt_striplib
67965
67966
67967 # The linker used to build libraries.
67968 LD=$lt_LD
67969
67970 # How to create reloadable object files.
67971 reload_flag=$lt_reload_flag
67972 reload_cmds=$lt_reload_cmds
67973
67974 # Commands used to build an old-style archive.
67975 old_archive_cmds=$lt_old_archive_cmds
67976
67977 # A language specific compiler.
67978 CC=$lt_compiler
67979
67980 # Is the compiler the GNU compiler?
67981 with_gcc=$GCC
67982
67983 # Compiler flag to turn off builtin functions.
67984 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
67985
67986 # How to pass a linker flag through the compiler.
67987 wl=$lt_lt_prog_compiler_wl
67988
67989 # Additional compiler flags for building library objects.
67990 pic_flag=$lt_lt_prog_compiler_pic
67991
67992 # Compiler flag to prevent dynamic linking.
67993 link_static_flag=$lt_lt_prog_compiler_static
67994
67995 # Does compiler simultaneously support -c and -o options?
67996 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
67997
67998 # Whether or not to add -lc for building shared libraries.
67999 build_libtool_need_lc=$archive_cmds_need_lc
68000
68001 # Whether or not to disallow shared libs when runtime libs are static.
68002 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
68003
68004 # Compiler flag to allow reflexive dlopens.
68005 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
68006
68007 # Compiler flag to generate shared objects directly from archives.
68008 whole_archive_flag_spec=$lt_whole_archive_flag_spec
68009
68010 # Whether the compiler copes with passing no objects directly.
68011 compiler_needs_object=$lt_compiler_needs_object
68012
68013 # Create an old-style archive from a shared archive.
68014 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
68015
68016 # Create a temporary old-style archive to link instead of a shared archive.
68017 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
68018
68019 # Commands used to build a shared archive.
68020 archive_cmds=$lt_archive_cmds
68021 archive_expsym_cmds=$lt_archive_expsym_cmds
68022
68023 # Commands used to build a loadable module if different from building
68024 # a shared archive.
68025 module_cmds=$lt_module_cmds
68026 module_expsym_cmds=$lt_module_expsym_cmds
68027
68028 # Whether we are building with GNU ld or not.
68029 with_gnu_ld=$lt_with_gnu_ld
68030
68031 # Flag that allows shared libraries with undefined symbols to be built.
68032 allow_undefined_flag=$lt_allow_undefined_flag
68033
68034 # Flag that enforces no undefined symbols.
68035 no_undefined_flag=$lt_no_undefined_flag
68036
68037 # Flag to hardcode \$libdir into a binary during linking.
68038 # This must work even if \$libdir does not exist
68039 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
68040
68041 # If ld is used when linking, flag to hardcode \$libdir into a binary
68042 # during linking.  This must work even if \$libdir does not exist.
68043 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
68044
68045 # Whether we need a single "-rpath" flag with a separated argument.
68046 hardcode_libdir_separator=$lt_hardcode_libdir_separator
68047
68048 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68049 # DIR into the resulting binary.
68050 hardcode_direct=$hardcode_direct
68051
68052 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68053 # DIR into the resulting binary and the resulting library dependency is
68054 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
68055 # library is relocated.
68056 hardcode_direct_absolute=$hardcode_direct_absolute
68057
68058 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
68059 # into the resulting binary.
68060 hardcode_minus_L=$hardcode_minus_L
68061
68062 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
68063 # into the resulting binary.
68064 hardcode_shlibpath_var=$hardcode_shlibpath_var
68065
68066 # Set to "yes" if building a shared library automatically hardcodes DIR
68067 # into the library and all subsequent libraries and executables linked
68068 # against it.
68069 hardcode_automatic=$hardcode_automatic
68070
68071 # Set to yes if linker adds runtime paths of dependent libraries
68072 # to runtime path list.
68073 inherit_rpath=$inherit_rpath
68074
68075 # Whether libtool must link a program against all its dependency libraries.
68076 link_all_deplibs=$link_all_deplibs
68077
68078 # Fix the shell variable \$srcfile for the compiler.
68079 fix_srcfile_path=$lt_fix_srcfile_path
68080
68081 # Set to "yes" if exported symbols are required.
68082 always_export_symbols=$always_export_symbols
68083
68084 # The commands to list exported symbols.
68085 export_symbols_cmds=$lt_export_symbols_cmds
68086
68087 # Symbols that should not be listed in the preloaded symbols.
68088 exclude_expsyms=$lt_exclude_expsyms
68089
68090 # Symbols that must always be exported.
68091 include_expsyms=$lt_include_expsyms
68092
68093 # Commands necessary for linking programs (against libraries) with templates.
68094 prelink_cmds=$lt_prelink_cmds
68095
68096 # Specify filename containing input files.
68097 file_list_spec=$lt_file_list_spec
68098
68099 # How to hardcode a shared library path into an executable.
68100 hardcode_action=$hardcode_action
68101
68102 # The directories searched by this compiler when creating a shared library.
68103 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
68104
68105 # Dependencies to place before and after the objects being linked to
68106 # create a shared library.
68107 predep_objects=$lt_predep_objects
68108 postdep_objects=$lt_postdep_objects
68109 predeps=$lt_predeps
68110 postdeps=$lt_postdeps
68111
68112 # The library search path used internally by the compiler when linking
68113 # a shared library.
68114 compiler_lib_search_path=$lt_compiler_lib_search_path
68115
68116 # ### END LIBTOOL CONFIG
68117
68118 _LT_EOF
68119
68120   case $host_os in
68121   aix3*)
68122     cat <<\_LT_EOF >> "$cfgfile"
68123 # AIX sometimes has problems with the GCC collect2 program.  For some
68124 # reason, if we set the COLLECT_NAMES environment variable, the problems
68125 # vanish in a puff of smoke.
68126 if test "X${COLLECT_NAMES+set}" != Xset; then
68127   COLLECT_NAMES=
68128   export COLLECT_NAMES
68129 fi
68130 _LT_EOF
68131     ;;
68132   esac
68133
68134
68135 ltmain="$ac_aux_dir/ltmain.sh"
68136
68137
68138   # We use sed instead of cat because bash on DJGPP gets confused if
68139   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
68140   # text mode, it properly converts lines to CR/LF.  This bash problem
68141   # is reportedly fixed, but why not run on old versions too?
68142   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
68143     || (rm -f "$cfgfile"; exit 1)
68144
68145   case $xsi_shell in
68146   yes)
68147     cat << \_LT_EOF >> "$cfgfile"
68148
68149 # func_dirname file append nondir_replacement
68150 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
68151 # otherwise set result to NONDIR_REPLACEMENT.
68152 func_dirname ()
68153 {
68154   case ${1} in
68155     */*) func_dirname_result="${1%/*}${2}" ;;
68156     *  ) func_dirname_result="${3}" ;;
68157   esac
68158 }
68159
68160 # func_basename file
68161 func_basename ()
68162 {
68163   func_basename_result="${1##*/}"
68164 }
68165
68166 # func_dirname_and_basename file append nondir_replacement
68167 # perform func_basename and func_dirname in a single function
68168 # call:
68169 #   dirname:  Compute the dirname of FILE.  If nonempty,
68170 #             add APPEND to the result, otherwise set result
68171 #             to NONDIR_REPLACEMENT.
68172 #             value returned in "$func_dirname_result"
68173 #   basename: Compute filename of FILE.
68174 #             value retuned in "$func_basename_result"
68175 # Implementation must be kept synchronized with func_dirname
68176 # and func_basename. For efficiency, we do not delegate to
68177 # those functions but instead duplicate the functionality here.
68178 func_dirname_and_basename ()
68179 {
68180   case ${1} in
68181     */*) func_dirname_result="${1%/*}${2}" ;;
68182     *  ) func_dirname_result="${3}" ;;
68183   esac
68184   func_basename_result="${1##*/}"
68185 }
68186
68187 # func_stripname prefix suffix name
68188 # strip PREFIX and SUFFIX off of NAME.
68189 # PREFIX and SUFFIX must not contain globbing or regex special
68190 # characters, hashes, percent signs, but SUFFIX may contain a leading
68191 # dot (in which case that matches only a dot).
68192 func_stripname ()
68193 {
68194   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
68195   # positional parameters, so assign one to ordinary parameter first.
68196   func_stripname_result=${3}
68197   func_stripname_result=${func_stripname_result#"${1}"}
68198   func_stripname_result=${func_stripname_result%"${2}"}
68199 }
68200
68201 # func_opt_split
68202 func_opt_split ()
68203 {
68204   func_opt_split_opt=${1%%=*}
68205   func_opt_split_arg=${1#*=}
68206 }
68207
68208 # func_lo2o object
68209 func_lo2o ()
68210 {
68211   case ${1} in
68212     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
68213     *)    func_lo2o_result=${1} ;;
68214   esac
68215 }
68216
68217 # func_xform libobj-or-source
68218 func_xform ()
68219 {
68220   func_xform_result=${1%.*}.lo
68221 }
68222
68223 # func_arith arithmetic-term...
68224 func_arith ()
68225 {
68226   func_arith_result=$(( $* ))
68227 }
68228
68229 # func_len string
68230 # STRING may not start with a hyphen.
68231 func_len ()
68232 {
68233   func_len_result=${#1}
68234 }
68235
68236 _LT_EOF
68237     ;;
68238   *) # Bourne compatible functions.
68239     cat << \_LT_EOF >> "$cfgfile"
68240
68241 # func_dirname file append nondir_replacement
68242 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
68243 # otherwise set result to NONDIR_REPLACEMENT.
68244 func_dirname ()
68245 {
68246   # Extract subdirectory from the argument.
68247   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
68248   if test "X$func_dirname_result" = "X${1}"; then
68249     func_dirname_result="${3}"
68250   else
68251     func_dirname_result="$func_dirname_result${2}"
68252   fi
68253 }
68254
68255 # func_basename file
68256 func_basename ()
68257 {
68258   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
68259 }
68260
68261
68262 # func_stripname prefix suffix name
68263 # strip PREFIX and SUFFIX off of NAME.
68264 # PREFIX and SUFFIX must not contain globbing or regex special
68265 # characters, hashes, percent signs, but SUFFIX may contain a leading
68266 # dot (in which case that matches only a dot).
68267 # func_strip_suffix prefix name
68268 func_stripname ()
68269 {
68270   case ${2} in
68271     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
68272     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
68273   esac
68274 }
68275
68276 # sed scripts:
68277 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
68278 my_sed_long_arg='1s/^-[^=]*=//'
68279
68280 # func_opt_split
68281 func_opt_split ()
68282 {
68283   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
68284   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
68285 }
68286
68287 # func_lo2o object
68288 func_lo2o ()
68289 {
68290   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
68291 }
68292
68293 # func_xform libobj-or-source
68294 func_xform ()
68295 {
68296   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
68297 }
68298
68299 # func_arith arithmetic-term...
68300 func_arith ()
68301 {
68302   func_arith_result=`expr "$@"`
68303 }
68304
68305 # func_len string
68306 # STRING may not start with a hyphen.
68307 func_len ()
68308 {
68309   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
68310 }
68311
68312 _LT_EOF
68313 esac
68314
68315 case $lt_shell_append in
68316   yes)
68317     cat << \_LT_EOF >> "$cfgfile"
68318
68319 # func_append var value
68320 # Append VALUE to the end of shell variable VAR.
68321 func_append ()
68322 {
68323   eval "$1+=\$2"
68324 }
68325 _LT_EOF
68326     ;;
68327   *)
68328     cat << \_LT_EOF >> "$cfgfile"
68329
68330 # func_append var value
68331 # Append VALUE to the end of shell variable VAR.
68332 func_append ()
68333 {
68334   eval "$1=\$$1\$2"
68335 }
68336
68337 _LT_EOF
68338     ;;
68339   esac
68340
68341
68342   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
68343     || (rm -f "$cfgfile"; exit 1)
68344
68345   mv -f "$cfgfile" "$ofile" ||
68346     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
68347   chmod +x "$ofile"
68348
68349
68350     cat <<_LT_EOF >> "$ofile"
68351
68352 # ### BEGIN LIBTOOL TAG CONFIG: CXX
68353
68354 # The linker used to build libraries.
68355 LD=$lt_LD_CXX
68356
68357 # How to create reloadable object files.
68358 reload_flag=$lt_reload_flag_CXX
68359 reload_cmds=$lt_reload_cmds_CXX
68360
68361 # Commands used to build an old-style archive.
68362 old_archive_cmds=$lt_old_archive_cmds_CXX
68363
68364 # A language specific compiler.
68365 CC=$lt_compiler_CXX
68366
68367 # Is the compiler the GNU compiler?
68368 with_gcc=$GCC_CXX
68369
68370 # Compiler flag to turn off builtin functions.
68371 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
68372
68373 # How to pass a linker flag through the compiler.
68374 wl=$lt_lt_prog_compiler_wl_CXX
68375
68376 # Additional compiler flags for building library objects.
68377 pic_flag=$lt_lt_prog_compiler_pic_CXX
68378
68379 # Compiler flag to prevent dynamic linking.
68380 link_static_flag=$lt_lt_prog_compiler_static_CXX
68381
68382 # Does compiler simultaneously support -c and -o options?
68383 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
68384
68385 # Whether or not to add -lc for building shared libraries.
68386 build_libtool_need_lc=$archive_cmds_need_lc_CXX
68387
68388 # Whether or not to disallow shared libs when runtime libs are static.
68389 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
68390
68391 # Compiler flag to allow reflexive dlopens.
68392 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
68393
68394 # Compiler flag to generate shared objects directly from archives.
68395 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
68396
68397 # Whether the compiler copes with passing no objects directly.
68398 compiler_needs_object=$lt_compiler_needs_object_CXX
68399
68400 # Create an old-style archive from a shared archive.
68401 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
68402
68403 # Create a temporary old-style archive to link instead of a shared archive.
68404 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
68405
68406 # Commands used to build a shared archive.
68407 archive_cmds=$lt_archive_cmds_CXX
68408 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
68409
68410 # Commands used to build a loadable module if different from building
68411 # a shared archive.
68412 module_cmds=$lt_module_cmds_CXX
68413 module_expsym_cmds=$lt_module_expsym_cmds_CXX
68414
68415 # Whether we are building with GNU ld or not.
68416 with_gnu_ld=$lt_with_gnu_ld_CXX
68417
68418 # Flag that allows shared libraries with undefined symbols to be built.
68419 allow_undefined_flag=$lt_allow_undefined_flag_CXX
68420
68421 # Flag that enforces no undefined symbols.
68422 no_undefined_flag=$lt_no_undefined_flag_CXX
68423
68424 # Flag to hardcode \$libdir into a binary during linking.
68425 # This must work even if \$libdir does not exist
68426 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
68427
68428 # If ld is used when linking, flag to hardcode \$libdir into a binary
68429 # during linking.  This must work even if \$libdir does not exist.
68430 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
68431
68432 # Whether we need a single "-rpath" flag with a separated argument.
68433 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
68434
68435 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68436 # DIR into the resulting binary.
68437 hardcode_direct=$hardcode_direct_CXX
68438
68439 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68440 # DIR into the resulting binary and the resulting library dependency is
68441 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
68442 # library is relocated.
68443 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
68444
68445 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
68446 # into the resulting binary.
68447 hardcode_minus_L=$hardcode_minus_L_CXX
68448
68449 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
68450 # into the resulting binary.
68451 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
68452
68453 # Set to "yes" if building a shared library automatically hardcodes DIR
68454 # into the library and all subsequent libraries and executables linked
68455 # against it.
68456 hardcode_automatic=$hardcode_automatic_CXX
68457
68458 # Set to yes if linker adds runtime paths of dependent libraries
68459 # to runtime path list.
68460 inherit_rpath=$inherit_rpath_CXX
68461
68462 # Whether libtool must link a program against all its dependency libraries.
68463 link_all_deplibs=$link_all_deplibs_CXX
68464
68465 # Fix the shell variable \$srcfile for the compiler.
68466 fix_srcfile_path=$lt_fix_srcfile_path_CXX
68467
68468 # Set to "yes" if exported symbols are required.
68469 always_export_symbols=$always_export_symbols_CXX
68470
68471 # The commands to list exported symbols.
68472 export_symbols_cmds=$lt_export_symbols_cmds_CXX
68473
68474 # Symbols that should not be listed in the preloaded symbols.
68475 exclude_expsyms=$lt_exclude_expsyms_CXX
68476
68477 # Symbols that must always be exported.
68478 include_expsyms=$lt_include_expsyms_CXX
68479
68480 # Commands necessary for linking programs (against libraries) with templates.
68481 prelink_cmds=$lt_prelink_cmds_CXX
68482
68483 # Specify filename containing input files.
68484 file_list_spec=$lt_file_list_spec_CXX
68485
68486 # How to hardcode a shared library path into an executable.
68487 hardcode_action=$hardcode_action_CXX
68488
68489 # The directories searched by this compiler when creating a shared library.
68490 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
68491
68492 # Dependencies to place before and after the objects being linked to
68493 # create a shared library.
68494 predep_objects=$lt_predep_objects_CXX
68495 postdep_objects=$lt_postdep_objects_CXX
68496 predeps=$lt_predeps_CXX
68497 postdeps=$lt_postdeps_CXX
68498
68499 # The library search path used internally by the compiler when linking
68500 # a shared library.
68501 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
68502
68503 # ### END LIBTOOL TAG CONFIG: CXX
68504 _LT_EOF
68505
68506  ;;
68507     "include/gstdint.h":C)
68508 if test "$GCC" = yes; then
68509   echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
68510 else
68511   echo "/* generated for $CC */" > tmp-stdint.h
68512 fi
68513
68514 sed 's/^ *//' >> tmp-stdint.h <<EOF
68515
68516   #ifndef GCC_GENERATED_STDINT_H
68517   #define GCC_GENERATED_STDINT_H 1
68518
68519   #include <sys/types.h>
68520 EOF
68521
68522 if test "$acx_cv_header_stdint" != stdint.h; then
68523   echo "#include <stddef.h>" >> tmp-stdint.h
68524 fi
68525 if test "$acx_cv_header_stdint" != stddef.h; then
68526   echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
68527 fi
68528
68529 sed 's/^ *//' >> tmp-stdint.h <<EOF
68530   /* glibc uses these symbols as guards to prevent redefinitions.  */
68531   #ifdef __int8_t_defined
68532   #define _INT8_T
68533   #define _INT16_T
68534   #define _INT32_T
68535   #endif
68536   #ifdef __uint32_t_defined
68537   #define _UINT32_T
68538   #endif
68539
68540 EOF
68541
68542 # ----------------- done header, emit basic int types -------------
68543 if test "$acx_cv_header_stdint" = stddef.h; then
68544   sed 's/^ *//' >> tmp-stdint.h <<EOF
68545
68546     #ifndef _UINT8_T
68547     #define _UINT8_T
68548     #ifndef __uint8_t_defined
68549     #define __uint8_t_defined
68550     #ifndef uint8_t
68551     typedef unsigned $acx_cv_type_int8_t uint8_t;
68552     #endif
68553     #endif
68554     #endif
68555
68556     #ifndef _UINT16_T
68557     #define _UINT16_T
68558     #ifndef __uint16_t_defined
68559     #define __uint16_t_defined
68560     #ifndef uint16_t
68561     typedef unsigned $acx_cv_type_int16_t uint16_t;
68562     #endif
68563     #endif
68564     #endif
68565
68566     #ifndef _UINT32_T
68567     #define _UINT32_T
68568     #ifndef __uint32_t_defined
68569     #define __uint32_t_defined
68570     #ifndef uint32_t
68571     typedef unsigned $acx_cv_type_int32_t uint32_t;
68572     #endif
68573     #endif
68574     #endif
68575
68576     #ifndef _INT8_T
68577     #define _INT8_T
68578     #ifndef __int8_t_defined
68579     #define __int8_t_defined
68580     #ifndef int8_t
68581     typedef $acx_cv_type_int8_t int8_t;
68582     #endif
68583     #endif
68584     #endif
68585
68586     #ifndef _INT16_T
68587     #define _INT16_T
68588     #ifndef __int16_t_defined
68589     #define __int16_t_defined
68590     #ifndef int16_t
68591     typedef $acx_cv_type_int16_t int16_t;
68592     #endif
68593     #endif
68594     #endif
68595
68596     #ifndef _INT32_T
68597     #define _INT32_T
68598     #ifndef __int32_t_defined
68599     #define __int32_t_defined
68600     #ifndef int32_t
68601     typedef $acx_cv_type_int32_t int32_t;
68602     #endif
68603     #endif
68604     #endif
68605 EOF
68606 elif test "$ac_cv_type_u_int32_t" = yes; then
68607   sed 's/^ *//' >> tmp-stdint.h <<EOF
68608
68609     /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
68610     #ifndef _INT8_T
68611     #define _INT8_T
68612     #endif
68613     #ifndef _INT16_T
68614     #define _INT16_T
68615     #endif
68616     #ifndef _INT32_T
68617     #define _INT32_T
68618     #endif
68619
68620     #ifndef _UINT8_T
68621     #define _UINT8_T
68622     #ifndef __uint8_t_defined
68623     #define __uint8_t_defined
68624     #ifndef uint8_t
68625     typedef u_int8_t uint8_t;
68626     #endif
68627     #endif
68628     #endif
68629
68630     #ifndef _UINT16_T
68631     #define _UINT16_T
68632     #ifndef __uint16_t_defined
68633     #define __uint16_t_defined
68634     #ifndef uint16_t
68635     typedef u_int16_t uint16_t;
68636     #endif
68637     #endif
68638     #endif
68639
68640     #ifndef _UINT32_T
68641     #define _UINT32_T
68642     #ifndef __uint32_t_defined
68643     #define __uint32_t_defined
68644     #ifndef uint32_t
68645     typedef u_int32_t uint32_t;
68646     #endif
68647     #endif
68648     #endif
68649 EOF
68650 else
68651   sed 's/^ *//' >> tmp-stdint.h <<EOF
68652
68653     /* Some systems have guard macros to prevent redefinitions, define them.  */
68654     #ifndef _INT8_T
68655     #define _INT8_T
68656     #endif
68657     #ifndef _INT16_T
68658     #define _INT16_T
68659     #endif
68660     #ifndef _INT32_T
68661     #define _INT32_T
68662     #endif
68663     #ifndef _UINT8_T
68664     #define _UINT8_T
68665     #endif
68666     #ifndef _UINT16_T
68667     #define _UINT16_T
68668     #endif
68669     #ifndef _UINT32_T
68670     #define _UINT32_T
68671     #endif
68672 EOF
68673 fi
68674
68675 # ------------- done basic int types, emit int64_t types ------------
68676 if test "$ac_cv_type_uint64_t" = yes; then
68677   sed 's/^ *//' >> tmp-stdint.h <<EOF
68678
68679     /* system headers have good uint64_t and int64_t */
68680     #ifndef _INT64_T
68681     #define _INT64_T
68682     #endif
68683     #ifndef _UINT64_T
68684     #define _UINT64_T
68685     #endif
68686 EOF
68687 elif test "$ac_cv_type_u_int64_t" = yes; then
68688   sed 's/^ *//' >> tmp-stdint.h <<EOF
68689
68690     /* system headers have an u_int64_t (and int64_t) */
68691     #ifndef _INT64_T
68692     #define _INT64_T
68693     #endif
68694     #ifndef _UINT64_T
68695     #define _UINT64_T
68696     #ifndef __uint64_t_defined
68697     #define __uint64_t_defined
68698     #ifndef uint64_t
68699     typedef u_int64_t uint64_t;
68700     #endif
68701     #endif
68702     #endif
68703 EOF
68704 elif test -n "$acx_cv_type_int64_t"; then
68705   sed 's/^ *//' >> tmp-stdint.h <<EOF
68706
68707     /* architecture has a 64-bit type, $acx_cv_type_int64_t */
68708     #ifndef _INT64_T
68709     #define _INT64_T
68710     #ifndef int64_t
68711     typedef $acx_cv_type_int64_t int64_t;
68712     #endif
68713     #endif
68714     #ifndef _UINT64_T
68715     #define _UINT64_T
68716     #ifndef __uint64_t_defined
68717     #define __uint64_t_defined
68718     #ifndef uint64_t
68719     typedef unsigned $acx_cv_type_int64_t uint64_t;
68720     #endif
68721     #endif
68722     #endif
68723 EOF
68724 else
68725   sed 's/^ *//' >> tmp-stdint.h <<EOF
68726
68727     /* some common heuristics for int64_t, using compiler-specific tests */
68728     #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
68729     #ifndef _INT64_T
68730     #define _INT64_T
68731     #ifndef __int64_t_defined
68732     #ifndef int64_t
68733     typedef long long int64_t;
68734     #endif
68735     #endif
68736     #endif
68737     #ifndef _UINT64_T
68738     #define _UINT64_T
68739     #ifndef uint64_t
68740     typedef unsigned long long uint64_t;
68741     #endif
68742     #endif
68743
68744     #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
68745     /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
68746        does not implement __extension__.  But that compiler doesn't define
68747        __GNUC_MINOR__.  */
68748     # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
68749     # define __extension__
68750     # endif
68751
68752     # ifndef _INT64_T
68753     # define _INT64_T
68754     # ifndef int64_t
68755     __extension__ typedef long long int64_t;
68756     # endif
68757     # endif
68758     # ifndef _UINT64_T
68759     # define _UINT64_T
68760     # ifndef uint64_t
68761     __extension__ typedef unsigned long long uint64_t;
68762     # endif
68763     # endif
68764
68765     #elif !defined __STRICT_ANSI__
68766     # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
68767
68768     #  ifndef _INT64_T
68769     #  define _INT64_T
68770     #  ifndef int64_t
68771     typedef __int64 int64_t;
68772     #  endif
68773     #  endif
68774     #  ifndef _UINT64_T
68775     #  define _UINT64_T
68776     #  ifndef uint64_t
68777     typedef unsigned __int64 uint64_t;
68778     #  endif
68779     #  endif
68780     # endif /* compiler */
68781
68782     #endif /* ANSI version */
68783 EOF
68784 fi
68785
68786 # ------------- done int64_t types, emit intptr types ------------
68787 if test "$ac_cv_type_uintptr_t" != yes; then
68788   sed 's/^ *//' >> tmp-stdint.h <<EOF
68789
68790     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
68791     #ifndef __uintptr_t_defined
68792     #ifndef uintptr_t
68793     typedef u$acx_cv_type_intptr_t uintptr_t;
68794     #endif
68795     #endif
68796     #ifndef __intptr_t_defined
68797     #ifndef intptr_t
68798     typedef $acx_cv_type_intptr_t  intptr_t;
68799     #endif
68800     #endif
68801 EOF
68802 fi
68803
68804 # ------------- done intptr types, emit int_least types ------------
68805 if test "$ac_cv_type_int_least32_t" != yes; then
68806   sed 's/^ *//' >> tmp-stdint.h <<EOF
68807
68808     /* Define int_least types */
68809     typedef int8_t     int_least8_t;
68810     typedef int16_t    int_least16_t;
68811     typedef int32_t    int_least32_t;
68812     #ifdef _INT64_T
68813     typedef int64_t    int_least64_t;
68814     #endif
68815
68816     typedef uint8_t    uint_least8_t;
68817     typedef uint16_t   uint_least16_t;
68818     typedef uint32_t   uint_least32_t;
68819     #ifdef _UINT64_T
68820     typedef uint64_t   uint_least64_t;
68821     #endif
68822 EOF
68823 fi
68824
68825 # ------------- done intptr types, emit int_fast types ------------
68826 if test "$ac_cv_type_int_fast32_t" != yes; then
68827       sed 's/^ *//' >> tmp-stdint.h <<EOF
68828
68829     /* Define int_fast types.  short is often slow */
68830     typedef int8_t       int_fast8_t;
68831     typedef int          int_fast16_t;
68832     typedef int32_t      int_fast32_t;
68833     #ifdef _INT64_T
68834     typedef int64_t      int_fast64_t;
68835     #endif
68836
68837     typedef uint8_t      uint_fast8_t;
68838     typedef unsigned int uint_fast16_t;
68839     typedef uint32_t     uint_fast32_t;
68840     #ifdef _UINT64_T
68841     typedef uint64_t     uint_fast64_t;
68842     #endif
68843 EOF
68844 fi
68845
68846 if test "$ac_cv_type_uintmax_t" != yes; then
68847   sed 's/^ *//' >> tmp-stdint.h <<EOF
68848
68849     /* Define intmax based on what we found */
68850     #ifndef intmax_t
68851     #ifdef _INT64_T
68852     typedef int64_t       intmax_t;
68853     #else
68854     typedef long          intmax_t;
68855     #endif
68856     #endif
68857     #ifndef uintmax_t
68858     #ifdef _UINT64_T
68859     typedef uint64_t      uintmax_t;
68860     #else
68861     typedef unsigned long uintmax_t;
68862     #endif
68863     #endif
68864 EOF
68865 fi
68866
68867 sed 's/^ *//' >> tmp-stdint.h <<EOF
68868
68869   #endif /* GCC_GENERATED_STDINT_H */
68870 EOF
68871
68872 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
68873   rm -f tmp-stdint.h
68874 else
68875   mv -f tmp-stdint.h include/gstdint.h
68876 fi
68877
68878  ;;
68879     "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
68880     "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
68881     "include/Makefile":F) cat > vpsed$$ << \_EOF
68882 s!`test -f '$<' || echo '$(srcdir)/'`!!
68883 _EOF
68884    sed -f vpsed$$ $ac_file > tmp$$
68885    mv tmp$$ $ac_file
68886    rm vpsed$$
68887    echo 'MULTISUBDIR =' >> $ac_file
68888    ml_norecursion=yes
68889    . ${multi_basedir}/config-ml.in
68890    { ml_norecursion=; unset ml_norecursion;}
68891  ;;
68892     "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
68893 s!`test -f '$<' || echo '$(srcdir)/'`!!
68894 _EOF
68895    sed -f vpsed$$ $ac_file > tmp$$
68896    mv tmp$$ $ac_file
68897    rm vpsed$$
68898    echo 'MULTISUBDIR =' >> $ac_file
68899    ml_norecursion=yes
68900    . ${multi_basedir}/config-ml.in
68901    { ml_norecursion=; unset ml_norecursion;}
68902  ;;
68903     "python/Makefile":F) cat > vpsed$$ << \_EOF
68904 s!`test -f '$<' || echo '$(srcdir)/'`!!
68905 _EOF
68906    sed -f vpsed$$ $ac_file > tmp$$
68907    mv tmp$$ $ac_file
68908    rm vpsed$$
68909    echo 'MULTISUBDIR =' >> $ac_file
68910    ml_norecursion=yes
68911    . ${multi_basedir}/config-ml.in
68912    { ml_norecursion=; unset ml_norecursion;}
68913  ;;
68914     "src/Makefile":F) cat > vpsed$$ << \_EOF
68915 s!`test -f '$<' || echo '$(srcdir)/'`!!
68916 _EOF
68917    sed -f vpsed$$ $ac_file > tmp$$
68918    mv tmp$$ $ac_file
68919    rm vpsed$$
68920    echo 'MULTISUBDIR =' >> $ac_file
68921    ml_norecursion=yes
68922    . ${multi_basedir}/config-ml.in
68923    { ml_norecursion=; unset ml_norecursion;}
68924  ;;
68925     "doc/Makefile":F) cat > vpsed$$ << \_EOF
68926 s!`test -f '$<' || echo '$(srcdir)/'`!!
68927 _EOF
68928    sed -f vpsed$$ $ac_file > tmp$$
68929    mv tmp$$ $ac_file
68930    rm vpsed$$
68931    echo 'MULTISUBDIR =' >> $ac_file
68932    ml_norecursion=yes
68933    . ${multi_basedir}/config-ml.in
68934    { ml_norecursion=; unset ml_norecursion;}
68935  ;;
68936     "po/Makefile":F) cat > vpsed$$ << \_EOF
68937 s!`test -f '$<' || echo '$(srcdir)/'`!!
68938 _EOF
68939    sed -f vpsed$$ $ac_file > tmp$$
68940    mv tmp$$ $ac_file
68941    rm vpsed$$
68942    echo 'MULTISUBDIR =' >> $ac_file
68943    ml_norecursion=yes
68944    . ${multi_basedir}/config-ml.in
68945    { ml_norecursion=; unset ml_norecursion;}
68946  ;;
68947     "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
68948 s!`test -f '$<' || echo '$(srcdir)/'`!!
68949 _EOF
68950    sed -f vpsed$$ $ac_file > tmp$$
68951    mv tmp$$ $ac_file
68952    rm vpsed$$
68953    echo 'MULTISUBDIR =' >> $ac_file
68954    ml_norecursion=yes
68955    . ${multi_basedir}/config-ml.in
68956    { ml_norecursion=; unset ml_norecursion;}
68957  ;;
68958     "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
68959
68960   esac
68961 done # for ac_tag
68962
68963
68964 as_fn_exit 0
68965 _ACEOF
68966 ac_clean_files=$ac_clean_files_save
68967
68968 test $ac_write_fail = 0 ||
68969   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
68970
68971
68972 # configure is writing to config.log, and then calls config.status.
68973 # config.status does its own redirection, appending to config.log.
68974 # Unfortunately, on DOS this fails, as config.log is still kept open
68975 # by configure, so config.status won't be able to write to it; its
68976 # output is simply discarded.  So we exec the FD to /dev/null,
68977 # effectively closing config.log, so it can be properly (re)opened and
68978 # appended to by config.status.  When coming back to configure, we
68979 # need to make the FD available again.
68980 if test "$no_create" != yes; then
68981   ac_cs_success=:
68982   ac_config_status_args=
68983   test "$silent" = yes &&
68984     ac_config_status_args="$ac_config_status_args --quiet"
68985   exec 5>/dev/null
68986   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
68987   exec 5>>config.log
68988   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
68989   # would make configure fail if this is the last instruction.
68990   $ac_cs_success || as_fn_exit $?
68991 fi
68992 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
68993   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
68994 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
68995 fi
68996