]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/libstdc++-v3/contrib/libstdc++-v3-4.6/configure
update
[l4.git] / l4 / pkg / libstdc++-v3 / contrib / libstdc++-v3-4.6 / 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:16: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 # Check for available headers.
19525 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
19526 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
19527 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
19528 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
19529 wchar.h wctype.h
19530 do :
19531   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19532 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19533 eval as_val=\$$as_ac_Header
19534    if test "x$as_val" = x""yes; then :
19535   cat >>confdefs.h <<_ACEOF
19536 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19537 _ACEOF
19538
19539 fi
19540
19541 done
19542
19543
19544 # Only do link tests if native. Else, hardcode.
19545 if $GLIBCXX_IS_NATIVE; then
19546
19547   # We can do more elaborate tests that assume a working linker.
19548   CANADIAN=no
19549
19550
19551
19552 # Check whether --with-gnu-ld was given.
19553 if test "${with_gnu_ld+set}" = set; then :
19554   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
19555 else
19556   with_gnu_ld=no
19557 fi
19558
19559 ac_prog=ld
19560 if test "$GCC" = yes; then
19561   # Check if gcc -print-prog-name=ld gives a path.
19562   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
19563 $as_echo_n "checking for ld used by $CC... " >&6; }
19564   case $host in
19565   *-*-mingw*)
19566     # gcc leaves a trailing carriage return which upsets mingw
19567     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
19568   *)
19569     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
19570   esac
19571   case $ac_prog in
19572     # Accept absolute paths.
19573     [\\/]* | ?:[\\/]*)
19574       re_direlt='/[^/][^/]*/\.\./'
19575       # Canonicalize the pathname of ld
19576       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
19577       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
19578         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
19579       done
19580       test -z "$LD" && LD="$ac_prog"
19581       ;;
19582   "")
19583     # If it fails, then pretend we aren't using GCC.
19584     ac_prog=ld
19585     ;;
19586   *)
19587     # If it is relative, then search for the first ld in PATH.
19588     with_gnu_ld=unknown
19589     ;;
19590   esac
19591 elif test "$with_gnu_ld" = yes; then
19592   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
19593 $as_echo_n "checking for GNU ld... " >&6; }
19594 else
19595   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
19596 $as_echo_n "checking for non-GNU ld... " >&6; }
19597 fi
19598 if test "${lt_cv_path_LD+set}" = set; then :
19599   $as_echo_n "(cached) " >&6
19600 else
19601   if test -z "$LD"; then
19602   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
19603   for ac_dir in $PATH; do
19604     IFS="$lt_save_ifs"
19605     test -z "$ac_dir" && ac_dir=.
19606     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
19607       lt_cv_path_LD="$ac_dir/$ac_prog"
19608       # Check to see if the program is GNU ld.  I'd rather use --version,
19609       # but apparently some variants of GNU ld only accept -v.
19610       # Break only if it was the GNU/non-GNU ld that we prefer.
19611       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
19612       *GNU* | *'with BFD'*)
19613         test "$with_gnu_ld" != no && break
19614         ;;
19615       *)
19616         test "$with_gnu_ld" != yes && break
19617         ;;
19618       esac
19619     fi
19620   done
19621   IFS="$lt_save_ifs"
19622 else
19623   lt_cv_path_LD="$LD" # Let the user override the test with a path.
19624 fi
19625 fi
19626
19627 LD="$lt_cv_path_LD"
19628 if test -n "$LD"; then
19629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
19630 $as_echo "$LD" >&6; }
19631 else
19632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19633 $as_echo "no" >&6; }
19634 fi
19635 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
19636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
19637 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
19638 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
19639   $as_echo_n "(cached) " >&6
19640 else
19641   # I'd rather use --version here, but apparently some GNU lds only accept -v.
19642 case `$LD -v 2>&1 </dev/null` in
19643 *GNU* | *'with BFD'*)
19644   lt_cv_prog_gnu_ld=yes
19645   ;;
19646 *)
19647   lt_cv_prog_gnu_ld=no
19648   ;;
19649 esac
19650 fi
19651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
19652 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
19653 with_gnu_ld=$lt_cv_prog_gnu_ld
19654
19655
19656
19657
19658
19659
19660
19661   # If we're not using GNU ld, then there's no point in even trying these
19662   # tests.  Check for that first.  We should have already tested for gld
19663   # by now (in libtool), but require it now just to be safe...
19664   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
19665   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
19666
19667
19668
19669   # The name set by libtool depends on the version of libtool.  Shame on us
19670   # for depending on an impl detail, but c'est la vie.  Older versions used
19671   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
19672   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
19673   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
19674   # set (hence we're using an older libtool), then set it.
19675   if test x${with_gnu_ld+set} != xset; then
19676     if test x${ac_cv_prog_gnu_ld+set} != xset; then
19677       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
19678       with_gnu_ld=no
19679     else
19680       with_gnu_ld=$ac_cv_prog_gnu_ld
19681     fi
19682   fi
19683
19684   # Start by getting the version number.  I think the libtool test already
19685   # does some of this, but throws away the result.
19686   glibcxx_ld_is_gold=no
19687   if test x"$with_gnu_ld" = x"yes"; then
19688     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
19689 $as_echo_n "checking for ld version... " >&6; }
19690
19691     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
19692       glibcxx_ld_is_gold=yes
19693     fi
19694     ldver=`$LD --version 2>/dev/null |
19695            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'`
19696
19697     glibcxx_gnu_ld_version=`echo $ldver | \
19698            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
19699     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
19700 $as_echo "$glibcxx_gnu_ld_version" >&6; }
19701   fi
19702
19703   # Set --gc-sections.
19704   glibcxx_have_gc_sections=no
19705   if test "$glibcxx_ld_is_gold" = "yes"; then
19706     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
19707       glibcxx_have_gc_sections=yes
19708     fi
19709   else
19710     glibcxx_gcsections_min_ld=21602
19711     if test x"$with_gnu_ld" = x"yes" &&
19712         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
19713       glibcxx_have_gc_sections=yes
19714     fi
19715   fi
19716   if test "$glibcxx_have_gc_sections" = "yes"; then
19717     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
19718     # NB: This flag only works reliably after 2.16.1. Configure tests
19719     # for this are difficult, so hard wire a value that should work.
19720
19721     ac_test_CFLAGS="${CFLAGS+set}"
19722     ac_save_CFLAGS="$CFLAGS"
19723     CFLAGS='-Wl,--gc-sections'
19724
19725     # Check for -Wl,--gc-sections
19726     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
19727 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
19728     if test x$gcc_no_link = xyes; then
19729   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19730 fi
19731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19732 /* end confdefs.h.  */
19733  int one(void) { return 1; }
19734      int two(void) { return 2; }
19735
19736 int
19737 main ()
19738 {
19739  two();
19740   ;
19741   return 0;
19742 }
19743 _ACEOF
19744 if ac_fn_c_try_link "$LINENO"; then :
19745   ac_gcsections=yes
19746 else
19747   ac_gcsections=no
19748 fi
19749 rm -f core conftest.err conftest.$ac_objext \
19750     conftest$ac_exeext conftest.$ac_ext
19751     if test "$ac_gcsections" = "yes"; then
19752       rm -f conftest.c
19753       touch conftest.c
19754       if $CC -c conftest.c; then
19755         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
19756            grep "Warning: gc-sections option ignored" > /dev/null; then
19757           ac_gcsections=no
19758         fi
19759       fi
19760       rm -f conftest.c conftest.o conftest
19761     fi
19762     if test "$ac_gcsections" = "yes"; then
19763       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
19764     fi
19765     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
19766 $as_echo "$ac_gcsections" >&6; }
19767
19768     if test "$ac_test_CFLAGS" = set; then
19769       CFLAGS="$ac_save_CFLAGS"
19770     else
19771       # this is the suspicious part
19772       CFLAGS=''
19773     fi
19774   fi
19775
19776   # Set -z,relro.
19777   # Note this is only for shared objects.
19778   ac_ld_relro=no
19779   if test x"$with_gnu_ld" = x"yes"; then
19780     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
19781 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
19782     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
19783     if test -n "$cxx_z_relo"; then
19784       OPT_LDFLAGS="-Wl,-z,relro"
19785       ac_ld_relro=yes
19786     fi
19787     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
19788 $as_echo "$ac_ld_relro" >&6; }
19789   fi
19790
19791   # Set linker optimization flags.
19792   if test x"$with_gnu_ld" = x"yes"; then
19793     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
19794   fi
19795
19796
19797
19798
19799
19800   ac_test_CXXFLAGS="${CXXFLAGS+set}"
19801   ac_save_CXXFLAGS="$CXXFLAGS"
19802   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
19803
19804     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
19805 $as_echo_n "checking for sin in -lm... " >&6; }
19806 if test "${ac_cv_lib_m_sin+set}" = set; then :
19807   $as_echo_n "(cached) " >&6
19808 else
19809   ac_check_lib_save_LIBS=$LIBS
19810 LIBS="-lm  $LIBS"
19811 if test x$gcc_no_link = xyes; then
19812   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19813 fi
19814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19815 /* end confdefs.h.  */
19816
19817 /* Override any GCC internal prototype to avoid an error.
19818    Use char because int might match the return type of a GCC
19819    builtin and then its argument prototype would still apply.  */
19820 #ifdef __cplusplus
19821 extern "C"
19822 #endif
19823 char sin ();
19824 int
19825 main ()
19826 {
19827 return sin ();
19828   ;
19829   return 0;
19830 }
19831 _ACEOF
19832 if ac_fn_c_try_link "$LINENO"; then :
19833   ac_cv_lib_m_sin=yes
19834 else
19835   ac_cv_lib_m_sin=no
19836 fi
19837 rm -f core conftest.err conftest.$ac_objext \
19838     conftest$ac_exeext conftest.$ac_ext
19839 LIBS=$ac_check_lib_save_LIBS
19840 fi
19841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
19842 $as_echo "$ac_cv_lib_m_sin" >&6; }
19843 if test "x$ac_cv_lib_m_sin" = x""yes; then :
19844   libm="-lm"
19845 fi
19846
19847   ac_save_LIBS="$LIBS"
19848   LIBS="$LIBS $libm"
19849
19850
19851
19852   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
19853 $as_echo_n "checking for isinf declaration... " >&6; }
19854   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
19855     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
19856   $as_echo_n "(cached) " >&6
19857 else
19858
19859
19860       ac_ext=cpp
19861 ac_cpp='$CXXCPP $CPPFLAGS'
19862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19865
19866       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19867 /* end confdefs.h.  */
19868 #include <math.h>
19869                       #ifdef HAVE_IEEEFP_H
19870                       #include <ieeefp.h>
19871                       #endif
19872
19873 int
19874 main ()
19875 {
19876  isinf(0);
19877   ;
19878   return 0;
19879 }
19880 _ACEOF
19881 if ac_fn_cxx_try_compile "$LINENO"; then :
19882   glibcxx_cv_func_isinf_use=yes
19883 else
19884   glibcxx_cv_func_isinf_use=no
19885 fi
19886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19887       ac_ext=c
19888 ac_cpp='$CPP $CPPFLAGS'
19889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19892
19893
19894 fi
19895
19896   fi
19897   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
19898 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
19899
19900   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
19901     for ac_func in isinf
19902 do :
19903   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
19904 if test "x$ac_cv_func_isinf" = x""yes; then :
19905   cat >>confdefs.h <<_ACEOF
19906 #define HAVE_ISINF 1
19907 _ACEOF
19908
19909 fi
19910 done
19911
19912   else
19913
19914   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
19915 $as_echo_n "checking for _isinf declaration... " >&6; }
19916   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
19917     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
19918   $as_echo_n "(cached) " >&6
19919 else
19920
19921
19922       ac_ext=cpp
19923 ac_cpp='$CXXCPP $CPPFLAGS'
19924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19927
19928       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19929 /* end confdefs.h.  */
19930 #include <math.h>
19931                       #ifdef HAVE_IEEEFP_H
19932                       #include <ieeefp.h>
19933                       #endif
19934
19935 int
19936 main ()
19937 {
19938  _isinf(0);
19939   ;
19940   return 0;
19941 }
19942 _ACEOF
19943 if ac_fn_cxx_try_compile "$LINENO"; then :
19944   glibcxx_cv_func__isinf_use=yes
19945 else
19946   glibcxx_cv_func__isinf_use=no
19947 fi
19948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19949       ac_ext=c
19950 ac_cpp='$CPP $CPPFLAGS'
19951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19954
19955
19956 fi
19957
19958   fi
19959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
19960 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
19961
19962     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
19963       for ac_func in _isinf
19964 do :
19965   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
19966 if test "x$ac_cv_func__isinf" = x""yes; then :
19967   cat >>confdefs.h <<_ACEOF
19968 #define HAVE__ISINF 1
19969 _ACEOF
19970
19971 fi
19972 done
19973
19974     fi
19975   fi
19976
19977
19978
19979
19980
19981   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
19982 $as_echo_n "checking for isnan declaration... " >&6; }
19983   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
19984     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
19985   $as_echo_n "(cached) " >&6
19986 else
19987
19988
19989       ac_ext=cpp
19990 ac_cpp='$CXXCPP $CPPFLAGS'
19991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19994
19995       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19996 /* end confdefs.h.  */
19997 #include <math.h>
19998                       #ifdef HAVE_IEEEFP_H
19999                       #include <ieeefp.h>
20000                       #endif
20001
20002 int
20003 main ()
20004 {
20005  isnan(0);
20006   ;
20007   return 0;
20008 }
20009 _ACEOF
20010 if ac_fn_cxx_try_compile "$LINENO"; then :
20011   glibcxx_cv_func_isnan_use=yes
20012 else
20013   glibcxx_cv_func_isnan_use=no
20014 fi
20015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20016       ac_ext=c
20017 ac_cpp='$CPP $CPPFLAGS'
20018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20021
20022
20023 fi
20024
20025   fi
20026   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
20027 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
20028
20029   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
20030     for ac_func in isnan
20031 do :
20032   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
20033 if test "x$ac_cv_func_isnan" = x""yes; then :
20034   cat >>confdefs.h <<_ACEOF
20035 #define HAVE_ISNAN 1
20036 _ACEOF
20037
20038 fi
20039 done
20040
20041   else
20042
20043   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
20044 $as_echo_n "checking for _isnan declaration... " >&6; }
20045   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
20046     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
20047   $as_echo_n "(cached) " >&6
20048 else
20049
20050
20051       ac_ext=cpp
20052 ac_cpp='$CXXCPP $CPPFLAGS'
20053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20056
20057       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20058 /* end confdefs.h.  */
20059 #include <math.h>
20060                       #ifdef HAVE_IEEEFP_H
20061                       #include <ieeefp.h>
20062                       #endif
20063
20064 int
20065 main ()
20066 {
20067  _isnan(0);
20068   ;
20069   return 0;
20070 }
20071 _ACEOF
20072 if ac_fn_cxx_try_compile "$LINENO"; then :
20073   glibcxx_cv_func__isnan_use=yes
20074 else
20075   glibcxx_cv_func__isnan_use=no
20076 fi
20077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20078       ac_ext=c
20079 ac_cpp='$CPP $CPPFLAGS'
20080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20083
20084
20085 fi
20086
20087   fi
20088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
20089 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
20090
20091     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20092       for ac_func in _isnan
20093 do :
20094   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20095 if test "x$ac_cv_func__isnan" = x""yes; then :
20096   cat >>confdefs.h <<_ACEOF
20097 #define HAVE__ISNAN 1
20098 _ACEOF
20099
20100 fi
20101 done
20102
20103     fi
20104   fi
20105
20106
20107
20108
20109
20110   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
20111 $as_echo_n "checking for finite declaration... " >&6; }
20112   if test x${glibcxx_cv_func_finite_use+set} != xset; then
20113     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
20114   $as_echo_n "(cached) " >&6
20115 else
20116
20117
20118       ac_ext=cpp
20119 ac_cpp='$CXXCPP $CPPFLAGS'
20120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20123
20124       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20125 /* end confdefs.h.  */
20126 #include <math.h>
20127                       #ifdef HAVE_IEEEFP_H
20128                       #include <ieeefp.h>
20129                       #endif
20130
20131 int
20132 main ()
20133 {
20134  finite(0);
20135   ;
20136   return 0;
20137 }
20138 _ACEOF
20139 if ac_fn_cxx_try_compile "$LINENO"; then :
20140   glibcxx_cv_func_finite_use=yes
20141 else
20142   glibcxx_cv_func_finite_use=no
20143 fi
20144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20145       ac_ext=c
20146 ac_cpp='$CPP $CPPFLAGS'
20147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20150
20151
20152 fi
20153
20154   fi
20155   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
20156 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
20157
20158   if test x$glibcxx_cv_func_finite_use = x"yes"; then
20159     for ac_func in finite
20160 do :
20161   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
20162 if test "x$ac_cv_func_finite" = x""yes; then :
20163   cat >>confdefs.h <<_ACEOF
20164 #define HAVE_FINITE 1
20165 _ACEOF
20166
20167 fi
20168 done
20169
20170   else
20171
20172   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
20173 $as_echo_n "checking for _finite declaration... " >&6; }
20174   if test x${glibcxx_cv_func__finite_use+set} != xset; then
20175     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
20176   $as_echo_n "(cached) " >&6
20177 else
20178
20179
20180       ac_ext=cpp
20181 ac_cpp='$CXXCPP $CPPFLAGS'
20182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20185
20186       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20187 /* end confdefs.h.  */
20188 #include <math.h>
20189                       #ifdef HAVE_IEEEFP_H
20190                       #include <ieeefp.h>
20191                       #endif
20192
20193 int
20194 main ()
20195 {
20196  _finite(0);
20197   ;
20198   return 0;
20199 }
20200 _ACEOF
20201 if ac_fn_cxx_try_compile "$LINENO"; then :
20202   glibcxx_cv_func__finite_use=yes
20203 else
20204   glibcxx_cv_func__finite_use=no
20205 fi
20206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20207       ac_ext=c
20208 ac_cpp='$CPP $CPPFLAGS'
20209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20212
20213
20214 fi
20215
20216   fi
20217   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
20218 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
20219
20220     if test x$glibcxx_cv_func__finite_use = x"yes"; then
20221       for ac_func in _finite
20222 do :
20223   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
20224 if test "x$ac_cv_func__finite" = x""yes; then :
20225   cat >>confdefs.h <<_ACEOF
20226 #define HAVE__FINITE 1
20227 _ACEOF
20228
20229 fi
20230 done
20231
20232     fi
20233   fi
20234
20235
20236
20237
20238
20239   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
20240 $as_echo_n "checking for sincos declaration... " >&6; }
20241   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
20242     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
20243   $as_echo_n "(cached) " >&6
20244 else
20245
20246
20247       ac_ext=cpp
20248 ac_cpp='$CXXCPP $CPPFLAGS'
20249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20252
20253       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20254 /* end confdefs.h.  */
20255 #include <math.h>
20256 int
20257 main ()
20258 {
20259  sincos(0, 0, 0);
20260   ;
20261   return 0;
20262 }
20263 _ACEOF
20264 if ac_fn_cxx_try_compile "$LINENO"; then :
20265   glibcxx_cv_func_sincos_use=yes
20266 else
20267   glibcxx_cv_func_sincos_use=no
20268 fi
20269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20270       ac_ext=c
20271 ac_cpp='$CPP $CPPFLAGS'
20272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20275
20276
20277 fi
20278
20279   fi
20280   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
20281 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
20282
20283   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
20284     for ac_func in sincos
20285 do :
20286   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
20287 if test "x$ac_cv_func_sincos" = x""yes; then :
20288   cat >>confdefs.h <<_ACEOF
20289 #define HAVE_SINCOS 1
20290 _ACEOF
20291
20292 fi
20293 done
20294
20295   else
20296
20297   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
20298 $as_echo_n "checking for _sincos declaration... " >&6; }
20299   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
20300     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
20301   $as_echo_n "(cached) " >&6
20302 else
20303
20304
20305       ac_ext=cpp
20306 ac_cpp='$CXXCPP $CPPFLAGS'
20307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20310
20311       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20312 /* end confdefs.h.  */
20313 #include <math.h>
20314 int
20315 main ()
20316 {
20317  _sincos(0, 0, 0);
20318   ;
20319   return 0;
20320 }
20321 _ACEOF
20322 if ac_fn_cxx_try_compile "$LINENO"; then :
20323   glibcxx_cv_func__sincos_use=yes
20324 else
20325   glibcxx_cv_func__sincos_use=no
20326 fi
20327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20328       ac_ext=c
20329 ac_cpp='$CPP $CPPFLAGS'
20330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20333
20334
20335 fi
20336
20337   fi
20338   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
20339 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
20340
20341     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
20342       for ac_func in _sincos
20343 do :
20344   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
20345 if test "x$ac_cv_func__sincos" = x""yes; then :
20346   cat >>confdefs.h <<_ACEOF
20347 #define HAVE__SINCOS 1
20348 _ACEOF
20349
20350 fi
20351 done
20352
20353     fi
20354   fi
20355
20356
20357
20358
20359
20360   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
20361 $as_echo_n "checking for fpclass declaration... " >&6; }
20362   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
20363     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
20364   $as_echo_n "(cached) " >&6
20365 else
20366
20367
20368       ac_ext=cpp
20369 ac_cpp='$CXXCPP $CPPFLAGS'
20370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20373
20374       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20375 /* end confdefs.h.  */
20376 #include <math.h>
20377                       #ifdef HAVE_IEEEFP_H
20378                       #include <ieeefp.h>
20379                       #endif
20380
20381 int
20382 main ()
20383 {
20384  fpclass(0);
20385   ;
20386   return 0;
20387 }
20388 _ACEOF
20389 if ac_fn_cxx_try_compile "$LINENO"; then :
20390   glibcxx_cv_func_fpclass_use=yes
20391 else
20392   glibcxx_cv_func_fpclass_use=no
20393 fi
20394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20395       ac_ext=c
20396 ac_cpp='$CPP $CPPFLAGS'
20397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20400
20401
20402 fi
20403
20404   fi
20405   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
20406 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
20407
20408   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
20409     for ac_func in fpclass
20410 do :
20411   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
20412 if test "x$ac_cv_func_fpclass" = x""yes; then :
20413   cat >>confdefs.h <<_ACEOF
20414 #define HAVE_FPCLASS 1
20415 _ACEOF
20416
20417 fi
20418 done
20419
20420   else
20421
20422   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
20423 $as_echo_n "checking for _fpclass declaration... " >&6; }
20424   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
20425     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
20426   $as_echo_n "(cached) " >&6
20427 else
20428
20429
20430       ac_ext=cpp
20431 ac_cpp='$CXXCPP $CPPFLAGS'
20432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20435
20436       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20437 /* end confdefs.h.  */
20438 #include <math.h>
20439                       #ifdef HAVE_IEEEFP_H
20440                       #include <ieeefp.h>
20441                       #endif
20442
20443 int
20444 main ()
20445 {
20446  _fpclass(0);
20447   ;
20448   return 0;
20449 }
20450 _ACEOF
20451 if ac_fn_cxx_try_compile "$LINENO"; then :
20452   glibcxx_cv_func__fpclass_use=yes
20453 else
20454   glibcxx_cv_func__fpclass_use=no
20455 fi
20456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20457       ac_ext=c
20458 ac_cpp='$CPP $CPPFLAGS'
20459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20462
20463
20464 fi
20465
20466   fi
20467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
20468 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
20469
20470     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
20471       for ac_func in _fpclass
20472 do :
20473   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
20474 if test "x$ac_cv_func__fpclass" = x""yes; then :
20475   cat >>confdefs.h <<_ACEOF
20476 #define HAVE__FPCLASS 1
20477 _ACEOF
20478
20479 fi
20480 done
20481
20482     fi
20483   fi
20484
20485
20486
20487
20488
20489   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
20490 $as_echo_n "checking for qfpclass declaration... " >&6; }
20491   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
20492     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
20493   $as_echo_n "(cached) " >&6
20494 else
20495
20496
20497       ac_ext=cpp
20498 ac_cpp='$CXXCPP $CPPFLAGS'
20499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20502
20503       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20504 /* end confdefs.h.  */
20505 #include <math.h>
20506                       #ifdef HAVE_IEEEFP_H
20507                       #include <ieeefp.h>
20508                       #endif
20509
20510 int
20511 main ()
20512 {
20513  qfpclass(0);
20514   ;
20515   return 0;
20516 }
20517 _ACEOF
20518 if ac_fn_cxx_try_compile "$LINENO"; then :
20519   glibcxx_cv_func_qfpclass_use=yes
20520 else
20521   glibcxx_cv_func_qfpclass_use=no
20522 fi
20523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20524       ac_ext=c
20525 ac_cpp='$CPP $CPPFLAGS'
20526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20529
20530
20531 fi
20532
20533   fi
20534   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
20535 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
20536
20537   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
20538     for ac_func in qfpclass
20539 do :
20540   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
20541 if test "x$ac_cv_func_qfpclass" = x""yes; then :
20542   cat >>confdefs.h <<_ACEOF
20543 #define HAVE_QFPCLASS 1
20544 _ACEOF
20545
20546 fi
20547 done
20548
20549   else
20550
20551   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
20552 $as_echo_n "checking for _qfpclass declaration... " >&6; }
20553   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
20554     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
20555   $as_echo_n "(cached) " >&6
20556 else
20557
20558
20559       ac_ext=cpp
20560 ac_cpp='$CXXCPP $CPPFLAGS'
20561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20564
20565       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20566 /* end confdefs.h.  */
20567 #include <math.h>
20568                       #ifdef HAVE_IEEEFP_H
20569                       #include <ieeefp.h>
20570                       #endif
20571
20572 int
20573 main ()
20574 {
20575  _qfpclass(0);
20576   ;
20577   return 0;
20578 }
20579 _ACEOF
20580 if ac_fn_cxx_try_compile "$LINENO"; then :
20581   glibcxx_cv_func__qfpclass_use=yes
20582 else
20583   glibcxx_cv_func__qfpclass_use=no
20584 fi
20585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20586       ac_ext=c
20587 ac_cpp='$CPP $CPPFLAGS'
20588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20591
20592
20593 fi
20594
20595   fi
20596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
20597 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
20598
20599     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
20600       for ac_func in _qfpclass
20601 do :
20602   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
20603 if test "x$ac_cv_func__qfpclass" = x""yes; then :
20604   cat >>confdefs.h <<_ACEOF
20605 #define HAVE__QFPCLASS 1
20606 _ACEOF
20607
20608 fi
20609 done
20610
20611     fi
20612   fi
20613
20614
20615
20616
20617
20618   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
20619 $as_echo_n "checking for hypot declaration... " >&6; }
20620   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
20621     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
20622   $as_echo_n "(cached) " >&6
20623 else
20624
20625
20626       ac_ext=cpp
20627 ac_cpp='$CXXCPP $CPPFLAGS'
20628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20631
20632       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20633 /* end confdefs.h.  */
20634 #include <math.h>
20635 int
20636 main ()
20637 {
20638  hypot(0, 0);
20639   ;
20640   return 0;
20641 }
20642 _ACEOF
20643 if ac_fn_cxx_try_compile "$LINENO"; then :
20644   glibcxx_cv_func_hypot_use=yes
20645 else
20646   glibcxx_cv_func_hypot_use=no
20647 fi
20648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20649       ac_ext=c
20650 ac_cpp='$CPP $CPPFLAGS'
20651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20654
20655
20656 fi
20657
20658   fi
20659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
20660 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
20661
20662   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
20663     for ac_func in hypot
20664 do :
20665   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
20666 if test "x$ac_cv_func_hypot" = x""yes; then :
20667   cat >>confdefs.h <<_ACEOF
20668 #define HAVE_HYPOT 1
20669 _ACEOF
20670
20671 fi
20672 done
20673
20674   else
20675
20676   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
20677 $as_echo_n "checking for _hypot declaration... " >&6; }
20678   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
20679     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
20680   $as_echo_n "(cached) " >&6
20681 else
20682
20683
20684       ac_ext=cpp
20685 ac_cpp='$CXXCPP $CPPFLAGS'
20686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20689
20690       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20691 /* end confdefs.h.  */
20692 #include <math.h>
20693 int
20694 main ()
20695 {
20696  _hypot(0, 0);
20697   ;
20698   return 0;
20699 }
20700 _ACEOF
20701 if ac_fn_cxx_try_compile "$LINENO"; then :
20702   glibcxx_cv_func__hypot_use=yes
20703 else
20704   glibcxx_cv_func__hypot_use=no
20705 fi
20706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20707       ac_ext=c
20708 ac_cpp='$CPP $CPPFLAGS'
20709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20712
20713
20714 fi
20715
20716   fi
20717   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
20718 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
20719
20720     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
20721       for ac_func in _hypot
20722 do :
20723   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
20724 if test "x$ac_cv_func__hypot" = x""yes; then :
20725   cat >>confdefs.h <<_ACEOF
20726 #define HAVE__HYPOT 1
20727 _ACEOF
20728
20729 fi
20730 done
20731
20732     fi
20733   fi
20734
20735
20736
20737
20738
20739     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
20740 $as_echo_n "checking for float trig functions... " >&6; }
20741   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
20742   $as_echo_n "(cached) " >&6
20743 else
20744
20745
20746     ac_ext=cpp
20747 ac_cpp='$CXXCPP $CPPFLAGS'
20748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20751
20752     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20753 /* end confdefs.h.  */
20754 #include <math.h>
20755 int
20756 main ()
20757 {
20758 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
20759   ;
20760   return 0;
20761 }
20762 _ACEOF
20763 if ac_fn_cxx_try_compile "$LINENO"; then :
20764   glibcxx_cv_func_float_trig_use=yes
20765 else
20766   glibcxx_cv_func_float_trig_use=no
20767 fi
20768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20769     ac_ext=c
20770 ac_cpp='$CPP $CPPFLAGS'
20771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20774
20775 fi
20776
20777   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
20778 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
20779   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
20780     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
20781 do :
20782   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20783 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20784 eval as_val=\$$as_ac_var
20785    if test "x$as_val" = x""yes; then :
20786   cat >>confdefs.h <<_ACEOF
20787 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20788 _ACEOF
20789
20790 fi
20791 done
20792
20793   else
20794     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
20795 $as_echo_n "checking for _float trig functions... " >&6; }
20796     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
20797   $as_echo_n "(cached) " >&6
20798 else
20799
20800
20801       ac_ext=cpp
20802 ac_cpp='$CXXCPP $CPPFLAGS'
20803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20806
20807       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20808 /* end confdefs.h.  */
20809 #include <math.h>
20810 int
20811 main ()
20812 {
20813 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
20814   ;
20815   return 0;
20816 }
20817 _ACEOF
20818 if ac_fn_cxx_try_compile "$LINENO"; then :
20819   glibcxx_cv_func__float_trig_use=yes
20820 else
20821   glibcxx_cv_func__float_trig_use=no
20822 fi
20823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20824       ac_ext=c
20825 ac_cpp='$CPP $CPPFLAGS'
20826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20829
20830 fi
20831
20832     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
20833 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
20834     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
20835       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
20836 do :
20837   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20838 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20839 eval as_val=\$$as_ac_var
20840    if test "x$as_val" = x""yes; then :
20841   cat >>confdefs.h <<_ACEOF
20842 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20843 _ACEOF
20844
20845 fi
20846 done
20847
20848     fi
20849   fi
20850
20851
20852
20853
20854
20855     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
20856 $as_echo_n "checking for float round functions... " >&6; }
20857   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
20858   $as_echo_n "(cached) " >&6
20859 else
20860
20861
20862     ac_ext=cpp
20863 ac_cpp='$CXXCPP $CPPFLAGS'
20864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20867
20868     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20869 /* end confdefs.h.  */
20870 #include <math.h>
20871 int
20872 main ()
20873 {
20874 ceilf (0); floorf (0);
20875   ;
20876   return 0;
20877 }
20878 _ACEOF
20879 if ac_fn_cxx_try_compile "$LINENO"; then :
20880   glibcxx_cv_func_float_round_use=yes
20881 else
20882   glibcxx_cv_func_float_round_use=no
20883 fi
20884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20885     ac_ext=c
20886 ac_cpp='$CPP $CPPFLAGS'
20887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20890
20891 fi
20892
20893   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
20894 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
20895   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
20896     for ac_func in ceilf floorf
20897 do :
20898   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20899 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20900 eval as_val=\$$as_ac_var
20901    if test "x$as_val" = x""yes; then :
20902   cat >>confdefs.h <<_ACEOF
20903 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20904 _ACEOF
20905
20906 fi
20907 done
20908
20909   else
20910     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
20911 $as_echo_n "checking for _float round functions... " >&6; }
20912     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
20913   $as_echo_n "(cached) " >&6
20914 else
20915
20916
20917       ac_ext=cpp
20918 ac_cpp='$CXXCPP $CPPFLAGS'
20919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20922
20923       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20924 /* end confdefs.h.  */
20925 #include <math.h>
20926 int
20927 main ()
20928 {
20929 _ceilf (0); _floorf (0);
20930   ;
20931   return 0;
20932 }
20933 _ACEOF
20934 if ac_fn_cxx_try_compile "$LINENO"; then :
20935   glibcxx_cv_func__float_round_use=yes
20936 else
20937   glibcxx_cv_func__float_round_use=no
20938 fi
20939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20940       ac_ext=c
20941 ac_cpp='$CPP $CPPFLAGS'
20942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20945
20946 fi
20947
20948     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
20949 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
20950     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
20951       for ac_func in _ceilf _floorf
20952 do :
20953   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20954 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20955 eval as_val=\$$as_ac_var
20956    if test "x$as_val" = x""yes; then :
20957   cat >>confdefs.h <<_ACEOF
20958 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20959 _ACEOF
20960
20961 fi
20962 done
20963
20964     fi
20965   fi
20966
20967
20968
20969
20970
20971
20972   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
20973 $as_echo_n "checking for expf declaration... " >&6; }
20974   if test x${glibcxx_cv_func_expf_use+set} != xset; then
20975     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
20976   $as_echo_n "(cached) " >&6
20977 else
20978
20979
20980       ac_ext=cpp
20981 ac_cpp='$CXXCPP $CPPFLAGS'
20982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20985
20986       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20987 /* end confdefs.h.  */
20988 #include <math.h>
20989                       #ifdef HAVE_IEEEFP_H
20990                       #include <ieeefp.h>
20991                       #endif
20992
20993 int
20994 main ()
20995 {
20996  expf(0);
20997   ;
20998   return 0;
20999 }
21000 _ACEOF
21001 if ac_fn_cxx_try_compile "$LINENO"; then :
21002   glibcxx_cv_func_expf_use=yes
21003 else
21004   glibcxx_cv_func_expf_use=no
21005 fi
21006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21007       ac_ext=c
21008 ac_cpp='$CPP $CPPFLAGS'
21009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21012
21013
21014 fi
21015
21016   fi
21017   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
21018 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
21019
21020   if test x$glibcxx_cv_func_expf_use = x"yes"; then
21021     for ac_func in expf
21022 do :
21023   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
21024 if test "x$ac_cv_func_expf" = x""yes; then :
21025   cat >>confdefs.h <<_ACEOF
21026 #define HAVE_EXPF 1
21027 _ACEOF
21028
21029 fi
21030 done
21031
21032   else
21033
21034   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
21035 $as_echo_n "checking for _expf declaration... " >&6; }
21036   if test x${glibcxx_cv_func__expf_use+set} != xset; then
21037     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
21038   $as_echo_n "(cached) " >&6
21039 else
21040
21041
21042       ac_ext=cpp
21043 ac_cpp='$CXXCPP $CPPFLAGS'
21044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21047
21048       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21049 /* end confdefs.h.  */
21050 #include <math.h>
21051                       #ifdef HAVE_IEEEFP_H
21052                       #include <ieeefp.h>
21053                       #endif
21054
21055 int
21056 main ()
21057 {
21058  _expf(0);
21059   ;
21060   return 0;
21061 }
21062 _ACEOF
21063 if ac_fn_cxx_try_compile "$LINENO"; then :
21064   glibcxx_cv_func__expf_use=yes
21065 else
21066   glibcxx_cv_func__expf_use=no
21067 fi
21068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21069       ac_ext=c
21070 ac_cpp='$CPP $CPPFLAGS'
21071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21074
21075
21076 fi
21077
21078   fi
21079   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
21080 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
21081
21082     if test x$glibcxx_cv_func__expf_use = x"yes"; then
21083       for ac_func in _expf
21084 do :
21085   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
21086 if test "x$ac_cv_func__expf" = x""yes; then :
21087   cat >>confdefs.h <<_ACEOF
21088 #define HAVE__EXPF 1
21089 _ACEOF
21090
21091 fi
21092 done
21093
21094     fi
21095   fi
21096
21097
21098
21099
21100
21101   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21102 $as_echo_n "checking for isnanf declaration... " >&6; }
21103   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21104     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21105   $as_echo_n "(cached) " >&6
21106 else
21107
21108
21109       ac_ext=cpp
21110 ac_cpp='$CXXCPP $CPPFLAGS'
21111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21114
21115       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21116 /* end confdefs.h.  */
21117 #include <math.h>
21118                       #ifdef HAVE_IEEEFP_H
21119                       #include <ieeefp.h>
21120                       #endif
21121
21122 int
21123 main ()
21124 {
21125  isnanf(0);
21126   ;
21127   return 0;
21128 }
21129 _ACEOF
21130 if ac_fn_cxx_try_compile "$LINENO"; then :
21131   glibcxx_cv_func_isnanf_use=yes
21132 else
21133   glibcxx_cv_func_isnanf_use=no
21134 fi
21135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21136       ac_ext=c
21137 ac_cpp='$CPP $CPPFLAGS'
21138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21141
21142
21143 fi
21144
21145   fi
21146   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
21147 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
21148
21149   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21150     for ac_func in isnanf
21151 do :
21152   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
21153 if test "x$ac_cv_func_isnanf" = x""yes; then :
21154   cat >>confdefs.h <<_ACEOF
21155 #define HAVE_ISNANF 1
21156 _ACEOF
21157
21158 fi
21159 done
21160
21161   else
21162
21163   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
21164 $as_echo_n "checking for _isnanf declaration... " >&6; }
21165   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
21166     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
21167   $as_echo_n "(cached) " >&6
21168 else
21169
21170
21171       ac_ext=cpp
21172 ac_cpp='$CXXCPP $CPPFLAGS'
21173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21176
21177       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21178 /* end confdefs.h.  */
21179 #include <math.h>
21180                       #ifdef HAVE_IEEEFP_H
21181                       #include <ieeefp.h>
21182                       #endif
21183
21184 int
21185 main ()
21186 {
21187  _isnanf(0);
21188   ;
21189   return 0;
21190 }
21191 _ACEOF
21192 if ac_fn_cxx_try_compile "$LINENO"; then :
21193   glibcxx_cv_func__isnanf_use=yes
21194 else
21195   glibcxx_cv_func__isnanf_use=no
21196 fi
21197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21198       ac_ext=c
21199 ac_cpp='$CPP $CPPFLAGS'
21200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21203
21204
21205 fi
21206
21207   fi
21208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
21209 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
21210
21211     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
21212       for ac_func in _isnanf
21213 do :
21214   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
21215 if test "x$ac_cv_func__isnanf" = x""yes; then :
21216   cat >>confdefs.h <<_ACEOF
21217 #define HAVE__ISNANF 1
21218 _ACEOF
21219
21220 fi
21221 done
21222
21223     fi
21224   fi
21225
21226
21227
21228
21229
21230   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
21231 $as_echo_n "checking for isinff declaration... " >&6; }
21232   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
21233     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
21234   $as_echo_n "(cached) " >&6
21235 else
21236
21237
21238       ac_ext=cpp
21239 ac_cpp='$CXXCPP $CPPFLAGS'
21240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21243
21244       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21245 /* end confdefs.h.  */
21246 #include <math.h>
21247                       #ifdef HAVE_IEEEFP_H
21248                       #include <ieeefp.h>
21249                       #endif
21250
21251 int
21252 main ()
21253 {
21254  isinff(0);
21255   ;
21256   return 0;
21257 }
21258 _ACEOF
21259 if ac_fn_cxx_try_compile "$LINENO"; then :
21260   glibcxx_cv_func_isinff_use=yes
21261 else
21262   glibcxx_cv_func_isinff_use=no
21263 fi
21264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21265       ac_ext=c
21266 ac_cpp='$CPP $CPPFLAGS'
21267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21270
21271
21272 fi
21273
21274   fi
21275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
21276 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
21277
21278   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
21279     for ac_func in isinff
21280 do :
21281   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
21282 if test "x$ac_cv_func_isinff" = x""yes; then :
21283   cat >>confdefs.h <<_ACEOF
21284 #define HAVE_ISINFF 1
21285 _ACEOF
21286
21287 fi
21288 done
21289
21290   else
21291
21292   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
21293 $as_echo_n "checking for _isinff declaration... " >&6; }
21294   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
21295     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
21296   $as_echo_n "(cached) " >&6
21297 else
21298
21299
21300       ac_ext=cpp
21301 ac_cpp='$CXXCPP $CPPFLAGS'
21302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21305
21306       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21307 /* end confdefs.h.  */
21308 #include <math.h>
21309                       #ifdef HAVE_IEEEFP_H
21310                       #include <ieeefp.h>
21311                       #endif
21312
21313 int
21314 main ()
21315 {
21316  _isinff(0);
21317   ;
21318   return 0;
21319 }
21320 _ACEOF
21321 if ac_fn_cxx_try_compile "$LINENO"; then :
21322   glibcxx_cv_func__isinff_use=yes
21323 else
21324   glibcxx_cv_func__isinff_use=no
21325 fi
21326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21327       ac_ext=c
21328 ac_cpp='$CPP $CPPFLAGS'
21329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21332
21333
21334 fi
21335
21336   fi
21337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
21338 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
21339
21340     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
21341       for ac_func in _isinff
21342 do :
21343   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
21344 if test "x$ac_cv_func__isinff" = x""yes; then :
21345   cat >>confdefs.h <<_ACEOF
21346 #define HAVE__ISINFF 1
21347 _ACEOF
21348
21349 fi
21350 done
21351
21352     fi
21353   fi
21354
21355
21356
21357
21358
21359   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
21360 $as_echo_n "checking for atan2f declaration... " >&6; }
21361   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
21362     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
21363   $as_echo_n "(cached) " >&6
21364 else
21365
21366
21367       ac_ext=cpp
21368 ac_cpp='$CXXCPP $CPPFLAGS'
21369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21372
21373       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21374 /* end confdefs.h.  */
21375 #include <math.h>
21376 int
21377 main ()
21378 {
21379  atan2f(0, 0);
21380   ;
21381   return 0;
21382 }
21383 _ACEOF
21384 if ac_fn_cxx_try_compile "$LINENO"; then :
21385   glibcxx_cv_func_atan2f_use=yes
21386 else
21387   glibcxx_cv_func_atan2f_use=no
21388 fi
21389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21390       ac_ext=c
21391 ac_cpp='$CPP $CPPFLAGS'
21392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21395
21396
21397 fi
21398
21399   fi
21400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
21401 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
21402
21403   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
21404     for ac_func in atan2f
21405 do :
21406   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
21407 if test "x$ac_cv_func_atan2f" = x""yes; then :
21408   cat >>confdefs.h <<_ACEOF
21409 #define HAVE_ATAN2F 1
21410 _ACEOF
21411
21412 fi
21413 done
21414
21415   else
21416
21417   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
21418 $as_echo_n "checking for _atan2f declaration... " >&6; }
21419   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
21420     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
21421   $as_echo_n "(cached) " >&6
21422 else
21423
21424
21425       ac_ext=cpp
21426 ac_cpp='$CXXCPP $CPPFLAGS'
21427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21430
21431       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21432 /* end confdefs.h.  */
21433 #include <math.h>
21434 int
21435 main ()
21436 {
21437  _atan2f(0, 0);
21438   ;
21439   return 0;
21440 }
21441 _ACEOF
21442 if ac_fn_cxx_try_compile "$LINENO"; then :
21443   glibcxx_cv_func__atan2f_use=yes
21444 else
21445   glibcxx_cv_func__atan2f_use=no
21446 fi
21447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21448       ac_ext=c
21449 ac_cpp='$CPP $CPPFLAGS'
21450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21453
21454
21455 fi
21456
21457   fi
21458   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
21459 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
21460
21461     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
21462       for ac_func in _atan2f
21463 do :
21464   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
21465 if test "x$ac_cv_func__atan2f" = x""yes; then :
21466   cat >>confdefs.h <<_ACEOF
21467 #define HAVE__ATAN2F 1
21468 _ACEOF
21469
21470 fi
21471 done
21472
21473     fi
21474   fi
21475
21476
21477
21478
21479
21480   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
21481 $as_echo_n "checking for fabsf declaration... " >&6; }
21482   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
21483     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
21484   $as_echo_n "(cached) " >&6
21485 else
21486
21487
21488       ac_ext=cpp
21489 ac_cpp='$CXXCPP $CPPFLAGS'
21490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21493
21494       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21495 /* end confdefs.h.  */
21496 #include <math.h>
21497                       #ifdef HAVE_IEEEFP_H
21498                       #include <ieeefp.h>
21499                       #endif
21500
21501 int
21502 main ()
21503 {
21504  fabsf(0);
21505   ;
21506   return 0;
21507 }
21508 _ACEOF
21509 if ac_fn_cxx_try_compile "$LINENO"; then :
21510   glibcxx_cv_func_fabsf_use=yes
21511 else
21512   glibcxx_cv_func_fabsf_use=no
21513 fi
21514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21515       ac_ext=c
21516 ac_cpp='$CPP $CPPFLAGS'
21517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21520
21521
21522 fi
21523
21524   fi
21525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
21526 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
21527
21528   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
21529     for ac_func in fabsf
21530 do :
21531   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
21532 if test "x$ac_cv_func_fabsf" = x""yes; then :
21533   cat >>confdefs.h <<_ACEOF
21534 #define HAVE_FABSF 1
21535 _ACEOF
21536
21537 fi
21538 done
21539
21540   else
21541
21542   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
21543 $as_echo_n "checking for _fabsf declaration... " >&6; }
21544   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
21545     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
21546   $as_echo_n "(cached) " >&6
21547 else
21548
21549
21550       ac_ext=cpp
21551 ac_cpp='$CXXCPP $CPPFLAGS'
21552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21555
21556       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21557 /* end confdefs.h.  */
21558 #include <math.h>
21559                       #ifdef HAVE_IEEEFP_H
21560                       #include <ieeefp.h>
21561                       #endif
21562
21563 int
21564 main ()
21565 {
21566  _fabsf(0);
21567   ;
21568   return 0;
21569 }
21570 _ACEOF
21571 if ac_fn_cxx_try_compile "$LINENO"; then :
21572   glibcxx_cv_func__fabsf_use=yes
21573 else
21574   glibcxx_cv_func__fabsf_use=no
21575 fi
21576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21577       ac_ext=c
21578 ac_cpp='$CPP $CPPFLAGS'
21579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21582
21583
21584 fi
21585
21586   fi
21587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
21588 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
21589
21590     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
21591       for ac_func in _fabsf
21592 do :
21593   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
21594 if test "x$ac_cv_func__fabsf" = x""yes; then :
21595   cat >>confdefs.h <<_ACEOF
21596 #define HAVE__FABSF 1
21597 _ACEOF
21598
21599 fi
21600 done
21601
21602     fi
21603   fi
21604
21605
21606
21607
21608
21609   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
21610 $as_echo_n "checking for fmodf declaration... " >&6; }
21611   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
21612     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
21613   $as_echo_n "(cached) " >&6
21614 else
21615
21616
21617       ac_ext=cpp
21618 ac_cpp='$CXXCPP $CPPFLAGS'
21619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21622
21623       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21624 /* end confdefs.h.  */
21625 #include <math.h>
21626 int
21627 main ()
21628 {
21629  fmodf(0, 0);
21630   ;
21631   return 0;
21632 }
21633 _ACEOF
21634 if ac_fn_cxx_try_compile "$LINENO"; then :
21635   glibcxx_cv_func_fmodf_use=yes
21636 else
21637   glibcxx_cv_func_fmodf_use=no
21638 fi
21639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21640       ac_ext=c
21641 ac_cpp='$CPP $CPPFLAGS'
21642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21645
21646
21647 fi
21648
21649   fi
21650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
21651 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
21652
21653   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
21654     for ac_func in fmodf
21655 do :
21656   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
21657 if test "x$ac_cv_func_fmodf" = x""yes; then :
21658   cat >>confdefs.h <<_ACEOF
21659 #define HAVE_FMODF 1
21660 _ACEOF
21661
21662 fi
21663 done
21664
21665   else
21666
21667   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
21668 $as_echo_n "checking for _fmodf declaration... " >&6; }
21669   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
21670     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
21671   $as_echo_n "(cached) " >&6
21672 else
21673
21674
21675       ac_ext=cpp
21676 ac_cpp='$CXXCPP $CPPFLAGS'
21677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21680
21681       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21682 /* end confdefs.h.  */
21683 #include <math.h>
21684 int
21685 main ()
21686 {
21687  _fmodf(0, 0);
21688   ;
21689   return 0;
21690 }
21691 _ACEOF
21692 if ac_fn_cxx_try_compile "$LINENO"; then :
21693   glibcxx_cv_func__fmodf_use=yes
21694 else
21695   glibcxx_cv_func__fmodf_use=no
21696 fi
21697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21698       ac_ext=c
21699 ac_cpp='$CPP $CPPFLAGS'
21700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21703
21704
21705 fi
21706
21707   fi
21708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
21709 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
21710
21711     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
21712       for ac_func in _fmodf
21713 do :
21714   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
21715 if test "x$ac_cv_func__fmodf" = x""yes; then :
21716   cat >>confdefs.h <<_ACEOF
21717 #define HAVE__FMODF 1
21718 _ACEOF
21719
21720 fi
21721 done
21722
21723     fi
21724   fi
21725
21726
21727
21728
21729
21730   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
21731 $as_echo_n "checking for frexpf declaration... " >&6; }
21732   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
21733     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
21734   $as_echo_n "(cached) " >&6
21735 else
21736
21737
21738       ac_ext=cpp
21739 ac_cpp='$CXXCPP $CPPFLAGS'
21740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21743
21744       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21745 /* end confdefs.h.  */
21746 #include <math.h>
21747 int
21748 main ()
21749 {
21750  frexpf(0, 0);
21751   ;
21752   return 0;
21753 }
21754 _ACEOF
21755 if ac_fn_cxx_try_compile "$LINENO"; then :
21756   glibcxx_cv_func_frexpf_use=yes
21757 else
21758   glibcxx_cv_func_frexpf_use=no
21759 fi
21760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21761       ac_ext=c
21762 ac_cpp='$CPP $CPPFLAGS'
21763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21766
21767
21768 fi
21769
21770   fi
21771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
21772 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
21773
21774   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
21775     for ac_func in frexpf
21776 do :
21777   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
21778 if test "x$ac_cv_func_frexpf" = x""yes; then :
21779   cat >>confdefs.h <<_ACEOF
21780 #define HAVE_FREXPF 1
21781 _ACEOF
21782
21783 fi
21784 done
21785
21786   else
21787
21788   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
21789 $as_echo_n "checking for _frexpf declaration... " >&6; }
21790   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
21791     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
21792   $as_echo_n "(cached) " >&6
21793 else
21794
21795
21796       ac_ext=cpp
21797 ac_cpp='$CXXCPP $CPPFLAGS'
21798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21801
21802       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21803 /* end confdefs.h.  */
21804 #include <math.h>
21805 int
21806 main ()
21807 {
21808  _frexpf(0, 0);
21809   ;
21810   return 0;
21811 }
21812 _ACEOF
21813 if ac_fn_cxx_try_compile "$LINENO"; then :
21814   glibcxx_cv_func__frexpf_use=yes
21815 else
21816   glibcxx_cv_func__frexpf_use=no
21817 fi
21818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21819       ac_ext=c
21820 ac_cpp='$CPP $CPPFLAGS'
21821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21824
21825
21826 fi
21827
21828   fi
21829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
21830 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
21831
21832     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
21833       for ac_func in _frexpf
21834 do :
21835   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
21836 if test "x$ac_cv_func__frexpf" = x""yes; then :
21837   cat >>confdefs.h <<_ACEOF
21838 #define HAVE__FREXPF 1
21839 _ACEOF
21840
21841 fi
21842 done
21843
21844     fi
21845   fi
21846
21847
21848
21849
21850
21851   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
21852 $as_echo_n "checking for hypotf declaration... " >&6; }
21853   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
21854     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
21855   $as_echo_n "(cached) " >&6
21856 else
21857
21858
21859       ac_ext=cpp
21860 ac_cpp='$CXXCPP $CPPFLAGS'
21861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21864
21865       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21866 /* end confdefs.h.  */
21867 #include <math.h>
21868 int
21869 main ()
21870 {
21871  hypotf(0, 0);
21872   ;
21873   return 0;
21874 }
21875 _ACEOF
21876 if ac_fn_cxx_try_compile "$LINENO"; then :
21877   glibcxx_cv_func_hypotf_use=yes
21878 else
21879   glibcxx_cv_func_hypotf_use=no
21880 fi
21881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21882       ac_ext=c
21883 ac_cpp='$CPP $CPPFLAGS'
21884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21887
21888
21889 fi
21890
21891   fi
21892   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
21893 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
21894
21895   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
21896     for ac_func in hypotf
21897 do :
21898   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
21899 if test "x$ac_cv_func_hypotf" = x""yes; then :
21900   cat >>confdefs.h <<_ACEOF
21901 #define HAVE_HYPOTF 1
21902 _ACEOF
21903
21904 fi
21905 done
21906
21907   else
21908
21909   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
21910 $as_echo_n "checking for _hypotf declaration... " >&6; }
21911   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
21912     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
21913   $as_echo_n "(cached) " >&6
21914 else
21915
21916
21917       ac_ext=cpp
21918 ac_cpp='$CXXCPP $CPPFLAGS'
21919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21922
21923       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21924 /* end confdefs.h.  */
21925 #include <math.h>
21926 int
21927 main ()
21928 {
21929  _hypotf(0, 0);
21930   ;
21931   return 0;
21932 }
21933 _ACEOF
21934 if ac_fn_cxx_try_compile "$LINENO"; then :
21935   glibcxx_cv_func__hypotf_use=yes
21936 else
21937   glibcxx_cv_func__hypotf_use=no
21938 fi
21939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21940       ac_ext=c
21941 ac_cpp='$CPP $CPPFLAGS'
21942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21945
21946
21947 fi
21948
21949   fi
21950   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
21951 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
21952
21953     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
21954       for ac_func in _hypotf
21955 do :
21956   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
21957 if test "x$ac_cv_func__hypotf" = x""yes; then :
21958   cat >>confdefs.h <<_ACEOF
21959 #define HAVE__HYPOTF 1
21960 _ACEOF
21961
21962 fi
21963 done
21964
21965     fi
21966   fi
21967
21968
21969
21970
21971
21972   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
21973 $as_echo_n "checking for ldexpf declaration... " >&6; }
21974   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
21975     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
21976   $as_echo_n "(cached) " >&6
21977 else
21978
21979
21980       ac_ext=cpp
21981 ac_cpp='$CXXCPP $CPPFLAGS'
21982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21985
21986       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21987 /* end confdefs.h.  */
21988 #include <math.h>
21989 int
21990 main ()
21991 {
21992  ldexpf(0, 0);
21993   ;
21994   return 0;
21995 }
21996 _ACEOF
21997 if ac_fn_cxx_try_compile "$LINENO"; then :
21998   glibcxx_cv_func_ldexpf_use=yes
21999 else
22000   glibcxx_cv_func_ldexpf_use=no
22001 fi
22002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22003       ac_ext=c
22004 ac_cpp='$CPP $CPPFLAGS'
22005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22008
22009
22010 fi
22011
22012   fi
22013   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
22014 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
22015
22016   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
22017     for ac_func in ldexpf
22018 do :
22019   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
22020 if test "x$ac_cv_func_ldexpf" = x""yes; then :
22021   cat >>confdefs.h <<_ACEOF
22022 #define HAVE_LDEXPF 1
22023 _ACEOF
22024
22025 fi
22026 done
22027
22028   else
22029
22030   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
22031 $as_echo_n "checking for _ldexpf declaration... " >&6; }
22032   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
22033     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
22034   $as_echo_n "(cached) " >&6
22035 else
22036
22037
22038       ac_ext=cpp
22039 ac_cpp='$CXXCPP $CPPFLAGS'
22040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22043
22044       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22045 /* end confdefs.h.  */
22046 #include <math.h>
22047 int
22048 main ()
22049 {
22050  _ldexpf(0, 0);
22051   ;
22052   return 0;
22053 }
22054 _ACEOF
22055 if ac_fn_cxx_try_compile "$LINENO"; then :
22056   glibcxx_cv_func__ldexpf_use=yes
22057 else
22058   glibcxx_cv_func__ldexpf_use=no
22059 fi
22060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22061       ac_ext=c
22062 ac_cpp='$CPP $CPPFLAGS'
22063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22066
22067
22068 fi
22069
22070   fi
22071   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
22072 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
22073
22074     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
22075       for ac_func in _ldexpf
22076 do :
22077   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
22078 if test "x$ac_cv_func__ldexpf" = x""yes; then :
22079   cat >>confdefs.h <<_ACEOF
22080 #define HAVE__LDEXPF 1
22081 _ACEOF
22082
22083 fi
22084 done
22085
22086     fi
22087   fi
22088
22089
22090
22091
22092
22093   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22094 $as_echo_n "checking for logf declaration... " >&6; }
22095   if test x${glibcxx_cv_func_logf_use+set} != xset; then
22096     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22097   $as_echo_n "(cached) " >&6
22098 else
22099
22100
22101       ac_ext=cpp
22102 ac_cpp='$CXXCPP $CPPFLAGS'
22103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22106
22107       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22108 /* end confdefs.h.  */
22109 #include <math.h>
22110                       #ifdef HAVE_IEEEFP_H
22111                       #include <ieeefp.h>
22112                       #endif
22113
22114 int
22115 main ()
22116 {
22117  logf(0);
22118   ;
22119   return 0;
22120 }
22121 _ACEOF
22122 if ac_fn_cxx_try_compile "$LINENO"; then :
22123   glibcxx_cv_func_logf_use=yes
22124 else
22125   glibcxx_cv_func_logf_use=no
22126 fi
22127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22128       ac_ext=c
22129 ac_cpp='$CPP $CPPFLAGS'
22130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22133
22134
22135 fi
22136
22137   fi
22138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
22139 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
22140
22141   if test x$glibcxx_cv_func_logf_use = x"yes"; then
22142     for ac_func in logf
22143 do :
22144   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
22145 if test "x$ac_cv_func_logf" = x""yes; then :
22146   cat >>confdefs.h <<_ACEOF
22147 #define HAVE_LOGF 1
22148 _ACEOF
22149
22150 fi
22151 done
22152
22153   else
22154
22155   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
22156 $as_echo_n "checking for _logf declaration... " >&6; }
22157   if test x${glibcxx_cv_func__logf_use+set} != xset; then
22158     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
22159   $as_echo_n "(cached) " >&6
22160 else
22161
22162
22163       ac_ext=cpp
22164 ac_cpp='$CXXCPP $CPPFLAGS'
22165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22168
22169       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22170 /* end confdefs.h.  */
22171 #include <math.h>
22172                       #ifdef HAVE_IEEEFP_H
22173                       #include <ieeefp.h>
22174                       #endif
22175
22176 int
22177 main ()
22178 {
22179  _logf(0);
22180   ;
22181   return 0;
22182 }
22183 _ACEOF
22184 if ac_fn_cxx_try_compile "$LINENO"; then :
22185   glibcxx_cv_func__logf_use=yes
22186 else
22187   glibcxx_cv_func__logf_use=no
22188 fi
22189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22190       ac_ext=c
22191 ac_cpp='$CPP $CPPFLAGS'
22192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22195
22196
22197 fi
22198
22199   fi
22200   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
22201 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
22202
22203     if test x$glibcxx_cv_func__logf_use = x"yes"; then
22204       for ac_func in _logf
22205 do :
22206   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
22207 if test "x$ac_cv_func__logf" = x""yes; then :
22208   cat >>confdefs.h <<_ACEOF
22209 #define HAVE__LOGF 1
22210 _ACEOF
22211
22212 fi
22213 done
22214
22215     fi
22216   fi
22217
22218
22219
22220
22221
22222   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
22223 $as_echo_n "checking for log10f declaration... " >&6; }
22224   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
22225     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
22226   $as_echo_n "(cached) " >&6
22227 else
22228
22229
22230       ac_ext=cpp
22231 ac_cpp='$CXXCPP $CPPFLAGS'
22232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22235
22236       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22237 /* end confdefs.h.  */
22238 #include <math.h>
22239                       #ifdef HAVE_IEEEFP_H
22240                       #include <ieeefp.h>
22241                       #endif
22242
22243 int
22244 main ()
22245 {
22246  log10f(0);
22247   ;
22248   return 0;
22249 }
22250 _ACEOF
22251 if ac_fn_cxx_try_compile "$LINENO"; then :
22252   glibcxx_cv_func_log10f_use=yes
22253 else
22254   glibcxx_cv_func_log10f_use=no
22255 fi
22256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22257       ac_ext=c
22258 ac_cpp='$CPP $CPPFLAGS'
22259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22262
22263
22264 fi
22265
22266   fi
22267   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
22268 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
22269
22270   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
22271     for ac_func in log10f
22272 do :
22273   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
22274 if test "x$ac_cv_func_log10f" = x""yes; then :
22275   cat >>confdefs.h <<_ACEOF
22276 #define HAVE_LOG10F 1
22277 _ACEOF
22278
22279 fi
22280 done
22281
22282   else
22283
22284   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
22285 $as_echo_n "checking for _log10f declaration... " >&6; }
22286   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
22287     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
22288   $as_echo_n "(cached) " >&6
22289 else
22290
22291
22292       ac_ext=cpp
22293 ac_cpp='$CXXCPP $CPPFLAGS'
22294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22297
22298       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22299 /* end confdefs.h.  */
22300 #include <math.h>
22301                       #ifdef HAVE_IEEEFP_H
22302                       #include <ieeefp.h>
22303                       #endif
22304
22305 int
22306 main ()
22307 {
22308  _log10f(0);
22309   ;
22310   return 0;
22311 }
22312 _ACEOF
22313 if ac_fn_cxx_try_compile "$LINENO"; then :
22314   glibcxx_cv_func__log10f_use=yes
22315 else
22316   glibcxx_cv_func__log10f_use=no
22317 fi
22318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22319       ac_ext=c
22320 ac_cpp='$CPP $CPPFLAGS'
22321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22324
22325
22326 fi
22327
22328   fi
22329   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
22330 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
22331
22332     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
22333       for ac_func in _log10f
22334 do :
22335   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
22336 if test "x$ac_cv_func__log10f" = x""yes; then :
22337   cat >>confdefs.h <<_ACEOF
22338 #define HAVE__LOG10F 1
22339 _ACEOF
22340
22341 fi
22342 done
22343
22344     fi
22345   fi
22346
22347
22348
22349
22350
22351   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
22352 $as_echo_n "checking for modff declaration... " >&6; }
22353   if test x${glibcxx_cv_func_modff_use+set} != xset; then
22354     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
22355   $as_echo_n "(cached) " >&6
22356 else
22357
22358
22359       ac_ext=cpp
22360 ac_cpp='$CXXCPP $CPPFLAGS'
22361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22364
22365       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22366 /* end confdefs.h.  */
22367 #include <math.h>
22368 int
22369 main ()
22370 {
22371  modff(0, 0);
22372   ;
22373   return 0;
22374 }
22375 _ACEOF
22376 if ac_fn_cxx_try_compile "$LINENO"; then :
22377   glibcxx_cv_func_modff_use=yes
22378 else
22379   glibcxx_cv_func_modff_use=no
22380 fi
22381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22382       ac_ext=c
22383 ac_cpp='$CPP $CPPFLAGS'
22384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22387
22388
22389 fi
22390
22391   fi
22392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
22393 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
22394
22395   if test x$glibcxx_cv_func_modff_use = x"yes"; then
22396     for ac_func in modff
22397 do :
22398   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
22399 if test "x$ac_cv_func_modff" = x""yes; then :
22400   cat >>confdefs.h <<_ACEOF
22401 #define HAVE_MODFF 1
22402 _ACEOF
22403
22404 fi
22405 done
22406
22407   else
22408
22409   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
22410 $as_echo_n "checking for _modff declaration... " >&6; }
22411   if test x${glibcxx_cv_func__modff_use+set} != xset; then
22412     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
22413   $as_echo_n "(cached) " >&6
22414 else
22415
22416
22417       ac_ext=cpp
22418 ac_cpp='$CXXCPP $CPPFLAGS'
22419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22422
22423       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22424 /* end confdefs.h.  */
22425 #include <math.h>
22426 int
22427 main ()
22428 {
22429  _modff(0, 0);
22430   ;
22431   return 0;
22432 }
22433 _ACEOF
22434 if ac_fn_cxx_try_compile "$LINENO"; then :
22435   glibcxx_cv_func__modff_use=yes
22436 else
22437   glibcxx_cv_func__modff_use=no
22438 fi
22439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22440       ac_ext=c
22441 ac_cpp='$CPP $CPPFLAGS'
22442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22445
22446
22447 fi
22448
22449   fi
22450   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
22451 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
22452
22453     if test x$glibcxx_cv_func__modff_use = x"yes"; then
22454       for ac_func in _modff
22455 do :
22456   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
22457 if test "x$ac_cv_func__modff" = x""yes; then :
22458   cat >>confdefs.h <<_ACEOF
22459 #define HAVE__MODFF 1
22460 _ACEOF
22461
22462 fi
22463 done
22464
22465     fi
22466   fi
22467
22468
22469
22470
22471
22472   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
22473 $as_echo_n "checking for modf declaration... " >&6; }
22474   if test x${glibcxx_cv_func_modf_use+set} != xset; then
22475     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
22476   $as_echo_n "(cached) " >&6
22477 else
22478
22479
22480       ac_ext=cpp
22481 ac_cpp='$CXXCPP $CPPFLAGS'
22482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22485
22486       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22487 /* end confdefs.h.  */
22488 #include <math.h>
22489 int
22490 main ()
22491 {
22492  modf(0, 0);
22493   ;
22494   return 0;
22495 }
22496 _ACEOF
22497 if ac_fn_cxx_try_compile "$LINENO"; then :
22498   glibcxx_cv_func_modf_use=yes
22499 else
22500   glibcxx_cv_func_modf_use=no
22501 fi
22502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22503       ac_ext=c
22504 ac_cpp='$CPP $CPPFLAGS'
22505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22508
22509
22510 fi
22511
22512   fi
22513   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
22514 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
22515
22516   if test x$glibcxx_cv_func_modf_use = x"yes"; then
22517     for ac_func in modf
22518 do :
22519   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
22520 if test "x$ac_cv_func_modf" = x""yes; then :
22521   cat >>confdefs.h <<_ACEOF
22522 #define HAVE_MODF 1
22523 _ACEOF
22524
22525 fi
22526 done
22527
22528   else
22529
22530   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
22531 $as_echo_n "checking for _modf declaration... " >&6; }
22532   if test x${glibcxx_cv_func__modf_use+set} != xset; then
22533     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
22534   $as_echo_n "(cached) " >&6
22535 else
22536
22537
22538       ac_ext=cpp
22539 ac_cpp='$CXXCPP $CPPFLAGS'
22540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22543
22544       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22545 /* end confdefs.h.  */
22546 #include <math.h>
22547 int
22548 main ()
22549 {
22550  _modf(0, 0);
22551   ;
22552   return 0;
22553 }
22554 _ACEOF
22555 if ac_fn_cxx_try_compile "$LINENO"; then :
22556   glibcxx_cv_func__modf_use=yes
22557 else
22558   glibcxx_cv_func__modf_use=no
22559 fi
22560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22561       ac_ext=c
22562 ac_cpp='$CPP $CPPFLAGS'
22563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22566
22567
22568 fi
22569
22570   fi
22571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
22572 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
22573
22574     if test x$glibcxx_cv_func__modf_use = x"yes"; then
22575       for ac_func in _modf
22576 do :
22577   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
22578 if test "x$ac_cv_func__modf" = x""yes; then :
22579   cat >>confdefs.h <<_ACEOF
22580 #define HAVE__MODF 1
22581 _ACEOF
22582
22583 fi
22584 done
22585
22586     fi
22587   fi
22588
22589
22590
22591
22592
22593   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
22594 $as_echo_n "checking for powf declaration... " >&6; }
22595   if test x${glibcxx_cv_func_powf_use+set} != xset; then
22596     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
22597   $as_echo_n "(cached) " >&6
22598 else
22599
22600
22601       ac_ext=cpp
22602 ac_cpp='$CXXCPP $CPPFLAGS'
22603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22606
22607       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22608 /* end confdefs.h.  */
22609 #include <math.h>
22610 int
22611 main ()
22612 {
22613  powf(0, 0);
22614   ;
22615   return 0;
22616 }
22617 _ACEOF
22618 if ac_fn_cxx_try_compile "$LINENO"; then :
22619   glibcxx_cv_func_powf_use=yes
22620 else
22621   glibcxx_cv_func_powf_use=no
22622 fi
22623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22624       ac_ext=c
22625 ac_cpp='$CPP $CPPFLAGS'
22626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22629
22630
22631 fi
22632
22633   fi
22634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
22635 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
22636
22637   if test x$glibcxx_cv_func_powf_use = x"yes"; then
22638     for ac_func in powf
22639 do :
22640   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
22641 if test "x$ac_cv_func_powf" = x""yes; then :
22642   cat >>confdefs.h <<_ACEOF
22643 #define HAVE_POWF 1
22644 _ACEOF
22645
22646 fi
22647 done
22648
22649   else
22650
22651   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
22652 $as_echo_n "checking for _powf declaration... " >&6; }
22653   if test x${glibcxx_cv_func__powf_use+set} != xset; then
22654     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
22655   $as_echo_n "(cached) " >&6
22656 else
22657
22658
22659       ac_ext=cpp
22660 ac_cpp='$CXXCPP $CPPFLAGS'
22661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22664
22665       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22666 /* end confdefs.h.  */
22667 #include <math.h>
22668 int
22669 main ()
22670 {
22671  _powf(0, 0);
22672   ;
22673   return 0;
22674 }
22675 _ACEOF
22676 if ac_fn_cxx_try_compile "$LINENO"; then :
22677   glibcxx_cv_func__powf_use=yes
22678 else
22679   glibcxx_cv_func__powf_use=no
22680 fi
22681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22682       ac_ext=c
22683 ac_cpp='$CPP $CPPFLAGS'
22684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22687
22688
22689 fi
22690
22691   fi
22692   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
22693 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
22694
22695     if test x$glibcxx_cv_func__powf_use = x"yes"; then
22696       for ac_func in _powf
22697 do :
22698   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
22699 if test "x$ac_cv_func__powf" = x""yes; then :
22700   cat >>confdefs.h <<_ACEOF
22701 #define HAVE__POWF 1
22702 _ACEOF
22703
22704 fi
22705 done
22706
22707     fi
22708   fi
22709
22710
22711
22712
22713
22714   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
22715 $as_echo_n "checking for sqrtf declaration... " >&6; }
22716   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
22717     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
22718   $as_echo_n "(cached) " >&6
22719 else
22720
22721
22722       ac_ext=cpp
22723 ac_cpp='$CXXCPP $CPPFLAGS'
22724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22727
22728       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22729 /* end confdefs.h.  */
22730 #include <math.h>
22731                       #ifdef HAVE_IEEEFP_H
22732                       #include <ieeefp.h>
22733                       #endif
22734
22735 int
22736 main ()
22737 {
22738  sqrtf(0);
22739   ;
22740   return 0;
22741 }
22742 _ACEOF
22743 if ac_fn_cxx_try_compile "$LINENO"; then :
22744   glibcxx_cv_func_sqrtf_use=yes
22745 else
22746   glibcxx_cv_func_sqrtf_use=no
22747 fi
22748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22749       ac_ext=c
22750 ac_cpp='$CPP $CPPFLAGS'
22751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22754
22755
22756 fi
22757
22758   fi
22759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
22760 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
22761
22762   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
22763     for ac_func in sqrtf
22764 do :
22765   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
22766 if test "x$ac_cv_func_sqrtf" = x""yes; then :
22767   cat >>confdefs.h <<_ACEOF
22768 #define HAVE_SQRTF 1
22769 _ACEOF
22770
22771 fi
22772 done
22773
22774   else
22775
22776   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
22777 $as_echo_n "checking for _sqrtf declaration... " >&6; }
22778   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
22779     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
22780   $as_echo_n "(cached) " >&6
22781 else
22782
22783
22784       ac_ext=cpp
22785 ac_cpp='$CXXCPP $CPPFLAGS'
22786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22789
22790       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22791 /* end confdefs.h.  */
22792 #include <math.h>
22793                       #ifdef HAVE_IEEEFP_H
22794                       #include <ieeefp.h>
22795                       #endif
22796
22797 int
22798 main ()
22799 {
22800  _sqrtf(0);
22801   ;
22802   return 0;
22803 }
22804 _ACEOF
22805 if ac_fn_cxx_try_compile "$LINENO"; then :
22806   glibcxx_cv_func__sqrtf_use=yes
22807 else
22808   glibcxx_cv_func__sqrtf_use=no
22809 fi
22810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22811       ac_ext=c
22812 ac_cpp='$CPP $CPPFLAGS'
22813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22816
22817
22818 fi
22819
22820   fi
22821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
22822 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
22823
22824     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
22825       for ac_func in _sqrtf
22826 do :
22827   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
22828 if test "x$ac_cv_func__sqrtf" = x""yes; then :
22829   cat >>confdefs.h <<_ACEOF
22830 #define HAVE__SQRTF 1
22831 _ACEOF
22832
22833 fi
22834 done
22835
22836     fi
22837   fi
22838
22839
22840
22841
22842
22843   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
22844 $as_echo_n "checking for sincosf declaration... " >&6; }
22845   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
22846     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
22847   $as_echo_n "(cached) " >&6
22848 else
22849
22850
22851       ac_ext=cpp
22852 ac_cpp='$CXXCPP $CPPFLAGS'
22853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22856
22857       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22858 /* end confdefs.h.  */
22859 #include <math.h>
22860 int
22861 main ()
22862 {
22863  sincosf(0, 0, 0);
22864   ;
22865   return 0;
22866 }
22867 _ACEOF
22868 if ac_fn_cxx_try_compile "$LINENO"; then :
22869   glibcxx_cv_func_sincosf_use=yes
22870 else
22871   glibcxx_cv_func_sincosf_use=no
22872 fi
22873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22874       ac_ext=c
22875 ac_cpp='$CPP $CPPFLAGS'
22876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22879
22880
22881 fi
22882
22883   fi
22884   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
22885 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
22886
22887   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
22888     for ac_func in sincosf
22889 do :
22890   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
22891 if test "x$ac_cv_func_sincosf" = x""yes; then :
22892   cat >>confdefs.h <<_ACEOF
22893 #define HAVE_SINCOSF 1
22894 _ACEOF
22895
22896 fi
22897 done
22898
22899   else
22900
22901   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
22902 $as_echo_n "checking for _sincosf declaration... " >&6; }
22903   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
22904     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
22905   $as_echo_n "(cached) " >&6
22906 else
22907
22908
22909       ac_ext=cpp
22910 ac_cpp='$CXXCPP $CPPFLAGS'
22911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22914
22915       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22916 /* end confdefs.h.  */
22917 #include <math.h>
22918 int
22919 main ()
22920 {
22921  _sincosf(0, 0, 0);
22922   ;
22923   return 0;
22924 }
22925 _ACEOF
22926 if ac_fn_cxx_try_compile "$LINENO"; then :
22927   glibcxx_cv_func__sincosf_use=yes
22928 else
22929   glibcxx_cv_func__sincosf_use=no
22930 fi
22931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22932       ac_ext=c
22933 ac_cpp='$CPP $CPPFLAGS'
22934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22937
22938
22939 fi
22940
22941   fi
22942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
22943 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
22944
22945     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
22946       for ac_func in _sincosf
22947 do :
22948   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
22949 if test "x$ac_cv_func__sincosf" = x""yes; then :
22950   cat >>confdefs.h <<_ACEOF
22951 #define HAVE__SINCOSF 1
22952 _ACEOF
22953
22954 fi
22955 done
22956
22957     fi
22958   fi
22959
22960
22961
22962
22963
22964   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
22965 $as_echo_n "checking for finitef declaration... " >&6; }
22966   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
22967     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
22968   $as_echo_n "(cached) " >&6
22969 else
22970
22971
22972       ac_ext=cpp
22973 ac_cpp='$CXXCPP $CPPFLAGS'
22974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22977
22978       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22979 /* end confdefs.h.  */
22980 #include <math.h>
22981                       #ifdef HAVE_IEEEFP_H
22982                       #include <ieeefp.h>
22983                       #endif
22984
22985 int
22986 main ()
22987 {
22988  finitef(0);
22989   ;
22990   return 0;
22991 }
22992 _ACEOF
22993 if ac_fn_cxx_try_compile "$LINENO"; then :
22994   glibcxx_cv_func_finitef_use=yes
22995 else
22996   glibcxx_cv_func_finitef_use=no
22997 fi
22998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22999       ac_ext=c
23000 ac_cpp='$CPP $CPPFLAGS'
23001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23004
23005
23006 fi
23007
23008   fi
23009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
23010 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
23011
23012   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
23013     for ac_func in finitef
23014 do :
23015   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
23016 if test "x$ac_cv_func_finitef" = x""yes; then :
23017   cat >>confdefs.h <<_ACEOF
23018 #define HAVE_FINITEF 1
23019 _ACEOF
23020
23021 fi
23022 done
23023
23024   else
23025
23026   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
23027 $as_echo_n "checking for _finitef declaration... " >&6; }
23028   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
23029     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
23030   $as_echo_n "(cached) " >&6
23031 else
23032
23033
23034       ac_ext=cpp
23035 ac_cpp='$CXXCPP $CPPFLAGS'
23036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23039
23040       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23041 /* end confdefs.h.  */
23042 #include <math.h>
23043                       #ifdef HAVE_IEEEFP_H
23044                       #include <ieeefp.h>
23045                       #endif
23046
23047 int
23048 main ()
23049 {
23050  _finitef(0);
23051   ;
23052   return 0;
23053 }
23054 _ACEOF
23055 if ac_fn_cxx_try_compile "$LINENO"; then :
23056   glibcxx_cv_func__finitef_use=yes
23057 else
23058   glibcxx_cv_func__finitef_use=no
23059 fi
23060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23061       ac_ext=c
23062 ac_cpp='$CPP $CPPFLAGS'
23063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23066
23067
23068 fi
23069
23070   fi
23071   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
23072 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
23073
23074     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
23075       for ac_func in _finitef
23076 do :
23077   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
23078 if test "x$ac_cv_func__finitef" = x""yes; then :
23079   cat >>confdefs.h <<_ACEOF
23080 #define HAVE__FINITEF 1
23081 _ACEOF
23082
23083 fi
23084 done
23085
23086     fi
23087   fi
23088
23089
23090
23091
23092
23093     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23094 $as_echo_n "checking for long double trig functions... " >&6; }
23095   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
23096   $as_echo_n "(cached) " >&6
23097 else
23098
23099
23100     ac_ext=cpp
23101 ac_cpp='$CXXCPP $CPPFLAGS'
23102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23105
23106     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23107 /* end confdefs.h.  */
23108 #include <math.h>
23109 int
23110 main ()
23111 {
23112 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
23113   ;
23114   return 0;
23115 }
23116 _ACEOF
23117 if ac_fn_cxx_try_compile "$LINENO"; then :
23118   glibcxx_cv_func_long_double_trig_use=yes
23119 else
23120   glibcxx_cv_func_long_double_trig_use=no
23121 fi
23122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23123     ac_ext=c
23124 ac_cpp='$CPP $CPPFLAGS'
23125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23128
23129 fi
23130
23131   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
23132 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
23133   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
23134     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
23135 do :
23136   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23137 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23138 eval as_val=\$$as_ac_var
23139    if test "x$as_val" = x""yes; then :
23140   cat >>confdefs.h <<_ACEOF
23141 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23142 _ACEOF
23143
23144 fi
23145 done
23146
23147   else
23148     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
23149 $as_echo_n "checking for _long double trig functions... " >&6; }
23150     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
23151   $as_echo_n "(cached) " >&6
23152 else
23153
23154
23155       ac_ext=cpp
23156 ac_cpp='$CXXCPP $CPPFLAGS'
23157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23160
23161       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23162 /* end confdefs.h.  */
23163 #include <math.h>
23164 int
23165 main ()
23166 {
23167 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
23168   ;
23169   return 0;
23170 }
23171 _ACEOF
23172 if ac_fn_cxx_try_compile "$LINENO"; then :
23173   glibcxx_cv_func__long_double_trig_use=yes
23174 else
23175   glibcxx_cv_func__long_double_trig_use=no
23176 fi
23177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23178       ac_ext=c
23179 ac_cpp='$CPP $CPPFLAGS'
23180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23183
23184 fi
23185
23186     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
23187 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
23188     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
23189       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
23190 do :
23191   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23192 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23193 eval as_val=\$$as_ac_var
23194    if test "x$as_val" = x""yes; then :
23195   cat >>confdefs.h <<_ACEOF
23196 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23197 _ACEOF
23198
23199 fi
23200 done
23201
23202     fi
23203   fi
23204
23205
23206
23207
23208
23209     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
23210 $as_echo_n "checking for long double round functions... " >&6; }
23211   if test "${glibcxx_cv_func_long_double_round_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 int
23226 main ()
23227 {
23228 ceill (0); floorl (0);
23229   ;
23230   return 0;
23231 }
23232 _ACEOF
23233 if ac_fn_cxx_try_compile "$LINENO"; then :
23234   glibcxx_cv_func_long_double_round_use=yes
23235 else
23236   glibcxx_cv_func_long_double_round_use=no
23237 fi
23238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23239     ac_ext=c
23240 ac_cpp='$CPP $CPPFLAGS'
23241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23244
23245 fi
23246
23247   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
23248 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
23249   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
23250     for ac_func in ceill floorl
23251 do :
23252   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23253 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23254 eval as_val=\$$as_ac_var
23255    if test "x$as_val" = x""yes; then :
23256   cat >>confdefs.h <<_ACEOF
23257 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23258 _ACEOF
23259
23260 fi
23261 done
23262
23263   else
23264     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
23265 $as_echo_n "checking for _long double round functions... " >&6; }
23266     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
23267   $as_echo_n "(cached) " >&6
23268 else
23269
23270
23271       ac_ext=cpp
23272 ac_cpp='$CXXCPP $CPPFLAGS'
23273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23276
23277       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23278 /* end confdefs.h.  */
23279 #include <math.h>
23280 int
23281 main ()
23282 {
23283 _ceill (0); _floorl (0);
23284   ;
23285   return 0;
23286 }
23287 _ACEOF
23288 if ac_fn_cxx_try_compile "$LINENO"; then :
23289   glibcxx_cv_func__long_double_round_use=yes
23290 else
23291   glibcxx_cv_func__long_double_round_use=no
23292 fi
23293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23294       ac_ext=c
23295 ac_cpp='$CPP $CPPFLAGS'
23296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23299
23300 fi
23301
23302     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
23303 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
23304     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
23305       for ac_func in _ceill _floorl
23306 do :
23307   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23308 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23309 eval as_val=\$$as_ac_var
23310    if test "x$as_val" = x""yes; then :
23311   cat >>confdefs.h <<_ACEOF
23312 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23313 _ACEOF
23314
23315 fi
23316 done
23317
23318     fi
23319   fi
23320
23321
23322
23323
23324
23325
23326   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
23327 $as_echo_n "checking for isnanl declaration... " >&6; }
23328   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
23329     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
23330   $as_echo_n "(cached) " >&6
23331 else
23332
23333
23334       ac_ext=cpp
23335 ac_cpp='$CXXCPP $CPPFLAGS'
23336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23339
23340       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23341 /* end confdefs.h.  */
23342 #include <math.h>
23343                       #ifdef HAVE_IEEEFP_H
23344                       #include <ieeefp.h>
23345                       #endif
23346
23347 int
23348 main ()
23349 {
23350  isnanl(0);
23351   ;
23352   return 0;
23353 }
23354 _ACEOF
23355 if ac_fn_cxx_try_compile "$LINENO"; then :
23356   glibcxx_cv_func_isnanl_use=yes
23357 else
23358   glibcxx_cv_func_isnanl_use=no
23359 fi
23360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23361       ac_ext=c
23362 ac_cpp='$CPP $CPPFLAGS'
23363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23366
23367
23368 fi
23369
23370   fi
23371   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
23372 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
23373
23374   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
23375     for ac_func in isnanl
23376 do :
23377   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
23378 if test "x$ac_cv_func_isnanl" = x""yes; then :
23379   cat >>confdefs.h <<_ACEOF
23380 #define HAVE_ISNANL 1
23381 _ACEOF
23382
23383 fi
23384 done
23385
23386   else
23387
23388   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
23389 $as_echo_n "checking for _isnanl declaration... " >&6; }
23390   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
23391     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
23392   $as_echo_n "(cached) " >&6
23393 else
23394
23395
23396       ac_ext=cpp
23397 ac_cpp='$CXXCPP $CPPFLAGS'
23398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23401
23402       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23403 /* end confdefs.h.  */
23404 #include <math.h>
23405                       #ifdef HAVE_IEEEFP_H
23406                       #include <ieeefp.h>
23407                       #endif
23408
23409 int
23410 main ()
23411 {
23412  _isnanl(0);
23413   ;
23414   return 0;
23415 }
23416 _ACEOF
23417 if ac_fn_cxx_try_compile "$LINENO"; then :
23418   glibcxx_cv_func__isnanl_use=yes
23419 else
23420   glibcxx_cv_func__isnanl_use=no
23421 fi
23422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23423       ac_ext=c
23424 ac_cpp='$CPP $CPPFLAGS'
23425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23428
23429
23430 fi
23431
23432   fi
23433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
23434 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
23435
23436     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
23437       for ac_func in _isnanl
23438 do :
23439   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
23440 if test "x$ac_cv_func__isnanl" = x""yes; then :
23441   cat >>confdefs.h <<_ACEOF
23442 #define HAVE__ISNANL 1
23443 _ACEOF
23444
23445 fi
23446 done
23447
23448     fi
23449   fi
23450
23451
23452
23453
23454
23455   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
23456 $as_echo_n "checking for isinfl declaration... " >&6; }
23457   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
23458     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
23459   $as_echo_n "(cached) " >&6
23460 else
23461
23462
23463       ac_ext=cpp
23464 ac_cpp='$CXXCPP $CPPFLAGS'
23465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23468
23469       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23470 /* end confdefs.h.  */
23471 #include <math.h>
23472                       #ifdef HAVE_IEEEFP_H
23473                       #include <ieeefp.h>
23474                       #endif
23475
23476 int
23477 main ()
23478 {
23479  isinfl(0);
23480   ;
23481   return 0;
23482 }
23483 _ACEOF
23484 if ac_fn_cxx_try_compile "$LINENO"; then :
23485   glibcxx_cv_func_isinfl_use=yes
23486 else
23487   glibcxx_cv_func_isinfl_use=no
23488 fi
23489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23490       ac_ext=c
23491 ac_cpp='$CPP $CPPFLAGS'
23492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23495
23496
23497 fi
23498
23499   fi
23500   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
23501 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
23502
23503   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
23504     for ac_func in isinfl
23505 do :
23506   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
23507 if test "x$ac_cv_func_isinfl" = x""yes; then :
23508   cat >>confdefs.h <<_ACEOF
23509 #define HAVE_ISINFL 1
23510 _ACEOF
23511
23512 fi
23513 done
23514
23515   else
23516
23517   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
23518 $as_echo_n "checking for _isinfl declaration... " >&6; }
23519   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
23520     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
23521   $as_echo_n "(cached) " >&6
23522 else
23523
23524
23525       ac_ext=cpp
23526 ac_cpp='$CXXCPP $CPPFLAGS'
23527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23530
23531       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23532 /* end confdefs.h.  */
23533 #include <math.h>
23534                       #ifdef HAVE_IEEEFP_H
23535                       #include <ieeefp.h>
23536                       #endif
23537
23538 int
23539 main ()
23540 {
23541  _isinfl(0);
23542   ;
23543   return 0;
23544 }
23545 _ACEOF
23546 if ac_fn_cxx_try_compile "$LINENO"; then :
23547   glibcxx_cv_func__isinfl_use=yes
23548 else
23549   glibcxx_cv_func__isinfl_use=no
23550 fi
23551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23552       ac_ext=c
23553 ac_cpp='$CPP $CPPFLAGS'
23554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23557
23558
23559 fi
23560
23561   fi
23562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
23563 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
23564
23565     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
23566       for ac_func in _isinfl
23567 do :
23568   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
23569 if test "x$ac_cv_func__isinfl" = x""yes; then :
23570   cat >>confdefs.h <<_ACEOF
23571 #define HAVE__ISINFL 1
23572 _ACEOF
23573
23574 fi
23575 done
23576
23577     fi
23578   fi
23579
23580
23581
23582
23583
23584   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
23585 $as_echo_n "checking for atan2l declaration... " >&6; }
23586   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
23587     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
23588   $as_echo_n "(cached) " >&6
23589 else
23590
23591
23592       ac_ext=cpp
23593 ac_cpp='$CXXCPP $CPPFLAGS'
23594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23597
23598       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23599 /* end confdefs.h.  */
23600 #include <math.h>
23601 int
23602 main ()
23603 {
23604  atan2l(0, 0);
23605   ;
23606   return 0;
23607 }
23608 _ACEOF
23609 if ac_fn_cxx_try_compile "$LINENO"; then :
23610   glibcxx_cv_func_atan2l_use=yes
23611 else
23612   glibcxx_cv_func_atan2l_use=no
23613 fi
23614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23615       ac_ext=c
23616 ac_cpp='$CPP $CPPFLAGS'
23617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23620
23621
23622 fi
23623
23624   fi
23625   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
23626 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
23627
23628   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
23629     for ac_func in atan2l
23630 do :
23631   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
23632 if test "x$ac_cv_func_atan2l" = x""yes; then :
23633   cat >>confdefs.h <<_ACEOF
23634 #define HAVE_ATAN2L 1
23635 _ACEOF
23636
23637 fi
23638 done
23639
23640   else
23641
23642   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
23643 $as_echo_n "checking for _atan2l declaration... " >&6; }
23644   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
23645     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
23646   $as_echo_n "(cached) " >&6
23647 else
23648
23649
23650       ac_ext=cpp
23651 ac_cpp='$CXXCPP $CPPFLAGS'
23652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23655
23656       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23657 /* end confdefs.h.  */
23658 #include <math.h>
23659 int
23660 main ()
23661 {
23662  _atan2l(0, 0);
23663   ;
23664   return 0;
23665 }
23666 _ACEOF
23667 if ac_fn_cxx_try_compile "$LINENO"; then :
23668   glibcxx_cv_func__atan2l_use=yes
23669 else
23670   glibcxx_cv_func__atan2l_use=no
23671 fi
23672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23673       ac_ext=c
23674 ac_cpp='$CPP $CPPFLAGS'
23675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23678
23679
23680 fi
23681
23682   fi
23683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
23684 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
23685
23686     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
23687       for ac_func in _atan2l
23688 do :
23689   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
23690 if test "x$ac_cv_func__atan2l" = x""yes; then :
23691   cat >>confdefs.h <<_ACEOF
23692 #define HAVE__ATAN2L 1
23693 _ACEOF
23694
23695 fi
23696 done
23697
23698     fi
23699   fi
23700
23701
23702
23703
23704
23705   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
23706 $as_echo_n "checking for expl declaration... " >&6; }
23707   if test x${glibcxx_cv_func_expl_use+set} != xset; then
23708     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
23709   $as_echo_n "(cached) " >&6
23710 else
23711
23712
23713       ac_ext=cpp
23714 ac_cpp='$CXXCPP $CPPFLAGS'
23715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23718
23719       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23720 /* end confdefs.h.  */
23721 #include <math.h>
23722                       #ifdef HAVE_IEEEFP_H
23723                       #include <ieeefp.h>
23724                       #endif
23725
23726 int
23727 main ()
23728 {
23729  expl(0);
23730   ;
23731   return 0;
23732 }
23733 _ACEOF
23734 if ac_fn_cxx_try_compile "$LINENO"; then :
23735   glibcxx_cv_func_expl_use=yes
23736 else
23737   glibcxx_cv_func_expl_use=no
23738 fi
23739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23740       ac_ext=c
23741 ac_cpp='$CPP $CPPFLAGS'
23742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23745
23746
23747 fi
23748
23749   fi
23750   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
23751 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
23752
23753   if test x$glibcxx_cv_func_expl_use = x"yes"; then
23754     for ac_func in expl
23755 do :
23756   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
23757 if test "x$ac_cv_func_expl" = x""yes; then :
23758   cat >>confdefs.h <<_ACEOF
23759 #define HAVE_EXPL 1
23760 _ACEOF
23761
23762 fi
23763 done
23764
23765   else
23766
23767   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
23768 $as_echo_n "checking for _expl declaration... " >&6; }
23769   if test x${glibcxx_cv_func__expl_use+set} != xset; then
23770     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
23771   $as_echo_n "(cached) " >&6
23772 else
23773
23774
23775       ac_ext=cpp
23776 ac_cpp='$CXXCPP $CPPFLAGS'
23777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23780
23781       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23782 /* end confdefs.h.  */
23783 #include <math.h>
23784                       #ifdef HAVE_IEEEFP_H
23785                       #include <ieeefp.h>
23786                       #endif
23787
23788 int
23789 main ()
23790 {
23791  _expl(0);
23792   ;
23793   return 0;
23794 }
23795 _ACEOF
23796 if ac_fn_cxx_try_compile "$LINENO"; then :
23797   glibcxx_cv_func__expl_use=yes
23798 else
23799   glibcxx_cv_func__expl_use=no
23800 fi
23801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23802       ac_ext=c
23803 ac_cpp='$CPP $CPPFLAGS'
23804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23807
23808
23809 fi
23810
23811   fi
23812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
23813 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
23814
23815     if test x$glibcxx_cv_func__expl_use = x"yes"; then
23816       for ac_func in _expl
23817 do :
23818   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
23819 if test "x$ac_cv_func__expl" = x""yes; then :
23820   cat >>confdefs.h <<_ACEOF
23821 #define HAVE__EXPL 1
23822 _ACEOF
23823
23824 fi
23825 done
23826
23827     fi
23828   fi
23829
23830
23831
23832
23833
23834   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
23835 $as_echo_n "checking for fabsl declaration... " >&6; }
23836   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
23837     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
23838   $as_echo_n "(cached) " >&6
23839 else
23840
23841
23842       ac_ext=cpp
23843 ac_cpp='$CXXCPP $CPPFLAGS'
23844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23847
23848       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23849 /* end confdefs.h.  */
23850 #include <math.h>
23851                       #ifdef HAVE_IEEEFP_H
23852                       #include <ieeefp.h>
23853                       #endif
23854
23855 int
23856 main ()
23857 {
23858  fabsl(0);
23859   ;
23860   return 0;
23861 }
23862 _ACEOF
23863 if ac_fn_cxx_try_compile "$LINENO"; then :
23864   glibcxx_cv_func_fabsl_use=yes
23865 else
23866   glibcxx_cv_func_fabsl_use=no
23867 fi
23868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23869       ac_ext=c
23870 ac_cpp='$CPP $CPPFLAGS'
23871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23874
23875
23876 fi
23877
23878   fi
23879   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
23880 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
23881
23882   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
23883     for ac_func in fabsl
23884 do :
23885   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
23886 if test "x$ac_cv_func_fabsl" = x""yes; then :
23887   cat >>confdefs.h <<_ACEOF
23888 #define HAVE_FABSL 1
23889 _ACEOF
23890
23891 fi
23892 done
23893
23894   else
23895
23896   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
23897 $as_echo_n "checking for _fabsl declaration... " >&6; }
23898   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
23899     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
23900   $as_echo_n "(cached) " >&6
23901 else
23902
23903
23904       ac_ext=cpp
23905 ac_cpp='$CXXCPP $CPPFLAGS'
23906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23909
23910       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23911 /* end confdefs.h.  */
23912 #include <math.h>
23913                       #ifdef HAVE_IEEEFP_H
23914                       #include <ieeefp.h>
23915                       #endif
23916
23917 int
23918 main ()
23919 {
23920  _fabsl(0);
23921   ;
23922   return 0;
23923 }
23924 _ACEOF
23925 if ac_fn_cxx_try_compile "$LINENO"; then :
23926   glibcxx_cv_func__fabsl_use=yes
23927 else
23928   glibcxx_cv_func__fabsl_use=no
23929 fi
23930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23931       ac_ext=c
23932 ac_cpp='$CPP $CPPFLAGS'
23933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23936
23937
23938 fi
23939
23940   fi
23941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
23942 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
23943
23944     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
23945       for ac_func in _fabsl
23946 do :
23947   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
23948 if test "x$ac_cv_func__fabsl" = x""yes; then :
23949   cat >>confdefs.h <<_ACEOF
23950 #define HAVE__FABSL 1
23951 _ACEOF
23952
23953 fi
23954 done
23955
23956     fi
23957   fi
23958
23959
23960
23961
23962
23963   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
23964 $as_echo_n "checking for fmodl declaration... " >&6; }
23965   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
23966     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
23967   $as_echo_n "(cached) " >&6
23968 else
23969
23970
23971       ac_ext=cpp
23972 ac_cpp='$CXXCPP $CPPFLAGS'
23973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23976
23977       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23978 /* end confdefs.h.  */
23979 #include <math.h>
23980 int
23981 main ()
23982 {
23983  fmodl(0, 0);
23984   ;
23985   return 0;
23986 }
23987 _ACEOF
23988 if ac_fn_cxx_try_compile "$LINENO"; then :
23989   glibcxx_cv_func_fmodl_use=yes
23990 else
23991   glibcxx_cv_func_fmodl_use=no
23992 fi
23993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23994       ac_ext=c
23995 ac_cpp='$CPP $CPPFLAGS'
23996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23999
24000
24001 fi
24002
24003   fi
24004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
24005 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
24006
24007   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
24008     for ac_func in fmodl
24009 do :
24010   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
24011 if test "x$ac_cv_func_fmodl" = x""yes; then :
24012   cat >>confdefs.h <<_ACEOF
24013 #define HAVE_FMODL 1
24014 _ACEOF
24015
24016 fi
24017 done
24018
24019   else
24020
24021   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
24022 $as_echo_n "checking for _fmodl declaration... " >&6; }
24023   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
24024     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
24025   $as_echo_n "(cached) " >&6
24026 else
24027
24028
24029       ac_ext=cpp
24030 ac_cpp='$CXXCPP $CPPFLAGS'
24031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24034
24035       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24036 /* end confdefs.h.  */
24037 #include <math.h>
24038 int
24039 main ()
24040 {
24041  _fmodl(0, 0);
24042   ;
24043   return 0;
24044 }
24045 _ACEOF
24046 if ac_fn_cxx_try_compile "$LINENO"; then :
24047   glibcxx_cv_func__fmodl_use=yes
24048 else
24049   glibcxx_cv_func__fmodl_use=no
24050 fi
24051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24052       ac_ext=c
24053 ac_cpp='$CPP $CPPFLAGS'
24054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24057
24058
24059 fi
24060
24061   fi
24062   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
24063 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
24064
24065     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
24066       for ac_func in _fmodl
24067 do :
24068   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
24069 if test "x$ac_cv_func__fmodl" = x""yes; then :
24070   cat >>confdefs.h <<_ACEOF
24071 #define HAVE__FMODL 1
24072 _ACEOF
24073
24074 fi
24075 done
24076
24077     fi
24078   fi
24079
24080
24081
24082
24083
24084   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
24085 $as_echo_n "checking for frexpl declaration... " >&6; }
24086   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
24087     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
24088   $as_echo_n "(cached) " >&6
24089 else
24090
24091
24092       ac_ext=cpp
24093 ac_cpp='$CXXCPP $CPPFLAGS'
24094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24097
24098       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24099 /* end confdefs.h.  */
24100 #include <math.h>
24101 int
24102 main ()
24103 {
24104  frexpl(0, 0);
24105   ;
24106   return 0;
24107 }
24108 _ACEOF
24109 if ac_fn_cxx_try_compile "$LINENO"; then :
24110   glibcxx_cv_func_frexpl_use=yes
24111 else
24112   glibcxx_cv_func_frexpl_use=no
24113 fi
24114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24115       ac_ext=c
24116 ac_cpp='$CPP $CPPFLAGS'
24117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24120
24121
24122 fi
24123
24124   fi
24125   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
24126 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
24127
24128   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
24129     for ac_func in frexpl
24130 do :
24131   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
24132 if test "x$ac_cv_func_frexpl" = x""yes; then :
24133   cat >>confdefs.h <<_ACEOF
24134 #define HAVE_FREXPL 1
24135 _ACEOF
24136
24137 fi
24138 done
24139
24140   else
24141
24142   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
24143 $as_echo_n "checking for _frexpl declaration... " >&6; }
24144   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
24145     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
24146   $as_echo_n "(cached) " >&6
24147 else
24148
24149
24150       ac_ext=cpp
24151 ac_cpp='$CXXCPP $CPPFLAGS'
24152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24155
24156       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24157 /* end confdefs.h.  */
24158 #include <math.h>
24159 int
24160 main ()
24161 {
24162  _frexpl(0, 0);
24163   ;
24164   return 0;
24165 }
24166 _ACEOF
24167 if ac_fn_cxx_try_compile "$LINENO"; then :
24168   glibcxx_cv_func__frexpl_use=yes
24169 else
24170   glibcxx_cv_func__frexpl_use=no
24171 fi
24172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24173       ac_ext=c
24174 ac_cpp='$CPP $CPPFLAGS'
24175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24178
24179
24180 fi
24181
24182   fi
24183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
24184 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
24185
24186     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
24187       for ac_func in _frexpl
24188 do :
24189   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
24190 if test "x$ac_cv_func__frexpl" = x""yes; then :
24191   cat >>confdefs.h <<_ACEOF
24192 #define HAVE__FREXPL 1
24193 _ACEOF
24194
24195 fi
24196 done
24197
24198     fi
24199   fi
24200
24201
24202
24203
24204
24205   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
24206 $as_echo_n "checking for hypotl declaration... " >&6; }
24207   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
24208     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
24209   $as_echo_n "(cached) " >&6
24210 else
24211
24212
24213       ac_ext=cpp
24214 ac_cpp='$CXXCPP $CPPFLAGS'
24215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24218
24219       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24220 /* end confdefs.h.  */
24221 #include <math.h>
24222 int
24223 main ()
24224 {
24225  hypotl(0, 0);
24226   ;
24227   return 0;
24228 }
24229 _ACEOF
24230 if ac_fn_cxx_try_compile "$LINENO"; then :
24231   glibcxx_cv_func_hypotl_use=yes
24232 else
24233   glibcxx_cv_func_hypotl_use=no
24234 fi
24235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24236       ac_ext=c
24237 ac_cpp='$CPP $CPPFLAGS'
24238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24241
24242
24243 fi
24244
24245   fi
24246   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
24247 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
24248
24249   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
24250     for ac_func in hypotl
24251 do :
24252   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
24253 if test "x$ac_cv_func_hypotl" = x""yes; then :
24254   cat >>confdefs.h <<_ACEOF
24255 #define HAVE_HYPOTL 1
24256 _ACEOF
24257
24258 fi
24259 done
24260
24261   else
24262
24263   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
24264 $as_echo_n "checking for _hypotl declaration... " >&6; }
24265   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
24266     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
24267   $as_echo_n "(cached) " >&6
24268 else
24269
24270
24271       ac_ext=cpp
24272 ac_cpp='$CXXCPP $CPPFLAGS'
24273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24276
24277       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24278 /* end confdefs.h.  */
24279 #include <math.h>
24280 int
24281 main ()
24282 {
24283  _hypotl(0, 0);
24284   ;
24285   return 0;
24286 }
24287 _ACEOF
24288 if ac_fn_cxx_try_compile "$LINENO"; then :
24289   glibcxx_cv_func__hypotl_use=yes
24290 else
24291   glibcxx_cv_func__hypotl_use=no
24292 fi
24293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24294       ac_ext=c
24295 ac_cpp='$CPP $CPPFLAGS'
24296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24299
24300
24301 fi
24302
24303   fi
24304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
24305 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
24306
24307     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
24308       for ac_func in _hypotl
24309 do :
24310   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
24311 if test "x$ac_cv_func__hypotl" = x""yes; then :
24312   cat >>confdefs.h <<_ACEOF
24313 #define HAVE__HYPOTL 1
24314 _ACEOF
24315
24316 fi
24317 done
24318
24319     fi
24320   fi
24321
24322
24323
24324
24325
24326   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
24327 $as_echo_n "checking for ldexpl declaration... " >&6; }
24328   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
24329     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
24330   $as_echo_n "(cached) " >&6
24331 else
24332
24333
24334       ac_ext=cpp
24335 ac_cpp='$CXXCPP $CPPFLAGS'
24336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24339
24340       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24341 /* end confdefs.h.  */
24342 #include <math.h>
24343 int
24344 main ()
24345 {
24346  ldexpl(0, 0);
24347   ;
24348   return 0;
24349 }
24350 _ACEOF
24351 if ac_fn_cxx_try_compile "$LINENO"; then :
24352   glibcxx_cv_func_ldexpl_use=yes
24353 else
24354   glibcxx_cv_func_ldexpl_use=no
24355 fi
24356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24357       ac_ext=c
24358 ac_cpp='$CPP $CPPFLAGS'
24359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24362
24363
24364 fi
24365
24366   fi
24367   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
24368 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
24369
24370   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
24371     for ac_func in ldexpl
24372 do :
24373   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
24374 if test "x$ac_cv_func_ldexpl" = x""yes; then :
24375   cat >>confdefs.h <<_ACEOF
24376 #define HAVE_LDEXPL 1
24377 _ACEOF
24378
24379 fi
24380 done
24381
24382   else
24383
24384   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
24385 $as_echo_n "checking for _ldexpl declaration... " >&6; }
24386   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
24387     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
24388   $as_echo_n "(cached) " >&6
24389 else
24390
24391
24392       ac_ext=cpp
24393 ac_cpp='$CXXCPP $CPPFLAGS'
24394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24397
24398       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24399 /* end confdefs.h.  */
24400 #include <math.h>
24401 int
24402 main ()
24403 {
24404  _ldexpl(0, 0);
24405   ;
24406   return 0;
24407 }
24408 _ACEOF
24409 if ac_fn_cxx_try_compile "$LINENO"; then :
24410   glibcxx_cv_func__ldexpl_use=yes
24411 else
24412   glibcxx_cv_func__ldexpl_use=no
24413 fi
24414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24415       ac_ext=c
24416 ac_cpp='$CPP $CPPFLAGS'
24417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24420
24421
24422 fi
24423
24424   fi
24425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
24426 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
24427
24428     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
24429       for ac_func in _ldexpl
24430 do :
24431   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
24432 if test "x$ac_cv_func__ldexpl" = x""yes; then :
24433   cat >>confdefs.h <<_ACEOF
24434 #define HAVE__LDEXPL 1
24435 _ACEOF
24436
24437 fi
24438 done
24439
24440     fi
24441   fi
24442
24443
24444
24445
24446
24447   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
24448 $as_echo_n "checking for logl declaration... " >&6; }
24449   if test x${glibcxx_cv_func_logl_use+set} != xset; then
24450     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
24451   $as_echo_n "(cached) " >&6
24452 else
24453
24454
24455       ac_ext=cpp
24456 ac_cpp='$CXXCPP $CPPFLAGS'
24457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24460
24461       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24462 /* end confdefs.h.  */
24463 #include <math.h>
24464                       #ifdef HAVE_IEEEFP_H
24465                       #include <ieeefp.h>
24466                       #endif
24467
24468 int
24469 main ()
24470 {
24471  logl(0);
24472   ;
24473   return 0;
24474 }
24475 _ACEOF
24476 if ac_fn_cxx_try_compile "$LINENO"; then :
24477   glibcxx_cv_func_logl_use=yes
24478 else
24479   glibcxx_cv_func_logl_use=no
24480 fi
24481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24482       ac_ext=c
24483 ac_cpp='$CPP $CPPFLAGS'
24484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24487
24488
24489 fi
24490
24491   fi
24492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
24493 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
24494
24495   if test x$glibcxx_cv_func_logl_use = x"yes"; then
24496     for ac_func in logl
24497 do :
24498   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
24499 if test "x$ac_cv_func_logl" = x""yes; then :
24500   cat >>confdefs.h <<_ACEOF
24501 #define HAVE_LOGL 1
24502 _ACEOF
24503
24504 fi
24505 done
24506
24507   else
24508
24509   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
24510 $as_echo_n "checking for _logl declaration... " >&6; }
24511   if test x${glibcxx_cv_func__logl_use+set} != xset; then
24512     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
24513   $as_echo_n "(cached) " >&6
24514 else
24515
24516
24517       ac_ext=cpp
24518 ac_cpp='$CXXCPP $CPPFLAGS'
24519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24522
24523       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24524 /* end confdefs.h.  */
24525 #include <math.h>
24526                       #ifdef HAVE_IEEEFP_H
24527                       #include <ieeefp.h>
24528                       #endif
24529
24530 int
24531 main ()
24532 {
24533  _logl(0);
24534   ;
24535   return 0;
24536 }
24537 _ACEOF
24538 if ac_fn_cxx_try_compile "$LINENO"; then :
24539   glibcxx_cv_func__logl_use=yes
24540 else
24541   glibcxx_cv_func__logl_use=no
24542 fi
24543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24544       ac_ext=c
24545 ac_cpp='$CPP $CPPFLAGS'
24546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24549
24550
24551 fi
24552
24553   fi
24554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
24555 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
24556
24557     if test x$glibcxx_cv_func__logl_use = x"yes"; then
24558       for ac_func in _logl
24559 do :
24560   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
24561 if test "x$ac_cv_func__logl" = x""yes; then :
24562   cat >>confdefs.h <<_ACEOF
24563 #define HAVE__LOGL 1
24564 _ACEOF
24565
24566 fi
24567 done
24568
24569     fi
24570   fi
24571
24572
24573
24574
24575
24576   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
24577 $as_echo_n "checking for log10l declaration... " >&6; }
24578   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
24579     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
24580   $as_echo_n "(cached) " >&6
24581 else
24582
24583
24584       ac_ext=cpp
24585 ac_cpp='$CXXCPP $CPPFLAGS'
24586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24589
24590       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24591 /* end confdefs.h.  */
24592 #include <math.h>
24593                       #ifdef HAVE_IEEEFP_H
24594                       #include <ieeefp.h>
24595                       #endif
24596
24597 int
24598 main ()
24599 {
24600  log10l(0);
24601   ;
24602   return 0;
24603 }
24604 _ACEOF
24605 if ac_fn_cxx_try_compile "$LINENO"; then :
24606   glibcxx_cv_func_log10l_use=yes
24607 else
24608   glibcxx_cv_func_log10l_use=no
24609 fi
24610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24611       ac_ext=c
24612 ac_cpp='$CPP $CPPFLAGS'
24613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24616
24617
24618 fi
24619
24620   fi
24621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
24622 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
24623
24624   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
24625     for ac_func in log10l
24626 do :
24627   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
24628 if test "x$ac_cv_func_log10l" = x""yes; then :
24629   cat >>confdefs.h <<_ACEOF
24630 #define HAVE_LOG10L 1
24631 _ACEOF
24632
24633 fi
24634 done
24635
24636   else
24637
24638   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
24639 $as_echo_n "checking for _log10l declaration... " >&6; }
24640   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
24641     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
24642   $as_echo_n "(cached) " >&6
24643 else
24644
24645
24646       ac_ext=cpp
24647 ac_cpp='$CXXCPP $CPPFLAGS'
24648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24651
24652       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24653 /* end confdefs.h.  */
24654 #include <math.h>
24655                       #ifdef HAVE_IEEEFP_H
24656                       #include <ieeefp.h>
24657                       #endif
24658
24659 int
24660 main ()
24661 {
24662  _log10l(0);
24663   ;
24664   return 0;
24665 }
24666 _ACEOF
24667 if ac_fn_cxx_try_compile "$LINENO"; then :
24668   glibcxx_cv_func__log10l_use=yes
24669 else
24670   glibcxx_cv_func__log10l_use=no
24671 fi
24672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24673       ac_ext=c
24674 ac_cpp='$CPP $CPPFLAGS'
24675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24678
24679
24680 fi
24681
24682   fi
24683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
24684 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
24685
24686     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
24687       for ac_func in _log10l
24688 do :
24689   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
24690 if test "x$ac_cv_func__log10l" = x""yes; then :
24691   cat >>confdefs.h <<_ACEOF
24692 #define HAVE__LOG10L 1
24693 _ACEOF
24694
24695 fi
24696 done
24697
24698     fi
24699   fi
24700
24701
24702
24703
24704
24705   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
24706 $as_echo_n "checking for modfl declaration... " >&6; }
24707   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
24708     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
24709   $as_echo_n "(cached) " >&6
24710 else
24711
24712
24713       ac_ext=cpp
24714 ac_cpp='$CXXCPP $CPPFLAGS'
24715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24718
24719       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24720 /* end confdefs.h.  */
24721 #include <math.h>
24722 int
24723 main ()
24724 {
24725  modfl(0, 0);
24726   ;
24727   return 0;
24728 }
24729 _ACEOF
24730 if ac_fn_cxx_try_compile "$LINENO"; then :
24731   glibcxx_cv_func_modfl_use=yes
24732 else
24733   glibcxx_cv_func_modfl_use=no
24734 fi
24735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24736       ac_ext=c
24737 ac_cpp='$CPP $CPPFLAGS'
24738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24741
24742
24743 fi
24744
24745   fi
24746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
24747 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
24748
24749   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
24750     for ac_func in modfl
24751 do :
24752   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
24753 if test "x$ac_cv_func_modfl" = x""yes; then :
24754   cat >>confdefs.h <<_ACEOF
24755 #define HAVE_MODFL 1
24756 _ACEOF
24757
24758 fi
24759 done
24760
24761   else
24762
24763   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
24764 $as_echo_n "checking for _modfl declaration... " >&6; }
24765   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
24766     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
24767   $as_echo_n "(cached) " >&6
24768 else
24769
24770
24771       ac_ext=cpp
24772 ac_cpp='$CXXCPP $CPPFLAGS'
24773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24776
24777       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24778 /* end confdefs.h.  */
24779 #include <math.h>
24780 int
24781 main ()
24782 {
24783  _modfl(0, 0);
24784   ;
24785   return 0;
24786 }
24787 _ACEOF
24788 if ac_fn_cxx_try_compile "$LINENO"; then :
24789   glibcxx_cv_func__modfl_use=yes
24790 else
24791   glibcxx_cv_func__modfl_use=no
24792 fi
24793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24794       ac_ext=c
24795 ac_cpp='$CPP $CPPFLAGS'
24796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24799
24800
24801 fi
24802
24803   fi
24804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
24805 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
24806
24807     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24808       for ac_func in _modfl
24809 do :
24810   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
24811 if test "x$ac_cv_func__modfl" = x""yes; then :
24812   cat >>confdefs.h <<_ACEOF
24813 #define HAVE__MODFL 1
24814 _ACEOF
24815
24816 fi
24817 done
24818
24819     fi
24820   fi
24821
24822
24823
24824
24825
24826   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
24827 $as_echo_n "checking for powl declaration... " >&6; }
24828   if test x${glibcxx_cv_func_powl_use+set} != xset; then
24829     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
24830   $as_echo_n "(cached) " >&6
24831 else
24832
24833
24834       ac_ext=cpp
24835 ac_cpp='$CXXCPP $CPPFLAGS'
24836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24839
24840       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24841 /* end confdefs.h.  */
24842 #include <math.h>
24843 int
24844 main ()
24845 {
24846  powl(0, 0);
24847   ;
24848   return 0;
24849 }
24850 _ACEOF
24851 if ac_fn_cxx_try_compile "$LINENO"; then :
24852   glibcxx_cv_func_powl_use=yes
24853 else
24854   glibcxx_cv_func_powl_use=no
24855 fi
24856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24857       ac_ext=c
24858 ac_cpp='$CPP $CPPFLAGS'
24859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24862
24863
24864 fi
24865
24866   fi
24867   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
24868 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
24869
24870   if test x$glibcxx_cv_func_powl_use = x"yes"; then
24871     for ac_func in powl
24872 do :
24873   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
24874 if test "x$ac_cv_func_powl" = x""yes; then :
24875   cat >>confdefs.h <<_ACEOF
24876 #define HAVE_POWL 1
24877 _ACEOF
24878
24879 fi
24880 done
24881
24882   else
24883
24884   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
24885 $as_echo_n "checking for _powl declaration... " >&6; }
24886   if test x${glibcxx_cv_func__powl_use+set} != xset; then
24887     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
24888   $as_echo_n "(cached) " >&6
24889 else
24890
24891
24892       ac_ext=cpp
24893 ac_cpp='$CXXCPP $CPPFLAGS'
24894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24897
24898       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24899 /* end confdefs.h.  */
24900 #include <math.h>
24901 int
24902 main ()
24903 {
24904  _powl(0, 0);
24905   ;
24906   return 0;
24907 }
24908 _ACEOF
24909 if ac_fn_cxx_try_compile "$LINENO"; then :
24910   glibcxx_cv_func__powl_use=yes
24911 else
24912   glibcxx_cv_func__powl_use=no
24913 fi
24914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24915       ac_ext=c
24916 ac_cpp='$CPP $CPPFLAGS'
24917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24920
24921
24922 fi
24923
24924   fi
24925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
24926 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
24927
24928     if test x$glibcxx_cv_func__powl_use = x"yes"; then
24929       for ac_func in _powl
24930 do :
24931   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
24932 if test "x$ac_cv_func__powl" = x""yes; then :
24933   cat >>confdefs.h <<_ACEOF
24934 #define HAVE__POWL 1
24935 _ACEOF
24936
24937 fi
24938 done
24939
24940     fi
24941   fi
24942
24943
24944
24945
24946
24947   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
24948 $as_echo_n "checking for sqrtl declaration... " >&6; }
24949   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24950     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
24951   $as_echo_n "(cached) " >&6
24952 else
24953
24954
24955       ac_ext=cpp
24956 ac_cpp='$CXXCPP $CPPFLAGS'
24957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24960
24961       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24962 /* end confdefs.h.  */
24963 #include <math.h>
24964                       #ifdef HAVE_IEEEFP_H
24965                       #include <ieeefp.h>
24966                       #endif
24967
24968 int
24969 main ()
24970 {
24971  sqrtl(0);
24972   ;
24973   return 0;
24974 }
24975 _ACEOF
24976 if ac_fn_cxx_try_compile "$LINENO"; then :
24977   glibcxx_cv_func_sqrtl_use=yes
24978 else
24979   glibcxx_cv_func_sqrtl_use=no
24980 fi
24981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24982       ac_ext=c
24983 ac_cpp='$CPP $CPPFLAGS'
24984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24987
24988
24989 fi
24990
24991   fi
24992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
24993 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
24994
24995   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
24996     for ac_func in sqrtl
24997 do :
24998   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
24999 if test "x$ac_cv_func_sqrtl" = x""yes; then :
25000   cat >>confdefs.h <<_ACEOF
25001 #define HAVE_SQRTL 1
25002 _ACEOF
25003
25004 fi
25005 done
25006
25007   else
25008
25009   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
25010 $as_echo_n "checking for _sqrtl declaration... " >&6; }
25011   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
25012     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
25013   $as_echo_n "(cached) " >&6
25014 else
25015
25016
25017       ac_ext=cpp
25018 ac_cpp='$CXXCPP $CPPFLAGS'
25019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25022
25023       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25024 /* end confdefs.h.  */
25025 #include <math.h>
25026                       #ifdef HAVE_IEEEFP_H
25027                       #include <ieeefp.h>
25028                       #endif
25029
25030 int
25031 main ()
25032 {
25033  _sqrtl(0);
25034   ;
25035   return 0;
25036 }
25037 _ACEOF
25038 if ac_fn_cxx_try_compile "$LINENO"; then :
25039   glibcxx_cv_func__sqrtl_use=yes
25040 else
25041   glibcxx_cv_func__sqrtl_use=no
25042 fi
25043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25044       ac_ext=c
25045 ac_cpp='$CPP $CPPFLAGS'
25046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25049
25050
25051 fi
25052
25053   fi
25054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
25055 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
25056
25057     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25058       for ac_func in _sqrtl
25059 do :
25060   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
25061 if test "x$ac_cv_func__sqrtl" = x""yes; then :
25062   cat >>confdefs.h <<_ACEOF
25063 #define HAVE__SQRTL 1
25064 _ACEOF
25065
25066 fi
25067 done
25068
25069     fi
25070   fi
25071
25072
25073
25074
25075
25076   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
25077 $as_echo_n "checking for sincosl declaration... " >&6; }
25078   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25079     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
25080   $as_echo_n "(cached) " >&6
25081 else
25082
25083
25084       ac_ext=cpp
25085 ac_cpp='$CXXCPP $CPPFLAGS'
25086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25089
25090       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25091 /* end confdefs.h.  */
25092 #include <math.h>
25093 int
25094 main ()
25095 {
25096  sincosl(0, 0, 0);
25097   ;
25098   return 0;
25099 }
25100 _ACEOF
25101 if ac_fn_cxx_try_compile "$LINENO"; then :
25102   glibcxx_cv_func_sincosl_use=yes
25103 else
25104   glibcxx_cv_func_sincosl_use=no
25105 fi
25106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25107       ac_ext=c
25108 ac_cpp='$CPP $CPPFLAGS'
25109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25112
25113
25114 fi
25115
25116   fi
25117   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
25118 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25119
25120   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25121     for ac_func in sincosl
25122 do :
25123   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
25124 if test "x$ac_cv_func_sincosl" = x""yes; then :
25125   cat >>confdefs.h <<_ACEOF
25126 #define HAVE_SINCOSL 1
25127 _ACEOF
25128
25129 fi
25130 done
25131
25132   else
25133
25134   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
25135 $as_echo_n "checking for _sincosl declaration... " >&6; }
25136   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25137     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
25138   $as_echo_n "(cached) " >&6
25139 else
25140
25141
25142       ac_ext=cpp
25143 ac_cpp='$CXXCPP $CPPFLAGS'
25144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25147
25148       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25149 /* end confdefs.h.  */
25150 #include <math.h>
25151 int
25152 main ()
25153 {
25154  _sincosl(0, 0, 0);
25155   ;
25156   return 0;
25157 }
25158 _ACEOF
25159 if ac_fn_cxx_try_compile "$LINENO"; then :
25160   glibcxx_cv_func__sincosl_use=yes
25161 else
25162   glibcxx_cv_func__sincosl_use=no
25163 fi
25164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25165       ac_ext=c
25166 ac_cpp='$CPP $CPPFLAGS'
25167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25170
25171
25172 fi
25173
25174   fi
25175   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
25176 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
25177
25178     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25179       for ac_func in _sincosl
25180 do :
25181   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
25182 if test "x$ac_cv_func__sincosl" = x""yes; then :
25183   cat >>confdefs.h <<_ACEOF
25184 #define HAVE__SINCOSL 1
25185 _ACEOF
25186
25187 fi
25188 done
25189
25190     fi
25191   fi
25192
25193
25194
25195
25196
25197   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
25198 $as_echo_n "checking for finitel declaration... " >&6; }
25199   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25200     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
25201   $as_echo_n "(cached) " >&6
25202 else
25203
25204
25205       ac_ext=cpp
25206 ac_cpp='$CXXCPP $CPPFLAGS'
25207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25210
25211       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25212 /* end confdefs.h.  */
25213 #include <math.h>
25214                       #ifdef HAVE_IEEEFP_H
25215                       #include <ieeefp.h>
25216                       #endif
25217
25218 int
25219 main ()
25220 {
25221  finitel(0);
25222   ;
25223   return 0;
25224 }
25225 _ACEOF
25226 if ac_fn_cxx_try_compile "$LINENO"; then :
25227   glibcxx_cv_func_finitel_use=yes
25228 else
25229   glibcxx_cv_func_finitel_use=no
25230 fi
25231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25232       ac_ext=c
25233 ac_cpp='$CPP $CPPFLAGS'
25234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25237
25238
25239 fi
25240
25241   fi
25242   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
25243 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
25244
25245   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25246     for ac_func in finitel
25247 do :
25248   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
25249 if test "x$ac_cv_func_finitel" = x""yes; then :
25250   cat >>confdefs.h <<_ACEOF
25251 #define HAVE_FINITEL 1
25252 _ACEOF
25253
25254 fi
25255 done
25256
25257   else
25258
25259   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
25260 $as_echo_n "checking for _finitel declaration... " >&6; }
25261   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25262     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
25263   $as_echo_n "(cached) " >&6
25264 else
25265
25266
25267       ac_ext=cpp
25268 ac_cpp='$CXXCPP $CPPFLAGS'
25269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25272
25273       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25274 /* end confdefs.h.  */
25275 #include <math.h>
25276                       #ifdef HAVE_IEEEFP_H
25277                       #include <ieeefp.h>
25278                       #endif
25279
25280 int
25281 main ()
25282 {
25283  _finitel(0);
25284   ;
25285   return 0;
25286 }
25287 _ACEOF
25288 if ac_fn_cxx_try_compile "$LINENO"; then :
25289   glibcxx_cv_func__finitel_use=yes
25290 else
25291   glibcxx_cv_func__finitel_use=no
25292 fi
25293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25294       ac_ext=c
25295 ac_cpp='$CPP $CPPFLAGS'
25296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25299
25300
25301 fi
25302
25303   fi
25304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
25305 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
25306
25307     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25308       for ac_func in _finitel
25309 do :
25310   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
25311 if test "x$ac_cv_func__finitel" = x""yes; then :
25312   cat >>confdefs.h <<_ACEOF
25313 #define HAVE__FINITEL 1
25314 _ACEOF
25315
25316 fi
25317 done
25318
25319     fi
25320   fi
25321
25322
25323
25324
25325   LIBS="$ac_save_LIBS"
25326   CXXFLAGS="$ac_save_CXXFLAGS"
25327
25328
25329   ac_test_CXXFLAGS="${CXXFLAGS+set}"
25330   ac_save_CXXFLAGS="$CXXFLAGS"
25331   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
25332
25333
25334   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
25335 $as_echo_n "checking for strtold declaration... " >&6; }
25336   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
25337     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
25338   $as_echo_n "(cached) " >&6
25339 else
25340
25341
25342       ac_ext=cpp
25343 ac_cpp='$CXXCPP $CPPFLAGS'
25344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25347
25348       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25349 /* end confdefs.h.  */
25350 #include <stdlib.h>
25351 int
25352 main ()
25353 {
25354  strtold(0, 0);
25355   ;
25356   return 0;
25357 }
25358 _ACEOF
25359 if ac_fn_cxx_try_compile "$LINENO"; then :
25360   glibcxx_cv_func_strtold_use=yes
25361 else
25362   glibcxx_cv_func_strtold_use=no
25363 fi
25364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25365       ac_ext=c
25366 ac_cpp='$CPP $CPPFLAGS'
25367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25370
25371
25372 fi
25373
25374   fi
25375   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
25376 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
25377   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
25378     for ac_func in strtold
25379 do :
25380   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
25381 if test "x$ac_cv_func_strtold" = x""yes; then :
25382   cat >>confdefs.h <<_ACEOF
25383 #define HAVE_STRTOLD 1
25384 _ACEOF
25385
25386 fi
25387 done
25388
25389   fi
25390
25391
25392
25393
25394   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
25395 $as_echo_n "checking for strtof declaration... " >&6; }
25396   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
25397     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
25398   $as_echo_n "(cached) " >&6
25399 else
25400
25401
25402       ac_ext=cpp
25403 ac_cpp='$CXXCPP $CPPFLAGS'
25404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25407
25408       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25409 /* end confdefs.h.  */
25410 #include <stdlib.h>
25411 int
25412 main ()
25413 {
25414  strtof(0, 0);
25415   ;
25416   return 0;
25417 }
25418 _ACEOF
25419 if ac_fn_cxx_try_compile "$LINENO"; then :
25420   glibcxx_cv_func_strtof_use=yes
25421 else
25422   glibcxx_cv_func_strtof_use=no
25423 fi
25424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25425       ac_ext=c
25426 ac_cpp='$CPP $CPPFLAGS'
25427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25430
25431
25432 fi
25433
25434   fi
25435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
25436 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
25437   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
25438     for ac_func in strtof
25439 do :
25440   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
25441 if test "x$ac_cv_func_strtof" = x""yes; then :
25442   cat >>confdefs.h <<_ACEOF
25443 #define HAVE_STRTOF 1
25444 _ACEOF
25445
25446 fi
25447 done
25448
25449   fi
25450
25451
25452
25453
25454   CXXFLAGS="$ac_save_CXXFLAGS"
25455
25456
25457   # For /dev/random and /dev/urandom for TR1.
25458
25459
25460   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
25461 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
25462   if test "${glibcxx_cv_random_tr1+set}" = set; then :
25463   $as_echo_n "(cached) " >&6
25464 else
25465
25466     if test -r /dev/random && test -r /dev/urandom; then
25467       glibcxx_cv_random_tr1=yes;
25468     else
25469       glibcxx_cv_random_tr1=no;
25470     fi
25471
25472 fi
25473
25474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
25475 $as_echo "$glibcxx_cv_random_tr1" >&6; }
25476
25477   if test x"$glibcxx_cv_random_tr1" = x"yes"; then
25478
25479 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
25480
25481   fi
25482
25483
25484
25485   # For TLS support.
25486
25487
25488    # Check whether --enable-tls was given.
25489 if test "${enable_tls+set}" = set; then :
25490   enableval=$enable_tls;
25491       case "$enableval" in
25492        yes|no) ;;
25493        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
25494       esac
25495
25496 else
25497   enable_tls=yes
25498 fi
25499
25500
25501   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
25502 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
25503 if test "${gcc_cv_have_tls+set}" = set; then :
25504   $as_echo_n "(cached) " >&6
25505 else
25506
25507     if test "$cross_compiling" = yes; then :
25508                 if test x$gcc_no_link = xyes; then
25509   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25510 fi
25511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25512 /* end confdefs.h.  */
25513 __thread int a; int b; int main() { return a = b; }
25514 _ACEOF
25515 if ac_fn_c_try_link "$LINENO"; then :
25516   chktls_save_LDFLAGS="$LDFLAGS"
25517                           case $host in
25518             *-*-linux*)
25519               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
25520               ;;
25521           esac
25522           chktls_save_CFLAGS="$CFLAGS"
25523           CFLAGS="-fPIC $CFLAGS"
25524                   if test x$gcc_no_link = xyes; then
25525   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25526 fi
25527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25528 /* end confdefs.h.  */
25529 int f() { return 0; }
25530 _ACEOF
25531 if ac_fn_c_try_link "$LINENO"; then :
25532   if test x$gcc_no_link = xyes; then
25533   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25534 fi
25535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25536 /* end confdefs.h.  */
25537 __thread int a; int b; int f() { return a = b; }
25538 _ACEOF
25539 if ac_fn_c_try_link "$LINENO"; then :
25540   gcc_cv_have_tls=yes
25541 else
25542   gcc_cv_have_tls=no
25543 fi
25544 rm -f core conftest.err conftest.$ac_objext \
25545     conftest$ac_exeext conftest.$ac_ext
25546 else
25547   gcc_cv_have_tls=yes
25548 fi
25549 rm -f core conftest.err conftest.$ac_objext \
25550     conftest$ac_exeext conftest.$ac_ext
25551           CFLAGS="$chktls_save_CFLAGS"
25552           LDFLAGS="$chktls_save_LDFLAGS"
25553 else
25554   gcc_cv_have_tls=no
25555 fi
25556 rm -f core conftest.err conftest.$ac_objext \
25557     conftest$ac_exeext conftest.$ac_ext
25558
25559
25560 else
25561   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25562 /* end confdefs.h.  */
25563 __thread int a; int b; int main() { return a = b; }
25564 _ACEOF
25565 if ac_fn_c_try_run "$LINENO"; then :
25566                       chktls_save_LDFLAGS="$LDFLAGS"
25567       LDFLAGS="-static $LDFLAGS"
25568       if test x$gcc_no_link = xyes; then
25569   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25570 fi
25571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25572 /* end confdefs.h.  */
25573 int main() { return 0; }
25574 _ACEOF
25575 if ac_fn_c_try_link "$LINENO"; then :
25576   if test "$cross_compiling" = yes; then :
25577   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25578 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25579 as_fn_error "cannot run test program while cross compiling
25580 See \`config.log' for more details." "$LINENO" 5; }
25581 else
25582   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25583 /* end confdefs.h.  */
25584 __thread int a; int b; int main() { return a = b; }
25585 _ACEOF
25586 if ac_fn_c_try_run "$LINENO"; then :
25587   gcc_cv_have_tls=yes
25588 else
25589   gcc_cv_have_tls=no
25590 fi
25591 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25592   conftest.$ac_objext conftest.beam conftest.$ac_ext
25593 fi
25594
25595 else
25596   gcc_cv_have_tls=yes
25597 fi
25598 rm -f core conftest.err conftest.$ac_objext \
25599     conftest$ac_exeext conftest.$ac_ext
25600       LDFLAGS="$chktls_save_LDFLAGS"
25601       if test $gcc_cv_have_tls = yes; then
25602                                                 chktls_save_CFLAGS="$CFLAGS"
25603         thread_CFLAGS=failed
25604         for flag in '' '-pthread' '-lpthread'; do
25605           CFLAGS="$flag $chktls_save_CFLAGS"
25606           if test x$gcc_no_link = xyes; then
25607   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25608 fi
25609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25610 /* end confdefs.h.  */
25611 #include <pthread.h>
25612                 void *g(void *d) { return NULL; }
25613 int
25614 main ()
25615 {
25616 pthread_t t; pthread_create(&t,NULL,g,NULL);
25617   ;
25618   return 0;
25619 }
25620 _ACEOF
25621 if ac_fn_c_try_link "$LINENO"; then :
25622   thread_CFLAGS="$flag"
25623 fi
25624 rm -f core conftest.err conftest.$ac_objext \
25625     conftest$ac_exeext conftest.$ac_ext
25626           if test "X$thread_CFLAGS" != Xfailed; then
25627             break
25628           fi
25629         done
25630         CFLAGS="$chktls_save_CFLAGS"
25631         if test "X$thread_CFLAGS" != Xfailed; then
25632           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
25633                                                   if test "$cross_compiling" = yes; then :
25634   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25635 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25636 as_fn_error "cannot run test program while cross compiling
25637 See \`config.log' for more details." "$LINENO" 5; }
25638 else
25639   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25640 /* end confdefs.h.  */
25641 #include <pthread.h>
25642                 __thread int a;
25643                 static int *volatile a_in_other_thread;
25644                 static void *
25645                 thread_func (void *arg)
25646                 {
25647                   a_in_other_thread = &a;
25648                   return (void *)0;
25649                 }
25650 int
25651 main ()
25652 {
25653 pthread_t thread;
25654                 void *thread_retval;
25655                 int *volatile a_in_main_thread;
25656                 a_in_main_thread = &a;
25657                 if (pthread_create (&thread, (pthread_attr_t *)0,
25658                                     thread_func, (void *)0))
25659                   return 0;
25660                 if (pthread_join (thread, &thread_retval))
25661                   return 0;
25662                 return (a_in_other_thread == a_in_main_thread);
25663   ;
25664   return 0;
25665 }
25666 _ACEOF
25667 if ac_fn_c_try_run "$LINENO"; then :
25668   gcc_cv_have_tls=yes
25669 else
25670   gcc_cv_have_tls=no
25671 fi
25672 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25673   conftest.$ac_objext conftest.beam conftest.$ac_ext
25674 fi
25675
25676           CFLAGS="$chktls_save_CFLAGS"
25677         fi
25678       fi
25679 else
25680   gcc_cv_have_tls=no
25681 fi
25682 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25683   conftest.$ac_objext conftest.beam conftest.$ac_ext
25684 fi
25685
25686 fi
25687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
25688 $as_echo "$gcc_cv_have_tls" >&6; }
25689   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
25690
25691 $as_echo "#define HAVE_TLS 1" >>confdefs.h
25692
25693   fi
25694
25695   # For iconv support.
25696
25697       if test "X$prefix" = "XNONE"; then
25698     acl_final_prefix="$ac_default_prefix"
25699   else
25700     acl_final_prefix="$prefix"
25701   fi
25702   if test "X$exec_prefix" = "XNONE"; then
25703     acl_final_exec_prefix='${prefix}'
25704   else
25705     acl_final_exec_prefix="$exec_prefix"
25706   fi
25707   acl_save_prefix="$prefix"
25708   prefix="$acl_final_prefix"
25709   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
25710   prefix="$acl_save_prefix"
25711
25712
25713 # Check whether --with-gnu-ld was given.
25714 if test "${with_gnu_ld+set}" = set; then :
25715   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
25716 else
25717   with_gnu_ld=no
25718 fi
25719
25720 # Prepare PATH_SEPARATOR.
25721 # The user is always right.
25722 if test "${PATH_SEPARATOR+set}" != set; then
25723   echo "#! /bin/sh" >conf$$.sh
25724   echo  "exit 0"   >>conf$$.sh
25725   chmod +x conf$$.sh
25726   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
25727     PATH_SEPARATOR=';'
25728   else
25729     PATH_SEPARATOR=:
25730   fi
25731   rm -f conf$$.sh
25732 fi
25733 ac_prog=ld
25734 if test "$GCC" = yes; then
25735   # Check if gcc -print-prog-name=ld gives a path.
25736   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
25737 $as_echo_n "checking for ld used by GCC... " >&6; }
25738   case $host in
25739   *-*-mingw*)
25740     # gcc leaves a trailing carriage return which upsets mingw
25741     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
25742   *)
25743     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
25744   esac
25745   case $ac_prog in
25746     # Accept absolute paths.
25747     [\\/]* | [A-Za-z]:[\\/]*)
25748       re_direlt='/[^/][^/]*/\.\./'
25749       # Canonicalize the path of ld
25750       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
25751       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
25752         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
25753       done
25754       test -z "$LD" && LD="$ac_prog"
25755       ;;
25756   "")
25757     # If it fails, then pretend we aren't using GCC.
25758     ac_prog=ld
25759     ;;
25760   *)
25761     # If it is relative, then search for the first ld in PATH.
25762     with_gnu_ld=unknown
25763     ;;
25764   esac
25765 elif test "$with_gnu_ld" = yes; then
25766   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
25767 $as_echo_n "checking for GNU ld... " >&6; }
25768 else
25769   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
25770 $as_echo_n "checking for non-GNU ld... " >&6; }
25771 fi
25772 if test "${acl_cv_path_LD+set}" = set; then :
25773   $as_echo_n "(cached) " >&6
25774 else
25775   if test -z "$LD"; then
25776   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
25777   for ac_dir in $PATH; do
25778     test -z "$ac_dir" && ac_dir=.
25779     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
25780       acl_cv_path_LD="$ac_dir/$ac_prog"
25781       # Check to see if the program is GNU ld.  I'd rather use --version,
25782       # but apparently some GNU ld's only accept -v.
25783       # Break only if it was the GNU/non-GNU ld that we prefer.
25784       if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
25785         test "$with_gnu_ld" != no && break
25786       else
25787         test "$with_gnu_ld" != yes && break
25788       fi
25789     fi
25790   done
25791   IFS="$ac_save_ifs"
25792 else
25793   acl_cv_path_LD="$LD" # Let the user override the test with a path.
25794 fi
25795 fi
25796
25797 LD="$acl_cv_path_LD"
25798 if test -n "$LD"; then
25799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
25800 $as_echo "$LD" >&6; }
25801 else
25802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25803 $as_echo "no" >&6; }
25804 fi
25805 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
25806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
25807 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
25808 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
25809   $as_echo_n "(cached) " >&6
25810 else
25811   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
25812 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
25813   acl_cv_prog_gnu_ld=yes
25814 else
25815   acl_cv_prog_gnu_ld=no
25816 fi
25817 fi
25818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
25819 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
25820 with_gnu_ld=$acl_cv_prog_gnu_ld
25821
25822
25823
25824                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
25825 $as_echo_n "checking for shared library run path origin... " >&6; }
25826 if test "${acl_cv_rpath+set}" = set; then :
25827   $as_echo_n "(cached) " >&6
25828 else
25829
25830     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
25831     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
25832     . ./conftest.sh
25833     rm -f ./conftest.sh
25834     acl_cv_rpath=done
25835
25836 fi
25837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
25838 $as_echo "$acl_cv_rpath" >&6; }
25839   wl="$acl_cv_wl"
25840   libext="$acl_cv_libext"
25841   shlibext="$acl_cv_shlibext"
25842   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
25843   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
25844   hardcode_direct="$acl_cv_hardcode_direct"
25845   hardcode_minus_L="$acl_cv_hardcode_minus_L"
25846     # Check whether --enable-rpath was given.
25847 if test "${enable_rpath+set}" = set; then :
25848   enableval=$enable_rpath; :
25849 else
25850   enable_rpath=yes
25851 fi
25852
25853
25854
25855
25856
25857
25858
25859
25860     use_additional=yes
25861
25862   acl_save_prefix="$prefix"
25863   prefix="$acl_final_prefix"
25864   acl_save_exec_prefix="$exec_prefix"
25865   exec_prefix="$acl_final_exec_prefix"
25866
25867     eval additional_includedir=\"$includedir\"
25868     eval additional_libdir=\"$libdir\"
25869
25870   exec_prefix="$acl_save_exec_prefix"
25871   prefix="$acl_save_prefix"
25872
25873
25874 # Check whether --with-libiconv-prefix was given.
25875 if test "${with_libiconv_prefix+set}" = set; then :
25876   withval=$with_libiconv_prefix;
25877     if test "X$withval" = "Xno"; then
25878       use_additional=no
25879     else
25880       if test "X$withval" = "X"; then
25881
25882   acl_save_prefix="$prefix"
25883   prefix="$acl_final_prefix"
25884   acl_save_exec_prefix="$exec_prefix"
25885   exec_prefix="$acl_final_exec_prefix"
25886
25887           eval additional_includedir=\"$includedir\"
25888           eval additional_libdir=\"$libdir\"
25889
25890   exec_prefix="$acl_save_exec_prefix"
25891   prefix="$acl_save_prefix"
25892
25893       else
25894         additional_includedir="$withval/include"
25895         additional_libdir="$withval/lib"
25896       fi
25897     fi
25898
25899 fi
25900
25901       LIBICONV=
25902   LTLIBICONV=
25903   INCICONV=
25904   rpathdirs=
25905   ltrpathdirs=
25906   names_already_handled=
25907   names_next_round='iconv '
25908   while test -n "$names_next_round"; do
25909     names_this_round="$names_next_round"
25910     names_next_round=
25911     for name in $names_this_round; do
25912       already_handled=
25913       for n in $names_already_handled; do
25914         if test "$n" = "$name"; then
25915           already_handled=yes
25916           break
25917         fi
25918       done
25919       if test -z "$already_handled"; then
25920         names_already_handled="$names_already_handled $name"
25921                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
25922         eval value=\"\$HAVE_LIB$uppername\"
25923         if test -n "$value"; then
25924           if test "$value" = yes; then
25925             eval value=\"\$LIB$uppername\"
25926             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
25927             eval value=\"\$LTLIB$uppername\"
25928             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
25929           else
25930                                     :
25931           fi
25932         else
25933                               found_dir=
25934           found_la=
25935           found_so=
25936           found_a=
25937           if test $use_additional = yes; then
25938             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
25939               found_dir="$additional_libdir"
25940               found_so="$additional_libdir/lib$name.$shlibext"
25941               if test -f "$additional_libdir/lib$name.la"; then
25942                 found_la="$additional_libdir/lib$name.la"
25943               fi
25944             else
25945               if test -f "$additional_libdir/lib$name.$libext"; then
25946                 found_dir="$additional_libdir"
25947                 found_a="$additional_libdir/lib$name.$libext"
25948                 if test -f "$additional_libdir/lib$name.la"; then
25949                   found_la="$additional_libdir/lib$name.la"
25950                 fi
25951               fi
25952             fi
25953           fi
25954           if test "X$found_dir" = "X"; then
25955             for x in $LDFLAGS $LTLIBICONV; do
25956
25957   acl_save_prefix="$prefix"
25958   prefix="$acl_final_prefix"
25959   acl_save_exec_prefix="$exec_prefix"
25960   exec_prefix="$acl_final_exec_prefix"
25961   eval x=\"$x\"
25962   exec_prefix="$acl_save_exec_prefix"
25963   prefix="$acl_save_prefix"
25964
25965               case "$x" in
25966                 -L*)
25967                   dir=`echo "X$x" | sed -e 's/^X-L//'`
25968                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
25969                     found_dir="$dir"
25970                     found_so="$dir/lib$name.$shlibext"
25971                     if test -f "$dir/lib$name.la"; then
25972                       found_la="$dir/lib$name.la"
25973                     fi
25974                   else
25975                     if test -f "$dir/lib$name.$libext"; then
25976                       found_dir="$dir"
25977                       found_a="$dir/lib$name.$libext"
25978                       if test -f "$dir/lib$name.la"; then
25979                         found_la="$dir/lib$name.la"
25980                       fi
25981                     fi
25982                   fi
25983                   ;;
25984               esac
25985               if test "X$found_dir" != "X"; then
25986                 break
25987               fi
25988             done
25989           fi
25990           if test "X$found_dir" != "X"; then
25991                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
25992             if test "X$found_so" != "X"; then
25993                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
25994                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25995               else
25996                                                                                 haveit=
25997                 for x in $ltrpathdirs; do
25998                   if test "X$x" = "X$found_dir"; then
25999                     haveit=yes
26000                     break
26001                   fi
26002                 done
26003                 if test -z "$haveit"; then
26004                   ltrpathdirs="$ltrpathdirs $found_dir"
26005                 fi
26006                                 if test "$hardcode_direct" = yes; then
26007                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26008                 else
26009                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
26010                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26011                                                             haveit=
26012                     for x in $rpathdirs; do
26013                       if test "X$x" = "X$found_dir"; then
26014                         haveit=yes
26015                         break
26016                       fi
26017                     done
26018                     if test -z "$haveit"; then
26019                       rpathdirs="$rpathdirs $found_dir"
26020                     fi
26021                   else
26022                                                                                 haveit=
26023                     for x in $LDFLAGS $LIBICONV; do
26024
26025   acl_save_prefix="$prefix"
26026   prefix="$acl_final_prefix"
26027   acl_save_exec_prefix="$exec_prefix"
26028   exec_prefix="$acl_final_exec_prefix"
26029   eval x=\"$x\"
26030   exec_prefix="$acl_save_exec_prefix"
26031   prefix="$acl_save_prefix"
26032
26033                       if test "X$x" = "X-L$found_dir"; then
26034                         haveit=yes
26035                         break
26036                       fi
26037                     done
26038                     if test -z "$haveit"; then
26039                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
26040                     fi
26041                     if test "$hardcode_minus_L" != no; then
26042                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26043                     else
26044                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26045                     fi
26046                   fi
26047                 fi
26048               fi
26049             else
26050               if test "X$found_a" != "X"; then
26051                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
26052               else
26053                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
26054               fi
26055             fi
26056                         additional_includedir=
26057             case "$found_dir" in
26058               */lib | */lib/)
26059                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
26060                 additional_includedir="$basedir/include"
26061                 ;;
26062             esac
26063             if test "X$additional_includedir" != "X"; then
26064                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
26065                 haveit=
26066                 if test "X$additional_includedir" = "X/usr/local/include"; then
26067                   if test -n "$GCC"; then
26068                     case $host_os in
26069                       linux*) haveit=yes;;
26070                     esac
26071                   fi
26072                 fi
26073                 if test -z "$haveit"; then
26074                   for x in $CPPFLAGS $INCICONV; do
26075
26076   acl_save_prefix="$prefix"
26077   prefix="$acl_final_prefix"
26078   acl_save_exec_prefix="$exec_prefix"
26079   exec_prefix="$acl_final_exec_prefix"
26080   eval x=\"$x\"
26081   exec_prefix="$acl_save_exec_prefix"
26082   prefix="$acl_save_prefix"
26083
26084                     if test "X$x" = "X-I$additional_includedir"; then
26085                       haveit=yes
26086                       break
26087                     fi
26088                   done
26089                   if test -z "$haveit"; then
26090                     if test -d "$additional_includedir"; then
26091                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26092                     fi
26093                   fi
26094                 fi
26095               fi
26096             fi
26097                         if test -n "$found_la"; then
26098                                                         save_libdir="$libdir"
26099               case "$found_la" in
26100                 */* | *\\*) . "$found_la" ;;
26101                 *) . "./$found_la" ;;
26102               esac
26103               libdir="$save_libdir"
26104                             for dep in $dependency_libs; do
26105                 case "$dep" in
26106                   -L*)
26107                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
26108                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
26109                       haveit=
26110                       if test "X$additional_libdir" = "X/usr/local/lib"; then
26111                         if test -n "$GCC"; then
26112                           case $host_os in
26113                             linux*) haveit=yes;;
26114                           esac
26115                         fi
26116                       fi
26117                       if test -z "$haveit"; then
26118                         haveit=
26119                         for x in $LDFLAGS $LIBICONV; do
26120
26121   acl_save_prefix="$prefix"
26122   prefix="$acl_final_prefix"
26123   acl_save_exec_prefix="$exec_prefix"
26124   exec_prefix="$acl_final_exec_prefix"
26125   eval x=\"$x\"
26126   exec_prefix="$acl_save_exec_prefix"
26127   prefix="$acl_save_prefix"
26128
26129                           if test "X$x" = "X-L$additional_libdir"; then
26130                             haveit=yes
26131                             break
26132                           fi
26133                         done
26134                         if test -z "$haveit"; then
26135                           if test -d "$additional_libdir"; then
26136                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
26137                           fi
26138                         fi
26139                         haveit=
26140                         for x in $LDFLAGS $LTLIBICONV; do
26141
26142   acl_save_prefix="$prefix"
26143   prefix="$acl_final_prefix"
26144   acl_save_exec_prefix="$exec_prefix"
26145   exec_prefix="$acl_final_exec_prefix"
26146   eval x=\"$x\"
26147   exec_prefix="$acl_save_exec_prefix"
26148   prefix="$acl_save_prefix"
26149
26150                           if test "X$x" = "X-L$additional_libdir"; then
26151                             haveit=yes
26152                             break
26153                           fi
26154                         done
26155                         if test -z "$haveit"; then
26156                           if test -d "$additional_libdir"; then
26157                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
26158                           fi
26159                         fi
26160                       fi
26161                     fi
26162                     ;;
26163                   -R*)
26164                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
26165                     if test "$enable_rpath" != no; then
26166                                                                   haveit=
26167                       for x in $rpathdirs; do
26168                         if test "X$x" = "X$dir"; then
26169                           haveit=yes
26170                           break
26171                         fi
26172                       done
26173                       if test -z "$haveit"; then
26174                         rpathdirs="$rpathdirs $dir"
26175                       fi
26176                                                                   haveit=
26177                       for x in $ltrpathdirs; do
26178                         if test "X$x" = "X$dir"; then
26179                           haveit=yes
26180                           break
26181                         fi
26182                       done
26183                       if test -z "$haveit"; then
26184                         ltrpathdirs="$ltrpathdirs $dir"
26185                       fi
26186                     fi
26187                     ;;
26188                   -l*)
26189                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
26190                     ;;
26191                   *.la)
26192                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
26193                     ;;
26194                   *)
26195                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
26196                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
26197                     ;;
26198                 esac
26199               done
26200             fi
26201           else
26202                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26203             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
26204           fi
26205         fi
26206       fi
26207     done
26208   done
26209   if test "X$rpathdirs" != "X"; then
26210     if test -n "$hardcode_libdir_separator"; then
26211                         alldirs=
26212       for found_dir in $rpathdirs; do
26213         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
26214       done
26215             acl_save_libdir="$libdir"
26216       libdir="$alldirs"
26217       eval flag=\"$hardcode_libdir_flag_spec\"
26218       libdir="$acl_save_libdir"
26219       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26220     else
26221             for found_dir in $rpathdirs; do
26222         acl_save_libdir="$libdir"
26223         libdir="$found_dir"
26224         eval flag=\"$hardcode_libdir_flag_spec\"
26225         libdir="$acl_save_libdir"
26226         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26227       done
26228     fi
26229   fi
26230   if test "X$ltrpathdirs" != "X"; then
26231             for found_dir in $ltrpathdirs; do
26232       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
26233     done
26234   fi
26235
26236
26237
26238
26239
26240
26241
26242           am_save_CPPFLAGS="$CPPFLAGS"
26243
26244   for element in $INCICONV; do
26245     haveit=
26246     for x in $CPPFLAGS; do
26247
26248   acl_save_prefix="$prefix"
26249   prefix="$acl_final_prefix"
26250   acl_save_exec_prefix="$exec_prefix"
26251   exec_prefix="$acl_final_exec_prefix"
26252   eval x=\"$x\"
26253   exec_prefix="$acl_save_exec_prefix"
26254   prefix="$acl_save_prefix"
26255
26256       if test "X$x" = "X$element"; then
26257         haveit=yes
26258         break
26259       fi
26260     done
26261     if test -z "$haveit"; then
26262       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
26263     fi
26264   done
26265
26266
26267   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
26268 $as_echo_n "checking for iconv... " >&6; }
26269 if test "${am_cv_func_iconv+set}" = set; then :
26270   $as_echo_n "(cached) " >&6
26271 else
26272
26273     am_cv_func_iconv="no, consider installing GNU libiconv"
26274     am_cv_lib_iconv=no
26275     if test x$gcc_no_link = xyes; then
26276   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26277 fi
26278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26279 /* end confdefs.h.  */
26280 #include <stdlib.h>
26281 #include <iconv.h>
26282 int
26283 main ()
26284 {
26285 iconv_t cd = iconv_open("","");
26286        iconv(cd,NULL,NULL,NULL,NULL);
26287        iconv_close(cd);
26288   ;
26289   return 0;
26290 }
26291 _ACEOF
26292 if ac_fn_c_try_link "$LINENO"; then :
26293   am_cv_func_iconv=yes
26294 fi
26295 rm -f core conftest.err conftest.$ac_objext \
26296     conftest$ac_exeext conftest.$ac_ext
26297     if test "$am_cv_func_iconv" != yes; then
26298       am_save_LIBS="$LIBS"
26299       LIBS="$LIBS $LIBICONV"
26300       if test x$gcc_no_link = xyes; then
26301   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26302 fi
26303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26304 /* end confdefs.h.  */
26305 #include <stdlib.h>
26306 #include <iconv.h>
26307 int
26308 main ()
26309 {
26310 iconv_t cd = iconv_open("","");
26311          iconv(cd,NULL,NULL,NULL,NULL);
26312          iconv_close(cd);
26313   ;
26314   return 0;
26315 }
26316 _ACEOF
26317 if ac_fn_c_try_link "$LINENO"; then :
26318   am_cv_lib_iconv=yes
26319         am_cv_func_iconv=yes
26320 fi
26321 rm -f core conftest.err conftest.$ac_objext \
26322     conftest$ac_exeext conftest.$ac_ext
26323       LIBS="$am_save_LIBS"
26324     fi
26325
26326 fi
26327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
26328 $as_echo "$am_cv_func_iconv" >&6; }
26329   if test "$am_cv_func_iconv" = yes; then
26330
26331 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26332
26333   fi
26334   if test "$am_cv_lib_iconv" = yes; then
26335     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
26336 $as_echo_n "checking how to link with libiconv... " >&6; }
26337     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
26338 $as_echo "$LIBICONV" >&6; }
26339   else
26340             CPPFLAGS="$am_save_CPPFLAGS"
26341     LIBICONV=
26342     LTLIBICONV=
26343   fi
26344
26345
26346
26347   if test "$am_cv_func_iconv" = yes; then
26348     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
26349 $as_echo_n "checking for iconv declaration... " >&6; }
26350     if test "${am_cv_proto_iconv+set}" = set; then :
26351   $as_echo_n "(cached) " >&6
26352 else
26353
26354       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26355 /* end confdefs.h.  */
26356
26357 #include <stdlib.h>
26358 #include <iconv.h>
26359 extern
26360 #ifdef __cplusplus
26361 "C"
26362 #endif
26363 #if defined(__STDC__) || defined(__cplusplus)
26364 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26365 #else
26366 size_t iconv();
26367 #endif
26368
26369 int
26370 main ()
26371 {
26372
26373   ;
26374   return 0;
26375 }
26376 _ACEOF
26377 if ac_fn_c_try_compile "$LINENO"; then :
26378   am_cv_proto_iconv_arg1=""
26379 else
26380   am_cv_proto_iconv_arg1="const"
26381 fi
26382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26383       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);"
26384 fi
26385
26386     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
26387     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
26388          }$am_cv_proto_iconv" >&5
26389 $as_echo "${ac_t:-
26390          }$am_cv_proto_iconv" >&6; }
26391
26392 cat >>confdefs.h <<_ACEOF
26393 #define ICONV_CONST $am_cv_proto_iconv_arg1
26394 _ACEOF
26395
26396   fi
26397
26398
26399 else
26400
26401   # This lets us hard-code the functionality we know we'll have in the cross
26402   # target environment.  "Let" is a sugar-coated word placed on an especially
26403   # dull and tedious hack, actually.
26404   #
26405   # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
26406   # that involve linking, can't be used:
26407   #    "cannot open sim-crt0.o"
26408   #    "cannot open crt0.o"
26409   # etc.  All this is because there currently exists no unified, consistent
26410   # way for top level CC information to be passed down to target directories:
26411   # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
26412   # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
26413   # crosses can be removed.
26414
26415   # If Canadian cross, then don't pick up tools from the build directory.
26416   # Used only in GLIBCXX_EXPORT_INCLUDES.
26417   if test -n "$with_cross_host" &&
26418      test x"$build_alias" != x"$with_cross_host" &&
26419      test x"$build" != x"$target";
26420   then
26421     CANADIAN=yes
26422   else
26423     CANADIAN=no
26424   fi
26425
26426   # Construct crosses by hand, eliminating bits that need ld...
26427   # GLIBCXX_CHECK_MATH_SUPPORT
26428
26429   # First, test for "known" system libraries.  We may be using newlib even
26430   # on a hosted environment.
26431   if test "x${with_newlib}" = "xyes"; then
26432     os_include_dir="os/newlib"
26433     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
26434
26435
26436     # GLIBCXX_CHECK_STDLIB_SUPPORT
26437     $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
26438
26439
26440     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
26441
26442     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
26443
26444     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
26445
26446     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
26447
26448     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
26449
26450     $as_echo "#define HAVE_COSF 1" >>confdefs.h
26451
26452     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
26453
26454     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
26455
26456     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
26457
26458     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
26459
26460     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
26461
26462     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
26463
26464     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
26465
26466     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
26467
26468     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
26469
26470     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
26471
26472     $as_echo "#define HAVE_POWF 1" >>confdefs.h
26473
26474     $as_echo "#define HAVE_SINF 1" >>confdefs.h
26475
26476     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
26477
26478     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
26479
26480     $as_echo "#define HAVE_TANF 1" >>confdefs.h
26481
26482     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
26483
26484
26485     $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26486
26487   else
26488
26489 # Base decisions on target environment.
26490 case "${host}" in
26491   arm*-*-symbianelf*)
26492     # This is a freestanding configuration; there is nothing to do here.
26493     ;;
26494
26495   mips*-sde-elf*)
26496     # These definitions are for the SDE C library rather than newlib.
26497     SECTION_FLAGS='-ffunction-sections -fdata-sections'
26498
26499
26500   # All these tests are for C++; save the language and the compiler flags.
26501   # The CXXFLAGS thing is suspicious, but based on similar bits previously
26502   # found in GLIBCXX_CONFIGURE.
26503
26504   ac_ext=cpp
26505 ac_cpp='$CXXCPP $CPPFLAGS'
26506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26509
26510   ac_test_CXXFLAGS="${CXXFLAGS+set}"
26511   ac_save_CXXFLAGS="$CXXFLAGS"
26512
26513   # Check for maintainer-mode bits.
26514   if test x"$USE_MAINTAINER_MODE" = xno; then
26515     WERROR=''
26516   else
26517     WERROR='-Werror'
26518   fi
26519
26520   # Check for -ffunction-sections -fdata-sections
26521   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
26522 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
26523   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
26524   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26525 /* end confdefs.h.  */
26526 int foo; void bar() { };
26527 int
26528 main ()
26529 {
26530
26531   ;
26532   return 0;
26533 }
26534 _ACEOF
26535 if ac_fn_cxx_try_compile "$LINENO"; then :
26536   ac_fdsections=yes
26537 else
26538   ac_fdsections=no
26539 fi
26540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26541   if test "$ac_test_CXXFLAGS" = set; then
26542     CXXFLAGS="$ac_save_CXXFLAGS"
26543   else
26544     # this is the suspicious part
26545     CXXFLAGS=''
26546   fi
26547   if test x"$ac_fdsections" = x"yes"; then
26548     SECTION_FLAGS='-ffunction-sections -fdata-sections'
26549   fi
26550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
26551 $as_echo "$ac_fdsections" >&6; }
26552
26553   ac_ext=c
26554 ac_cpp='$CPP $CPPFLAGS'
26555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26558
26559
26560
26561
26562
26563   # If we're not using GNU ld, then there's no point in even trying these
26564   # tests.  Check for that first.  We should have already tested for gld
26565   # by now (in libtool), but require it now just to be safe...
26566   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
26567   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
26568
26569
26570
26571   # The name set by libtool depends on the version of libtool.  Shame on us
26572   # for depending on an impl detail, but c'est la vie.  Older versions used
26573   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
26574   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
26575   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
26576   # set (hence we're using an older libtool), then set it.
26577   if test x${with_gnu_ld+set} != xset; then
26578     if test x${ac_cv_prog_gnu_ld+set} != xset; then
26579       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
26580       with_gnu_ld=no
26581     else
26582       with_gnu_ld=$ac_cv_prog_gnu_ld
26583     fi
26584   fi
26585
26586   # Start by getting the version number.  I think the libtool test already
26587   # does some of this, but throws away the result.
26588   glibcxx_ld_is_gold=no
26589   if test x"$with_gnu_ld" = x"yes"; then
26590     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
26591 $as_echo_n "checking for ld version... " >&6; }
26592
26593     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
26594       glibcxx_ld_is_gold=yes
26595     fi
26596     ldver=`$LD --version 2>/dev/null |
26597            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'`
26598
26599     glibcxx_gnu_ld_version=`echo $ldver | \
26600            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
26601     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
26602 $as_echo "$glibcxx_gnu_ld_version" >&6; }
26603   fi
26604
26605   # Set --gc-sections.
26606   glibcxx_have_gc_sections=no
26607   if test "$glibcxx_ld_is_gold" = "yes"; then
26608     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
26609       glibcxx_have_gc_sections=yes
26610     fi
26611   else
26612     glibcxx_gcsections_min_ld=21602
26613     if test x"$with_gnu_ld" = x"yes" &&
26614         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
26615       glibcxx_have_gc_sections=yes
26616     fi
26617   fi
26618   if test "$glibcxx_have_gc_sections" = "yes"; then
26619     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
26620     # NB: This flag only works reliably after 2.16.1. Configure tests
26621     # for this are difficult, so hard wire a value that should work.
26622
26623     ac_test_CFLAGS="${CFLAGS+set}"
26624     ac_save_CFLAGS="$CFLAGS"
26625     CFLAGS='-Wl,--gc-sections'
26626
26627     # Check for -Wl,--gc-sections
26628     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
26629 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
26630     if test x$gcc_no_link = xyes; then
26631   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26632 fi
26633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26634 /* end confdefs.h.  */
26635  int one(void) { return 1; }
26636      int two(void) { return 2; }
26637
26638 int
26639 main ()
26640 {
26641  two();
26642   ;
26643   return 0;
26644 }
26645 _ACEOF
26646 if ac_fn_c_try_link "$LINENO"; then :
26647   ac_gcsections=yes
26648 else
26649   ac_gcsections=no
26650 fi
26651 rm -f core conftest.err conftest.$ac_objext \
26652     conftest$ac_exeext conftest.$ac_ext
26653     if test "$ac_gcsections" = "yes"; then
26654       rm -f conftest.c
26655       touch conftest.c
26656       if $CC -c conftest.c; then
26657         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
26658            grep "Warning: gc-sections option ignored" > /dev/null; then
26659           ac_gcsections=no
26660         fi
26661       fi
26662       rm -f conftest.c conftest.o conftest
26663     fi
26664     if test "$ac_gcsections" = "yes"; then
26665       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
26666     fi
26667     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
26668 $as_echo "$ac_gcsections" >&6; }
26669
26670     if test "$ac_test_CFLAGS" = set; then
26671       CFLAGS="$ac_save_CFLAGS"
26672     else
26673       # this is the suspicious part
26674       CFLAGS=''
26675     fi
26676   fi
26677
26678   # Set -z,relro.
26679   # Note this is only for shared objects.
26680   ac_ld_relro=no
26681   if test x"$with_gnu_ld" = x"yes"; then
26682     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
26683 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
26684     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
26685     if test -n "$cxx_z_relo"; then
26686       OPT_LDFLAGS="-Wl,-z,relro"
26687       ac_ld_relro=yes
26688     fi
26689     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
26690 $as_echo "$ac_ld_relro" >&6; }
26691   fi
26692
26693   # Set linker optimization flags.
26694   if test x"$with_gnu_ld" = x"yes"; then
26695     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
26696   fi
26697
26698
26699
26700
26701
26702   ac_test_CXXFLAGS="${CXXFLAGS+set}"
26703   ac_save_CXXFLAGS="$CXXFLAGS"
26704   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26705
26706     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
26707 $as_echo_n "checking for sin in -lm... " >&6; }
26708 if test "${ac_cv_lib_m_sin+set}" = set; then :
26709   $as_echo_n "(cached) " >&6
26710 else
26711   ac_check_lib_save_LIBS=$LIBS
26712 LIBS="-lm  $LIBS"
26713 if test x$gcc_no_link = xyes; then
26714   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26715 fi
26716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26717 /* end confdefs.h.  */
26718
26719 /* Override any GCC internal prototype to avoid an error.
26720    Use char because int might match the return type of a GCC
26721    builtin and then its argument prototype would still apply.  */
26722 #ifdef __cplusplus
26723 extern "C"
26724 #endif
26725 char sin ();
26726 int
26727 main ()
26728 {
26729 return sin ();
26730   ;
26731   return 0;
26732 }
26733 _ACEOF
26734 if ac_fn_c_try_link "$LINENO"; then :
26735   ac_cv_lib_m_sin=yes
26736 else
26737   ac_cv_lib_m_sin=no
26738 fi
26739 rm -f core conftest.err conftest.$ac_objext \
26740     conftest$ac_exeext conftest.$ac_ext
26741 LIBS=$ac_check_lib_save_LIBS
26742 fi
26743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
26744 $as_echo "$ac_cv_lib_m_sin" >&6; }
26745 if test "x$ac_cv_lib_m_sin" = x""yes; then :
26746   libm="-lm"
26747 fi
26748
26749   ac_save_LIBS="$LIBS"
26750   LIBS="$LIBS $libm"
26751
26752
26753
26754   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
26755 $as_echo_n "checking for isinf declaration... " >&6; }
26756   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
26757     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
26758   $as_echo_n "(cached) " >&6
26759 else
26760
26761
26762       ac_ext=cpp
26763 ac_cpp='$CXXCPP $CPPFLAGS'
26764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26767
26768       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26769 /* end confdefs.h.  */
26770 #include <math.h>
26771                       #ifdef HAVE_IEEEFP_H
26772                       #include <ieeefp.h>
26773                       #endif
26774
26775 int
26776 main ()
26777 {
26778  isinf(0);
26779   ;
26780   return 0;
26781 }
26782 _ACEOF
26783 if ac_fn_cxx_try_compile "$LINENO"; then :
26784   glibcxx_cv_func_isinf_use=yes
26785 else
26786   glibcxx_cv_func_isinf_use=no
26787 fi
26788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26789       ac_ext=c
26790 ac_cpp='$CPP $CPPFLAGS'
26791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26794
26795
26796 fi
26797
26798   fi
26799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
26800 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
26801
26802   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
26803     for ac_func in isinf
26804 do :
26805   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
26806 if test "x$ac_cv_func_isinf" = x""yes; then :
26807   cat >>confdefs.h <<_ACEOF
26808 #define HAVE_ISINF 1
26809 _ACEOF
26810
26811 fi
26812 done
26813
26814   else
26815
26816   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
26817 $as_echo_n "checking for _isinf declaration... " >&6; }
26818   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
26819     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
26820   $as_echo_n "(cached) " >&6
26821 else
26822
26823
26824       ac_ext=cpp
26825 ac_cpp='$CXXCPP $CPPFLAGS'
26826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26829
26830       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26831 /* end confdefs.h.  */
26832 #include <math.h>
26833                       #ifdef HAVE_IEEEFP_H
26834                       #include <ieeefp.h>
26835                       #endif
26836
26837 int
26838 main ()
26839 {
26840  _isinf(0);
26841   ;
26842   return 0;
26843 }
26844 _ACEOF
26845 if ac_fn_cxx_try_compile "$LINENO"; then :
26846   glibcxx_cv_func__isinf_use=yes
26847 else
26848   glibcxx_cv_func__isinf_use=no
26849 fi
26850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26851       ac_ext=c
26852 ac_cpp='$CPP $CPPFLAGS'
26853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26856
26857
26858 fi
26859
26860   fi
26861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
26862 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
26863
26864     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
26865       for ac_func in _isinf
26866 do :
26867   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
26868 if test "x$ac_cv_func__isinf" = x""yes; then :
26869   cat >>confdefs.h <<_ACEOF
26870 #define HAVE__ISINF 1
26871 _ACEOF
26872
26873 fi
26874 done
26875
26876     fi
26877   fi
26878
26879
26880
26881
26882
26883   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
26884 $as_echo_n "checking for isnan declaration... " >&6; }
26885   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
26886     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
26887   $as_echo_n "(cached) " >&6
26888 else
26889
26890
26891       ac_ext=cpp
26892 ac_cpp='$CXXCPP $CPPFLAGS'
26893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26896
26897       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26898 /* end confdefs.h.  */
26899 #include <math.h>
26900                       #ifdef HAVE_IEEEFP_H
26901                       #include <ieeefp.h>
26902                       #endif
26903
26904 int
26905 main ()
26906 {
26907  isnan(0);
26908   ;
26909   return 0;
26910 }
26911 _ACEOF
26912 if ac_fn_cxx_try_compile "$LINENO"; then :
26913   glibcxx_cv_func_isnan_use=yes
26914 else
26915   glibcxx_cv_func_isnan_use=no
26916 fi
26917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26918       ac_ext=c
26919 ac_cpp='$CPP $CPPFLAGS'
26920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26923
26924
26925 fi
26926
26927   fi
26928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
26929 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
26930
26931   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
26932     for ac_func in isnan
26933 do :
26934   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
26935 if test "x$ac_cv_func_isnan" = x""yes; then :
26936   cat >>confdefs.h <<_ACEOF
26937 #define HAVE_ISNAN 1
26938 _ACEOF
26939
26940 fi
26941 done
26942
26943   else
26944
26945   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
26946 $as_echo_n "checking for _isnan declaration... " >&6; }
26947   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
26948     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
26949   $as_echo_n "(cached) " >&6
26950 else
26951
26952
26953       ac_ext=cpp
26954 ac_cpp='$CXXCPP $CPPFLAGS'
26955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26958
26959       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26960 /* end confdefs.h.  */
26961 #include <math.h>
26962                       #ifdef HAVE_IEEEFP_H
26963                       #include <ieeefp.h>
26964                       #endif
26965
26966 int
26967 main ()
26968 {
26969  _isnan(0);
26970   ;
26971   return 0;
26972 }
26973 _ACEOF
26974 if ac_fn_cxx_try_compile "$LINENO"; then :
26975   glibcxx_cv_func__isnan_use=yes
26976 else
26977   glibcxx_cv_func__isnan_use=no
26978 fi
26979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26980       ac_ext=c
26981 ac_cpp='$CPP $CPPFLAGS'
26982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26985
26986
26987 fi
26988
26989   fi
26990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
26991 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
26992
26993     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
26994       for ac_func in _isnan
26995 do :
26996   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
26997 if test "x$ac_cv_func__isnan" = x""yes; then :
26998   cat >>confdefs.h <<_ACEOF
26999 #define HAVE__ISNAN 1
27000 _ACEOF
27001
27002 fi
27003 done
27004
27005     fi
27006   fi
27007
27008
27009
27010
27011
27012   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
27013 $as_echo_n "checking for finite declaration... " >&6; }
27014   if test x${glibcxx_cv_func_finite_use+set} != xset; then
27015     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
27016   $as_echo_n "(cached) " >&6
27017 else
27018
27019
27020       ac_ext=cpp
27021 ac_cpp='$CXXCPP $CPPFLAGS'
27022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27025
27026       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27027 /* end confdefs.h.  */
27028 #include <math.h>
27029                       #ifdef HAVE_IEEEFP_H
27030                       #include <ieeefp.h>
27031                       #endif
27032
27033 int
27034 main ()
27035 {
27036  finite(0);
27037   ;
27038   return 0;
27039 }
27040 _ACEOF
27041 if ac_fn_cxx_try_compile "$LINENO"; then :
27042   glibcxx_cv_func_finite_use=yes
27043 else
27044   glibcxx_cv_func_finite_use=no
27045 fi
27046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27047       ac_ext=c
27048 ac_cpp='$CPP $CPPFLAGS'
27049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27052
27053
27054 fi
27055
27056   fi
27057   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
27058 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
27059
27060   if test x$glibcxx_cv_func_finite_use = x"yes"; then
27061     for ac_func in finite
27062 do :
27063   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
27064 if test "x$ac_cv_func_finite" = x""yes; then :
27065   cat >>confdefs.h <<_ACEOF
27066 #define HAVE_FINITE 1
27067 _ACEOF
27068
27069 fi
27070 done
27071
27072   else
27073
27074   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
27075 $as_echo_n "checking for _finite declaration... " >&6; }
27076   if test x${glibcxx_cv_func__finite_use+set} != xset; then
27077     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
27078   $as_echo_n "(cached) " >&6
27079 else
27080
27081
27082       ac_ext=cpp
27083 ac_cpp='$CXXCPP $CPPFLAGS'
27084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27087
27088       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27089 /* end confdefs.h.  */
27090 #include <math.h>
27091                       #ifdef HAVE_IEEEFP_H
27092                       #include <ieeefp.h>
27093                       #endif
27094
27095 int
27096 main ()
27097 {
27098  _finite(0);
27099   ;
27100   return 0;
27101 }
27102 _ACEOF
27103 if ac_fn_cxx_try_compile "$LINENO"; then :
27104   glibcxx_cv_func__finite_use=yes
27105 else
27106   glibcxx_cv_func__finite_use=no
27107 fi
27108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27109       ac_ext=c
27110 ac_cpp='$CPP $CPPFLAGS'
27111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27114
27115
27116 fi
27117
27118   fi
27119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
27120 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
27121
27122     if test x$glibcxx_cv_func__finite_use = x"yes"; then
27123       for ac_func in _finite
27124 do :
27125   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
27126 if test "x$ac_cv_func__finite" = x""yes; then :
27127   cat >>confdefs.h <<_ACEOF
27128 #define HAVE__FINITE 1
27129 _ACEOF
27130
27131 fi
27132 done
27133
27134     fi
27135   fi
27136
27137
27138
27139
27140
27141   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
27142 $as_echo_n "checking for sincos declaration... " >&6; }
27143   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
27144     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
27145   $as_echo_n "(cached) " >&6
27146 else
27147
27148
27149       ac_ext=cpp
27150 ac_cpp='$CXXCPP $CPPFLAGS'
27151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27154
27155       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27156 /* end confdefs.h.  */
27157 #include <math.h>
27158 int
27159 main ()
27160 {
27161  sincos(0, 0, 0);
27162   ;
27163   return 0;
27164 }
27165 _ACEOF
27166 if ac_fn_cxx_try_compile "$LINENO"; then :
27167   glibcxx_cv_func_sincos_use=yes
27168 else
27169   glibcxx_cv_func_sincos_use=no
27170 fi
27171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27172       ac_ext=c
27173 ac_cpp='$CPP $CPPFLAGS'
27174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27177
27178
27179 fi
27180
27181   fi
27182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
27183 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
27184
27185   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
27186     for ac_func in sincos
27187 do :
27188   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
27189 if test "x$ac_cv_func_sincos" = x""yes; then :
27190   cat >>confdefs.h <<_ACEOF
27191 #define HAVE_SINCOS 1
27192 _ACEOF
27193
27194 fi
27195 done
27196
27197   else
27198
27199   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
27200 $as_echo_n "checking for _sincos declaration... " >&6; }
27201   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
27202     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
27203   $as_echo_n "(cached) " >&6
27204 else
27205
27206
27207       ac_ext=cpp
27208 ac_cpp='$CXXCPP $CPPFLAGS'
27209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27212
27213       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27214 /* end confdefs.h.  */
27215 #include <math.h>
27216 int
27217 main ()
27218 {
27219  _sincos(0, 0, 0);
27220   ;
27221   return 0;
27222 }
27223 _ACEOF
27224 if ac_fn_cxx_try_compile "$LINENO"; then :
27225   glibcxx_cv_func__sincos_use=yes
27226 else
27227   glibcxx_cv_func__sincos_use=no
27228 fi
27229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27230       ac_ext=c
27231 ac_cpp='$CPP $CPPFLAGS'
27232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27235
27236
27237 fi
27238
27239   fi
27240   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
27241 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
27242
27243     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
27244       for ac_func in _sincos
27245 do :
27246   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
27247 if test "x$ac_cv_func__sincos" = x""yes; then :
27248   cat >>confdefs.h <<_ACEOF
27249 #define HAVE__SINCOS 1
27250 _ACEOF
27251
27252 fi
27253 done
27254
27255     fi
27256   fi
27257
27258
27259
27260
27261
27262   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
27263 $as_echo_n "checking for fpclass declaration... " >&6; }
27264   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
27265     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
27266   $as_echo_n "(cached) " >&6
27267 else
27268
27269
27270       ac_ext=cpp
27271 ac_cpp='$CXXCPP $CPPFLAGS'
27272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27275
27276       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27277 /* end confdefs.h.  */
27278 #include <math.h>
27279                       #ifdef HAVE_IEEEFP_H
27280                       #include <ieeefp.h>
27281                       #endif
27282
27283 int
27284 main ()
27285 {
27286  fpclass(0);
27287   ;
27288   return 0;
27289 }
27290 _ACEOF
27291 if ac_fn_cxx_try_compile "$LINENO"; then :
27292   glibcxx_cv_func_fpclass_use=yes
27293 else
27294   glibcxx_cv_func_fpclass_use=no
27295 fi
27296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27297       ac_ext=c
27298 ac_cpp='$CPP $CPPFLAGS'
27299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27302
27303
27304 fi
27305
27306   fi
27307   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
27308 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
27309
27310   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
27311     for ac_func in fpclass
27312 do :
27313   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
27314 if test "x$ac_cv_func_fpclass" = x""yes; then :
27315   cat >>confdefs.h <<_ACEOF
27316 #define HAVE_FPCLASS 1
27317 _ACEOF
27318
27319 fi
27320 done
27321
27322   else
27323
27324   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
27325 $as_echo_n "checking for _fpclass declaration... " >&6; }
27326   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
27327     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
27328   $as_echo_n "(cached) " >&6
27329 else
27330
27331
27332       ac_ext=cpp
27333 ac_cpp='$CXXCPP $CPPFLAGS'
27334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27337
27338       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27339 /* end confdefs.h.  */
27340 #include <math.h>
27341                       #ifdef HAVE_IEEEFP_H
27342                       #include <ieeefp.h>
27343                       #endif
27344
27345 int
27346 main ()
27347 {
27348  _fpclass(0);
27349   ;
27350   return 0;
27351 }
27352 _ACEOF
27353 if ac_fn_cxx_try_compile "$LINENO"; then :
27354   glibcxx_cv_func__fpclass_use=yes
27355 else
27356   glibcxx_cv_func__fpclass_use=no
27357 fi
27358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27359       ac_ext=c
27360 ac_cpp='$CPP $CPPFLAGS'
27361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27364
27365
27366 fi
27367
27368   fi
27369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
27370 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
27371
27372     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
27373       for ac_func in _fpclass
27374 do :
27375   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
27376 if test "x$ac_cv_func__fpclass" = x""yes; then :
27377   cat >>confdefs.h <<_ACEOF
27378 #define HAVE__FPCLASS 1
27379 _ACEOF
27380
27381 fi
27382 done
27383
27384     fi
27385   fi
27386
27387
27388
27389
27390
27391   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
27392 $as_echo_n "checking for qfpclass declaration... " >&6; }
27393   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
27394     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
27395   $as_echo_n "(cached) " >&6
27396 else
27397
27398
27399       ac_ext=cpp
27400 ac_cpp='$CXXCPP $CPPFLAGS'
27401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27404
27405       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27406 /* end confdefs.h.  */
27407 #include <math.h>
27408                       #ifdef HAVE_IEEEFP_H
27409                       #include <ieeefp.h>
27410                       #endif
27411
27412 int
27413 main ()
27414 {
27415  qfpclass(0);
27416   ;
27417   return 0;
27418 }
27419 _ACEOF
27420 if ac_fn_cxx_try_compile "$LINENO"; then :
27421   glibcxx_cv_func_qfpclass_use=yes
27422 else
27423   glibcxx_cv_func_qfpclass_use=no
27424 fi
27425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27426       ac_ext=c
27427 ac_cpp='$CPP $CPPFLAGS'
27428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27431
27432
27433 fi
27434
27435   fi
27436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
27437 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
27438
27439   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
27440     for ac_func in qfpclass
27441 do :
27442   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
27443 if test "x$ac_cv_func_qfpclass" = x""yes; then :
27444   cat >>confdefs.h <<_ACEOF
27445 #define HAVE_QFPCLASS 1
27446 _ACEOF
27447
27448 fi
27449 done
27450
27451   else
27452
27453   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
27454 $as_echo_n "checking for _qfpclass declaration... " >&6; }
27455   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
27456     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
27457   $as_echo_n "(cached) " >&6
27458 else
27459
27460
27461       ac_ext=cpp
27462 ac_cpp='$CXXCPP $CPPFLAGS'
27463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27466
27467       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27468 /* end confdefs.h.  */
27469 #include <math.h>
27470                       #ifdef HAVE_IEEEFP_H
27471                       #include <ieeefp.h>
27472                       #endif
27473
27474 int
27475 main ()
27476 {
27477  _qfpclass(0);
27478   ;
27479   return 0;
27480 }
27481 _ACEOF
27482 if ac_fn_cxx_try_compile "$LINENO"; then :
27483   glibcxx_cv_func__qfpclass_use=yes
27484 else
27485   glibcxx_cv_func__qfpclass_use=no
27486 fi
27487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27488       ac_ext=c
27489 ac_cpp='$CPP $CPPFLAGS'
27490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27493
27494
27495 fi
27496
27497   fi
27498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
27499 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
27500
27501     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
27502       for ac_func in _qfpclass
27503 do :
27504   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
27505 if test "x$ac_cv_func__qfpclass" = x""yes; then :
27506   cat >>confdefs.h <<_ACEOF
27507 #define HAVE__QFPCLASS 1
27508 _ACEOF
27509
27510 fi
27511 done
27512
27513     fi
27514   fi
27515
27516
27517
27518
27519
27520   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
27521 $as_echo_n "checking for hypot declaration... " >&6; }
27522   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
27523     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
27524   $as_echo_n "(cached) " >&6
27525 else
27526
27527
27528       ac_ext=cpp
27529 ac_cpp='$CXXCPP $CPPFLAGS'
27530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27533
27534       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27535 /* end confdefs.h.  */
27536 #include <math.h>
27537 int
27538 main ()
27539 {
27540  hypot(0, 0);
27541   ;
27542   return 0;
27543 }
27544 _ACEOF
27545 if ac_fn_cxx_try_compile "$LINENO"; then :
27546   glibcxx_cv_func_hypot_use=yes
27547 else
27548   glibcxx_cv_func_hypot_use=no
27549 fi
27550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27551       ac_ext=c
27552 ac_cpp='$CPP $CPPFLAGS'
27553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27556
27557
27558 fi
27559
27560   fi
27561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
27562 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
27563
27564   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
27565     for ac_func in hypot
27566 do :
27567   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
27568 if test "x$ac_cv_func_hypot" = x""yes; then :
27569   cat >>confdefs.h <<_ACEOF
27570 #define HAVE_HYPOT 1
27571 _ACEOF
27572
27573 fi
27574 done
27575
27576   else
27577
27578   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
27579 $as_echo_n "checking for _hypot declaration... " >&6; }
27580   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
27581     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
27582   $as_echo_n "(cached) " >&6
27583 else
27584
27585
27586       ac_ext=cpp
27587 ac_cpp='$CXXCPP $CPPFLAGS'
27588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27591
27592       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27593 /* end confdefs.h.  */
27594 #include <math.h>
27595 int
27596 main ()
27597 {
27598  _hypot(0, 0);
27599   ;
27600   return 0;
27601 }
27602 _ACEOF
27603 if ac_fn_cxx_try_compile "$LINENO"; then :
27604   glibcxx_cv_func__hypot_use=yes
27605 else
27606   glibcxx_cv_func__hypot_use=no
27607 fi
27608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27609       ac_ext=c
27610 ac_cpp='$CPP $CPPFLAGS'
27611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27614
27615
27616 fi
27617
27618   fi
27619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
27620 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
27621
27622     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
27623       for ac_func in _hypot
27624 do :
27625   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
27626 if test "x$ac_cv_func__hypot" = x""yes; then :
27627   cat >>confdefs.h <<_ACEOF
27628 #define HAVE__HYPOT 1
27629 _ACEOF
27630
27631 fi
27632 done
27633
27634     fi
27635   fi
27636
27637
27638
27639
27640
27641     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
27642 $as_echo_n "checking for float trig functions... " >&6; }
27643   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
27644   $as_echo_n "(cached) " >&6
27645 else
27646
27647
27648     ac_ext=cpp
27649 ac_cpp='$CXXCPP $CPPFLAGS'
27650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27653
27654     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27655 /* end confdefs.h.  */
27656 #include <math.h>
27657 int
27658 main ()
27659 {
27660 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
27661   ;
27662   return 0;
27663 }
27664 _ACEOF
27665 if ac_fn_cxx_try_compile "$LINENO"; then :
27666   glibcxx_cv_func_float_trig_use=yes
27667 else
27668   glibcxx_cv_func_float_trig_use=no
27669 fi
27670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27671     ac_ext=c
27672 ac_cpp='$CPP $CPPFLAGS'
27673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27676
27677 fi
27678
27679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
27680 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
27681   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
27682     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
27683 do :
27684   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27685 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27686 eval as_val=\$$as_ac_var
27687    if test "x$as_val" = x""yes; then :
27688   cat >>confdefs.h <<_ACEOF
27689 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27690 _ACEOF
27691
27692 fi
27693 done
27694
27695   else
27696     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
27697 $as_echo_n "checking for _float trig functions... " >&6; }
27698     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
27699   $as_echo_n "(cached) " >&6
27700 else
27701
27702
27703       ac_ext=cpp
27704 ac_cpp='$CXXCPP $CPPFLAGS'
27705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27708
27709       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27710 /* end confdefs.h.  */
27711 #include <math.h>
27712 int
27713 main ()
27714 {
27715 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
27716   ;
27717   return 0;
27718 }
27719 _ACEOF
27720 if ac_fn_cxx_try_compile "$LINENO"; then :
27721   glibcxx_cv_func__float_trig_use=yes
27722 else
27723   glibcxx_cv_func__float_trig_use=no
27724 fi
27725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27726       ac_ext=c
27727 ac_cpp='$CPP $CPPFLAGS'
27728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27731
27732 fi
27733
27734     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
27735 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
27736     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
27737       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
27738 do :
27739   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27740 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27741 eval as_val=\$$as_ac_var
27742    if test "x$as_val" = x""yes; then :
27743   cat >>confdefs.h <<_ACEOF
27744 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27745 _ACEOF
27746
27747 fi
27748 done
27749
27750     fi
27751   fi
27752
27753
27754
27755
27756
27757     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
27758 $as_echo_n "checking for float round functions... " >&6; }
27759   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
27760   $as_echo_n "(cached) " >&6
27761 else
27762
27763
27764     ac_ext=cpp
27765 ac_cpp='$CXXCPP $CPPFLAGS'
27766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27769
27770     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27771 /* end confdefs.h.  */
27772 #include <math.h>
27773 int
27774 main ()
27775 {
27776 ceilf (0); floorf (0);
27777   ;
27778   return 0;
27779 }
27780 _ACEOF
27781 if ac_fn_cxx_try_compile "$LINENO"; then :
27782   glibcxx_cv_func_float_round_use=yes
27783 else
27784   glibcxx_cv_func_float_round_use=no
27785 fi
27786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27787     ac_ext=c
27788 ac_cpp='$CPP $CPPFLAGS'
27789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27792
27793 fi
27794
27795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
27796 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
27797   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
27798     for ac_func in ceilf floorf
27799 do :
27800   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27801 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27802 eval as_val=\$$as_ac_var
27803    if test "x$as_val" = x""yes; then :
27804   cat >>confdefs.h <<_ACEOF
27805 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27806 _ACEOF
27807
27808 fi
27809 done
27810
27811   else
27812     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
27813 $as_echo_n "checking for _float round functions... " >&6; }
27814     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
27815   $as_echo_n "(cached) " >&6
27816 else
27817
27818
27819       ac_ext=cpp
27820 ac_cpp='$CXXCPP $CPPFLAGS'
27821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27824
27825       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27826 /* end confdefs.h.  */
27827 #include <math.h>
27828 int
27829 main ()
27830 {
27831 _ceilf (0); _floorf (0);
27832   ;
27833   return 0;
27834 }
27835 _ACEOF
27836 if ac_fn_cxx_try_compile "$LINENO"; then :
27837   glibcxx_cv_func__float_round_use=yes
27838 else
27839   glibcxx_cv_func__float_round_use=no
27840 fi
27841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27842       ac_ext=c
27843 ac_cpp='$CPP $CPPFLAGS'
27844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27847
27848 fi
27849
27850     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
27851 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
27852     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
27853       for ac_func in _ceilf _floorf
27854 do :
27855   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27856 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27857 eval as_val=\$$as_ac_var
27858    if test "x$as_val" = x""yes; then :
27859   cat >>confdefs.h <<_ACEOF
27860 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27861 _ACEOF
27862
27863 fi
27864 done
27865
27866     fi
27867   fi
27868
27869
27870
27871
27872
27873
27874   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
27875 $as_echo_n "checking for expf declaration... " >&6; }
27876   if test x${glibcxx_cv_func_expf_use+set} != xset; then
27877     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
27878   $as_echo_n "(cached) " >&6
27879 else
27880
27881
27882       ac_ext=cpp
27883 ac_cpp='$CXXCPP $CPPFLAGS'
27884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27887
27888       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27889 /* end confdefs.h.  */
27890 #include <math.h>
27891                       #ifdef HAVE_IEEEFP_H
27892                       #include <ieeefp.h>
27893                       #endif
27894
27895 int
27896 main ()
27897 {
27898  expf(0);
27899   ;
27900   return 0;
27901 }
27902 _ACEOF
27903 if ac_fn_cxx_try_compile "$LINENO"; then :
27904   glibcxx_cv_func_expf_use=yes
27905 else
27906   glibcxx_cv_func_expf_use=no
27907 fi
27908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27909       ac_ext=c
27910 ac_cpp='$CPP $CPPFLAGS'
27911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27914
27915
27916 fi
27917
27918   fi
27919   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
27920 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
27921
27922   if test x$glibcxx_cv_func_expf_use = x"yes"; then
27923     for ac_func in expf
27924 do :
27925   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
27926 if test "x$ac_cv_func_expf" = x""yes; then :
27927   cat >>confdefs.h <<_ACEOF
27928 #define HAVE_EXPF 1
27929 _ACEOF
27930
27931 fi
27932 done
27933
27934   else
27935
27936   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
27937 $as_echo_n "checking for _expf declaration... " >&6; }
27938   if test x${glibcxx_cv_func__expf_use+set} != xset; then
27939     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
27940   $as_echo_n "(cached) " >&6
27941 else
27942
27943
27944       ac_ext=cpp
27945 ac_cpp='$CXXCPP $CPPFLAGS'
27946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27949
27950       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27951 /* end confdefs.h.  */
27952 #include <math.h>
27953                       #ifdef HAVE_IEEEFP_H
27954                       #include <ieeefp.h>
27955                       #endif
27956
27957 int
27958 main ()
27959 {
27960  _expf(0);
27961   ;
27962   return 0;
27963 }
27964 _ACEOF
27965 if ac_fn_cxx_try_compile "$LINENO"; then :
27966   glibcxx_cv_func__expf_use=yes
27967 else
27968   glibcxx_cv_func__expf_use=no
27969 fi
27970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27971       ac_ext=c
27972 ac_cpp='$CPP $CPPFLAGS'
27973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27976
27977
27978 fi
27979
27980   fi
27981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
27982 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
27983
27984     if test x$glibcxx_cv_func__expf_use = x"yes"; then
27985       for ac_func in _expf
27986 do :
27987   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
27988 if test "x$ac_cv_func__expf" = x""yes; then :
27989   cat >>confdefs.h <<_ACEOF
27990 #define HAVE__EXPF 1
27991 _ACEOF
27992
27993 fi
27994 done
27995
27996     fi
27997   fi
27998
27999
28000
28001
28002
28003   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
28004 $as_echo_n "checking for isnanf declaration... " >&6; }
28005   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
28006     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
28007   $as_echo_n "(cached) " >&6
28008 else
28009
28010
28011       ac_ext=cpp
28012 ac_cpp='$CXXCPP $CPPFLAGS'
28013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28016
28017       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28018 /* end confdefs.h.  */
28019 #include <math.h>
28020                       #ifdef HAVE_IEEEFP_H
28021                       #include <ieeefp.h>
28022                       #endif
28023
28024 int
28025 main ()
28026 {
28027  isnanf(0);
28028   ;
28029   return 0;
28030 }
28031 _ACEOF
28032 if ac_fn_cxx_try_compile "$LINENO"; then :
28033   glibcxx_cv_func_isnanf_use=yes
28034 else
28035   glibcxx_cv_func_isnanf_use=no
28036 fi
28037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28038       ac_ext=c
28039 ac_cpp='$CPP $CPPFLAGS'
28040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28043
28044
28045 fi
28046
28047   fi
28048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
28049 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
28050
28051   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
28052     for ac_func in isnanf
28053 do :
28054   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
28055 if test "x$ac_cv_func_isnanf" = x""yes; then :
28056   cat >>confdefs.h <<_ACEOF
28057 #define HAVE_ISNANF 1
28058 _ACEOF
28059
28060 fi
28061 done
28062
28063   else
28064
28065   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
28066 $as_echo_n "checking for _isnanf declaration... " >&6; }
28067   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
28068     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
28069   $as_echo_n "(cached) " >&6
28070 else
28071
28072
28073       ac_ext=cpp
28074 ac_cpp='$CXXCPP $CPPFLAGS'
28075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28078
28079       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28080 /* end confdefs.h.  */
28081 #include <math.h>
28082                       #ifdef HAVE_IEEEFP_H
28083                       #include <ieeefp.h>
28084                       #endif
28085
28086 int
28087 main ()
28088 {
28089  _isnanf(0);
28090   ;
28091   return 0;
28092 }
28093 _ACEOF
28094 if ac_fn_cxx_try_compile "$LINENO"; then :
28095   glibcxx_cv_func__isnanf_use=yes
28096 else
28097   glibcxx_cv_func__isnanf_use=no
28098 fi
28099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28100       ac_ext=c
28101 ac_cpp='$CPP $CPPFLAGS'
28102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28105
28106
28107 fi
28108
28109   fi
28110   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
28111 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
28112
28113     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28114       for ac_func in _isnanf
28115 do :
28116   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
28117 if test "x$ac_cv_func__isnanf" = x""yes; then :
28118   cat >>confdefs.h <<_ACEOF
28119 #define HAVE__ISNANF 1
28120 _ACEOF
28121
28122 fi
28123 done
28124
28125     fi
28126   fi
28127
28128
28129
28130
28131
28132   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
28133 $as_echo_n "checking for isinff declaration... " >&6; }
28134   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
28135     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
28136   $as_echo_n "(cached) " >&6
28137 else
28138
28139
28140       ac_ext=cpp
28141 ac_cpp='$CXXCPP $CPPFLAGS'
28142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28145
28146       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28147 /* end confdefs.h.  */
28148 #include <math.h>
28149                       #ifdef HAVE_IEEEFP_H
28150                       #include <ieeefp.h>
28151                       #endif
28152
28153 int
28154 main ()
28155 {
28156  isinff(0);
28157   ;
28158   return 0;
28159 }
28160 _ACEOF
28161 if ac_fn_cxx_try_compile "$LINENO"; then :
28162   glibcxx_cv_func_isinff_use=yes
28163 else
28164   glibcxx_cv_func_isinff_use=no
28165 fi
28166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28167       ac_ext=c
28168 ac_cpp='$CPP $CPPFLAGS'
28169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28172
28173
28174 fi
28175
28176   fi
28177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
28178 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
28179
28180   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
28181     for ac_func in isinff
28182 do :
28183   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
28184 if test "x$ac_cv_func_isinff" = x""yes; then :
28185   cat >>confdefs.h <<_ACEOF
28186 #define HAVE_ISINFF 1
28187 _ACEOF
28188
28189 fi
28190 done
28191
28192   else
28193
28194   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
28195 $as_echo_n "checking for _isinff declaration... " >&6; }
28196   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
28197     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
28198   $as_echo_n "(cached) " >&6
28199 else
28200
28201
28202       ac_ext=cpp
28203 ac_cpp='$CXXCPP $CPPFLAGS'
28204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28207
28208       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28209 /* end confdefs.h.  */
28210 #include <math.h>
28211                       #ifdef HAVE_IEEEFP_H
28212                       #include <ieeefp.h>
28213                       #endif
28214
28215 int
28216 main ()
28217 {
28218  _isinff(0);
28219   ;
28220   return 0;
28221 }
28222 _ACEOF
28223 if ac_fn_cxx_try_compile "$LINENO"; then :
28224   glibcxx_cv_func__isinff_use=yes
28225 else
28226   glibcxx_cv_func__isinff_use=no
28227 fi
28228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28229       ac_ext=c
28230 ac_cpp='$CPP $CPPFLAGS'
28231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28234
28235
28236 fi
28237
28238   fi
28239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
28240 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
28241
28242     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
28243       for ac_func in _isinff
28244 do :
28245   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
28246 if test "x$ac_cv_func__isinff" = x""yes; then :
28247   cat >>confdefs.h <<_ACEOF
28248 #define HAVE__ISINFF 1
28249 _ACEOF
28250
28251 fi
28252 done
28253
28254     fi
28255   fi
28256
28257
28258
28259
28260
28261   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
28262 $as_echo_n "checking for atan2f declaration... " >&6; }
28263   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
28264     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
28265   $as_echo_n "(cached) " >&6
28266 else
28267
28268
28269       ac_ext=cpp
28270 ac_cpp='$CXXCPP $CPPFLAGS'
28271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28274
28275       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28276 /* end confdefs.h.  */
28277 #include <math.h>
28278 int
28279 main ()
28280 {
28281  atan2f(0, 0);
28282   ;
28283   return 0;
28284 }
28285 _ACEOF
28286 if ac_fn_cxx_try_compile "$LINENO"; then :
28287   glibcxx_cv_func_atan2f_use=yes
28288 else
28289   glibcxx_cv_func_atan2f_use=no
28290 fi
28291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28292       ac_ext=c
28293 ac_cpp='$CPP $CPPFLAGS'
28294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28297
28298
28299 fi
28300
28301   fi
28302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
28303 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
28304
28305   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
28306     for ac_func in atan2f
28307 do :
28308   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
28309 if test "x$ac_cv_func_atan2f" = x""yes; then :
28310   cat >>confdefs.h <<_ACEOF
28311 #define HAVE_ATAN2F 1
28312 _ACEOF
28313
28314 fi
28315 done
28316
28317   else
28318
28319   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
28320 $as_echo_n "checking for _atan2f declaration... " >&6; }
28321   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
28322     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
28323   $as_echo_n "(cached) " >&6
28324 else
28325
28326
28327       ac_ext=cpp
28328 ac_cpp='$CXXCPP $CPPFLAGS'
28329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28332
28333       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28334 /* end confdefs.h.  */
28335 #include <math.h>
28336 int
28337 main ()
28338 {
28339  _atan2f(0, 0);
28340   ;
28341   return 0;
28342 }
28343 _ACEOF
28344 if ac_fn_cxx_try_compile "$LINENO"; then :
28345   glibcxx_cv_func__atan2f_use=yes
28346 else
28347   glibcxx_cv_func__atan2f_use=no
28348 fi
28349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28350       ac_ext=c
28351 ac_cpp='$CPP $CPPFLAGS'
28352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28355
28356
28357 fi
28358
28359   fi
28360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
28361 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
28362
28363     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
28364       for ac_func in _atan2f
28365 do :
28366   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
28367 if test "x$ac_cv_func__atan2f" = x""yes; then :
28368   cat >>confdefs.h <<_ACEOF
28369 #define HAVE__ATAN2F 1
28370 _ACEOF
28371
28372 fi
28373 done
28374
28375     fi
28376   fi
28377
28378
28379
28380
28381
28382   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
28383 $as_echo_n "checking for fabsf declaration... " >&6; }
28384   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
28385     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
28386   $as_echo_n "(cached) " >&6
28387 else
28388
28389
28390       ac_ext=cpp
28391 ac_cpp='$CXXCPP $CPPFLAGS'
28392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28395
28396       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28397 /* end confdefs.h.  */
28398 #include <math.h>
28399                       #ifdef HAVE_IEEEFP_H
28400                       #include <ieeefp.h>
28401                       #endif
28402
28403 int
28404 main ()
28405 {
28406  fabsf(0);
28407   ;
28408   return 0;
28409 }
28410 _ACEOF
28411 if ac_fn_cxx_try_compile "$LINENO"; then :
28412   glibcxx_cv_func_fabsf_use=yes
28413 else
28414   glibcxx_cv_func_fabsf_use=no
28415 fi
28416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28417       ac_ext=c
28418 ac_cpp='$CPP $CPPFLAGS'
28419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28422
28423
28424 fi
28425
28426   fi
28427   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
28428 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
28429
28430   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
28431     for ac_func in fabsf
28432 do :
28433   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
28434 if test "x$ac_cv_func_fabsf" = x""yes; then :
28435   cat >>confdefs.h <<_ACEOF
28436 #define HAVE_FABSF 1
28437 _ACEOF
28438
28439 fi
28440 done
28441
28442   else
28443
28444   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
28445 $as_echo_n "checking for _fabsf declaration... " >&6; }
28446   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
28447     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
28448   $as_echo_n "(cached) " >&6
28449 else
28450
28451
28452       ac_ext=cpp
28453 ac_cpp='$CXXCPP $CPPFLAGS'
28454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28457
28458       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28459 /* end confdefs.h.  */
28460 #include <math.h>
28461                       #ifdef HAVE_IEEEFP_H
28462                       #include <ieeefp.h>
28463                       #endif
28464
28465 int
28466 main ()
28467 {
28468  _fabsf(0);
28469   ;
28470   return 0;
28471 }
28472 _ACEOF
28473 if ac_fn_cxx_try_compile "$LINENO"; then :
28474   glibcxx_cv_func__fabsf_use=yes
28475 else
28476   glibcxx_cv_func__fabsf_use=no
28477 fi
28478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28479       ac_ext=c
28480 ac_cpp='$CPP $CPPFLAGS'
28481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28484
28485
28486 fi
28487
28488   fi
28489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
28490 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
28491
28492     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
28493       for ac_func in _fabsf
28494 do :
28495   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
28496 if test "x$ac_cv_func__fabsf" = x""yes; then :
28497   cat >>confdefs.h <<_ACEOF
28498 #define HAVE__FABSF 1
28499 _ACEOF
28500
28501 fi
28502 done
28503
28504     fi
28505   fi
28506
28507
28508
28509
28510
28511   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
28512 $as_echo_n "checking for fmodf declaration... " >&6; }
28513   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
28514     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
28515   $as_echo_n "(cached) " >&6
28516 else
28517
28518
28519       ac_ext=cpp
28520 ac_cpp='$CXXCPP $CPPFLAGS'
28521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28524
28525       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28526 /* end confdefs.h.  */
28527 #include <math.h>
28528 int
28529 main ()
28530 {
28531  fmodf(0, 0);
28532   ;
28533   return 0;
28534 }
28535 _ACEOF
28536 if ac_fn_cxx_try_compile "$LINENO"; then :
28537   glibcxx_cv_func_fmodf_use=yes
28538 else
28539   glibcxx_cv_func_fmodf_use=no
28540 fi
28541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28542       ac_ext=c
28543 ac_cpp='$CPP $CPPFLAGS'
28544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28547
28548
28549 fi
28550
28551   fi
28552   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
28553 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
28554
28555   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
28556     for ac_func in fmodf
28557 do :
28558   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
28559 if test "x$ac_cv_func_fmodf" = x""yes; then :
28560   cat >>confdefs.h <<_ACEOF
28561 #define HAVE_FMODF 1
28562 _ACEOF
28563
28564 fi
28565 done
28566
28567   else
28568
28569   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
28570 $as_echo_n "checking for _fmodf declaration... " >&6; }
28571   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
28572     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
28573   $as_echo_n "(cached) " >&6
28574 else
28575
28576
28577       ac_ext=cpp
28578 ac_cpp='$CXXCPP $CPPFLAGS'
28579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28582
28583       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28584 /* end confdefs.h.  */
28585 #include <math.h>
28586 int
28587 main ()
28588 {
28589  _fmodf(0, 0);
28590   ;
28591   return 0;
28592 }
28593 _ACEOF
28594 if ac_fn_cxx_try_compile "$LINENO"; then :
28595   glibcxx_cv_func__fmodf_use=yes
28596 else
28597   glibcxx_cv_func__fmodf_use=no
28598 fi
28599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28600       ac_ext=c
28601 ac_cpp='$CPP $CPPFLAGS'
28602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28605
28606
28607 fi
28608
28609   fi
28610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
28611 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
28612
28613     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
28614       for ac_func in _fmodf
28615 do :
28616   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
28617 if test "x$ac_cv_func__fmodf" = x""yes; then :
28618   cat >>confdefs.h <<_ACEOF
28619 #define HAVE__FMODF 1
28620 _ACEOF
28621
28622 fi
28623 done
28624
28625     fi
28626   fi
28627
28628
28629
28630
28631
28632   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
28633 $as_echo_n "checking for frexpf declaration... " >&6; }
28634   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
28635     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
28636   $as_echo_n "(cached) " >&6
28637 else
28638
28639
28640       ac_ext=cpp
28641 ac_cpp='$CXXCPP $CPPFLAGS'
28642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28645
28646       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28647 /* end confdefs.h.  */
28648 #include <math.h>
28649 int
28650 main ()
28651 {
28652  frexpf(0, 0);
28653   ;
28654   return 0;
28655 }
28656 _ACEOF
28657 if ac_fn_cxx_try_compile "$LINENO"; then :
28658   glibcxx_cv_func_frexpf_use=yes
28659 else
28660   glibcxx_cv_func_frexpf_use=no
28661 fi
28662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28663       ac_ext=c
28664 ac_cpp='$CPP $CPPFLAGS'
28665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28668
28669
28670 fi
28671
28672   fi
28673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
28674 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
28675
28676   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
28677     for ac_func in frexpf
28678 do :
28679   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
28680 if test "x$ac_cv_func_frexpf" = x""yes; then :
28681   cat >>confdefs.h <<_ACEOF
28682 #define HAVE_FREXPF 1
28683 _ACEOF
28684
28685 fi
28686 done
28687
28688   else
28689
28690   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
28691 $as_echo_n "checking for _frexpf declaration... " >&6; }
28692   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
28693     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
28694   $as_echo_n "(cached) " >&6
28695 else
28696
28697
28698       ac_ext=cpp
28699 ac_cpp='$CXXCPP $CPPFLAGS'
28700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28703
28704       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28705 /* end confdefs.h.  */
28706 #include <math.h>
28707 int
28708 main ()
28709 {
28710  _frexpf(0, 0);
28711   ;
28712   return 0;
28713 }
28714 _ACEOF
28715 if ac_fn_cxx_try_compile "$LINENO"; then :
28716   glibcxx_cv_func__frexpf_use=yes
28717 else
28718   glibcxx_cv_func__frexpf_use=no
28719 fi
28720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28721       ac_ext=c
28722 ac_cpp='$CPP $CPPFLAGS'
28723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28726
28727
28728 fi
28729
28730   fi
28731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
28732 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
28733
28734     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
28735       for ac_func in _frexpf
28736 do :
28737   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
28738 if test "x$ac_cv_func__frexpf" = x""yes; then :
28739   cat >>confdefs.h <<_ACEOF
28740 #define HAVE__FREXPF 1
28741 _ACEOF
28742
28743 fi
28744 done
28745
28746     fi
28747   fi
28748
28749
28750
28751
28752
28753   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
28754 $as_echo_n "checking for hypotf declaration... " >&6; }
28755   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
28756     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
28757   $as_echo_n "(cached) " >&6
28758 else
28759
28760
28761       ac_ext=cpp
28762 ac_cpp='$CXXCPP $CPPFLAGS'
28763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28766
28767       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28768 /* end confdefs.h.  */
28769 #include <math.h>
28770 int
28771 main ()
28772 {
28773  hypotf(0, 0);
28774   ;
28775   return 0;
28776 }
28777 _ACEOF
28778 if ac_fn_cxx_try_compile "$LINENO"; then :
28779   glibcxx_cv_func_hypotf_use=yes
28780 else
28781   glibcxx_cv_func_hypotf_use=no
28782 fi
28783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28784       ac_ext=c
28785 ac_cpp='$CPP $CPPFLAGS'
28786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28789
28790
28791 fi
28792
28793   fi
28794   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
28795 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
28796
28797   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
28798     for ac_func in hypotf
28799 do :
28800   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
28801 if test "x$ac_cv_func_hypotf" = x""yes; then :
28802   cat >>confdefs.h <<_ACEOF
28803 #define HAVE_HYPOTF 1
28804 _ACEOF
28805
28806 fi
28807 done
28808
28809   else
28810
28811   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
28812 $as_echo_n "checking for _hypotf declaration... " >&6; }
28813   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
28814     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
28815   $as_echo_n "(cached) " >&6
28816 else
28817
28818
28819       ac_ext=cpp
28820 ac_cpp='$CXXCPP $CPPFLAGS'
28821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28824
28825       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28826 /* end confdefs.h.  */
28827 #include <math.h>
28828 int
28829 main ()
28830 {
28831  _hypotf(0, 0);
28832   ;
28833   return 0;
28834 }
28835 _ACEOF
28836 if ac_fn_cxx_try_compile "$LINENO"; then :
28837   glibcxx_cv_func__hypotf_use=yes
28838 else
28839   glibcxx_cv_func__hypotf_use=no
28840 fi
28841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28842       ac_ext=c
28843 ac_cpp='$CPP $CPPFLAGS'
28844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28847
28848
28849 fi
28850
28851   fi
28852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
28853 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
28854
28855     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
28856       for ac_func in _hypotf
28857 do :
28858   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
28859 if test "x$ac_cv_func__hypotf" = x""yes; then :
28860   cat >>confdefs.h <<_ACEOF
28861 #define HAVE__HYPOTF 1
28862 _ACEOF
28863
28864 fi
28865 done
28866
28867     fi
28868   fi
28869
28870
28871
28872
28873
28874   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
28875 $as_echo_n "checking for ldexpf declaration... " >&6; }
28876   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
28877     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
28878   $as_echo_n "(cached) " >&6
28879 else
28880
28881
28882       ac_ext=cpp
28883 ac_cpp='$CXXCPP $CPPFLAGS'
28884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28887
28888       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28889 /* end confdefs.h.  */
28890 #include <math.h>
28891 int
28892 main ()
28893 {
28894  ldexpf(0, 0);
28895   ;
28896   return 0;
28897 }
28898 _ACEOF
28899 if ac_fn_cxx_try_compile "$LINENO"; then :
28900   glibcxx_cv_func_ldexpf_use=yes
28901 else
28902   glibcxx_cv_func_ldexpf_use=no
28903 fi
28904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28905       ac_ext=c
28906 ac_cpp='$CPP $CPPFLAGS'
28907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28910
28911
28912 fi
28913
28914   fi
28915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
28916 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
28917
28918   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
28919     for ac_func in ldexpf
28920 do :
28921   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
28922 if test "x$ac_cv_func_ldexpf" = x""yes; then :
28923   cat >>confdefs.h <<_ACEOF
28924 #define HAVE_LDEXPF 1
28925 _ACEOF
28926
28927 fi
28928 done
28929
28930   else
28931
28932   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
28933 $as_echo_n "checking for _ldexpf declaration... " >&6; }
28934   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
28935     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
28936   $as_echo_n "(cached) " >&6
28937 else
28938
28939
28940       ac_ext=cpp
28941 ac_cpp='$CXXCPP $CPPFLAGS'
28942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28945
28946       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28947 /* end confdefs.h.  */
28948 #include <math.h>
28949 int
28950 main ()
28951 {
28952  _ldexpf(0, 0);
28953   ;
28954   return 0;
28955 }
28956 _ACEOF
28957 if ac_fn_cxx_try_compile "$LINENO"; then :
28958   glibcxx_cv_func__ldexpf_use=yes
28959 else
28960   glibcxx_cv_func__ldexpf_use=no
28961 fi
28962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28963       ac_ext=c
28964 ac_cpp='$CPP $CPPFLAGS'
28965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28968
28969
28970 fi
28971
28972   fi
28973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
28974 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
28975
28976     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
28977       for ac_func in _ldexpf
28978 do :
28979   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
28980 if test "x$ac_cv_func__ldexpf" = x""yes; then :
28981   cat >>confdefs.h <<_ACEOF
28982 #define HAVE__LDEXPF 1
28983 _ACEOF
28984
28985 fi
28986 done
28987
28988     fi
28989   fi
28990
28991
28992
28993
28994
28995   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
28996 $as_echo_n "checking for logf declaration... " >&6; }
28997   if test x${glibcxx_cv_func_logf_use+set} != xset; then
28998     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
28999   $as_echo_n "(cached) " >&6
29000 else
29001
29002
29003       ac_ext=cpp
29004 ac_cpp='$CXXCPP $CPPFLAGS'
29005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29008
29009       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29010 /* end confdefs.h.  */
29011 #include <math.h>
29012                       #ifdef HAVE_IEEEFP_H
29013                       #include <ieeefp.h>
29014                       #endif
29015
29016 int
29017 main ()
29018 {
29019  logf(0);
29020   ;
29021   return 0;
29022 }
29023 _ACEOF
29024 if ac_fn_cxx_try_compile "$LINENO"; then :
29025   glibcxx_cv_func_logf_use=yes
29026 else
29027   glibcxx_cv_func_logf_use=no
29028 fi
29029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29030       ac_ext=c
29031 ac_cpp='$CPP $CPPFLAGS'
29032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29035
29036
29037 fi
29038
29039   fi
29040   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
29041 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
29042
29043   if test x$glibcxx_cv_func_logf_use = x"yes"; then
29044     for ac_func in logf
29045 do :
29046   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
29047 if test "x$ac_cv_func_logf" = x""yes; then :
29048   cat >>confdefs.h <<_ACEOF
29049 #define HAVE_LOGF 1
29050 _ACEOF
29051
29052 fi
29053 done
29054
29055   else
29056
29057   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
29058 $as_echo_n "checking for _logf declaration... " >&6; }
29059   if test x${glibcxx_cv_func__logf_use+set} != xset; then
29060     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
29061   $as_echo_n "(cached) " >&6
29062 else
29063
29064
29065       ac_ext=cpp
29066 ac_cpp='$CXXCPP $CPPFLAGS'
29067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29070
29071       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29072 /* end confdefs.h.  */
29073 #include <math.h>
29074                       #ifdef HAVE_IEEEFP_H
29075                       #include <ieeefp.h>
29076                       #endif
29077
29078 int
29079 main ()
29080 {
29081  _logf(0);
29082   ;
29083   return 0;
29084 }
29085 _ACEOF
29086 if ac_fn_cxx_try_compile "$LINENO"; then :
29087   glibcxx_cv_func__logf_use=yes
29088 else
29089   glibcxx_cv_func__logf_use=no
29090 fi
29091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29092       ac_ext=c
29093 ac_cpp='$CPP $CPPFLAGS'
29094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29097
29098
29099 fi
29100
29101   fi
29102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
29103 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
29104
29105     if test x$glibcxx_cv_func__logf_use = x"yes"; then
29106       for ac_func in _logf
29107 do :
29108   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
29109 if test "x$ac_cv_func__logf" = x""yes; then :
29110   cat >>confdefs.h <<_ACEOF
29111 #define HAVE__LOGF 1
29112 _ACEOF
29113
29114 fi
29115 done
29116
29117     fi
29118   fi
29119
29120
29121
29122
29123
29124   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
29125 $as_echo_n "checking for log10f declaration... " >&6; }
29126   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
29127     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
29128   $as_echo_n "(cached) " >&6
29129 else
29130
29131
29132       ac_ext=cpp
29133 ac_cpp='$CXXCPP $CPPFLAGS'
29134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29137
29138       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29139 /* end confdefs.h.  */
29140 #include <math.h>
29141                       #ifdef HAVE_IEEEFP_H
29142                       #include <ieeefp.h>
29143                       #endif
29144
29145 int
29146 main ()
29147 {
29148  log10f(0);
29149   ;
29150   return 0;
29151 }
29152 _ACEOF
29153 if ac_fn_cxx_try_compile "$LINENO"; then :
29154   glibcxx_cv_func_log10f_use=yes
29155 else
29156   glibcxx_cv_func_log10f_use=no
29157 fi
29158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29159       ac_ext=c
29160 ac_cpp='$CPP $CPPFLAGS'
29161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29164
29165
29166 fi
29167
29168   fi
29169   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
29170 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
29171
29172   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
29173     for ac_func in log10f
29174 do :
29175   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
29176 if test "x$ac_cv_func_log10f" = x""yes; then :
29177   cat >>confdefs.h <<_ACEOF
29178 #define HAVE_LOG10F 1
29179 _ACEOF
29180
29181 fi
29182 done
29183
29184   else
29185
29186   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
29187 $as_echo_n "checking for _log10f declaration... " >&6; }
29188   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
29189     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
29190   $as_echo_n "(cached) " >&6
29191 else
29192
29193
29194       ac_ext=cpp
29195 ac_cpp='$CXXCPP $CPPFLAGS'
29196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29199
29200       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29201 /* end confdefs.h.  */
29202 #include <math.h>
29203                       #ifdef HAVE_IEEEFP_H
29204                       #include <ieeefp.h>
29205                       #endif
29206
29207 int
29208 main ()
29209 {
29210  _log10f(0);
29211   ;
29212   return 0;
29213 }
29214 _ACEOF
29215 if ac_fn_cxx_try_compile "$LINENO"; then :
29216   glibcxx_cv_func__log10f_use=yes
29217 else
29218   glibcxx_cv_func__log10f_use=no
29219 fi
29220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29221       ac_ext=c
29222 ac_cpp='$CPP $CPPFLAGS'
29223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29226
29227
29228 fi
29229
29230   fi
29231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
29232 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
29233
29234     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
29235       for ac_func in _log10f
29236 do :
29237   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
29238 if test "x$ac_cv_func__log10f" = x""yes; then :
29239   cat >>confdefs.h <<_ACEOF
29240 #define HAVE__LOG10F 1
29241 _ACEOF
29242
29243 fi
29244 done
29245
29246     fi
29247   fi
29248
29249
29250
29251
29252
29253   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
29254 $as_echo_n "checking for modff declaration... " >&6; }
29255   if test x${glibcxx_cv_func_modff_use+set} != xset; then
29256     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
29257   $as_echo_n "(cached) " >&6
29258 else
29259
29260
29261       ac_ext=cpp
29262 ac_cpp='$CXXCPP $CPPFLAGS'
29263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29266
29267       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29268 /* end confdefs.h.  */
29269 #include <math.h>
29270 int
29271 main ()
29272 {
29273  modff(0, 0);
29274   ;
29275   return 0;
29276 }
29277 _ACEOF
29278 if ac_fn_cxx_try_compile "$LINENO"; then :
29279   glibcxx_cv_func_modff_use=yes
29280 else
29281   glibcxx_cv_func_modff_use=no
29282 fi
29283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29284       ac_ext=c
29285 ac_cpp='$CPP $CPPFLAGS'
29286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29289
29290
29291 fi
29292
29293   fi
29294   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
29295 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
29296
29297   if test x$glibcxx_cv_func_modff_use = x"yes"; then
29298     for ac_func in modff
29299 do :
29300   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
29301 if test "x$ac_cv_func_modff" = x""yes; then :
29302   cat >>confdefs.h <<_ACEOF
29303 #define HAVE_MODFF 1
29304 _ACEOF
29305
29306 fi
29307 done
29308
29309   else
29310
29311   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
29312 $as_echo_n "checking for _modff declaration... " >&6; }
29313   if test x${glibcxx_cv_func__modff_use+set} != xset; then
29314     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
29315   $as_echo_n "(cached) " >&6
29316 else
29317
29318
29319       ac_ext=cpp
29320 ac_cpp='$CXXCPP $CPPFLAGS'
29321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29324
29325       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29326 /* end confdefs.h.  */
29327 #include <math.h>
29328 int
29329 main ()
29330 {
29331  _modff(0, 0);
29332   ;
29333   return 0;
29334 }
29335 _ACEOF
29336 if ac_fn_cxx_try_compile "$LINENO"; then :
29337   glibcxx_cv_func__modff_use=yes
29338 else
29339   glibcxx_cv_func__modff_use=no
29340 fi
29341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29342       ac_ext=c
29343 ac_cpp='$CPP $CPPFLAGS'
29344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29347
29348
29349 fi
29350
29351   fi
29352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
29353 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
29354
29355     if test x$glibcxx_cv_func__modff_use = x"yes"; then
29356       for ac_func in _modff
29357 do :
29358   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
29359 if test "x$ac_cv_func__modff" = x""yes; then :
29360   cat >>confdefs.h <<_ACEOF
29361 #define HAVE__MODFF 1
29362 _ACEOF
29363
29364 fi
29365 done
29366
29367     fi
29368   fi
29369
29370
29371
29372
29373
29374   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
29375 $as_echo_n "checking for modf declaration... " >&6; }
29376   if test x${glibcxx_cv_func_modf_use+set} != xset; then
29377     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
29378   $as_echo_n "(cached) " >&6
29379 else
29380
29381
29382       ac_ext=cpp
29383 ac_cpp='$CXXCPP $CPPFLAGS'
29384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29387
29388       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29389 /* end confdefs.h.  */
29390 #include <math.h>
29391 int
29392 main ()
29393 {
29394  modf(0, 0);
29395   ;
29396   return 0;
29397 }
29398 _ACEOF
29399 if ac_fn_cxx_try_compile "$LINENO"; then :
29400   glibcxx_cv_func_modf_use=yes
29401 else
29402   glibcxx_cv_func_modf_use=no
29403 fi
29404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29405       ac_ext=c
29406 ac_cpp='$CPP $CPPFLAGS'
29407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29410
29411
29412 fi
29413
29414   fi
29415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
29416 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
29417
29418   if test x$glibcxx_cv_func_modf_use = x"yes"; then
29419     for ac_func in modf
29420 do :
29421   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
29422 if test "x$ac_cv_func_modf" = x""yes; then :
29423   cat >>confdefs.h <<_ACEOF
29424 #define HAVE_MODF 1
29425 _ACEOF
29426
29427 fi
29428 done
29429
29430   else
29431
29432   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
29433 $as_echo_n "checking for _modf declaration... " >&6; }
29434   if test x${glibcxx_cv_func__modf_use+set} != xset; then
29435     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
29436   $as_echo_n "(cached) " >&6
29437 else
29438
29439
29440       ac_ext=cpp
29441 ac_cpp='$CXXCPP $CPPFLAGS'
29442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29445
29446       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29447 /* end confdefs.h.  */
29448 #include <math.h>
29449 int
29450 main ()
29451 {
29452  _modf(0, 0);
29453   ;
29454   return 0;
29455 }
29456 _ACEOF
29457 if ac_fn_cxx_try_compile "$LINENO"; then :
29458   glibcxx_cv_func__modf_use=yes
29459 else
29460   glibcxx_cv_func__modf_use=no
29461 fi
29462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29463       ac_ext=c
29464 ac_cpp='$CPP $CPPFLAGS'
29465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29468
29469
29470 fi
29471
29472   fi
29473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
29474 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
29475
29476     if test x$glibcxx_cv_func__modf_use = x"yes"; then
29477       for ac_func in _modf
29478 do :
29479   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
29480 if test "x$ac_cv_func__modf" = x""yes; then :
29481   cat >>confdefs.h <<_ACEOF
29482 #define HAVE__MODF 1
29483 _ACEOF
29484
29485 fi
29486 done
29487
29488     fi
29489   fi
29490
29491
29492
29493
29494
29495   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
29496 $as_echo_n "checking for powf declaration... " >&6; }
29497   if test x${glibcxx_cv_func_powf_use+set} != xset; then
29498     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
29499   $as_echo_n "(cached) " >&6
29500 else
29501
29502
29503       ac_ext=cpp
29504 ac_cpp='$CXXCPP $CPPFLAGS'
29505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29508
29509       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29510 /* end confdefs.h.  */
29511 #include <math.h>
29512 int
29513 main ()
29514 {
29515  powf(0, 0);
29516   ;
29517   return 0;
29518 }
29519 _ACEOF
29520 if ac_fn_cxx_try_compile "$LINENO"; then :
29521   glibcxx_cv_func_powf_use=yes
29522 else
29523   glibcxx_cv_func_powf_use=no
29524 fi
29525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29526       ac_ext=c
29527 ac_cpp='$CPP $CPPFLAGS'
29528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29531
29532
29533 fi
29534
29535   fi
29536   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
29537 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
29538
29539   if test x$glibcxx_cv_func_powf_use = x"yes"; then
29540     for ac_func in powf
29541 do :
29542   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
29543 if test "x$ac_cv_func_powf" = x""yes; then :
29544   cat >>confdefs.h <<_ACEOF
29545 #define HAVE_POWF 1
29546 _ACEOF
29547
29548 fi
29549 done
29550
29551   else
29552
29553   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
29554 $as_echo_n "checking for _powf declaration... " >&6; }
29555   if test x${glibcxx_cv_func__powf_use+set} != xset; then
29556     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
29557   $as_echo_n "(cached) " >&6
29558 else
29559
29560
29561       ac_ext=cpp
29562 ac_cpp='$CXXCPP $CPPFLAGS'
29563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29566
29567       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29568 /* end confdefs.h.  */
29569 #include <math.h>
29570 int
29571 main ()
29572 {
29573  _powf(0, 0);
29574   ;
29575   return 0;
29576 }
29577 _ACEOF
29578 if ac_fn_cxx_try_compile "$LINENO"; then :
29579   glibcxx_cv_func__powf_use=yes
29580 else
29581   glibcxx_cv_func__powf_use=no
29582 fi
29583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29584       ac_ext=c
29585 ac_cpp='$CPP $CPPFLAGS'
29586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29589
29590
29591 fi
29592
29593   fi
29594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
29595 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
29596
29597     if test x$glibcxx_cv_func__powf_use = x"yes"; then
29598       for ac_func in _powf
29599 do :
29600   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
29601 if test "x$ac_cv_func__powf" = x""yes; then :
29602   cat >>confdefs.h <<_ACEOF
29603 #define HAVE__POWF 1
29604 _ACEOF
29605
29606 fi
29607 done
29608
29609     fi
29610   fi
29611
29612
29613
29614
29615
29616   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
29617 $as_echo_n "checking for sqrtf declaration... " >&6; }
29618   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
29619     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
29620   $as_echo_n "(cached) " >&6
29621 else
29622
29623
29624       ac_ext=cpp
29625 ac_cpp='$CXXCPP $CPPFLAGS'
29626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29629
29630       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29631 /* end confdefs.h.  */
29632 #include <math.h>
29633                       #ifdef HAVE_IEEEFP_H
29634                       #include <ieeefp.h>
29635                       #endif
29636
29637 int
29638 main ()
29639 {
29640  sqrtf(0);
29641   ;
29642   return 0;
29643 }
29644 _ACEOF
29645 if ac_fn_cxx_try_compile "$LINENO"; then :
29646   glibcxx_cv_func_sqrtf_use=yes
29647 else
29648   glibcxx_cv_func_sqrtf_use=no
29649 fi
29650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29651       ac_ext=c
29652 ac_cpp='$CPP $CPPFLAGS'
29653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29656
29657
29658 fi
29659
29660   fi
29661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
29662 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
29663
29664   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
29665     for ac_func in sqrtf
29666 do :
29667   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
29668 if test "x$ac_cv_func_sqrtf" = x""yes; then :
29669   cat >>confdefs.h <<_ACEOF
29670 #define HAVE_SQRTF 1
29671 _ACEOF
29672
29673 fi
29674 done
29675
29676   else
29677
29678   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
29679 $as_echo_n "checking for _sqrtf declaration... " >&6; }
29680   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
29681     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
29682   $as_echo_n "(cached) " >&6
29683 else
29684
29685
29686       ac_ext=cpp
29687 ac_cpp='$CXXCPP $CPPFLAGS'
29688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29691
29692       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29693 /* end confdefs.h.  */
29694 #include <math.h>
29695                       #ifdef HAVE_IEEEFP_H
29696                       #include <ieeefp.h>
29697                       #endif
29698
29699 int
29700 main ()
29701 {
29702  _sqrtf(0);
29703   ;
29704   return 0;
29705 }
29706 _ACEOF
29707 if ac_fn_cxx_try_compile "$LINENO"; then :
29708   glibcxx_cv_func__sqrtf_use=yes
29709 else
29710   glibcxx_cv_func__sqrtf_use=no
29711 fi
29712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29713       ac_ext=c
29714 ac_cpp='$CPP $CPPFLAGS'
29715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29718
29719
29720 fi
29721
29722   fi
29723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
29724 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
29725
29726     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
29727       for ac_func in _sqrtf
29728 do :
29729   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
29730 if test "x$ac_cv_func__sqrtf" = x""yes; then :
29731   cat >>confdefs.h <<_ACEOF
29732 #define HAVE__SQRTF 1
29733 _ACEOF
29734
29735 fi
29736 done
29737
29738     fi
29739   fi
29740
29741
29742
29743
29744
29745   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
29746 $as_echo_n "checking for sincosf declaration... " >&6; }
29747   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
29748     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
29749   $as_echo_n "(cached) " >&6
29750 else
29751
29752
29753       ac_ext=cpp
29754 ac_cpp='$CXXCPP $CPPFLAGS'
29755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29758
29759       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29760 /* end confdefs.h.  */
29761 #include <math.h>
29762 int
29763 main ()
29764 {
29765  sincosf(0, 0, 0);
29766   ;
29767   return 0;
29768 }
29769 _ACEOF
29770 if ac_fn_cxx_try_compile "$LINENO"; then :
29771   glibcxx_cv_func_sincosf_use=yes
29772 else
29773   glibcxx_cv_func_sincosf_use=no
29774 fi
29775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29776       ac_ext=c
29777 ac_cpp='$CPP $CPPFLAGS'
29778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29781
29782
29783 fi
29784
29785   fi
29786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
29787 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
29788
29789   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
29790     for ac_func in sincosf
29791 do :
29792   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
29793 if test "x$ac_cv_func_sincosf" = x""yes; then :
29794   cat >>confdefs.h <<_ACEOF
29795 #define HAVE_SINCOSF 1
29796 _ACEOF
29797
29798 fi
29799 done
29800
29801   else
29802
29803   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
29804 $as_echo_n "checking for _sincosf declaration... " >&6; }
29805   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
29806     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
29807   $as_echo_n "(cached) " >&6
29808 else
29809
29810
29811       ac_ext=cpp
29812 ac_cpp='$CXXCPP $CPPFLAGS'
29813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29816
29817       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29818 /* end confdefs.h.  */
29819 #include <math.h>
29820 int
29821 main ()
29822 {
29823  _sincosf(0, 0, 0);
29824   ;
29825   return 0;
29826 }
29827 _ACEOF
29828 if ac_fn_cxx_try_compile "$LINENO"; then :
29829   glibcxx_cv_func__sincosf_use=yes
29830 else
29831   glibcxx_cv_func__sincosf_use=no
29832 fi
29833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29834       ac_ext=c
29835 ac_cpp='$CPP $CPPFLAGS'
29836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29839
29840
29841 fi
29842
29843   fi
29844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
29845 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
29846
29847     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
29848       for ac_func in _sincosf
29849 do :
29850   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
29851 if test "x$ac_cv_func__sincosf" = x""yes; then :
29852   cat >>confdefs.h <<_ACEOF
29853 #define HAVE__SINCOSF 1
29854 _ACEOF
29855
29856 fi
29857 done
29858
29859     fi
29860   fi
29861
29862
29863
29864
29865
29866   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
29867 $as_echo_n "checking for finitef declaration... " >&6; }
29868   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
29869     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
29870   $as_echo_n "(cached) " >&6
29871 else
29872
29873
29874       ac_ext=cpp
29875 ac_cpp='$CXXCPP $CPPFLAGS'
29876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29879
29880       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29881 /* end confdefs.h.  */
29882 #include <math.h>
29883                       #ifdef HAVE_IEEEFP_H
29884                       #include <ieeefp.h>
29885                       #endif
29886
29887 int
29888 main ()
29889 {
29890  finitef(0);
29891   ;
29892   return 0;
29893 }
29894 _ACEOF
29895 if ac_fn_cxx_try_compile "$LINENO"; then :
29896   glibcxx_cv_func_finitef_use=yes
29897 else
29898   glibcxx_cv_func_finitef_use=no
29899 fi
29900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29901       ac_ext=c
29902 ac_cpp='$CPP $CPPFLAGS'
29903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29906
29907
29908 fi
29909
29910   fi
29911   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
29912 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
29913
29914   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
29915     for ac_func in finitef
29916 do :
29917   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
29918 if test "x$ac_cv_func_finitef" = x""yes; then :
29919   cat >>confdefs.h <<_ACEOF
29920 #define HAVE_FINITEF 1
29921 _ACEOF
29922
29923 fi
29924 done
29925
29926   else
29927
29928   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
29929 $as_echo_n "checking for _finitef declaration... " >&6; }
29930   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
29931     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
29932   $as_echo_n "(cached) " >&6
29933 else
29934
29935
29936       ac_ext=cpp
29937 ac_cpp='$CXXCPP $CPPFLAGS'
29938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29941
29942       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29943 /* end confdefs.h.  */
29944 #include <math.h>
29945                       #ifdef HAVE_IEEEFP_H
29946                       #include <ieeefp.h>
29947                       #endif
29948
29949 int
29950 main ()
29951 {
29952  _finitef(0);
29953   ;
29954   return 0;
29955 }
29956 _ACEOF
29957 if ac_fn_cxx_try_compile "$LINENO"; then :
29958   glibcxx_cv_func__finitef_use=yes
29959 else
29960   glibcxx_cv_func__finitef_use=no
29961 fi
29962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29963       ac_ext=c
29964 ac_cpp='$CPP $CPPFLAGS'
29965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29968
29969
29970 fi
29971
29972   fi
29973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
29974 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
29975
29976     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
29977       for ac_func in _finitef
29978 do :
29979   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
29980 if test "x$ac_cv_func__finitef" = x""yes; then :
29981   cat >>confdefs.h <<_ACEOF
29982 #define HAVE__FINITEF 1
29983 _ACEOF
29984
29985 fi
29986 done
29987
29988     fi
29989   fi
29990
29991
29992
29993
29994
29995     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
29996 $as_echo_n "checking for long double trig functions... " >&6; }
29997   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
29998   $as_echo_n "(cached) " >&6
29999 else
30000
30001
30002     ac_ext=cpp
30003 ac_cpp='$CXXCPP $CPPFLAGS'
30004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30007
30008     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30009 /* end confdefs.h.  */
30010 #include <math.h>
30011 int
30012 main ()
30013 {
30014 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
30015   ;
30016   return 0;
30017 }
30018 _ACEOF
30019 if ac_fn_cxx_try_compile "$LINENO"; then :
30020   glibcxx_cv_func_long_double_trig_use=yes
30021 else
30022   glibcxx_cv_func_long_double_trig_use=no
30023 fi
30024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30025     ac_ext=c
30026 ac_cpp='$CPP $CPPFLAGS'
30027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30030
30031 fi
30032
30033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
30034 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
30035   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
30036     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
30037 do :
30038   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30039 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30040 eval as_val=\$$as_ac_var
30041    if test "x$as_val" = x""yes; then :
30042   cat >>confdefs.h <<_ACEOF
30043 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30044 _ACEOF
30045
30046 fi
30047 done
30048
30049   else
30050     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
30051 $as_echo_n "checking for _long double trig functions... " >&6; }
30052     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
30053   $as_echo_n "(cached) " >&6
30054 else
30055
30056
30057       ac_ext=cpp
30058 ac_cpp='$CXXCPP $CPPFLAGS'
30059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30062
30063       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30064 /* end confdefs.h.  */
30065 #include <math.h>
30066 int
30067 main ()
30068 {
30069 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
30070   ;
30071   return 0;
30072 }
30073 _ACEOF
30074 if ac_fn_cxx_try_compile "$LINENO"; then :
30075   glibcxx_cv_func__long_double_trig_use=yes
30076 else
30077   glibcxx_cv_func__long_double_trig_use=no
30078 fi
30079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30080       ac_ext=c
30081 ac_cpp='$CPP $CPPFLAGS'
30082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30085
30086 fi
30087
30088     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
30089 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
30090     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
30091       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
30092 do :
30093   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30094 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30095 eval as_val=\$$as_ac_var
30096    if test "x$as_val" = x""yes; then :
30097   cat >>confdefs.h <<_ACEOF
30098 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30099 _ACEOF
30100
30101 fi
30102 done
30103
30104     fi
30105   fi
30106
30107
30108
30109
30110
30111     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30112 $as_echo_n "checking for long double round functions... " >&6; }
30113   if test "${glibcxx_cv_func_long_double_round_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 int
30128 main ()
30129 {
30130 ceill (0); floorl (0);
30131   ;
30132   return 0;
30133 }
30134 _ACEOF
30135 if ac_fn_cxx_try_compile "$LINENO"; then :
30136   glibcxx_cv_func_long_double_round_use=yes
30137 else
30138   glibcxx_cv_func_long_double_round_use=no
30139 fi
30140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30141     ac_ext=c
30142 ac_cpp='$CPP $CPPFLAGS'
30143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30146
30147 fi
30148
30149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
30150 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
30151   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
30152     for ac_func in ceill floorl
30153 do :
30154   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30155 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30156 eval as_val=\$$as_ac_var
30157    if test "x$as_val" = x""yes; then :
30158   cat >>confdefs.h <<_ACEOF
30159 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30160 _ACEOF
30161
30162 fi
30163 done
30164
30165   else
30166     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
30167 $as_echo_n "checking for _long double round functions... " >&6; }
30168     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
30169   $as_echo_n "(cached) " >&6
30170 else
30171
30172
30173       ac_ext=cpp
30174 ac_cpp='$CXXCPP $CPPFLAGS'
30175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30178
30179       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30180 /* end confdefs.h.  */
30181 #include <math.h>
30182 int
30183 main ()
30184 {
30185 _ceill (0); _floorl (0);
30186   ;
30187   return 0;
30188 }
30189 _ACEOF
30190 if ac_fn_cxx_try_compile "$LINENO"; then :
30191   glibcxx_cv_func__long_double_round_use=yes
30192 else
30193   glibcxx_cv_func__long_double_round_use=no
30194 fi
30195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30196       ac_ext=c
30197 ac_cpp='$CPP $CPPFLAGS'
30198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30201
30202 fi
30203
30204     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
30205 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
30206     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
30207       for ac_func in _ceill _floorl
30208 do :
30209   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30210 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30211 eval as_val=\$$as_ac_var
30212    if test "x$as_val" = x""yes; then :
30213   cat >>confdefs.h <<_ACEOF
30214 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30215 _ACEOF
30216
30217 fi
30218 done
30219
30220     fi
30221   fi
30222
30223
30224
30225
30226
30227
30228   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
30229 $as_echo_n "checking for isnanl declaration... " >&6; }
30230   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
30231     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
30232   $as_echo_n "(cached) " >&6
30233 else
30234
30235
30236       ac_ext=cpp
30237 ac_cpp='$CXXCPP $CPPFLAGS'
30238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30241
30242       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30243 /* end confdefs.h.  */
30244 #include <math.h>
30245                       #ifdef HAVE_IEEEFP_H
30246                       #include <ieeefp.h>
30247                       #endif
30248
30249 int
30250 main ()
30251 {
30252  isnanl(0);
30253   ;
30254   return 0;
30255 }
30256 _ACEOF
30257 if ac_fn_cxx_try_compile "$LINENO"; then :
30258   glibcxx_cv_func_isnanl_use=yes
30259 else
30260   glibcxx_cv_func_isnanl_use=no
30261 fi
30262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30263       ac_ext=c
30264 ac_cpp='$CPP $CPPFLAGS'
30265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30268
30269
30270 fi
30271
30272   fi
30273   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
30274 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
30275
30276   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
30277     for ac_func in isnanl
30278 do :
30279   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
30280 if test "x$ac_cv_func_isnanl" = x""yes; then :
30281   cat >>confdefs.h <<_ACEOF
30282 #define HAVE_ISNANL 1
30283 _ACEOF
30284
30285 fi
30286 done
30287
30288   else
30289
30290   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
30291 $as_echo_n "checking for _isnanl declaration... " >&6; }
30292   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
30293     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
30294   $as_echo_n "(cached) " >&6
30295 else
30296
30297
30298       ac_ext=cpp
30299 ac_cpp='$CXXCPP $CPPFLAGS'
30300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30303
30304       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30305 /* end confdefs.h.  */
30306 #include <math.h>
30307                       #ifdef HAVE_IEEEFP_H
30308                       #include <ieeefp.h>
30309                       #endif
30310
30311 int
30312 main ()
30313 {
30314  _isnanl(0);
30315   ;
30316   return 0;
30317 }
30318 _ACEOF
30319 if ac_fn_cxx_try_compile "$LINENO"; then :
30320   glibcxx_cv_func__isnanl_use=yes
30321 else
30322   glibcxx_cv_func__isnanl_use=no
30323 fi
30324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30325       ac_ext=c
30326 ac_cpp='$CPP $CPPFLAGS'
30327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30330
30331
30332 fi
30333
30334   fi
30335   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
30336 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
30337
30338     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
30339       for ac_func in _isnanl
30340 do :
30341   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
30342 if test "x$ac_cv_func__isnanl" = x""yes; then :
30343   cat >>confdefs.h <<_ACEOF
30344 #define HAVE__ISNANL 1
30345 _ACEOF
30346
30347 fi
30348 done
30349
30350     fi
30351   fi
30352
30353
30354
30355
30356
30357   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
30358 $as_echo_n "checking for isinfl declaration... " >&6; }
30359   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
30360     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
30361   $as_echo_n "(cached) " >&6
30362 else
30363
30364
30365       ac_ext=cpp
30366 ac_cpp='$CXXCPP $CPPFLAGS'
30367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30370
30371       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30372 /* end confdefs.h.  */
30373 #include <math.h>
30374                       #ifdef HAVE_IEEEFP_H
30375                       #include <ieeefp.h>
30376                       #endif
30377
30378 int
30379 main ()
30380 {
30381  isinfl(0);
30382   ;
30383   return 0;
30384 }
30385 _ACEOF
30386 if ac_fn_cxx_try_compile "$LINENO"; then :
30387   glibcxx_cv_func_isinfl_use=yes
30388 else
30389   glibcxx_cv_func_isinfl_use=no
30390 fi
30391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30392       ac_ext=c
30393 ac_cpp='$CPP $CPPFLAGS'
30394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30397
30398
30399 fi
30400
30401   fi
30402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
30403 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
30404
30405   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
30406     for ac_func in isinfl
30407 do :
30408   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
30409 if test "x$ac_cv_func_isinfl" = x""yes; then :
30410   cat >>confdefs.h <<_ACEOF
30411 #define HAVE_ISINFL 1
30412 _ACEOF
30413
30414 fi
30415 done
30416
30417   else
30418
30419   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
30420 $as_echo_n "checking for _isinfl declaration... " >&6; }
30421   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
30422     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
30423   $as_echo_n "(cached) " >&6
30424 else
30425
30426
30427       ac_ext=cpp
30428 ac_cpp='$CXXCPP $CPPFLAGS'
30429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30432
30433       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30434 /* end confdefs.h.  */
30435 #include <math.h>
30436                       #ifdef HAVE_IEEEFP_H
30437                       #include <ieeefp.h>
30438                       #endif
30439
30440 int
30441 main ()
30442 {
30443  _isinfl(0);
30444   ;
30445   return 0;
30446 }
30447 _ACEOF
30448 if ac_fn_cxx_try_compile "$LINENO"; then :
30449   glibcxx_cv_func__isinfl_use=yes
30450 else
30451   glibcxx_cv_func__isinfl_use=no
30452 fi
30453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30454       ac_ext=c
30455 ac_cpp='$CPP $CPPFLAGS'
30456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30459
30460
30461 fi
30462
30463   fi
30464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
30465 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
30466
30467     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
30468       for ac_func in _isinfl
30469 do :
30470   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
30471 if test "x$ac_cv_func__isinfl" = x""yes; then :
30472   cat >>confdefs.h <<_ACEOF
30473 #define HAVE__ISINFL 1
30474 _ACEOF
30475
30476 fi
30477 done
30478
30479     fi
30480   fi
30481
30482
30483
30484
30485
30486   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
30487 $as_echo_n "checking for atan2l declaration... " >&6; }
30488   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
30489     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
30490   $as_echo_n "(cached) " >&6
30491 else
30492
30493
30494       ac_ext=cpp
30495 ac_cpp='$CXXCPP $CPPFLAGS'
30496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30499
30500       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30501 /* end confdefs.h.  */
30502 #include <math.h>
30503 int
30504 main ()
30505 {
30506  atan2l(0, 0);
30507   ;
30508   return 0;
30509 }
30510 _ACEOF
30511 if ac_fn_cxx_try_compile "$LINENO"; then :
30512   glibcxx_cv_func_atan2l_use=yes
30513 else
30514   glibcxx_cv_func_atan2l_use=no
30515 fi
30516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30517       ac_ext=c
30518 ac_cpp='$CPP $CPPFLAGS'
30519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30522
30523
30524 fi
30525
30526   fi
30527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
30528 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
30529
30530   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
30531     for ac_func in atan2l
30532 do :
30533   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
30534 if test "x$ac_cv_func_atan2l" = x""yes; then :
30535   cat >>confdefs.h <<_ACEOF
30536 #define HAVE_ATAN2L 1
30537 _ACEOF
30538
30539 fi
30540 done
30541
30542   else
30543
30544   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
30545 $as_echo_n "checking for _atan2l declaration... " >&6; }
30546   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
30547     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
30548   $as_echo_n "(cached) " >&6
30549 else
30550
30551
30552       ac_ext=cpp
30553 ac_cpp='$CXXCPP $CPPFLAGS'
30554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30557
30558       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30559 /* end confdefs.h.  */
30560 #include <math.h>
30561 int
30562 main ()
30563 {
30564  _atan2l(0, 0);
30565   ;
30566   return 0;
30567 }
30568 _ACEOF
30569 if ac_fn_cxx_try_compile "$LINENO"; then :
30570   glibcxx_cv_func__atan2l_use=yes
30571 else
30572   glibcxx_cv_func__atan2l_use=no
30573 fi
30574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30575       ac_ext=c
30576 ac_cpp='$CPP $CPPFLAGS'
30577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30580
30581
30582 fi
30583
30584   fi
30585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
30586 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
30587
30588     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
30589       for ac_func in _atan2l
30590 do :
30591   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
30592 if test "x$ac_cv_func__atan2l" = x""yes; then :
30593   cat >>confdefs.h <<_ACEOF
30594 #define HAVE__ATAN2L 1
30595 _ACEOF
30596
30597 fi
30598 done
30599
30600     fi
30601   fi
30602
30603
30604
30605
30606
30607   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
30608 $as_echo_n "checking for expl declaration... " >&6; }
30609   if test x${glibcxx_cv_func_expl_use+set} != xset; then
30610     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
30611   $as_echo_n "(cached) " >&6
30612 else
30613
30614
30615       ac_ext=cpp
30616 ac_cpp='$CXXCPP $CPPFLAGS'
30617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30620
30621       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30622 /* end confdefs.h.  */
30623 #include <math.h>
30624                       #ifdef HAVE_IEEEFP_H
30625                       #include <ieeefp.h>
30626                       #endif
30627
30628 int
30629 main ()
30630 {
30631  expl(0);
30632   ;
30633   return 0;
30634 }
30635 _ACEOF
30636 if ac_fn_cxx_try_compile "$LINENO"; then :
30637   glibcxx_cv_func_expl_use=yes
30638 else
30639   glibcxx_cv_func_expl_use=no
30640 fi
30641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30642       ac_ext=c
30643 ac_cpp='$CPP $CPPFLAGS'
30644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30647
30648
30649 fi
30650
30651   fi
30652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
30653 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
30654
30655   if test x$glibcxx_cv_func_expl_use = x"yes"; then
30656     for ac_func in expl
30657 do :
30658   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
30659 if test "x$ac_cv_func_expl" = x""yes; then :
30660   cat >>confdefs.h <<_ACEOF
30661 #define HAVE_EXPL 1
30662 _ACEOF
30663
30664 fi
30665 done
30666
30667   else
30668
30669   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
30670 $as_echo_n "checking for _expl declaration... " >&6; }
30671   if test x${glibcxx_cv_func__expl_use+set} != xset; then
30672     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
30673   $as_echo_n "(cached) " >&6
30674 else
30675
30676
30677       ac_ext=cpp
30678 ac_cpp='$CXXCPP $CPPFLAGS'
30679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30682
30683       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30684 /* end confdefs.h.  */
30685 #include <math.h>
30686                       #ifdef HAVE_IEEEFP_H
30687                       #include <ieeefp.h>
30688                       #endif
30689
30690 int
30691 main ()
30692 {
30693  _expl(0);
30694   ;
30695   return 0;
30696 }
30697 _ACEOF
30698 if ac_fn_cxx_try_compile "$LINENO"; then :
30699   glibcxx_cv_func__expl_use=yes
30700 else
30701   glibcxx_cv_func__expl_use=no
30702 fi
30703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30704       ac_ext=c
30705 ac_cpp='$CPP $CPPFLAGS'
30706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30709
30710
30711 fi
30712
30713   fi
30714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
30715 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
30716
30717     if test x$glibcxx_cv_func__expl_use = x"yes"; then
30718       for ac_func in _expl
30719 do :
30720   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
30721 if test "x$ac_cv_func__expl" = x""yes; then :
30722   cat >>confdefs.h <<_ACEOF
30723 #define HAVE__EXPL 1
30724 _ACEOF
30725
30726 fi
30727 done
30728
30729     fi
30730   fi
30731
30732
30733
30734
30735
30736   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
30737 $as_echo_n "checking for fabsl declaration... " >&6; }
30738   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
30739     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
30740   $as_echo_n "(cached) " >&6
30741 else
30742
30743
30744       ac_ext=cpp
30745 ac_cpp='$CXXCPP $CPPFLAGS'
30746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30749
30750       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30751 /* end confdefs.h.  */
30752 #include <math.h>
30753                       #ifdef HAVE_IEEEFP_H
30754                       #include <ieeefp.h>
30755                       #endif
30756
30757 int
30758 main ()
30759 {
30760  fabsl(0);
30761   ;
30762   return 0;
30763 }
30764 _ACEOF
30765 if ac_fn_cxx_try_compile "$LINENO"; then :
30766   glibcxx_cv_func_fabsl_use=yes
30767 else
30768   glibcxx_cv_func_fabsl_use=no
30769 fi
30770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30771       ac_ext=c
30772 ac_cpp='$CPP $CPPFLAGS'
30773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30776
30777
30778 fi
30779
30780   fi
30781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
30782 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
30783
30784   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
30785     for ac_func in fabsl
30786 do :
30787   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
30788 if test "x$ac_cv_func_fabsl" = x""yes; then :
30789   cat >>confdefs.h <<_ACEOF
30790 #define HAVE_FABSL 1
30791 _ACEOF
30792
30793 fi
30794 done
30795
30796   else
30797
30798   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
30799 $as_echo_n "checking for _fabsl declaration... " >&6; }
30800   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
30801     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
30802   $as_echo_n "(cached) " >&6
30803 else
30804
30805
30806       ac_ext=cpp
30807 ac_cpp='$CXXCPP $CPPFLAGS'
30808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30811
30812       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30813 /* end confdefs.h.  */
30814 #include <math.h>
30815                       #ifdef HAVE_IEEEFP_H
30816                       #include <ieeefp.h>
30817                       #endif
30818
30819 int
30820 main ()
30821 {
30822  _fabsl(0);
30823   ;
30824   return 0;
30825 }
30826 _ACEOF
30827 if ac_fn_cxx_try_compile "$LINENO"; then :
30828   glibcxx_cv_func__fabsl_use=yes
30829 else
30830   glibcxx_cv_func__fabsl_use=no
30831 fi
30832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30833       ac_ext=c
30834 ac_cpp='$CPP $CPPFLAGS'
30835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30838
30839
30840 fi
30841
30842   fi
30843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
30844 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
30845
30846     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
30847       for ac_func in _fabsl
30848 do :
30849   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
30850 if test "x$ac_cv_func__fabsl" = x""yes; then :
30851   cat >>confdefs.h <<_ACEOF
30852 #define HAVE__FABSL 1
30853 _ACEOF
30854
30855 fi
30856 done
30857
30858     fi
30859   fi
30860
30861
30862
30863
30864
30865   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
30866 $as_echo_n "checking for fmodl declaration... " >&6; }
30867   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
30868     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
30869   $as_echo_n "(cached) " >&6
30870 else
30871
30872
30873       ac_ext=cpp
30874 ac_cpp='$CXXCPP $CPPFLAGS'
30875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30878
30879       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30880 /* end confdefs.h.  */
30881 #include <math.h>
30882 int
30883 main ()
30884 {
30885  fmodl(0, 0);
30886   ;
30887   return 0;
30888 }
30889 _ACEOF
30890 if ac_fn_cxx_try_compile "$LINENO"; then :
30891   glibcxx_cv_func_fmodl_use=yes
30892 else
30893   glibcxx_cv_func_fmodl_use=no
30894 fi
30895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30896       ac_ext=c
30897 ac_cpp='$CPP $CPPFLAGS'
30898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30901
30902
30903 fi
30904
30905   fi
30906   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
30907 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
30908
30909   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
30910     for ac_func in fmodl
30911 do :
30912   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
30913 if test "x$ac_cv_func_fmodl" = x""yes; then :
30914   cat >>confdefs.h <<_ACEOF
30915 #define HAVE_FMODL 1
30916 _ACEOF
30917
30918 fi
30919 done
30920
30921   else
30922
30923   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
30924 $as_echo_n "checking for _fmodl declaration... " >&6; }
30925   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
30926     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
30927   $as_echo_n "(cached) " >&6
30928 else
30929
30930
30931       ac_ext=cpp
30932 ac_cpp='$CXXCPP $CPPFLAGS'
30933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30936
30937       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30938 /* end confdefs.h.  */
30939 #include <math.h>
30940 int
30941 main ()
30942 {
30943  _fmodl(0, 0);
30944   ;
30945   return 0;
30946 }
30947 _ACEOF
30948 if ac_fn_cxx_try_compile "$LINENO"; then :
30949   glibcxx_cv_func__fmodl_use=yes
30950 else
30951   glibcxx_cv_func__fmodl_use=no
30952 fi
30953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30954       ac_ext=c
30955 ac_cpp='$CPP $CPPFLAGS'
30956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30959
30960
30961 fi
30962
30963   fi
30964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
30965 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
30966
30967     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
30968       for ac_func in _fmodl
30969 do :
30970   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
30971 if test "x$ac_cv_func__fmodl" = x""yes; then :
30972   cat >>confdefs.h <<_ACEOF
30973 #define HAVE__FMODL 1
30974 _ACEOF
30975
30976 fi
30977 done
30978
30979     fi
30980   fi
30981
30982
30983
30984
30985
30986   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
30987 $as_echo_n "checking for frexpl declaration... " >&6; }
30988   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
30989     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
30990   $as_echo_n "(cached) " >&6
30991 else
30992
30993
30994       ac_ext=cpp
30995 ac_cpp='$CXXCPP $CPPFLAGS'
30996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30999
31000       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31001 /* end confdefs.h.  */
31002 #include <math.h>
31003 int
31004 main ()
31005 {
31006  frexpl(0, 0);
31007   ;
31008   return 0;
31009 }
31010 _ACEOF
31011 if ac_fn_cxx_try_compile "$LINENO"; then :
31012   glibcxx_cv_func_frexpl_use=yes
31013 else
31014   glibcxx_cv_func_frexpl_use=no
31015 fi
31016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31017       ac_ext=c
31018 ac_cpp='$CPP $CPPFLAGS'
31019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31022
31023
31024 fi
31025
31026   fi
31027   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
31028 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
31029
31030   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
31031     for ac_func in frexpl
31032 do :
31033   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
31034 if test "x$ac_cv_func_frexpl" = x""yes; then :
31035   cat >>confdefs.h <<_ACEOF
31036 #define HAVE_FREXPL 1
31037 _ACEOF
31038
31039 fi
31040 done
31041
31042   else
31043
31044   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
31045 $as_echo_n "checking for _frexpl declaration... " >&6; }
31046   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
31047     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
31048   $as_echo_n "(cached) " >&6
31049 else
31050
31051
31052       ac_ext=cpp
31053 ac_cpp='$CXXCPP $CPPFLAGS'
31054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31057
31058       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31059 /* end confdefs.h.  */
31060 #include <math.h>
31061 int
31062 main ()
31063 {
31064  _frexpl(0, 0);
31065   ;
31066   return 0;
31067 }
31068 _ACEOF
31069 if ac_fn_cxx_try_compile "$LINENO"; then :
31070   glibcxx_cv_func__frexpl_use=yes
31071 else
31072   glibcxx_cv_func__frexpl_use=no
31073 fi
31074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31075       ac_ext=c
31076 ac_cpp='$CPP $CPPFLAGS'
31077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31080
31081
31082 fi
31083
31084   fi
31085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
31086 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
31087
31088     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31089       for ac_func in _frexpl
31090 do :
31091   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
31092 if test "x$ac_cv_func__frexpl" = x""yes; then :
31093   cat >>confdefs.h <<_ACEOF
31094 #define HAVE__FREXPL 1
31095 _ACEOF
31096
31097 fi
31098 done
31099
31100     fi
31101   fi
31102
31103
31104
31105
31106
31107   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
31108 $as_echo_n "checking for hypotl declaration... " >&6; }
31109   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31110     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
31111   $as_echo_n "(cached) " >&6
31112 else
31113
31114
31115       ac_ext=cpp
31116 ac_cpp='$CXXCPP $CPPFLAGS'
31117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31120
31121       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31122 /* end confdefs.h.  */
31123 #include <math.h>
31124 int
31125 main ()
31126 {
31127  hypotl(0, 0);
31128   ;
31129   return 0;
31130 }
31131 _ACEOF
31132 if ac_fn_cxx_try_compile "$LINENO"; then :
31133   glibcxx_cv_func_hypotl_use=yes
31134 else
31135   glibcxx_cv_func_hypotl_use=no
31136 fi
31137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31138       ac_ext=c
31139 ac_cpp='$CPP $CPPFLAGS'
31140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31143
31144
31145 fi
31146
31147   fi
31148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
31149 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
31150
31151   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31152     for ac_func in hypotl
31153 do :
31154   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
31155 if test "x$ac_cv_func_hypotl" = x""yes; then :
31156   cat >>confdefs.h <<_ACEOF
31157 #define HAVE_HYPOTL 1
31158 _ACEOF
31159
31160 fi
31161 done
31162
31163   else
31164
31165   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
31166 $as_echo_n "checking for _hypotl declaration... " >&6; }
31167   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
31168     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
31169   $as_echo_n "(cached) " >&6
31170 else
31171
31172
31173       ac_ext=cpp
31174 ac_cpp='$CXXCPP $CPPFLAGS'
31175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31178
31179       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31180 /* end confdefs.h.  */
31181 #include <math.h>
31182 int
31183 main ()
31184 {
31185  _hypotl(0, 0);
31186   ;
31187   return 0;
31188 }
31189 _ACEOF
31190 if ac_fn_cxx_try_compile "$LINENO"; then :
31191   glibcxx_cv_func__hypotl_use=yes
31192 else
31193   glibcxx_cv_func__hypotl_use=no
31194 fi
31195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31196       ac_ext=c
31197 ac_cpp='$CPP $CPPFLAGS'
31198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31201
31202
31203 fi
31204
31205   fi
31206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
31207 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
31208
31209     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
31210       for ac_func in _hypotl
31211 do :
31212   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
31213 if test "x$ac_cv_func__hypotl" = x""yes; then :
31214   cat >>confdefs.h <<_ACEOF
31215 #define HAVE__HYPOTL 1
31216 _ACEOF
31217
31218 fi
31219 done
31220
31221     fi
31222   fi
31223
31224
31225
31226
31227
31228   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
31229 $as_echo_n "checking for ldexpl declaration... " >&6; }
31230   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
31231     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
31232   $as_echo_n "(cached) " >&6
31233 else
31234
31235
31236       ac_ext=cpp
31237 ac_cpp='$CXXCPP $CPPFLAGS'
31238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31241
31242       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31243 /* end confdefs.h.  */
31244 #include <math.h>
31245 int
31246 main ()
31247 {
31248  ldexpl(0, 0);
31249   ;
31250   return 0;
31251 }
31252 _ACEOF
31253 if ac_fn_cxx_try_compile "$LINENO"; then :
31254   glibcxx_cv_func_ldexpl_use=yes
31255 else
31256   glibcxx_cv_func_ldexpl_use=no
31257 fi
31258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31259       ac_ext=c
31260 ac_cpp='$CPP $CPPFLAGS'
31261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31264
31265
31266 fi
31267
31268   fi
31269   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
31270 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
31271
31272   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
31273     for ac_func in ldexpl
31274 do :
31275   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
31276 if test "x$ac_cv_func_ldexpl" = x""yes; then :
31277   cat >>confdefs.h <<_ACEOF
31278 #define HAVE_LDEXPL 1
31279 _ACEOF
31280
31281 fi
31282 done
31283
31284   else
31285
31286   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
31287 $as_echo_n "checking for _ldexpl declaration... " >&6; }
31288   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
31289     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
31290   $as_echo_n "(cached) " >&6
31291 else
31292
31293
31294       ac_ext=cpp
31295 ac_cpp='$CXXCPP $CPPFLAGS'
31296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31299
31300       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31301 /* end confdefs.h.  */
31302 #include <math.h>
31303 int
31304 main ()
31305 {
31306  _ldexpl(0, 0);
31307   ;
31308   return 0;
31309 }
31310 _ACEOF
31311 if ac_fn_cxx_try_compile "$LINENO"; then :
31312   glibcxx_cv_func__ldexpl_use=yes
31313 else
31314   glibcxx_cv_func__ldexpl_use=no
31315 fi
31316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31317       ac_ext=c
31318 ac_cpp='$CPP $CPPFLAGS'
31319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31322
31323
31324 fi
31325
31326   fi
31327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
31328 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
31329
31330     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
31331       for ac_func in _ldexpl
31332 do :
31333   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
31334 if test "x$ac_cv_func__ldexpl" = x""yes; then :
31335   cat >>confdefs.h <<_ACEOF
31336 #define HAVE__LDEXPL 1
31337 _ACEOF
31338
31339 fi
31340 done
31341
31342     fi
31343   fi
31344
31345
31346
31347
31348
31349   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
31350 $as_echo_n "checking for logl declaration... " >&6; }
31351   if test x${glibcxx_cv_func_logl_use+set} != xset; then
31352     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
31353   $as_echo_n "(cached) " >&6
31354 else
31355
31356
31357       ac_ext=cpp
31358 ac_cpp='$CXXCPP $CPPFLAGS'
31359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31362
31363       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31364 /* end confdefs.h.  */
31365 #include <math.h>
31366                       #ifdef HAVE_IEEEFP_H
31367                       #include <ieeefp.h>
31368                       #endif
31369
31370 int
31371 main ()
31372 {
31373  logl(0);
31374   ;
31375   return 0;
31376 }
31377 _ACEOF
31378 if ac_fn_cxx_try_compile "$LINENO"; then :
31379   glibcxx_cv_func_logl_use=yes
31380 else
31381   glibcxx_cv_func_logl_use=no
31382 fi
31383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31384       ac_ext=c
31385 ac_cpp='$CPP $CPPFLAGS'
31386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31389
31390
31391 fi
31392
31393   fi
31394   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
31395 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
31396
31397   if test x$glibcxx_cv_func_logl_use = x"yes"; then
31398     for ac_func in logl
31399 do :
31400   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
31401 if test "x$ac_cv_func_logl" = x""yes; then :
31402   cat >>confdefs.h <<_ACEOF
31403 #define HAVE_LOGL 1
31404 _ACEOF
31405
31406 fi
31407 done
31408
31409   else
31410
31411   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
31412 $as_echo_n "checking for _logl declaration... " >&6; }
31413   if test x${glibcxx_cv_func__logl_use+set} != xset; then
31414     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
31415   $as_echo_n "(cached) " >&6
31416 else
31417
31418
31419       ac_ext=cpp
31420 ac_cpp='$CXXCPP $CPPFLAGS'
31421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31424
31425       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31426 /* end confdefs.h.  */
31427 #include <math.h>
31428                       #ifdef HAVE_IEEEFP_H
31429                       #include <ieeefp.h>
31430                       #endif
31431
31432 int
31433 main ()
31434 {
31435  _logl(0);
31436   ;
31437   return 0;
31438 }
31439 _ACEOF
31440 if ac_fn_cxx_try_compile "$LINENO"; then :
31441   glibcxx_cv_func__logl_use=yes
31442 else
31443   glibcxx_cv_func__logl_use=no
31444 fi
31445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31446       ac_ext=c
31447 ac_cpp='$CPP $CPPFLAGS'
31448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31451
31452
31453 fi
31454
31455   fi
31456   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
31457 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
31458
31459     if test x$glibcxx_cv_func__logl_use = x"yes"; then
31460       for ac_func in _logl
31461 do :
31462   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
31463 if test "x$ac_cv_func__logl" = x""yes; then :
31464   cat >>confdefs.h <<_ACEOF
31465 #define HAVE__LOGL 1
31466 _ACEOF
31467
31468 fi
31469 done
31470
31471     fi
31472   fi
31473
31474
31475
31476
31477
31478   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
31479 $as_echo_n "checking for log10l declaration... " >&6; }
31480   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
31481     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
31482   $as_echo_n "(cached) " >&6
31483 else
31484
31485
31486       ac_ext=cpp
31487 ac_cpp='$CXXCPP $CPPFLAGS'
31488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31491
31492       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31493 /* end confdefs.h.  */
31494 #include <math.h>
31495                       #ifdef HAVE_IEEEFP_H
31496                       #include <ieeefp.h>
31497                       #endif
31498
31499 int
31500 main ()
31501 {
31502  log10l(0);
31503   ;
31504   return 0;
31505 }
31506 _ACEOF
31507 if ac_fn_cxx_try_compile "$LINENO"; then :
31508   glibcxx_cv_func_log10l_use=yes
31509 else
31510   glibcxx_cv_func_log10l_use=no
31511 fi
31512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31513       ac_ext=c
31514 ac_cpp='$CPP $CPPFLAGS'
31515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31518
31519
31520 fi
31521
31522   fi
31523   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
31524 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
31525
31526   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
31527     for ac_func in log10l
31528 do :
31529   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
31530 if test "x$ac_cv_func_log10l" = x""yes; then :
31531   cat >>confdefs.h <<_ACEOF
31532 #define HAVE_LOG10L 1
31533 _ACEOF
31534
31535 fi
31536 done
31537
31538   else
31539
31540   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
31541 $as_echo_n "checking for _log10l declaration... " >&6; }
31542   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
31543     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
31544   $as_echo_n "(cached) " >&6
31545 else
31546
31547
31548       ac_ext=cpp
31549 ac_cpp='$CXXCPP $CPPFLAGS'
31550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31553
31554       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31555 /* end confdefs.h.  */
31556 #include <math.h>
31557                       #ifdef HAVE_IEEEFP_H
31558                       #include <ieeefp.h>
31559                       #endif
31560
31561 int
31562 main ()
31563 {
31564  _log10l(0);
31565   ;
31566   return 0;
31567 }
31568 _ACEOF
31569 if ac_fn_cxx_try_compile "$LINENO"; then :
31570   glibcxx_cv_func__log10l_use=yes
31571 else
31572   glibcxx_cv_func__log10l_use=no
31573 fi
31574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31575       ac_ext=c
31576 ac_cpp='$CPP $CPPFLAGS'
31577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31580
31581
31582 fi
31583
31584   fi
31585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
31586 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
31587
31588     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
31589       for ac_func in _log10l
31590 do :
31591   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
31592 if test "x$ac_cv_func__log10l" = x""yes; then :
31593   cat >>confdefs.h <<_ACEOF
31594 #define HAVE__LOG10L 1
31595 _ACEOF
31596
31597 fi
31598 done
31599
31600     fi
31601   fi
31602
31603
31604
31605
31606
31607   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
31608 $as_echo_n "checking for modfl declaration... " >&6; }
31609   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
31610     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
31611   $as_echo_n "(cached) " >&6
31612 else
31613
31614
31615       ac_ext=cpp
31616 ac_cpp='$CXXCPP $CPPFLAGS'
31617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31620
31621       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31622 /* end confdefs.h.  */
31623 #include <math.h>
31624 int
31625 main ()
31626 {
31627  modfl(0, 0);
31628   ;
31629   return 0;
31630 }
31631 _ACEOF
31632 if ac_fn_cxx_try_compile "$LINENO"; then :
31633   glibcxx_cv_func_modfl_use=yes
31634 else
31635   glibcxx_cv_func_modfl_use=no
31636 fi
31637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31638       ac_ext=c
31639 ac_cpp='$CPP $CPPFLAGS'
31640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31643
31644
31645 fi
31646
31647   fi
31648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
31649 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
31650
31651   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
31652     for ac_func in modfl
31653 do :
31654   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
31655 if test "x$ac_cv_func_modfl" = x""yes; then :
31656   cat >>confdefs.h <<_ACEOF
31657 #define HAVE_MODFL 1
31658 _ACEOF
31659
31660 fi
31661 done
31662
31663   else
31664
31665   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
31666 $as_echo_n "checking for _modfl declaration... " >&6; }
31667   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
31668     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
31669   $as_echo_n "(cached) " >&6
31670 else
31671
31672
31673       ac_ext=cpp
31674 ac_cpp='$CXXCPP $CPPFLAGS'
31675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31678
31679       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31680 /* end confdefs.h.  */
31681 #include <math.h>
31682 int
31683 main ()
31684 {
31685  _modfl(0, 0);
31686   ;
31687   return 0;
31688 }
31689 _ACEOF
31690 if ac_fn_cxx_try_compile "$LINENO"; then :
31691   glibcxx_cv_func__modfl_use=yes
31692 else
31693   glibcxx_cv_func__modfl_use=no
31694 fi
31695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31696       ac_ext=c
31697 ac_cpp='$CPP $CPPFLAGS'
31698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31701
31702
31703 fi
31704
31705   fi
31706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
31707 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
31708
31709     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
31710       for ac_func in _modfl
31711 do :
31712   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
31713 if test "x$ac_cv_func__modfl" = x""yes; then :
31714   cat >>confdefs.h <<_ACEOF
31715 #define HAVE__MODFL 1
31716 _ACEOF
31717
31718 fi
31719 done
31720
31721     fi
31722   fi
31723
31724
31725
31726
31727
31728   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
31729 $as_echo_n "checking for powl declaration... " >&6; }
31730   if test x${glibcxx_cv_func_powl_use+set} != xset; then
31731     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
31732   $as_echo_n "(cached) " >&6
31733 else
31734
31735
31736       ac_ext=cpp
31737 ac_cpp='$CXXCPP $CPPFLAGS'
31738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31741
31742       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31743 /* end confdefs.h.  */
31744 #include <math.h>
31745 int
31746 main ()
31747 {
31748  powl(0, 0);
31749   ;
31750   return 0;
31751 }
31752 _ACEOF
31753 if ac_fn_cxx_try_compile "$LINENO"; then :
31754   glibcxx_cv_func_powl_use=yes
31755 else
31756   glibcxx_cv_func_powl_use=no
31757 fi
31758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31759       ac_ext=c
31760 ac_cpp='$CPP $CPPFLAGS'
31761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31764
31765
31766 fi
31767
31768   fi
31769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
31770 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
31771
31772   if test x$glibcxx_cv_func_powl_use = x"yes"; then
31773     for ac_func in powl
31774 do :
31775   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
31776 if test "x$ac_cv_func_powl" = x""yes; then :
31777   cat >>confdefs.h <<_ACEOF
31778 #define HAVE_POWL 1
31779 _ACEOF
31780
31781 fi
31782 done
31783
31784   else
31785
31786   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
31787 $as_echo_n "checking for _powl declaration... " >&6; }
31788   if test x${glibcxx_cv_func__powl_use+set} != xset; then
31789     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
31790   $as_echo_n "(cached) " >&6
31791 else
31792
31793
31794       ac_ext=cpp
31795 ac_cpp='$CXXCPP $CPPFLAGS'
31796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31799
31800       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31801 /* end confdefs.h.  */
31802 #include <math.h>
31803 int
31804 main ()
31805 {
31806  _powl(0, 0);
31807   ;
31808   return 0;
31809 }
31810 _ACEOF
31811 if ac_fn_cxx_try_compile "$LINENO"; then :
31812   glibcxx_cv_func__powl_use=yes
31813 else
31814   glibcxx_cv_func__powl_use=no
31815 fi
31816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31817       ac_ext=c
31818 ac_cpp='$CPP $CPPFLAGS'
31819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31822
31823
31824 fi
31825
31826   fi
31827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
31828 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
31829
31830     if test x$glibcxx_cv_func__powl_use = x"yes"; then
31831       for ac_func in _powl
31832 do :
31833   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
31834 if test "x$ac_cv_func__powl" = x""yes; then :
31835   cat >>confdefs.h <<_ACEOF
31836 #define HAVE__POWL 1
31837 _ACEOF
31838
31839 fi
31840 done
31841
31842     fi
31843   fi
31844
31845
31846
31847
31848
31849   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
31850 $as_echo_n "checking for sqrtl declaration... " >&6; }
31851   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
31852     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
31853   $as_echo_n "(cached) " >&6
31854 else
31855
31856
31857       ac_ext=cpp
31858 ac_cpp='$CXXCPP $CPPFLAGS'
31859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31862
31863       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31864 /* end confdefs.h.  */
31865 #include <math.h>
31866                       #ifdef HAVE_IEEEFP_H
31867                       #include <ieeefp.h>
31868                       #endif
31869
31870 int
31871 main ()
31872 {
31873  sqrtl(0);
31874   ;
31875   return 0;
31876 }
31877 _ACEOF
31878 if ac_fn_cxx_try_compile "$LINENO"; then :
31879   glibcxx_cv_func_sqrtl_use=yes
31880 else
31881   glibcxx_cv_func_sqrtl_use=no
31882 fi
31883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31884       ac_ext=c
31885 ac_cpp='$CPP $CPPFLAGS'
31886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31889
31890
31891 fi
31892
31893   fi
31894   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
31895 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
31896
31897   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
31898     for ac_func in sqrtl
31899 do :
31900   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
31901 if test "x$ac_cv_func_sqrtl" = x""yes; then :
31902   cat >>confdefs.h <<_ACEOF
31903 #define HAVE_SQRTL 1
31904 _ACEOF
31905
31906 fi
31907 done
31908
31909   else
31910
31911   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
31912 $as_echo_n "checking for _sqrtl declaration... " >&6; }
31913   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
31914     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
31915   $as_echo_n "(cached) " >&6
31916 else
31917
31918
31919       ac_ext=cpp
31920 ac_cpp='$CXXCPP $CPPFLAGS'
31921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31924
31925       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31926 /* end confdefs.h.  */
31927 #include <math.h>
31928                       #ifdef HAVE_IEEEFP_H
31929                       #include <ieeefp.h>
31930                       #endif
31931
31932 int
31933 main ()
31934 {
31935  _sqrtl(0);
31936   ;
31937   return 0;
31938 }
31939 _ACEOF
31940 if ac_fn_cxx_try_compile "$LINENO"; then :
31941   glibcxx_cv_func__sqrtl_use=yes
31942 else
31943   glibcxx_cv_func__sqrtl_use=no
31944 fi
31945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31946       ac_ext=c
31947 ac_cpp='$CPP $CPPFLAGS'
31948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31951
31952
31953 fi
31954
31955   fi
31956   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
31957 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
31958
31959     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
31960       for ac_func in _sqrtl
31961 do :
31962   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
31963 if test "x$ac_cv_func__sqrtl" = x""yes; then :
31964   cat >>confdefs.h <<_ACEOF
31965 #define HAVE__SQRTL 1
31966 _ACEOF
31967
31968 fi
31969 done
31970
31971     fi
31972   fi
31973
31974
31975
31976
31977
31978   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
31979 $as_echo_n "checking for sincosl declaration... " >&6; }
31980   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
31981     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
31982   $as_echo_n "(cached) " >&6
31983 else
31984
31985
31986       ac_ext=cpp
31987 ac_cpp='$CXXCPP $CPPFLAGS'
31988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31991
31992       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31993 /* end confdefs.h.  */
31994 #include <math.h>
31995 int
31996 main ()
31997 {
31998  sincosl(0, 0, 0);
31999   ;
32000   return 0;
32001 }
32002 _ACEOF
32003 if ac_fn_cxx_try_compile "$LINENO"; then :
32004   glibcxx_cv_func_sincosl_use=yes
32005 else
32006   glibcxx_cv_func_sincosl_use=no
32007 fi
32008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32009       ac_ext=c
32010 ac_cpp='$CPP $CPPFLAGS'
32011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32014
32015
32016 fi
32017
32018   fi
32019   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
32020 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
32021
32022   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
32023     for ac_func in sincosl
32024 do :
32025   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
32026 if test "x$ac_cv_func_sincosl" = x""yes; then :
32027   cat >>confdefs.h <<_ACEOF
32028 #define HAVE_SINCOSL 1
32029 _ACEOF
32030
32031 fi
32032 done
32033
32034   else
32035
32036   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
32037 $as_echo_n "checking for _sincosl declaration... " >&6; }
32038   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
32039     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
32040   $as_echo_n "(cached) " >&6
32041 else
32042
32043
32044       ac_ext=cpp
32045 ac_cpp='$CXXCPP $CPPFLAGS'
32046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32049
32050       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32051 /* end confdefs.h.  */
32052 #include <math.h>
32053 int
32054 main ()
32055 {
32056  _sincosl(0, 0, 0);
32057   ;
32058   return 0;
32059 }
32060 _ACEOF
32061 if ac_fn_cxx_try_compile "$LINENO"; then :
32062   glibcxx_cv_func__sincosl_use=yes
32063 else
32064   glibcxx_cv_func__sincosl_use=no
32065 fi
32066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32067       ac_ext=c
32068 ac_cpp='$CPP $CPPFLAGS'
32069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32072
32073
32074 fi
32075
32076   fi
32077   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
32078 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
32079
32080     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
32081       for ac_func in _sincosl
32082 do :
32083   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
32084 if test "x$ac_cv_func__sincosl" = x""yes; then :
32085   cat >>confdefs.h <<_ACEOF
32086 #define HAVE__SINCOSL 1
32087 _ACEOF
32088
32089 fi
32090 done
32091
32092     fi
32093   fi
32094
32095
32096
32097
32098
32099   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
32100 $as_echo_n "checking for finitel declaration... " >&6; }
32101   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32102     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
32103   $as_echo_n "(cached) " >&6
32104 else
32105
32106
32107       ac_ext=cpp
32108 ac_cpp='$CXXCPP $CPPFLAGS'
32109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32112
32113       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32114 /* end confdefs.h.  */
32115 #include <math.h>
32116                       #ifdef HAVE_IEEEFP_H
32117                       #include <ieeefp.h>
32118                       #endif
32119
32120 int
32121 main ()
32122 {
32123  finitel(0);
32124   ;
32125   return 0;
32126 }
32127 _ACEOF
32128 if ac_fn_cxx_try_compile "$LINENO"; then :
32129   glibcxx_cv_func_finitel_use=yes
32130 else
32131   glibcxx_cv_func_finitel_use=no
32132 fi
32133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32134       ac_ext=c
32135 ac_cpp='$CPP $CPPFLAGS'
32136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32139
32140
32141 fi
32142
32143   fi
32144   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
32145 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
32146
32147   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
32148     for ac_func in finitel
32149 do :
32150   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
32151 if test "x$ac_cv_func_finitel" = x""yes; then :
32152   cat >>confdefs.h <<_ACEOF
32153 #define HAVE_FINITEL 1
32154 _ACEOF
32155
32156 fi
32157 done
32158
32159   else
32160
32161   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
32162 $as_echo_n "checking for _finitel declaration... " >&6; }
32163   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
32164     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
32165   $as_echo_n "(cached) " >&6
32166 else
32167
32168
32169       ac_ext=cpp
32170 ac_cpp='$CXXCPP $CPPFLAGS'
32171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32174
32175       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32176 /* end confdefs.h.  */
32177 #include <math.h>
32178                       #ifdef HAVE_IEEEFP_H
32179                       #include <ieeefp.h>
32180                       #endif
32181
32182 int
32183 main ()
32184 {
32185  _finitel(0);
32186   ;
32187   return 0;
32188 }
32189 _ACEOF
32190 if ac_fn_cxx_try_compile "$LINENO"; then :
32191   glibcxx_cv_func__finitel_use=yes
32192 else
32193   glibcxx_cv_func__finitel_use=no
32194 fi
32195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32196       ac_ext=c
32197 ac_cpp='$CPP $CPPFLAGS'
32198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32201
32202
32203 fi
32204
32205   fi
32206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
32207 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
32208
32209     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
32210       for ac_func in _finitel
32211 do :
32212   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
32213 if test "x$ac_cv_func__finitel" = x""yes; then :
32214   cat >>confdefs.h <<_ACEOF
32215 #define HAVE__FINITEL 1
32216 _ACEOF
32217
32218 fi
32219 done
32220
32221     fi
32222   fi
32223
32224
32225
32226
32227   LIBS="$ac_save_LIBS"
32228   CXXFLAGS="$ac_save_CXXFLAGS"
32229
32230
32231   ac_test_CXXFLAGS="${CXXFLAGS+set}"
32232   ac_save_CXXFLAGS="$CXXFLAGS"
32233   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32234
32235
32236   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
32237 $as_echo_n "checking for strtold declaration... " >&6; }
32238   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
32239     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
32240   $as_echo_n "(cached) " >&6
32241 else
32242
32243
32244       ac_ext=cpp
32245 ac_cpp='$CXXCPP $CPPFLAGS'
32246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32249
32250       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32251 /* end confdefs.h.  */
32252 #include <stdlib.h>
32253 int
32254 main ()
32255 {
32256  strtold(0, 0);
32257   ;
32258   return 0;
32259 }
32260 _ACEOF
32261 if ac_fn_cxx_try_compile "$LINENO"; then :
32262   glibcxx_cv_func_strtold_use=yes
32263 else
32264   glibcxx_cv_func_strtold_use=no
32265 fi
32266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32267       ac_ext=c
32268 ac_cpp='$CPP $CPPFLAGS'
32269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32272
32273
32274 fi
32275
32276   fi
32277   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
32278 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
32279   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
32280     for ac_func in strtold
32281 do :
32282   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
32283 if test "x$ac_cv_func_strtold" = x""yes; then :
32284   cat >>confdefs.h <<_ACEOF
32285 #define HAVE_STRTOLD 1
32286 _ACEOF
32287
32288 fi
32289 done
32290
32291   fi
32292
32293
32294
32295
32296   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
32297 $as_echo_n "checking for strtof declaration... " >&6; }
32298   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
32299     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
32300   $as_echo_n "(cached) " >&6
32301 else
32302
32303
32304       ac_ext=cpp
32305 ac_cpp='$CXXCPP $CPPFLAGS'
32306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32309
32310       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32311 /* end confdefs.h.  */
32312 #include <stdlib.h>
32313 int
32314 main ()
32315 {
32316  strtof(0, 0);
32317   ;
32318   return 0;
32319 }
32320 _ACEOF
32321 if ac_fn_cxx_try_compile "$LINENO"; then :
32322   glibcxx_cv_func_strtof_use=yes
32323 else
32324   glibcxx_cv_func_strtof_use=no
32325 fi
32326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32327       ac_ext=c
32328 ac_cpp='$CPP $CPPFLAGS'
32329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32332
32333
32334 fi
32335
32336   fi
32337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
32338 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
32339   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
32340     for ac_func in strtof
32341 do :
32342   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
32343 if test "x$ac_cv_func_strtof" = x""yes; then :
32344   cat >>confdefs.h <<_ACEOF
32345 #define HAVE_STRTOF 1
32346 _ACEOF
32347
32348 fi
32349 done
32350
32351   fi
32352
32353
32354
32355
32356   CXXFLAGS="$ac_save_CXXFLAGS"
32357
32358
32359     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
32360
32361     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
32362
32363     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
32364
32365     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
32366
32367
32368     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
32369
32370     $as_echo "#define HAVE_MODF 1" >>confdefs.h
32371
32372     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
32373
32374     ;;
32375
32376   *-aix*)
32377
32378   # If we're not using GNU ld, then there's no point in even trying these
32379   # tests.  Check for that first.  We should have already tested for gld
32380   # by now (in libtool), but require it now just to be safe...
32381   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
32382   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
32383
32384
32385
32386   # The name set by libtool depends on the version of libtool.  Shame on us
32387   # for depending on an impl detail, but c'est la vie.  Older versions used
32388   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
32389   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
32390   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
32391   # set (hence we're using an older libtool), then set it.
32392   if test x${with_gnu_ld+set} != xset; then
32393     if test x${ac_cv_prog_gnu_ld+set} != xset; then
32394       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
32395       with_gnu_ld=no
32396     else
32397       with_gnu_ld=$ac_cv_prog_gnu_ld
32398     fi
32399   fi
32400
32401   # Start by getting the version number.  I think the libtool test already
32402   # does some of this, but throws away the result.
32403   glibcxx_ld_is_gold=no
32404   if test x"$with_gnu_ld" = x"yes"; then
32405     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
32406 $as_echo_n "checking for ld version... " >&6; }
32407
32408     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
32409       glibcxx_ld_is_gold=yes
32410     fi
32411     ldver=`$LD --version 2>/dev/null |
32412            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'`
32413
32414     glibcxx_gnu_ld_version=`echo $ldver | \
32415            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
32416     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
32417 $as_echo "$glibcxx_gnu_ld_version" >&6; }
32418   fi
32419
32420   # Set --gc-sections.
32421   glibcxx_have_gc_sections=no
32422   if test "$glibcxx_ld_is_gold" = "yes"; then
32423     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
32424       glibcxx_have_gc_sections=yes
32425     fi
32426   else
32427     glibcxx_gcsections_min_ld=21602
32428     if test x"$with_gnu_ld" = x"yes" &&
32429         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
32430       glibcxx_have_gc_sections=yes
32431     fi
32432   fi
32433   if test "$glibcxx_have_gc_sections" = "yes"; then
32434     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
32435     # NB: This flag only works reliably after 2.16.1. Configure tests
32436     # for this are difficult, so hard wire a value that should work.
32437
32438     ac_test_CFLAGS="${CFLAGS+set}"
32439     ac_save_CFLAGS="$CFLAGS"
32440     CFLAGS='-Wl,--gc-sections'
32441
32442     # Check for -Wl,--gc-sections
32443     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
32444 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
32445     if test x$gcc_no_link = xyes; then
32446   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32447 fi
32448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32449 /* end confdefs.h.  */
32450  int one(void) { return 1; }
32451      int two(void) { return 2; }
32452
32453 int
32454 main ()
32455 {
32456  two();
32457   ;
32458   return 0;
32459 }
32460 _ACEOF
32461 if ac_fn_c_try_link "$LINENO"; then :
32462   ac_gcsections=yes
32463 else
32464   ac_gcsections=no
32465 fi
32466 rm -f core conftest.err conftest.$ac_objext \
32467     conftest$ac_exeext conftest.$ac_ext
32468     if test "$ac_gcsections" = "yes"; then
32469       rm -f conftest.c
32470       touch conftest.c
32471       if $CC -c conftest.c; then
32472         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
32473            grep "Warning: gc-sections option ignored" > /dev/null; then
32474           ac_gcsections=no
32475         fi
32476       fi
32477       rm -f conftest.c conftest.o conftest
32478     fi
32479     if test "$ac_gcsections" = "yes"; then
32480       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
32481     fi
32482     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
32483 $as_echo "$ac_gcsections" >&6; }
32484
32485     if test "$ac_test_CFLAGS" = set; then
32486       CFLAGS="$ac_save_CFLAGS"
32487     else
32488       # this is the suspicious part
32489       CFLAGS=''
32490     fi
32491   fi
32492
32493   # Set -z,relro.
32494   # Note this is only for shared objects.
32495   ac_ld_relro=no
32496   if test x"$with_gnu_ld" = x"yes"; then
32497     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
32498 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
32499     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
32500     if test -n "$cxx_z_relo"; then
32501       OPT_LDFLAGS="-Wl,-z,relro"
32502       ac_ld_relro=yes
32503     fi
32504     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
32505 $as_echo "$ac_ld_relro" >&6; }
32506   fi
32507
32508   # Set linker optimization flags.
32509   if test x"$with_gnu_ld" = x"yes"; then
32510     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
32511   fi
32512
32513
32514
32515
32516
32517   ac_test_CXXFLAGS="${CXXFLAGS+set}"
32518   ac_save_CXXFLAGS="$CXXFLAGS"
32519   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32520
32521     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
32522 $as_echo_n "checking for sin in -lm... " >&6; }
32523 if test "${ac_cv_lib_m_sin+set}" = set; then :
32524   $as_echo_n "(cached) " >&6
32525 else
32526   ac_check_lib_save_LIBS=$LIBS
32527 LIBS="-lm  $LIBS"
32528 if test x$gcc_no_link = xyes; then
32529   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32530 fi
32531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32532 /* end confdefs.h.  */
32533
32534 /* Override any GCC internal prototype to avoid an error.
32535    Use char because int might match the return type of a GCC
32536    builtin and then its argument prototype would still apply.  */
32537 #ifdef __cplusplus
32538 extern "C"
32539 #endif
32540 char sin ();
32541 int
32542 main ()
32543 {
32544 return sin ();
32545   ;
32546   return 0;
32547 }
32548 _ACEOF
32549 if ac_fn_c_try_link "$LINENO"; then :
32550   ac_cv_lib_m_sin=yes
32551 else
32552   ac_cv_lib_m_sin=no
32553 fi
32554 rm -f core conftest.err conftest.$ac_objext \
32555     conftest$ac_exeext conftest.$ac_ext
32556 LIBS=$ac_check_lib_save_LIBS
32557 fi
32558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
32559 $as_echo "$ac_cv_lib_m_sin" >&6; }
32560 if test "x$ac_cv_lib_m_sin" = x""yes; then :
32561   libm="-lm"
32562 fi
32563
32564   ac_save_LIBS="$LIBS"
32565   LIBS="$LIBS $libm"
32566
32567
32568
32569   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
32570 $as_echo_n "checking for isinf declaration... " >&6; }
32571   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
32572     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
32573   $as_echo_n "(cached) " >&6
32574 else
32575
32576
32577       ac_ext=cpp
32578 ac_cpp='$CXXCPP $CPPFLAGS'
32579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32582
32583       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32584 /* end confdefs.h.  */
32585 #include <math.h>
32586                       #ifdef HAVE_IEEEFP_H
32587                       #include <ieeefp.h>
32588                       #endif
32589
32590 int
32591 main ()
32592 {
32593  isinf(0);
32594   ;
32595   return 0;
32596 }
32597 _ACEOF
32598 if ac_fn_cxx_try_compile "$LINENO"; then :
32599   glibcxx_cv_func_isinf_use=yes
32600 else
32601   glibcxx_cv_func_isinf_use=no
32602 fi
32603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32604       ac_ext=c
32605 ac_cpp='$CPP $CPPFLAGS'
32606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32609
32610
32611 fi
32612
32613   fi
32614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
32615 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
32616
32617   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
32618     for ac_func in isinf
32619 do :
32620   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
32621 if test "x$ac_cv_func_isinf" = x""yes; then :
32622   cat >>confdefs.h <<_ACEOF
32623 #define HAVE_ISINF 1
32624 _ACEOF
32625
32626 fi
32627 done
32628
32629   else
32630
32631   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
32632 $as_echo_n "checking for _isinf declaration... " >&6; }
32633   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
32634     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
32635   $as_echo_n "(cached) " >&6
32636 else
32637
32638
32639       ac_ext=cpp
32640 ac_cpp='$CXXCPP $CPPFLAGS'
32641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32644
32645       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32646 /* end confdefs.h.  */
32647 #include <math.h>
32648                       #ifdef HAVE_IEEEFP_H
32649                       #include <ieeefp.h>
32650                       #endif
32651
32652 int
32653 main ()
32654 {
32655  _isinf(0);
32656   ;
32657   return 0;
32658 }
32659 _ACEOF
32660 if ac_fn_cxx_try_compile "$LINENO"; then :
32661   glibcxx_cv_func__isinf_use=yes
32662 else
32663   glibcxx_cv_func__isinf_use=no
32664 fi
32665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32666       ac_ext=c
32667 ac_cpp='$CPP $CPPFLAGS'
32668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32671
32672
32673 fi
32674
32675   fi
32676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
32677 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
32678
32679     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
32680       for ac_func in _isinf
32681 do :
32682   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
32683 if test "x$ac_cv_func__isinf" = x""yes; then :
32684   cat >>confdefs.h <<_ACEOF
32685 #define HAVE__ISINF 1
32686 _ACEOF
32687
32688 fi
32689 done
32690
32691     fi
32692   fi
32693
32694
32695
32696
32697
32698   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
32699 $as_echo_n "checking for isnan declaration... " >&6; }
32700   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
32701     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
32702   $as_echo_n "(cached) " >&6
32703 else
32704
32705
32706       ac_ext=cpp
32707 ac_cpp='$CXXCPP $CPPFLAGS'
32708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32711
32712       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32713 /* end confdefs.h.  */
32714 #include <math.h>
32715                       #ifdef HAVE_IEEEFP_H
32716                       #include <ieeefp.h>
32717                       #endif
32718
32719 int
32720 main ()
32721 {
32722  isnan(0);
32723   ;
32724   return 0;
32725 }
32726 _ACEOF
32727 if ac_fn_cxx_try_compile "$LINENO"; then :
32728   glibcxx_cv_func_isnan_use=yes
32729 else
32730   glibcxx_cv_func_isnan_use=no
32731 fi
32732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32733       ac_ext=c
32734 ac_cpp='$CPP $CPPFLAGS'
32735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32738
32739
32740 fi
32741
32742   fi
32743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
32744 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
32745
32746   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
32747     for ac_func in isnan
32748 do :
32749   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
32750 if test "x$ac_cv_func_isnan" = x""yes; then :
32751   cat >>confdefs.h <<_ACEOF
32752 #define HAVE_ISNAN 1
32753 _ACEOF
32754
32755 fi
32756 done
32757
32758   else
32759
32760   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
32761 $as_echo_n "checking for _isnan declaration... " >&6; }
32762   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
32763     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
32764   $as_echo_n "(cached) " >&6
32765 else
32766
32767
32768       ac_ext=cpp
32769 ac_cpp='$CXXCPP $CPPFLAGS'
32770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32773
32774       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32775 /* end confdefs.h.  */
32776 #include <math.h>
32777                       #ifdef HAVE_IEEEFP_H
32778                       #include <ieeefp.h>
32779                       #endif
32780
32781 int
32782 main ()
32783 {
32784  _isnan(0);
32785   ;
32786   return 0;
32787 }
32788 _ACEOF
32789 if ac_fn_cxx_try_compile "$LINENO"; then :
32790   glibcxx_cv_func__isnan_use=yes
32791 else
32792   glibcxx_cv_func__isnan_use=no
32793 fi
32794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32795       ac_ext=c
32796 ac_cpp='$CPP $CPPFLAGS'
32797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32800
32801
32802 fi
32803
32804   fi
32805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
32806 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
32807
32808     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
32809       for ac_func in _isnan
32810 do :
32811   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
32812 if test "x$ac_cv_func__isnan" = x""yes; then :
32813   cat >>confdefs.h <<_ACEOF
32814 #define HAVE__ISNAN 1
32815 _ACEOF
32816
32817 fi
32818 done
32819
32820     fi
32821   fi
32822
32823
32824
32825
32826
32827   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
32828 $as_echo_n "checking for finite declaration... " >&6; }
32829   if test x${glibcxx_cv_func_finite_use+set} != xset; then
32830     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
32831   $as_echo_n "(cached) " >&6
32832 else
32833
32834
32835       ac_ext=cpp
32836 ac_cpp='$CXXCPP $CPPFLAGS'
32837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32840
32841       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32842 /* end confdefs.h.  */
32843 #include <math.h>
32844                       #ifdef HAVE_IEEEFP_H
32845                       #include <ieeefp.h>
32846                       #endif
32847
32848 int
32849 main ()
32850 {
32851  finite(0);
32852   ;
32853   return 0;
32854 }
32855 _ACEOF
32856 if ac_fn_cxx_try_compile "$LINENO"; then :
32857   glibcxx_cv_func_finite_use=yes
32858 else
32859   glibcxx_cv_func_finite_use=no
32860 fi
32861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32862       ac_ext=c
32863 ac_cpp='$CPP $CPPFLAGS'
32864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32867
32868
32869 fi
32870
32871   fi
32872   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
32873 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
32874
32875   if test x$glibcxx_cv_func_finite_use = x"yes"; then
32876     for ac_func in finite
32877 do :
32878   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
32879 if test "x$ac_cv_func_finite" = x""yes; then :
32880   cat >>confdefs.h <<_ACEOF
32881 #define HAVE_FINITE 1
32882 _ACEOF
32883
32884 fi
32885 done
32886
32887   else
32888
32889   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
32890 $as_echo_n "checking for _finite declaration... " >&6; }
32891   if test x${glibcxx_cv_func__finite_use+set} != xset; then
32892     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
32893   $as_echo_n "(cached) " >&6
32894 else
32895
32896
32897       ac_ext=cpp
32898 ac_cpp='$CXXCPP $CPPFLAGS'
32899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32902
32903       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32904 /* end confdefs.h.  */
32905 #include <math.h>
32906                       #ifdef HAVE_IEEEFP_H
32907                       #include <ieeefp.h>
32908                       #endif
32909
32910 int
32911 main ()
32912 {
32913  _finite(0);
32914   ;
32915   return 0;
32916 }
32917 _ACEOF
32918 if ac_fn_cxx_try_compile "$LINENO"; then :
32919   glibcxx_cv_func__finite_use=yes
32920 else
32921   glibcxx_cv_func__finite_use=no
32922 fi
32923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32924       ac_ext=c
32925 ac_cpp='$CPP $CPPFLAGS'
32926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32929
32930
32931 fi
32932
32933   fi
32934   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
32935 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
32936
32937     if test x$glibcxx_cv_func__finite_use = x"yes"; then
32938       for ac_func in _finite
32939 do :
32940   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
32941 if test "x$ac_cv_func__finite" = x""yes; then :
32942   cat >>confdefs.h <<_ACEOF
32943 #define HAVE__FINITE 1
32944 _ACEOF
32945
32946 fi
32947 done
32948
32949     fi
32950   fi
32951
32952
32953
32954
32955
32956   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
32957 $as_echo_n "checking for sincos declaration... " >&6; }
32958   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
32959     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
32960   $as_echo_n "(cached) " >&6
32961 else
32962
32963
32964       ac_ext=cpp
32965 ac_cpp='$CXXCPP $CPPFLAGS'
32966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32969
32970       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32971 /* end confdefs.h.  */
32972 #include <math.h>
32973 int
32974 main ()
32975 {
32976  sincos(0, 0, 0);
32977   ;
32978   return 0;
32979 }
32980 _ACEOF
32981 if ac_fn_cxx_try_compile "$LINENO"; then :
32982   glibcxx_cv_func_sincos_use=yes
32983 else
32984   glibcxx_cv_func_sincos_use=no
32985 fi
32986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32987       ac_ext=c
32988 ac_cpp='$CPP $CPPFLAGS'
32989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32992
32993
32994 fi
32995
32996   fi
32997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
32998 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
32999
33000   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
33001     for ac_func in sincos
33002 do :
33003   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
33004 if test "x$ac_cv_func_sincos" = x""yes; then :
33005   cat >>confdefs.h <<_ACEOF
33006 #define HAVE_SINCOS 1
33007 _ACEOF
33008
33009 fi
33010 done
33011
33012   else
33013
33014   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
33015 $as_echo_n "checking for _sincos declaration... " >&6; }
33016   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33017     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
33018   $as_echo_n "(cached) " >&6
33019 else
33020
33021
33022       ac_ext=cpp
33023 ac_cpp='$CXXCPP $CPPFLAGS'
33024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33027
33028       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33029 /* end confdefs.h.  */
33030 #include <math.h>
33031 int
33032 main ()
33033 {
33034  _sincos(0, 0, 0);
33035   ;
33036   return 0;
33037 }
33038 _ACEOF
33039 if ac_fn_cxx_try_compile "$LINENO"; then :
33040   glibcxx_cv_func__sincos_use=yes
33041 else
33042   glibcxx_cv_func__sincos_use=no
33043 fi
33044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33045       ac_ext=c
33046 ac_cpp='$CPP $CPPFLAGS'
33047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33050
33051
33052 fi
33053
33054   fi
33055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
33056 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
33057
33058     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33059       for ac_func in _sincos
33060 do :
33061   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
33062 if test "x$ac_cv_func__sincos" = x""yes; then :
33063   cat >>confdefs.h <<_ACEOF
33064 #define HAVE__SINCOS 1
33065 _ACEOF
33066
33067 fi
33068 done
33069
33070     fi
33071   fi
33072
33073
33074
33075
33076
33077   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
33078 $as_echo_n "checking for fpclass declaration... " >&6; }
33079   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33080     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
33081   $as_echo_n "(cached) " >&6
33082 else
33083
33084
33085       ac_ext=cpp
33086 ac_cpp='$CXXCPP $CPPFLAGS'
33087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33090
33091       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33092 /* end confdefs.h.  */
33093 #include <math.h>
33094                       #ifdef HAVE_IEEEFP_H
33095                       #include <ieeefp.h>
33096                       #endif
33097
33098 int
33099 main ()
33100 {
33101  fpclass(0);
33102   ;
33103   return 0;
33104 }
33105 _ACEOF
33106 if ac_fn_cxx_try_compile "$LINENO"; then :
33107   glibcxx_cv_func_fpclass_use=yes
33108 else
33109   glibcxx_cv_func_fpclass_use=no
33110 fi
33111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33112       ac_ext=c
33113 ac_cpp='$CPP $CPPFLAGS'
33114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33117
33118
33119 fi
33120
33121   fi
33122   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
33123 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
33124
33125   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33126     for ac_func in fpclass
33127 do :
33128   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
33129 if test "x$ac_cv_func_fpclass" = x""yes; then :
33130   cat >>confdefs.h <<_ACEOF
33131 #define HAVE_FPCLASS 1
33132 _ACEOF
33133
33134 fi
33135 done
33136
33137   else
33138
33139   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
33140 $as_echo_n "checking for _fpclass declaration... " >&6; }
33141   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33142     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
33143   $as_echo_n "(cached) " >&6
33144 else
33145
33146
33147       ac_ext=cpp
33148 ac_cpp='$CXXCPP $CPPFLAGS'
33149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33152
33153       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33154 /* end confdefs.h.  */
33155 #include <math.h>
33156                       #ifdef HAVE_IEEEFP_H
33157                       #include <ieeefp.h>
33158                       #endif
33159
33160 int
33161 main ()
33162 {
33163  _fpclass(0);
33164   ;
33165   return 0;
33166 }
33167 _ACEOF
33168 if ac_fn_cxx_try_compile "$LINENO"; then :
33169   glibcxx_cv_func__fpclass_use=yes
33170 else
33171   glibcxx_cv_func__fpclass_use=no
33172 fi
33173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33174       ac_ext=c
33175 ac_cpp='$CPP $CPPFLAGS'
33176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33179
33180
33181 fi
33182
33183   fi
33184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
33185 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
33186
33187     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33188       for ac_func in _fpclass
33189 do :
33190   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
33191 if test "x$ac_cv_func__fpclass" = x""yes; then :
33192   cat >>confdefs.h <<_ACEOF
33193 #define HAVE__FPCLASS 1
33194 _ACEOF
33195
33196 fi
33197 done
33198
33199     fi
33200   fi
33201
33202
33203
33204
33205
33206   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
33207 $as_echo_n "checking for qfpclass declaration... " >&6; }
33208   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33209     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
33210   $as_echo_n "(cached) " >&6
33211 else
33212
33213
33214       ac_ext=cpp
33215 ac_cpp='$CXXCPP $CPPFLAGS'
33216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33219
33220       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33221 /* end confdefs.h.  */
33222 #include <math.h>
33223                       #ifdef HAVE_IEEEFP_H
33224                       #include <ieeefp.h>
33225                       #endif
33226
33227 int
33228 main ()
33229 {
33230  qfpclass(0);
33231   ;
33232   return 0;
33233 }
33234 _ACEOF
33235 if ac_fn_cxx_try_compile "$LINENO"; then :
33236   glibcxx_cv_func_qfpclass_use=yes
33237 else
33238   glibcxx_cv_func_qfpclass_use=no
33239 fi
33240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33241       ac_ext=c
33242 ac_cpp='$CPP $CPPFLAGS'
33243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33246
33247
33248 fi
33249
33250   fi
33251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
33252 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
33253
33254   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33255     for ac_func in qfpclass
33256 do :
33257   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
33258 if test "x$ac_cv_func_qfpclass" = x""yes; then :
33259   cat >>confdefs.h <<_ACEOF
33260 #define HAVE_QFPCLASS 1
33261 _ACEOF
33262
33263 fi
33264 done
33265
33266   else
33267
33268   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
33269 $as_echo_n "checking for _qfpclass declaration... " >&6; }
33270   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33271     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
33272   $as_echo_n "(cached) " >&6
33273 else
33274
33275
33276       ac_ext=cpp
33277 ac_cpp='$CXXCPP $CPPFLAGS'
33278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33281
33282       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33283 /* end confdefs.h.  */
33284 #include <math.h>
33285                       #ifdef HAVE_IEEEFP_H
33286                       #include <ieeefp.h>
33287                       #endif
33288
33289 int
33290 main ()
33291 {
33292  _qfpclass(0);
33293   ;
33294   return 0;
33295 }
33296 _ACEOF
33297 if ac_fn_cxx_try_compile "$LINENO"; then :
33298   glibcxx_cv_func__qfpclass_use=yes
33299 else
33300   glibcxx_cv_func__qfpclass_use=no
33301 fi
33302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33303       ac_ext=c
33304 ac_cpp='$CPP $CPPFLAGS'
33305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33308
33309
33310 fi
33311
33312   fi
33313   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
33314 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
33315
33316     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33317       for ac_func in _qfpclass
33318 do :
33319   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
33320 if test "x$ac_cv_func__qfpclass" = x""yes; then :
33321   cat >>confdefs.h <<_ACEOF
33322 #define HAVE__QFPCLASS 1
33323 _ACEOF
33324
33325 fi
33326 done
33327
33328     fi
33329   fi
33330
33331
33332
33333
33334
33335   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
33336 $as_echo_n "checking for hypot declaration... " >&6; }
33337   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
33338     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
33339   $as_echo_n "(cached) " >&6
33340 else
33341
33342
33343       ac_ext=cpp
33344 ac_cpp='$CXXCPP $CPPFLAGS'
33345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33348
33349       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33350 /* end confdefs.h.  */
33351 #include <math.h>
33352 int
33353 main ()
33354 {
33355  hypot(0, 0);
33356   ;
33357   return 0;
33358 }
33359 _ACEOF
33360 if ac_fn_cxx_try_compile "$LINENO"; then :
33361   glibcxx_cv_func_hypot_use=yes
33362 else
33363   glibcxx_cv_func_hypot_use=no
33364 fi
33365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33366       ac_ext=c
33367 ac_cpp='$CPP $CPPFLAGS'
33368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33371
33372
33373 fi
33374
33375   fi
33376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
33377 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
33378
33379   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
33380     for ac_func in hypot
33381 do :
33382   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
33383 if test "x$ac_cv_func_hypot" = x""yes; then :
33384   cat >>confdefs.h <<_ACEOF
33385 #define HAVE_HYPOT 1
33386 _ACEOF
33387
33388 fi
33389 done
33390
33391   else
33392
33393   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
33394 $as_echo_n "checking for _hypot declaration... " >&6; }
33395   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
33396     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
33397   $as_echo_n "(cached) " >&6
33398 else
33399
33400
33401       ac_ext=cpp
33402 ac_cpp='$CXXCPP $CPPFLAGS'
33403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33406
33407       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33408 /* end confdefs.h.  */
33409 #include <math.h>
33410 int
33411 main ()
33412 {
33413  _hypot(0, 0);
33414   ;
33415   return 0;
33416 }
33417 _ACEOF
33418 if ac_fn_cxx_try_compile "$LINENO"; then :
33419   glibcxx_cv_func__hypot_use=yes
33420 else
33421   glibcxx_cv_func__hypot_use=no
33422 fi
33423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33424       ac_ext=c
33425 ac_cpp='$CPP $CPPFLAGS'
33426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33429
33430
33431 fi
33432
33433   fi
33434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
33435 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
33436
33437     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
33438       for ac_func in _hypot
33439 do :
33440   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
33441 if test "x$ac_cv_func__hypot" = x""yes; then :
33442   cat >>confdefs.h <<_ACEOF
33443 #define HAVE__HYPOT 1
33444 _ACEOF
33445
33446 fi
33447 done
33448
33449     fi
33450   fi
33451
33452
33453
33454
33455
33456     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
33457 $as_echo_n "checking for float trig functions... " >&6; }
33458   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
33459   $as_echo_n "(cached) " >&6
33460 else
33461
33462
33463     ac_ext=cpp
33464 ac_cpp='$CXXCPP $CPPFLAGS'
33465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33468
33469     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33470 /* end confdefs.h.  */
33471 #include <math.h>
33472 int
33473 main ()
33474 {
33475 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
33476   ;
33477   return 0;
33478 }
33479 _ACEOF
33480 if ac_fn_cxx_try_compile "$LINENO"; then :
33481   glibcxx_cv_func_float_trig_use=yes
33482 else
33483   glibcxx_cv_func_float_trig_use=no
33484 fi
33485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33486     ac_ext=c
33487 ac_cpp='$CPP $CPPFLAGS'
33488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33491
33492 fi
33493
33494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
33495 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
33496   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
33497     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
33498 do :
33499   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33500 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33501 eval as_val=\$$as_ac_var
33502    if test "x$as_val" = x""yes; then :
33503   cat >>confdefs.h <<_ACEOF
33504 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33505 _ACEOF
33506
33507 fi
33508 done
33509
33510   else
33511     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
33512 $as_echo_n "checking for _float trig functions... " >&6; }
33513     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
33514   $as_echo_n "(cached) " >&6
33515 else
33516
33517
33518       ac_ext=cpp
33519 ac_cpp='$CXXCPP $CPPFLAGS'
33520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33523
33524       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33525 /* end confdefs.h.  */
33526 #include <math.h>
33527 int
33528 main ()
33529 {
33530 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
33531   ;
33532   return 0;
33533 }
33534 _ACEOF
33535 if ac_fn_cxx_try_compile "$LINENO"; then :
33536   glibcxx_cv_func__float_trig_use=yes
33537 else
33538   glibcxx_cv_func__float_trig_use=no
33539 fi
33540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33541       ac_ext=c
33542 ac_cpp='$CPP $CPPFLAGS'
33543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33546
33547 fi
33548
33549     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
33550 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
33551     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
33552       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
33553 do :
33554   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33555 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33556 eval as_val=\$$as_ac_var
33557    if test "x$as_val" = x""yes; then :
33558   cat >>confdefs.h <<_ACEOF
33559 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33560 _ACEOF
33561
33562 fi
33563 done
33564
33565     fi
33566   fi
33567
33568
33569
33570
33571
33572     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
33573 $as_echo_n "checking for float round functions... " >&6; }
33574   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
33575   $as_echo_n "(cached) " >&6
33576 else
33577
33578
33579     ac_ext=cpp
33580 ac_cpp='$CXXCPP $CPPFLAGS'
33581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33584
33585     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33586 /* end confdefs.h.  */
33587 #include <math.h>
33588 int
33589 main ()
33590 {
33591 ceilf (0); floorf (0);
33592   ;
33593   return 0;
33594 }
33595 _ACEOF
33596 if ac_fn_cxx_try_compile "$LINENO"; then :
33597   glibcxx_cv_func_float_round_use=yes
33598 else
33599   glibcxx_cv_func_float_round_use=no
33600 fi
33601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33602     ac_ext=c
33603 ac_cpp='$CPP $CPPFLAGS'
33604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33607
33608 fi
33609
33610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
33611 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
33612   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
33613     for ac_func in ceilf floorf
33614 do :
33615   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33616 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33617 eval as_val=\$$as_ac_var
33618    if test "x$as_val" = x""yes; then :
33619   cat >>confdefs.h <<_ACEOF
33620 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33621 _ACEOF
33622
33623 fi
33624 done
33625
33626   else
33627     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
33628 $as_echo_n "checking for _float round functions... " >&6; }
33629     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
33630   $as_echo_n "(cached) " >&6
33631 else
33632
33633
33634       ac_ext=cpp
33635 ac_cpp='$CXXCPP $CPPFLAGS'
33636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33639
33640       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33641 /* end confdefs.h.  */
33642 #include <math.h>
33643 int
33644 main ()
33645 {
33646 _ceilf (0); _floorf (0);
33647   ;
33648   return 0;
33649 }
33650 _ACEOF
33651 if ac_fn_cxx_try_compile "$LINENO"; then :
33652   glibcxx_cv_func__float_round_use=yes
33653 else
33654   glibcxx_cv_func__float_round_use=no
33655 fi
33656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33657       ac_ext=c
33658 ac_cpp='$CPP $CPPFLAGS'
33659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33662
33663 fi
33664
33665     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
33666 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
33667     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
33668       for ac_func in _ceilf _floorf
33669 do :
33670   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33671 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33672 eval as_val=\$$as_ac_var
33673    if test "x$as_val" = x""yes; then :
33674   cat >>confdefs.h <<_ACEOF
33675 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33676 _ACEOF
33677
33678 fi
33679 done
33680
33681     fi
33682   fi
33683
33684
33685
33686
33687
33688
33689   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
33690 $as_echo_n "checking for expf declaration... " >&6; }
33691   if test x${glibcxx_cv_func_expf_use+set} != xset; then
33692     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
33693   $as_echo_n "(cached) " >&6
33694 else
33695
33696
33697       ac_ext=cpp
33698 ac_cpp='$CXXCPP $CPPFLAGS'
33699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33702
33703       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33704 /* end confdefs.h.  */
33705 #include <math.h>
33706                       #ifdef HAVE_IEEEFP_H
33707                       #include <ieeefp.h>
33708                       #endif
33709
33710 int
33711 main ()
33712 {
33713  expf(0);
33714   ;
33715   return 0;
33716 }
33717 _ACEOF
33718 if ac_fn_cxx_try_compile "$LINENO"; then :
33719   glibcxx_cv_func_expf_use=yes
33720 else
33721   glibcxx_cv_func_expf_use=no
33722 fi
33723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33724       ac_ext=c
33725 ac_cpp='$CPP $CPPFLAGS'
33726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33729
33730
33731 fi
33732
33733   fi
33734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
33735 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
33736
33737   if test x$glibcxx_cv_func_expf_use = x"yes"; then
33738     for ac_func in expf
33739 do :
33740   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
33741 if test "x$ac_cv_func_expf" = x""yes; then :
33742   cat >>confdefs.h <<_ACEOF
33743 #define HAVE_EXPF 1
33744 _ACEOF
33745
33746 fi
33747 done
33748
33749   else
33750
33751   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
33752 $as_echo_n "checking for _expf declaration... " >&6; }
33753   if test x${glibcxx_cv_func__expf_use+set} != xset; then
33754     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
33755   $as_echo_n "(cached) " >&6
33756 else
33757
33758
33759       ac_ext=cpp
33760 ac_cpp='$CXXCPP $CPPFLAGS'
33761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33764
33765       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33766 /* end confdefs.h.  */
33767 #include <math.h>
33768                       #ifdef HAVE_IEEEFP_H
33769                       #include <ieeefp.h>
33770                       #endif
33771
33772 int
33773 main ()
33774 {
33775  _expf(0);
33776   ;
33777   return 0;
33778 }
33779 _ACEOF
33780 if ac_fn_cxx_try_compile "$LINENO"; then :
33781   glibcxx_cv_func__expf_use=yes
33782 else
33783   glibcxx_cv_func__expf_use=no
33784 fi
33785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33786       ac_ext=c
33787 ac_cpp='$CPP $CPPFLAGS'
33788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33791
33792
33793 fi
33794
33795   fi
33796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
33797 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
33798
33799     if test x$glibcxx_cv_func__expf_use = x"yes"; then
33800       for ac_func in _expf
33801 do :
33802   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
33803 if test "x$ac_cv_func__expf" = x""yes; then :
33804   cat >>confdefs.h <<_ACEOF
33805 #define HAVE__EXPF 1
33806 _ACEOF
33807
33808 fi
33809 done
33810
33811     fi
33812   fi
33813
33814
33815
33816
33817
33818   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
33819 $as_echo_n "checking for isnanf declaration... " >&6; }
33820   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
33821     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
33822   $as_echo_n "(cached) " >&6
33823 else
33824
33825
33826       ac_ext=cpp
33827 ac_cpp='$CXXCPP $CPPFLAGS'
33828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33831
33832       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33833 /* end confdefs.h.  */
33834 #include <math.h>
33835                       #ifdef HAVE_IEEEFP_H
33836                       #include <ieeefp.h>
33837                       #endif
33838
33839 int
33840 main ()
33841 {
33842  isnanf(0);
33843   ;
33844   return 0;
33845 }
33846 _ACEOF
33847 if ac_fn_cxx_try_compile "$LINENO"; then :
33848   glibcxx_cv_func_isnanf_use=yes
33849 else
33850   glibcxx_cv_func_isnanf_use=no
33851 fi
33852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33853       ac_ext=c
33854 ac_cpp='$CPP $CPPFLAGS'
33855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33858
33859
33860 fi
33861
33862   fi
33863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
33864 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
33865
33866   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
33867     for ac_func in isnanf
33868 do :
33869   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
33870 if test "x$ac_cv_func_isnanf" = x""yes; then :
33871   cat >>confdefs.h <<_ACEOF
33872 #define HAVE_ISNANF 1
33873 _ACEOF
33874
33875 fi
33876 done
33877
33878   else
33879
33880   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
33881 $as_echo_n "checking for _isnanf declaration... " >&6; }
33882   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
33883     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
33884   $as_echo_n "(cached) " >&6
33885 else
33886
33887
33888       ac_ext=cpp
33889 ac_cpp='$CXXCPP $CPPFLAGS'
33890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33893
33894       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33895 /* end confdefs.h.  */
33896 #include <math.h>
33897                       #ifdef HAVE_IEEEFP_H
33898                       #include <ieeefp.h>
33899                       #endif
33900
33901 int
33902 main ()
33903 {
33904  _isnanf(0);
33905   ;
33906   return 0;
33907 }
33908 _ACEOF
33909 if ac_fn_cxx_try_compile "$LINENO"; then :
33910   glibcxx_cv_func__isnanf_use=yes
33911 else
33912   glibcxx_cv_func__isnanf_use=no
33913 fi
33914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33915       ac_ext=c
33916 ac_cpp='$CPP $CPPFLAGS'
33917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33920
33921
33922 fi
33923
33924   fi
33925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
33926 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
33927
33928     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
33929       for ac_func in _isnanf
33930 do :
33931   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
33932 if test "x$ac_cv_func__isnanf" = x""yes; then :
33933   cat >>confdefs.h <<_ACEOF
33934 #define HAVE__ISNANF 1
33935 _ACEOF
33936
33937 fi
33938 done
33939
33940     fi
33941   fi
33942
33943
33944
33945
33946
33947   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
33948 $as_echo_n "checking for isinff declaration... " >&6; }
33949   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
33950     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
33951   $as_echo_n "(cached) " >&6
33952 else
33953
33954
33955       ac_ext=cpp
33956 ac_cpp='$CXXCPP $CPPFLAGS'
33957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33960
33961       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33962 /* end confdefs.h.  */
33963 #include <math.h>
33964                       #ifdef HAVE_IEEEFP_H
33965                       #include <ieeefp.h>
33966                       #endif
33967
33968 int
33969 main ()
33970 {
33971  isinff(0);
33972   ;
33973   return 0;
33974 }
33975 _ACEOF
33976 if ac_fn_cxx_try_compile "$LINENO"; then :
33977   glibcxx_cv_func_isinff_use=yes
33978 else
33979   glibcxx_cv_func_isinff_use=no
33980 fi
33981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33982       ac_ext=c
33983 ac_cpp='$CPP $CPPFLAGS'
33984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33987
33988
33989 fi
33990
33991   fi
33992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
33993 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
33994
33995   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
33996     for ac_func in isinff
33997 do :
33998   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
33999 if test "x$ac_cv_func_isinff" = x""yes; then :
34000   cat >>confdefs.h <<_ACEOF
34001 #define HAVE_ISINFF 1
34002 _ACEOF
34003
34004 fi
34005 done
34006
34007   else
34008
34009   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
34010 $as_echo_n "checking for _isinff declaration... " >&6; }
34011   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
34012     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
34013   $as_echo_n "(cached) " >&6
34014 else
34015
34016
34017       ac_ext=cpp
34018 ac_cpp='$CXXCPP $CPPFLAGS'
34019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34022
34023       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34024 /* end confdefs.h.  */
34025 #include <math.h>
34026                       #ifdef HAVE_IEEEFP_H
34027                       #include <ieeefp.h>
34028                       #endif
34029
34030 int
34031 main ()
34032 {
34033  _isinff(0);
34034   ;
34035   return 0;
34036 }
34037 _ACEOF
34038 if ac_fn_cxx_try_compile "$LINENO"; then :
34039   glibcxx_cv_func__isinff_use=yes
34040 else
34041   glibcxx_cv_func__isinff_use=no
34042 fi
34043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34044       ac_ext=c
34045 ac_cpp='$CPP $CPPFLAGS'
34046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34049
34050
34051 fi
34052
34053   fi
34054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
34055 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
34056
34057     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
34058       for ac_func in _isinff
34059 do :
34060   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
34061 if test "x$ac_cv_func__isinff" = x""yes; then :
34062   cat >>confdefs.h <<_ACEOF
34063 #define HAVE__ISINFF 1
34064 _ACEOF
34065
34066 fi
34067 done
34068
34069     fi
34070   fi
34071
34072
34073
34074
34075
34076   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
34077 $as_echo_n "checking for atan2f declaration... " >&6; }
34078   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
34079     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
34080   $as_echo_n "(cached) " >&6
34081 else
34082
34083
34084       ac_ext=cpp
34085 ac_cpp='$CXXCPP $CPPFLAGS'
34086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34089
34090       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34091 /* end confdefs.h.  */
34092 #include <math.h>
34093 int
34094 main ()
34095 {
34096  atan2f(0, 0);
34097   ;
34098   return 0;
34099 }
34100 _ACEOF
34101 if ac_fn_cxx_try_compile "$LINENO"; then :
34102   glibcxx_cv_func_atan2f_use=yes
34103 else
34104   glibcxx_cv_func_atan2f_use=no
34105 fi
34106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34107       ac_ext=c
34108 ac_cpp='$CPP $CPPFLAGS'
34109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34112
34113
34114 fi
34115
34116   fi
34117   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
34118 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
34119
34120   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
34121     for ac_func in atan2f
34122 do :
34123   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
34124 if test "x$ac_cv_func_atan2f" = x""yes; then :
34125   cat >>confdefs.h <<_ACEOF
34126 #define HAVE_ATAN2F 1
34127 _ACEOF
34128
34129 fi
34130 done
34131
34132   else
34133
34134   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
34135 $as_echo_n "checking for _atan2f declaration... " >&6; }
34136   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
34137     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
34138   $as_echo_n "(cached) " >&6
34139 else
34140
34141
34142       ac_ext=cpp
34143 ac_cpp='$CXXCPP $CPPFLAGS'
34144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34147
34148       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34149 /* end confdefs.h.  */
34150 #include <math.h>
34151 int
34152 main ()
34153 {
34154  _atan2f(0, 0);
34155   ;
34156   return 0;
34157 }
34158 _ACEOF
34159 if ac_fn_cxx_try_compile "$LINENO"; then :
34160   glibcxx_cv_func__atan2f_use=yes
34161 else
34162   glibcxx_cv_func__atan2f_use=no
34163 fi
34164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34165       ac_ext=c
34166 ac_cpp='$CPP $CPPFLAGS'
34167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34170
34171
34172 fi
34173
34174   fi
34175   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
34176 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
34177
34178     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
34179       for ac_func in _atan2f
34180 do :
34181   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
34182 if test "x$ac_cv_func__atan2f" = x""yes; then :
34183   cat >>confdefs.h <<_ACEOF
34184 #define HAVE__ATAN2F 1
34185 _ACEOF
34186
34187 fi
34188 done
34189
34190     fi
34191   fi
34192
34193
34194
34195
34196
34197   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
34198 $as_echo_n "checking for fabsf declaration... " >&6; }
34199   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
34200     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
34201   $as_echo_n "(cached) " >&6
34202 else
34203
34204
34205       ac_ext=cpp
34206 ac_cpp='$CXXCPP $CPPFLAGS'
34207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34210
34211       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34212 /* end confdefs.h.  */
34213 #include <math.h>
34214                       #ifdef HAVE_IEEEFP_H
34215                       #include <ieeefp.h>
34216                       #endif
34217
34218 int
34219 main ()
34220 {
34221  fabsf(0);
34222   ;
34223   return 0;
34224 }
34225 _ACEOF
34226 if ac_fn_cxx_try_compile "$LINENO"; then :
34227   glibcxx_cv_func_fabsf_use=yes
34228 else
34229   glibcxx_cv_func_fabsf_use=no
34230 fi
34231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34232       ac_ext=c
34233 ac_cpp='$CPP $CPPFLAGS'
34234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34237
34238
34239 fi
34240
34241   fi
34242   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
34243 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
34244
34245   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
34246     for ac_func in fabsf
34247 do :
34248   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
34249 if test "x$ac_cv_func_fabsf" = x""yes; then :
34250   cat >>confdefs.h <<_ACEOF
34251 #define HAVE_FABSF 1
34252 _ACEOF
34253
34254 fi
34255 done
34256
34257   else
34258
34259   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
34260 $as_echo_n "checking for _fabsf declaration... " >&6; }
34261   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
34262     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
34263   $as_echo_n "(cached) " >&6
34264 else
34265
34266
34267       ac_ext=cpp
34268 ac_cpp='$CXXCPP $CPPFLAGS'
34269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34272
34273       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34274 /* end confdefs.h.  */
34275 #include <math.h>
34276                       #ifdef HAVE_IEEEFP_H
34277                       #include <ieeefp.h>
34278                       #endif
34279
34280 int
34281 main ()
34282 {
34283  _fabsf(0);
34284   ;
34285   return 0;
34286 }
34287 _ACEOF
34288 if ac_fn_cxx_try_compile "$LINENO"; then :
34289   glibcxx_cv_func__fabsf_use=yes
34290 else
34291   glibcxx_cv_func__fabsf_use=no
34292 fi
34293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34294       ac_ext=c
34295 ac_cpp='$CPP $CPPFLAGS'
34296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34299
34300
34301 fi
34302
34303   fi
34304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
34305 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
34306
34307     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
34308       for ac_func in _fabsf
34309 do :
34310   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
34311 if test "x$ac_cv_func__fabsf" = x""yes; then :
34312   cat >>confdefs.h <<_ACEOF
34313 #define HAVE__FABSF 1
34314 _ACEOF
34315
34316 fi
34317 done
34318
34319     fi
34320   fi
34321
34322
34323
34324
34325
34326   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
34327 $as_echo_n "checking for fmodf declaration... " >&6; }
34328   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
34329     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
34330   $as_echo_n "(cached) " >&6
34331 else
34332
34333
34334       ac_ext=cpp
34335 ac_cpp='$CXXCPP $CPPFLAGS'
34336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34339
34340       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34341 /* end confdefs.h.  */
34342 #include <math.h>
34343 int
34344 main ()
34345 {
34346  fmodf(0, 0);
34347   ;
34348   return 0;
34349 }
34350 _ACEOF
34351 if ac_fn_cxx_try_compile "$LINENO"; then :
34352   glibcxx_cv_func_fmodf_use=yes
34353 else
34354   glibcxx_cv_func_fmodf_use=no
34355 fi
34356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34357       ac_ext=c
34358 ac_cpp='$CPP $CPPFLAGS'
34359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34362
34363
34364 fi
34365
34366   fi
34367   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
34368 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
34369
34370   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
34371     for ac_func in fmodf
34372 do :
34373   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
34374 if test "x$ac_cv_func_fmodf" = x""yes; then :
34375   cat >>confdefs.h <<_ACEOF
34376 #define HAVE_FMODF 1
34377 _ACEOF
34378
34379 fi
34380 done
34381
34382   else
34383
34384   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
34385 $as_echo_n "checking for _fmodf declaration... " >&6; }
34386   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
34387     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
34388   $as_echo_n "(cached) " >&6
34389 else
34390
34391
34392       ac_ext=cpp
34393 ac_cpp='$CXXCPP $CPPFLAGS'
34394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34397
34398       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34399 /* end confdefs.h.  */
34400 #include <math.h>
34401 int
34402 main ()
34403 {
34404  _fmodf(0, 0);
34405   ;
34406   return 0;
34407 }
34408 _ACEOF
34409 if ac_fn_cxx_try_compile "$LINENO"; then :
34410   glibcxx_cv_func__fmodf_use=yes
34411 else
34412   glibcxx_cv_func__fmodf_use=no
34413 fi
34414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34415       ac_ext=c
34416 ac_cpp='$CPP $CPPFLAGS'
34417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34420
34421
34422 fi
34423
34424   fi
34425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
34426 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
34427
34428     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
34429       for ac_func in _fmodf
34430 do :
34431   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
34432 if test "x$ac_cv_func__fmodf" = x""yes; then :
34433   cat >>confdefs.h <<_ACEOF
34434 #define HAVE__FMODF 1
34435 _ACEOF
34436
34437 fi
34438 done
34439
34440     fi
34441   fi
34442
34443
34444
34445
34446
34447   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
34448 $as_echo_n "checking for frexpf declaration... " >&6; }
34449   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
34450     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
34451   $as_echo_n "(cached) " >&6
34452 else
34453
34454
34455       ac_ext=cpp
34456 ac_cpp='$CXXCPP $CPPFLAGS'
34457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34460
34461       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34462 /* end confdefs.h.  */
34463 #include <math.h>
34464 int
34465 main ()
34466 {
34467  frexpf(0, 0);
34468   ;
34469   return 0;
34470 }
34471 _ACEOF
34472 if ac_fn_cxx_try_compile "$LINENO"; then :
34473   glibcxx_cv_func_frexpf_use=yes
34474 else
34475   glibcxx_cv_func_frexpf_use=no
34476 fi
34477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34478       ac_ext=c
34479 ac_cpp='$CPP $CPPFLAGS'
34480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34483
34484
34485 fi
34486
34487   fi
34488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
34489 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
34490
34491   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
34492     for ac_func in frexpf
34493 do :
34494   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
34495 if test "x$ac_cv_func_frexpf" = x""yes; then :
34496   cat >>confdefs.h <<_ACEOF
34497 #define HAVE_FREXPF 1
34498 _ACEOF
34499
34500 fi
34501 done
34502
34503   else
34504
34505   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
34506 $as_echo_n "checking for _frexpf declaration... " >&6; }
34507   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
34508     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
34509   $as_echo_n "(cached) " >&6
34510 else
34511
34512
34513       ac_ext=cpp
34514 ac_cpp='$CXXCPP $CPPFLAGS'
34515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34518
34519       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34520 /* end confdefs.h.  */
34521 #include <math.h>
34522 int
34523 main ()
34524 {
34525  _frexpf(0, 0);
34526   ;
34527   return 0;
34528 }
34529 _ACEOF
34530 if ac_fn_cxx_try_compile "$LINENO"; then :
34531   glibcxx_cv_func__frexpf_use=yes
34532 else
34533   glibcxx_cv_func__frexpf_use=no
34534 fi
34535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34536       ac_ext=c
34537 ac_cpp='$CPP $CPPFLAGS'
34538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34541
34542
34543 fi
34544
34545   fi
34546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
34547 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
34548
34549     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
34550       for ac_func in _frexpf
34551 do :
34552   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
34553 if test "x$ac_cv_func__frexpf" = x""yes; then :
34554   cat >>confdefs.h <<_ACEOF
34555 #define HAVE__FREXPF 1
34556 _ACEOF
34557
34558 fi
34559 done
34560
34561     fi
34562   fi
34563
34564
34565
34566
34567
34568   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
34569 $as_echo_n "checking for hypotf declaration... " >&6; }
34570   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
34571     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
34572   $as_echo_n "(cached) " >&6
34573 else
34574
34575
34576       ac_ext=cpp
34577 ac_cpp='$CXXCPP $CPPFLAGS'
34578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34581
34582       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34583 /* end confdefs.h.  */
34584 #include <math.h>
34585 int
34586 main ()
34587 {
34588  hypotf(0, 0);
34589   ;
34590   return 0;
34591 }
34592 _ACEOF
34593 if ac_fn_cxx_try_compile "$LINENO"; then :
34594   glibcxx_cv_func_hypotf_use=yes
34595 else
34596   glibcxx_cv_func_hypotf_use=no
34597 fi
34598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34599       ac_ext=c
34600 ac_cpp='$CPP $CPPFLAGS'
34601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34604
34605
34606 fi
34607
34608   fi
34609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
34610 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
34611
34612   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
34613     for ac_func in hypotf
34614 do :
34615   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
34616 if test "x$ac_cv_func_hypotf" = x""yes; then :
34617   cat >>confdefs.h <<_ACEOF
34618 #define HAVE_HYPOTF 1
34619 _ACEOF
34620
34621 fi
34622 done
34623
34624   else
34625
34626   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
34627 $as_echo_n "checking for _hypotf declaration... " >&6; }
34628   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
34629     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
34630   $as_echo_n "(cached) " >&6
34631 else
34632
34633
34634       ac_ext=cpp
34635 ac_cpp='$CXXCPP $CPPFLAGS'
34636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34639
34640       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34641 /* end confdefs.h.  */
34642 #include <math.h>
34643 int
34644 main ()
34645 {
34646  _hypotf(0, 0);
34647   ;
34648   return 0;
34649 }
34650 _ACEOF
34651 if ac_fn_cxx_try_compile "$LINENO"; then :
34652   glibcxx_cv_func__hypotf_use=yes
34653 else
34654   glibcxx_cv_func__hypotf_use=no
34655 fi
34656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34657       ac_ext=c
34658 ac_cpp='$CPP $CPPFLAGS'
34659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34662
34663
34664 fi
34665
34666   fi
34667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
34668 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
34669
34670     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
34671       for ac_func in _hypotf
34672 do :
34673   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
34674 if test "x$ac_cv_func__hypotf" = x""yes; then :
34675   cat >>confdefs.h <<_ACEOF
34676 #define HAVE__HYPOTF 1
34677 _ACEOF
34678
34679 fi
34680 done
34681
34682     fi
34683   fi
34684
34685
34686
34687
34688
34689   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
34690 $as_echo_n "checking for ldexpf declaration... " >&6; }
34691   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
34692     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
34693   $as_echo_n "(cached) " >&6
34694 else
34695
34696
34697       ac_ext=cpp
34698 ac_cpp='$CXXCPP $CPPFLAGS'
34699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34702
34703       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34704 /* end confdefs.h.  */
34705 #include <math.h>
34706 int
34707 main ()
34708 {
34709  ldexpf(0, 0);
34710   ;
34711   return 0;
34712 }
34713 _ACEOF
34714 if ac_fn_cxx_try_compile "$LINENO"; then :
34715   glibcxx_cv_func_ldexpf_use=yes
34716 else
34717   glibcxx_cv_func_ldexpf_use=no
34718 fi
34719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34720       ac_ext=c
34721 ac_cpp='$CPP $CPPFLAGS'
34722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34725
34726
34727 fi
34728
34729   fi
34730   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
34731 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
34732
34733   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
34734     for ac_func in ldexpf
34735 do :
34736   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
34737 if test "x$ac_cv_func_ldexpf" = x""yes; then :
34738   cat >>confdefs.h <<_ACEOF
34739 #define HAVE_LDEXPF 1
34740 _ACEOF
34741
34742 fi
34743 done
34744
34745   else
34746
34747   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
34748 $as_echo_n "checking for _ldexpf declaration... " >&6; }
34749   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
34750     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
34751   $as_echo_n "(cached) " >&6
34752 else
34753
34754
34755       ac_ext=cpp
34756 ac_cpp='$CXXCPP $CPPFLAGS'
34757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34760
34761       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34762 /* end confdefs.h.  */
34763 #include <math.h>
34764 int
34765 main ()
34766 {
34767  _ldexpf(0, 0);
34768   ;
34769   return 0;
34770 }
34771 _ACEOF
34772 if ac_fn_cxx_try_compile "$LINENO"; then :
34773   glibcxx_cv_func__ldexpf_use=yes
34774 else
34775   glibcxx_cv_func__ldexpf_use=no
34776 fi
34777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34778       ac_ext=c
34779 ac_cpp='$CPP $CPPFLAGS'
34780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34783
34784
34785 fi
34786
34787   fi
34788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
34789 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
34790
34791     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
34792       for ac_func in _ldexpf
34793 do :
34794   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
34795 if test "x$ac_cv_func__ldexpf" = x""yes; then :
34796   cat >>confdefs.h <<_ACEOF
34797 #define HAVE__LDEXPF 1
34798 _ACEOF
34799
34800 fi
34801 done
34802
34803     fi
34804   fi
34805
34806
34807
34808
34809
34810   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
34811 $as_echo_n "checking for logf declaration... " >&6; }
34812   if test x${glibcxx_cv_func_logf_use+set} != xset; then
34813     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
34814   $as_echo_n "(cached) " >&6
34815 else
34816
34817
34818       ac_ext=cpp
34819 ac_cpp='$CXXCPP $CPPFLAGS'
34820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34823
34824       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34825 /* end confdefs.h.  */
34826 #include <math.h>
34827                       #ifdef HAVE_IEEEFP_H
34828                       #include <ieeefp.h>
34829                       #endif
34830
34831 int
34832 main ()
34833 {
34834  logf(0);
34835   ;
34836   return 0;
34837 }
34838 _ACEOF
34839 if ac_fn_cxx_try_compile "$LINENO"; then :
34840   glibcxx_cv_func_logf_use=yes
34841 else
34842   glibcxx_cv_func_logf_use=no
34843 fi
34844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34845       ac_ext=c
34846 ac_cpp='$CPP $CPPFLAGS'
34847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34850
34851
34852 fi
34853
34854   fi
34855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
34856 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
34857
34858   if test x$glibcxx_cv_func_logf_use = x"yes"; then
34859     for ac_func in logf
34860 do :
34861   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
34862 if test "x$ac_cv_func_logf" = x""yes; then :
34863   cat >>confdefs.h <<_ACEOF
34864 #define HAVE_LOGF 1
34865 _ACEOF
34866
34867 fi
34868 done
34869
34870   else
34871
34872   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
34873 $as_echo_n "checking for _logf declaration... " >&6; }
34874   if test x${glibcxx_cv_func__logf_use+set} != xset; then
34875     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
34876   $as_echo_n "(cached) " >&6
34877 else
34878
34879
34880       ac_ext=cpp
34881 ac_cpp='$CXXCPP $CPPFLAGS'
34882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34885
34886       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34887 /* end confdefs.h.  */
34888 #include <math.h>
34889                       #ifdef HAVE_IEEEFP_H
34890                       #include <ieeefp.h>
34891                       #endif
34892
34893 int
34894 main ()
34895 {
34896  _logf(0);
34897   ;
34898   return 0;
34899 }
34900 _ACEOF
34901 if ac_fn_cxx_try_compile "$LINENO"; then :
34902   glibcxx_cv_func__logf_use=yes
34903 else
34904   glibcxx_cv_func__logf_use=no
34905 fi
34906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34907       ac_ext=c
34908 ac_cpp='$CPP $CPPFLAGS'
34909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34912
34913
34914 fi
34915
34916   fi
34917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
34918 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
34919
34920     if test x$glibcxx_cv_func__logf_use = x"yes"; then
34921       for ac_func in _logf
34922 do :
34923   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
34924 if test "x$ac_cv_func__logf" = x""yes; then :
34925   cat >>confdefs.h <<_ACEOF
34926 #define HAVE__LOGF 1
34927 _ACEOF
34928
34929 fi
34930 done
34931
34932     fi
34933   fi
34934
34935
34936
34937
34938
34939   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
34940 $as_echo_n "checking for log10f declaration... " >&6; }
34941   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
34942     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
34943   $as_echo_n "(cached) " >&6
34944 else
34945
34946
34947       ac_ext=cpp
34948 ac_cpp='$CXXCPP $CPPFLAGS'
34949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34952
34953       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34954 /* end confdefs.h.  */
34955 #include <math.h>
34956                       #ifdef HAVE_IEEEFP_H
34957                       #include <ieeefp.h>
34958                       #endif
34959
34960 int
34961 main ()
34962 {
34963  log10f(0);
34964   ;
34965   return 0;
34966 }
34967 _ACEOF
34968 if ac_fn_cxx_try_compile "$LINENO"; then :
34969   glibcxx_cv_func_log10f_use=yes
34970 else
34971   glibcxx_cv_func_log10f_use=no
34972 fi
34973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34974       ac_ext=c
34975 ac_cpp='$CPP $CPPFLAGS'
34976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34979
34980
34981 fi
34982
34983   fi
34984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
34985 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
34986
34987   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
34988     for ac_func in log10f
34989 do :
34990   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
34991 if test "x$ac_cv_func_log10f" = x""yes; then :
34992   cat >>confdefs.h <<_ACEOF
34993 #define HAVE_LOG10F 1
34994 _ACEOF
34995
34996 fi
34997 done
34998
34999   else
35000
35001   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
35002 $as_echo_n "checking for _log10f declaration... " >&6; }
35003   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
35004     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
35005   $as_echo_n "(cached) " >&6
35006 else
35007
35008
35009       ac_ext=cpp
35010 ac_cpp='$CXXCPP $CPPFLAGS'
35011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35014
35015       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35016 /* end confdefs.h.  */
35017 #include <math.h>
35018                       #ifdef HAVE_IEEEFP_H
35019                       #include <ieeefp.h>
35020                       #endif
35021
35022 int
35023 main ()
35024 {
35025  _log10f(0);
35026   ;
35027   return 0;
35028 }
35029 _ACEOF
35030 if ac_fn_cxx_try_compile "$LINENO"; then :
35031   glibcxx_cv_func__log10f_use=yes
35032 else
35033   glibcxx_cv_func__log10f_use=no
35034 fi
35035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35036       ac_ext=c
35037 ac_cpp='$CPP $CPPFLAGS'
35038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35041
35042
35043 fi
35044
35045   fi
35046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
35047 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
35048
35049     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
35050       for ac_func in _log10f
35051 do :
35052   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
35053 if test "x$ac_cv_func__log10f" = x""yes; then :
35054   cat >>confdefs.h <<_ACEOF
35055 #define HAVE__LOG10F 1
35056 _ACEOF
35057
35058 fi
35059 done
35060
35061     fi
35062   fi
35063
35064
35065
35066
35067
35068   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
35069 $as_echo_n "checking for modff declaration... " >&6; }
35070   if test x${glibcxx_cv_func_modff_use+set} != xset; then
35071     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
35072   $as_echo_n "(cached) " >&6
35073 else
35074
35075
35076       ac_ext=cpp
35077 ac_cpp='$CXXCPP $CPPFLAGS'
35078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35081
35082       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35083 /* end confdefs.h.  */
35084 #include <math.h>
35085 int
35086 main ()
35087 {
35088  modff(0, 0);
35089   ;
35090   return 0;
35091 }
35092 _ACEOF
35093 if ac_fn_cxx_try_compile "$LINENO"; then :
35094   glibcxx_cv_func_modff_use=yes
35095 else
35096   glibcxx_cv_func_modff_use=no
35097 fi
35098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35099       ac_ext=c
35100 ac_cpp='$CPP $CPPFLAGS'
35101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35104
35105
35106 fi
35107
35108   fi
35109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
35110 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
35111
35112   if test x$glibcxx_cv_func_modff_use = x"yes"; then
35113     for ac_func in modff
35114 do :
35115   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
35116 if test "x$ac_cv_func_modff" = x""yes; then :
35117   cat >>confdefs.h <<_ACEOF
35118 #define HAVE_MODFF 1
35119 _ACEOF
35120
35121 fi
35122 done
35123
35124   else
35125
35126   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
35127 $as_echo_n "checking for _modff declaration... " >&6; }
35128   if test x${glibcxx_cv_func__modff_use+set} != xset; then
35129     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
35130   $as_echo_n "(cached) " >&6
35131 else
35132
35133
35134       ac_ext=cpp
35135 ac_cpp='$CXXCPP $CPPFLAGS'
35136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35139
35140       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35141 /* end confdefs.h.  */
35142 #include <math.h>
35143 int
35144 main ()
35145 {
35146  _modff(0, 0);
35147   ;
35148   return 0;
35149 }
35150 _ACEOF
35151 if ac_fn_cxx_try_compile "$LINENO"; then :
35152   glibcxx_cv_func__modff_use=yes
35153 else
35154   glibcxx_cv_func__modff_use=no
35155 fi
35156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35157       ac_ext=c
35158 ac_cpp='$CPP $CPPFLAGS'
35159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35162
35163
35164 fi
35165
35166   fi
35167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
35168 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
35169
35170     if test x$glibcxx_cv_func__modff_use = x"yes"; then
35171       for ac_func in _modff
35172 do :
35173   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
35174 if test "x$ac_cv_func__modff" = x""yes; then :
35175   cat >>confdefs.h <<_ACEOF
35176 #define HAVE__MODFF 1
35177 _ACEOF
35178
35179 fi
35180 done
35181
35182     fi
35183   fi
35184
35185
35186
35187
35188
35189   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
35190 $as_echo_n "checking for modf declaration... " >&6; }
35191   if test x${glibcxx_cv_func_modf_use+set} != xset; then
35192     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
35193   $as_echo_n "(cached) " >&6
35194 else
35195
35196
35197       ac_ext=cpp
35198 ac_cpp='$CXXCPP $CPPFLAGS'
35199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35202
35203       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35204 /* end confdefs.h.  */
35205 #include <math.h>
35206 int
35207 main ()
35208 {
35209  modf(0, 0);
35210   ;
35211   return 0;
35212 }
35213 _ACEOF
35214 if ac_fn_cxx_try_compile "$LINENO"; then :
35215   glibcxx_cv_func_modf_use=yes
35216 else
35217   glibcxx_cv_func_modf_use=no
35218 fi
35219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35220       ac_ext=c
35221 ac_cpp='$CPP $CPPFLAGS'
35222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35225
35226
35227 fi
35228
35229   fi
35230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
35231 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
35232
35233   if test x$glibcxx_cv_func_modf_use = x"yes"; then
35234     for ac_func in modf
35235 do :
35236   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
35237 if test "x$ac_cv_func_modf" = x""yes; then :
35238   cat >>confdefs.h <<_ACEOF
35239 #define HAVE_MODF 1
35240 _ACEOF
35241
35242 fi
35243 done
35244
35245   else
35246
35247   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
35248 $as_echo_n "checking for _modf declaration... " >&6; }
35249   if test x${glibcxx_cv_func__modf_use+set} != xset; then
35250     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
35251   $as_echo_n "(cached) " >&6
35252 else
35253
35254
35255       ac_ext=cpp
35256 ac_cpp='$CXXCPP $CPPFLAGS'
35257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35260
35261       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35262 /* end confdefs.h.  */
35263 #include <math.h>
35264 int
35265 main ()
35266 {
35267  _modf(0, 0);
35268   ;
35269   return 0;
35270 }
35271 _ACEOF
35272 if ac_fn_cxx_try_compile "$LINENO"; then :
35273   glibcxx_cv_func__modf_use=yes
35274 else
35275   glibcxx_cv_func__modf_use=no
35276 fi
35277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35278       ac_ext=c
35279 ac_cpp='$CPP $CPPFLAGS'
35280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35283
35284
35285 fi
35286
35287   fi
35288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
35289 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
35290
35291     if test x$glibcxx_cv_func__modf_use = x"yes"; then
35292       for ac_func in _modf
35293 do :
35294   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
35295 if test "x$ac_cv_func__modf" = x""yes; then :
35296   cat >>confdefs.h <<_ACEOF
35297 #define HAVE__MODF 1
35298 _ACEOF
35299
35300 fi
35301 done
35302
35303     fi
35304   fi
35305
35306
35307
35308
35309
35310   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
35311 $as_echo_n "checking for powf declaration... " >&6; }
35312   if test x${glibcxx_cv_func_powf_use+set} != xset; then
35313     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
35314   $as_echo_n "(cached) " >&6
35315 else
35316
35317
35318       ac_ext=cpp
35319 ac_cpp='$CXXCPP $CPPFLAGS'
35320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35323
35324       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35325 /* end confdefs.h.  */
35326 #include <math.h>
35327 int
35328 main ()
35329 {
35330  powf(0, 0);
35331   ;
35332   return 0;
35333 }
35334 _ACEOF
35335 if ac_fn_cxx_try_compile "$LINENO"; then :
35336   glibcxx_cv_func_powf_use=yes
35337 else
35338   glibcxx_cv_func_powf_use=no
35339 fi
35340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35341       ac_ext=c
35342 ac_cpp='$CPP $CPPFLAGS'
35343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35346
35347
35348 fi
35349
35350   fi
35351   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
35352 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
35353
35354   if test x$glibcxx_cv_func_powf_use = x"yes"; then
35355     for ac_func in powf
35356 do :
35357   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
35358 if test "x$ac_cv_func_powf" = x""yes; then :
35359   cat >>confdefs.h <<_ACEOF
35360 #define HAVE_POWF 1
35361 _ACEOF
35362
35363 fi
35364 done
35365
35366   else
35367
35368   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
35369 $as_echo_n "checking for _powf declaration... " >&6; }
35370   if test x${glibcxx_cv_func__powf_use+set} != xset; then
35371     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
35372   $as_echo_n "(cached) " >&6
35373 else
35374
35375
35376       ac_ext=cpp
35377 ac_cpp='$CXXCPP $CPPFLAGS'
35378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35381
35382       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35383 /* end confdefs.h.  */
35384 #include <math.h>
35385 int
35386 main ()
35387 {
35388  _powf(0, 0);
35389   ;
35390   return 0;
35391 }
35392 _ACEOF
35393 if ac_fn_cxx_try_compile "$LINENO"; then :
35394   glibcxx_cv_func__powf_use=yes
35395 else
35396   glibcxx_cv_func__powf_use=no
35397 fi
35398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35399       ac_ext=c
35400 ac_cpp='$CPP $CPPFLAGS'
35401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35404
35405
35406 fi
35407
35408   fi
35409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
35410 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
35411
35412     if test x$glibcxx_cv_func__powf_use = x"yes"; then
35413       for ac_func in _powf
35414 do :
35415   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
35416 if test "x$ac_cv_func__powf" = x""yes; then :
35417   cat >>confdefs.h <<_ACEOF
35418 #define HAVE__POWF 1
35419 _ACEOF
35420
35421 fi
35422 done
35423
35424     fi
35425   fi
35426
35427
35428
35429
35430
35431   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
35432 $as_echo_n "checking for sqrtf declaration... " >&6; }
35433   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
35434     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
35435   $as_echo_n "(cached) " >&6
35436 else
35437
35438
35439       ac_ext=cpp
35440 ac_cpp='$CXXCPP $CPPFLAGS'
35441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35444
35445       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35446 /* end confdefs.h.  */
35447 #include <math.h>
35448                       #ifdef HAVE_IEEEFP_H
35449                       #include <ieeefp.h>
35450                       #endif
35451
35452 int
35453 main ()
35454 {
35455  sqrtf(0);
35456   ;
35457   return 0;
35458 }
35459 _ACEOF
35460 if ac_fn_cxx_try_compile "$LINENO"; then :
35461   glibcxx_cv_func_sqrtf_use=yes
35462 else
35463   glibcxx_cv_func_sqrtf_use=no
35464 fi
35465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35466       ac_ext=c
35467 ac_cpp='$CPP $CPPFLAGS'
35468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35471
35472
35473 fi
35474
35475   fi
35476   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
35477 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
35478
35479   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
35480     for ac_func in sqrtf
35481 do :
35482   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
35483 if test "x$ac_cv_func_sqrtf" = x""yes; then :
35484   cat >>confdefs.h <<_ACEOF
35485 #define HAVE_SQRTF 1
35486 _ACEOF
35487
35488 fi
35489 done
35490
35491   else
35492
35493   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
35494 $as_echo_n "checking for _sqrtf declaration... " >&6; }
35495   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
35496     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
35497   $as_echo_n "(cached) " >&6
35498 else
35499
35500
35501       ac_ext=cpp
35502 ac_cpp='$CXXCPP $CPPFLAGS'
35503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35506
35507       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35508 /* end confdefs.h.  */
35509 #include <math.h>
35510                       #ifdef HAVE_IEEEFP_H
35511                       #include <ieeefp.h>
35512                       #endif
35513
35514 int
35515 main ()
35516 {
35517  _sqrtf(0);
35518   ;
35519   return 0;
35520 }
35521 _ACEOF
35522 if ac_fn_cxx_try_compile "$LINENO"; then :
35523   glibcxx_cv_func__sqrtf_use=yes
35524 else
35525   glibcxx_cv_func__sqrtf_use=no
35526 fi
35527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35528       ac_ext=c
35529 ac_cpp='$CPP $CPPFLAGS'
35530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35533
35534
35535 fi
35536
35537   fi
35538   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
35539 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
35540
35541     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
35542       for ac_func in _sqrtf
35543 do :
35544   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
35545 if test "x$ac_cv_func__sqrtf" = x""yes; then :
35546   cat >>confdefs.h <<_ACEOF
35547 #define HAVE__SQRTF 1
35548 _ACEOF
35549
35550 fi
35551 done
35552
35553     fi
35554   fi
35555
35556
35557
35558
35559
35560   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
35561 $as_echo_n "checking for sincosf declaration... " >&6; }
35562   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
35563     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
35564   $as_echo_n "(cached) " >&6
35565 else
35566
35567
35568       ac_ext=cpp
35569 ac_cpp='$CXXCPP $CPPFLAGS'
35570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35573
35574       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35575 /* end confdefs.h.  */
35576 #include <math.h>
35577 int
35578 main ()
35579 {
35580  sincosf(0, 0, 0);
35581   ;
35582   return 0;
35583 }
35584 _ACEOF
35585 if ac_fn_cxx_try_compile "$LINENO"; then :
35586   glibcxx_cv_func_sincosf_use=yes
35587 else
35588   glibcxx_cv_func_sincosf_use=no
35589 fi
35590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35591       ac_ext=c
35592 ac_cpp='$CPP $CPPFLAGS'
35593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35596
35597
35598 fi
35599
35600   fi
35601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
35602 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
35603
35604   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
35605     for ac_func in sincosf
35606 do :
35607   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
35608 if test "x$ac_cv_func_sincosf" = x""yes; then :
35609   cat >>confdefs.h <<_ACEOF
35610 #define HAVE_SINCOSF 1
35611 _ACEOF
35612
35613 fi
35614 done
35615
35616   else
35617
35618   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
35619 $as_echo_n "checking for _sincosf declaration... " >&6; }
35620   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
35621     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
35622   $as_echo_n "(cached) " >&6
35623 else
35624
35625
35626       ac_ext=cpp
35627 ac_cpp='$CXXCPP $CPPFLAGS'
35628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35631
35632       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35633 /* end confdefs.h.  */
35634 #include <math.h>
35635 int
35636 main ()
35637 {
35638  _sincosf(0, 0, 0);
35639   ;
35640   return 0;
35641 }
35642 _ACEOF
35643 if ac_fn_cxx_try_compile "$LINENO"; then :
35644   glibcxx_cv_func__sincosf_use=yes
35645 else
35646   glibcxx_cv_func__sincosf_use=no
35647 fi
35648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35649       ac_ext=c
35650 ac_cpp='$CPP $CPPFLAGS'
35651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35654
35655
35656 fi
35657
35658   fi
35659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
35660 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
35661
35662     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
35663       for ac_func in _sincosf
35664 do :
35665   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
35666 if test "x$ac_cv_func__sincosf" = x""yes; then :
35667   cat >>confdefs.h <<_ACEOF
35668 #define HAVE__SINCOSF 1
35669 _ACEOF
35670
35671 fi
35672 done
35673
35674     fi
35675   fi
35676
35677
35678
35679
35680
35681   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
35682 $as_echo_n "checking for finitef declaration... " >&6; }
35683   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
35684     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
35685   $as_echo_n "(cached) " >&6
35686 else
35687
35688
35689       ac_ext=cpp
35690 ac_cpp='$CXXCPP $CPPFLAGS'
35691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35694
35695       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35696 /* end confdefs.h.  */
35697 #include <math.h>
35698                       #ifdef HAVE_IEEEFP_H
35699                       #include <ieeefp.h>
35700                       #endif
35701
35702 int
35703 main ()
35704 {
35705  finitef(0);
35706   ;
35707   return 0;
35708 }
35709 _ACEOF
35710 if ac_fn_cxx_try_compile "$LINENO"; then :
35711   glibcxx_cv_func_finitef_use=yes
35712 else
35713   glibcxx_cv_func_finitef_use=no
35714 fi
35715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35716       ac_ext=c
35717 ac_cpp='$CPP $CPPFLAGS'
35718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35721
35722
35723 fi
35724
35725   fi
35726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
35727 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
35728
35729   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
35730     for ac_func in finitef
35731 do :
35732   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
35733 if test "x$ac_cv_func_finitef" = x""yes; then :
35734   cat >>confdefs.h <<_ACEOF
35735 #define HAVE_FINITEF 1
35736 _ACEOF
35737
35738 fi
35739 done
35740
35741   else
35742
35743   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
35744 $as_echo_n "checking for _finitef declaration... " >&6; }
35745   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
35746     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
35747   $as_echo_n "(cached) " >&6
35748 else
35749
35750
35751       ac_ext=cpp
35752 ac_cpp='$CXXCPP $CPPFLAGS'
35753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35756
35757       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35758 /* end confdefs.h.  */
35759 #include <math.h>
35760                       #ifdef HAVE_IEEEFP_H
35761                       #include <ieeefp.h>
35762                       #endif
35763
35764 int
35765 main ()
35766 {
35767  _finitef(0);
35768   ;
35769   return 0;
35770 }
35771 _ACEOF
35772 if ac_fn_cxx_try_compile "$LINENO"; then :
35773   glibcxx_cv_func__finitef_use=yes
35774 else
35775   glibcxx_cv_func__finitef_use=no
35776 fi
35777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35778       ac_ext=c
35779 ac_cpp='$CPP $CPPFLAGS'
35780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35783
35784
35785 fi
35786
35787   fi
35788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
35789 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
35790
35791     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
35792       for ac_func in _finitef
35793 do :
35794   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
35795 if test "x$ac_cv_func__finitef" = x""yes; then :
35796   cat >>confdefs.h <<_ACEOF
35797 #define HAVE__FINITEF 1
35798 _ACEOF
35799
35800 fi
35801 done
35802
35803     fi
35804   fi
35805
35806
35807
35808
35809
35810     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
35811 $as_echo_n "checking for long double trig functions... " >&6; }
35812   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
35813   $as_echo_n "(cached) " >&6
35814 else
35815
35816
35817     ac_ext=cpp
35818 ac_cpp='$CXXCPP $CPPFLAGS'
35819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35822
35823     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35824 /* end confdefs.h.  */
35825 #include <math.h>
35826 int
35827 main ()
35828 {
35829 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
35830   ;
35831   return 0;
35832 }
35833 _ACEOF
35834 if ac_fn_cxx_try_compile "$LINENO"; then :
35835   glibcxx_cv_func_long_double_trig_use=yes
35836 else
35837   glibcxx_cv_func_long_double_trig_use=no
35838 fi
35839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35840     ac_ext=c
35841 ac_cpp='$CPP $CPPFLAGS'
35842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35845
35846 fi
35847
35848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
35849 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
35850   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
35851     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
35852 do :
35853   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35854 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35855 eval as_val=\$$as_ac_var
35856    if test "x$as_val" = x""yes; then :
35857   cat >>confdefs.h <<_ACEOF
35858 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35859 _ACEOF
35860
35861 fi
35862 done
35863
35864   else
35865     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
35866 $as_echo_n "checking for _long double trig functions... " >&6; }
35867     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
35868   $as_echo_n "(cached) " >&6
35869 else
35870
35871
35872       ac_ext=cpp
35873 ac_cpp='$CXXCPP $CPPFLAGS'
35874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35877
35878       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35879 /* end confdefs.h.  */
35880 #include <math.h>
35881 int
35882 main ()
35883 {
35884 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
35885   ;
35886   return 0;
35887 }
35888 _ACEOF
35889 if ac_fn_cxx_try_compile "$LINENO"; then :
35890   glibcxx_cv_func__long_double_trig_use=yes
35891 else
35892   glibcxx_cv_func__long_double_trig_use=no
35893 fi
35894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35895       ac_ext=c
35896 ac_cpp='$CPP $CPPFLAGS'
35897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35900
35901 fi
35902
35903     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
35904 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
35905     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
35906       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
35907 do :
35908   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35909 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35910 eval as_val=\$$as_ac_var
35911    if test "x$as_val" = x""yes; then :
35912   cat >>confdefs.h <<_ACEOF
35913 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35914 _ACEOF
35915
35916 fi
35917 done
35918
35919     fi
35920   fi
35921
35922
35923
35924
35925
35926     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
35927 $as_echo_n "checking for long double round functions... " >&6; }
35928   if test "${glibcxx_cv_func_long_double_round_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 int
35943 main ()
35944 {
35945 ceill (0); floorl (0);
35946   ;
35947   return 0;
35948 }
35949 _ACEOF
35950 if ac_fn_cxx_try_compile "$LINENO"; then :
35951   glibcxx_cv_func_long_double_round_use=yes
35952 else
35953   glibcxx_cv_func_long_double_round_use=no
35954 fi
35955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35956     ac_ext=c
35957 ac_cpp='$CPP $CPPFLAGS'
35958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35961
35962 fi
35963
35964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
35965 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
35966   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
35967     for ac_func in ceill floorl
35968 do :
35969   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35970 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35971 eval as_val=\$$as_ac_var
35972    if test "x$as_val" = x""yes; then :
35973   cat >>confdefs.h <<_ACEOF
35974 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35975 _ACEOF
35976
35977 fi
35978 done
35979
35980   else
35981     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
35982 $as_echo_n "checking for _long double round functions... " >&6; }
35983     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
35984   $as_echo_n "(cached) " >&6
35985 else
35986
35987
35988       ac_ext=cpp
35989 ac_cpp='$CXXCPP $CPPFLAGS'
35990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35993
35994       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35995 /* end confdefs.h.  */
35996 #include <math.h>
35997 int
35998 main ()
35999 {
36000 _ceill (0); _floorl (0);
36001   ;
36002   return 0;
36003 }
36004 _ACEOF
36005 if ac_fn_cxx_try_compile "$LINENO"; then :
36006   glibcxx_cv_func__long_double_round_use=yes
36007 else
36008   glibcxx_cv_func__long_double_round_use=no
36009 fi
36010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36011       ac_ext=c
36012 ac_cpp='$CPP $CPPFLAGS'
36013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36016
36017 fi
36018
36019     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
36020 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
36021     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
36022       for ac_func in _ceill _floorl
36023 do :
36024   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36025 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36026 eval as_val=\$$as_ac_var
36027    if test "x$as_val" = x""yes; then :
36028   cat >>confdefs.h <<_ACEOF
36029 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36030 _ACEOF
36031
36032 fi
36033 done
36034
36035     fi
36036   fi
36037
36038
36039
36040
36041
36042
36043   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
36044 $as_echo_n "checking for isnanl declaration... " >&6; }
36045   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
36046     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
36047   $as_echo_n "(cached) " >&6
36048 else
36049
36050
36051       ac_ext=cpp
36052 ac_cpp='$CXXCPP $CPPFLAGS'
36053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36056
36057       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36058 /* end confdefs.h.  */
36059 #include <math.h>
36060                       #ifdef HAVE_IEEEFP_H
36061                       #include <ieeefp.h>
36062                       #endif
36063
36064 int
36065 main ()
36066 {
36067  isnanl(0);
36068   ;
36069   return 0;
36070 }
36071 _ACEOF
36072 if ac_fn_cxx_try_compile "$LINENO"; then :
36073   glibcxx_cv_func_isnanl_use=yes
36074 else
36075   glibcxx_cv_func_isnanl_use=no
36076 fi
36077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36078       ac_ext=c
36079 ac_cpp='$CPP $CPPFLAGS'
36080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36083
36084
36085 fi
36086
36087   fi
36088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
36089 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
36090
36091   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36092     for ac_func in isnanl
36093 do :
36094   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
36095 if test "x$ac_cv_func_isnanl" = x""yes; then :
36096   cat >>confdefs.h <<_ACEOF
36097 #define HAVE_ISNANL 1
36098 _ACEOF
36099
36100 fi
36101 done
36102
36103   else
36104
36105   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
36106 $as_echo_n "checking for _isnanl declaration... " >&6; }
36107   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36108     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
36109   $as_echo_n "(cached) " >&6
36110 else
36111
36112
36113       ac_ext=cpp
36114 ac_cpp='$CXXCPP $CPPFLAGS'
36115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36118
36119       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36120 /* end confdefs.h.  */
36121 #include <math.h>
36122                       #ifdef HAVE_IEEEFP_H
36123                       #include <ieeefp.h>
36124                       #endif
36125
36126 int
36127 main ()
36128 {
36129  _isnanl(0);
36130   ;
36131   return 0;
36132 }
36133 _ACEOF
36134 if ac_fn_cxx_try_compile "$LINENO"; then :
36135   glibcxx_cv_func__isnanl_use=yes
36136 else
36137   glibcxx_cv_func__isnanl_use=no
36138 fi
36139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36140       ac_ext=c
36141 ac_cpp='$CPP $CPPFLAGS'
36142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36145
36146
36147 fi
36148
36149   fi
36150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
36151 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
36152
36153     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36154       for ac_func in _isnanl
36155 do :
36156   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
36157 if test "x$ac_cv_func__isnanl" = x""yes; then :
36158   cat >>confdefs.h <<_ACEOF
36159 #define HAVE__ISNANL 1
36160 _ACEOF
36161
36162 fi
36163 done
36164
36165     fi
36166   fi
36167
36168
36169
36170
36171
36172   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
36173 $as_echo_n "checking for isinfl declaration... " >&6; }
36174   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
36175     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
36176   $as_echo_n "(cached) " >&6
36177 else
36178
36179
36180       ac_ext=cpp
36181 ac_cpp='$CXXCPP $CPPFLAGS'
36182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36185
36186       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36187 /* end confdefs.h.  */
36188 #include <math.h>
36189                       #ifdef HAVE_IEEEFP_H
36190                       #include <ieeefp.h>
36191                       #endif
36192
36193 int
36194 main ()
36195 {
36196  isinfl(0);
36197   ;
36198   return 0;
36199 }
36200 _ACEOF
36201 if ac_fn_cxx_try_compile "$LINENO"; then :
36202   glibcxx_cv_func_isinfl_use=yes
36203 else
36204   glibcxx_cv_func_isinfl_use=no
36205 fi
36206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36207       ac_ext=c
36208 ac_cpp='$CPP $CPPFLAGS'
36209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36212
36213
36214 fi
36215
36216   fi
36217   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
36218 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
36219
36220   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
36221     for ac_func in isinfl
36222 do :
36223   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
36224 if test "x$ac_cv_func_isinfl" = x""yes; then :
36225   cat >>confdefs.h <<_ACEOF
36226 #define HAVE_ISINFL 1
36227 _ACEOF
36228
36229 fi
36230 done
36231
36232   else
36233
36234   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
36235 $as_echo_n "checking for _isinfl declaration... " >&6; }
36236   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
36237     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
36238   $as_echo_n "(cached) " >&6
36239 else
36240
36241
36242       ac_ext=cpp
36243 ac_cpp='$CXXCPP $CPPFLAGS'
36244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36247
36248       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36249 /* end confdefs.h.  */
36250 #include <math.h>
36251                       #ifdef HAVE_IEEEFP_H
36252                       #include <ieeefp.h>
36253                       #endif
36254
36255 int
36256 main ()
36257 {
36258  _isinfl(0);
36259   ;
36260   return 0;
36261 }
36262 _ACEOF
36263 if ac_fn_cxx_try_compile "$LINENO"; then :
36264   glibcxx_cv_func__isinfl_use=yes
36265 else
36266   glibcxx_cv_func__isinfl_use=no
36267 fi
36268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36269       ac_ext=c
36270 ac_cpp='$CPP $CPPFLAGS'
36271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36274
36275
36276 fi
36277
36278   fi
36279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
36280 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
36281
36282     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
36283       for ac_func in _isinfl
36284 do :
36285   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
36286 if test "x$ac_cv_func__isinfl" = x""yes; then :
36287   cat >>confdefs.h <<_ACEOF
36288 #define HAVE__ISINFL 1
36289 _ACEOF
36290
36291 fi
36292 done
36293
36294     fi
36295   fi
36296
36297
36298
36299
36300
36301   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
36302 $as_echo_n "checking for atan2l declaration... " >&6; }
36303   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
36304     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
36305   $as_echo_n "(cached) " >&6
36306 else
36307
36308
36309       ac_ext=cpp
36310 ac_cpp='$CXXCPP $CPPFLAGS'
36311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36314
36315       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36316 /* end confdefs.h.  */
36317 #include <math.h>
36318 int
36319 main ()
36320 {
36321  atan2l(0, 0);
36322   ;
36323   return 0;
36324 }
36325 _ACEOF
36326 if ac_fn_cxx_try_compile "$LINENO"; then :
36327   glibcxx_cv_func_atan2l_use=yes
36328 else
36329   glibcxx_cv_func_atan2l_use=no
36330 fi
36331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36332       ac_ext=c
36333 ac_cpp='$CPP $CPPFLAGS'
36334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36337
36338
36339 fi
36340
36341   fi
36342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
36343 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
36344
36345   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
36346     for ac_func in atan2l
36347 do :
36348   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
36349 if test "x$ac_cv_func_atan2l" = x""yes; then :
36350   cat >>confdefs.h <<_ACEOF
36351 #define HAVE_ATAN2L 1
36352 _ACEOF
36353
36354 fi
36355 done
36356
36357   else
36358
36359   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
36360 $as_echo_n "checking for _atan2l declaration... " >&6; }
36361   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
36362     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
36363   $as_echo_n "(cached) " >&6
36364 else
36365
36366
36367       ac_ext=cpp
36368 ac_cpp='$CXXCPP $CPPFLAGS'
36369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36372
36373       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36374 /* end confdefs.h.  */
36375 #include <math.h>
36376 int
36377 main ()
36378 {
36379  _atan2l(0, 0);
36380   ;
36381   return 0;
36382 }
36383 _ACEOF
36384 if ac_fn_cxx_try_compile "$LINENO"; then :
36385   glibcxx_cv_func__atan2l_use=yes
36386 else
36387   glibcxx_cv_func__atan2l_use=no
36388 fi
36389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36390       ac_ext=c
36391 ac_cpp='$CPP $CPPFLAGS'
36392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36395
36396
36397 fi
36398
36399   fi
36400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
36401 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
36402
36403     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
36404       for ac_func in _atan2l
36405 do :
36406   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
36407 if test "x$ac_cv_func__atan2l" = x""yes; then :
36408   cat >>confdefs.h <<_ACEOF
36409 #define HAVE__ATAN2L 1
36410 _ACEOF
36411
36412 fi
36413 done
36414
36415     fi
36416   fi
36417
36418
36419
36420
36421
36422   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
36423 $as_echo_n "checking for expl declaration... " >&6; }
36424   if test x${glibcxx_cv_func_expl_use+set} != xset; then
36425     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
36426   $as_echo_n "(cached) " >&6
36427 else
36428
36429
36430       ac_ext=cpp
36431 ac_cpp='$CXXCPP $CPPFLAGS'
36432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36435
36436       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36437 /* end confdefs.h.  */
36438 #include <math.h>
36439                       #ifdef HAVE_IEEEFP_H
36440                       #include <ieeefp.h>
36441                       #endif
36442
36443 int
36444 main ()
36445 {
36446  expl(0);
36447   ;
36448   return 0;
36449 }
36450 _ACEOF
36451 if ac_fn_cxx_try_compile "$LINENO"; then :
36452   glibcxx_cv_func_expl_use=yes
36453 else
36454   glibcxx_cv_func_expl_use=no
36455 fi
36456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36457       ac_ext=c
36458 ac_cpp='$CPP $CPPFLAGS'
36459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36462
36463
36464 fi
36465
36466   fi
36467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
36468 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
36469
36470   if test x$glibcxx_cv_func_expl_use = x"yes"; then
36471     for ac_func in expl
36472 do :
36473   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
36474 if test "x$ac_cv_func_expl" = x""yes; then :
36475   cat >>confdefs.h <<_ACEOF
36476 #define HAVE_EXPL 1
36477 _ACEOF
36478
36479 fi
36480 done
36481
36482   else
36483
36484   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
36485 $as_echo_n "checking for _expl declaration... " >&6; }
36486   if test x${glibcxx_cv_func__expl_use+set} != xset; then
36487     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
36488   $as_echo_n "(cached) " >&6
36489 else
36490
36491
36492       ac_ext=cpp
36493 ac_cpp='$CXXCPP $CPPFLAGS'
36494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36497
36498       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36499 /* end confdefs.h.  */
36500 #include <math.h>
36501                       #ifdef HAVE_IEEEFP_H
36502                       #include <ieeefp.h>
36503                       #endif
36504
36505 int
36506 main ()
36507 {
36508  _expl(0);
36509   ;
36510   return 0;
36511 }
36512 _ACEOF
36513 if ac_fn_cxx_try_compile "$LINENO"; then :
36514   glibcxx_cv_func__expl_use=yes
36515 else
36516   glibcxx_cv_func__expl_use=no
36517 fi
36518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36519       ac_ext=c
36520 ac_cpp='$CPP $CPPFLAGS'
36521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36524
36525
36526 fi
36527
36528   fi
36529   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
36530 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
36531
36532     if test x$glibcxx_cv_func__expl_use = x"yes"; then
36533       for ac_func in _expl
36534 do :
36535   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
36536 if test "x$ac_cv_func__expl" = x""yes; then :
36537   cat >>confdefs.h <<_ACEOF
36538 #define HAVE__EXPL 1
36539 _ACEOF
36540
36541 fi
36542 done
36543
36544     fi
36545   fi
36546
36547
36548
36549
36550
36551   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
36552 $as_echo_n "checking for fabsl declaration... " >&6; }
36553   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
36554     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
36555   $as_echo_n "(cached) " >&6
36556 else
36557
36558
36559       ac_ext=cpp
36560 ac_cpp='$CXXCPP $CPPFLAGS'
36561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36564
36565       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36566 /* end confdefs.h.  */
36567 #include <math.h>
36568                       #ifdef HAVE_IEEEFP_H
36569                       #include <ieeefp.h>
36570                       #endif
36571
36572 int
36573 main ()
36574 {
36575  fabsl(0);
36576   ;
36577   return 0;
36578 }
36579 _ACEOF
36580 if ac_fn_cxx_try_compile "$LINENO"; then :
36581   glibcxx_cv_func_fabsl_use=yes
36582 else
36583   glibcxx_cv_func_fabsl_use=no
36584 fi
36585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36586       ac_ext=c
36587 ac_cpp='$CPP $CPPFLAGS'
36588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36591
36592
36593 fi
36594
36595   fi
36596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
36597 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
36598
36599   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
36600     for ac_func in fabsl
36601 do :
36602   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
36603 if test "x$ac_cv_func_fabsl" = x""yes; then :
36604   cat >>confdefs.h <<_ACEOF
36605 #define HAVE_FABSL 1
36606 _ACEOF
36607
36608 fi
36609 done
36610
36611   else
36612
36613   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
36614 $as_echo_n "checking for _fabsl declaration... " >&6; }
36615   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
36616     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
36617   $as_echo_n "(cached) " >&6
36618 else
36619
36620
36621       ac_ext=cpp
36622 ac_cpp='$CXXCPP $CPPFLAGS'
36623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36626
36627       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36628 /* end confdefs.h.  */
36629 #include <math.h>
36630                       #ifdef HAVE_IEEEFP_H
36631                       #include <ieeefp.h>
36632                       #endif
36633
36634 int
36635 main ()
36636 {
36637  _fabsl(0);
36638   ;
36639   return 0;
36640 }
36641 _ACEOF
36642 if ac_fn_cxx_try_compile "$LINENO"; then :
36643   glibcxx_cv_func__fabsl_use=yes
36644 else
36645   glibcxx_cv_func__fabsl_use=no
36646 fi
36647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36648       ac_ext=c
36649 ac_cpp='$CPP $CPPFLAGS'
36650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36653
36654
36655 fi
36656
36657   fi
36658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
36659 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
36660
36661     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
36662       for ac_func in _fabsl
36663 do :
36664   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
36665 if test "x$ac_cv_func__fabsl" = x""yes; then :
36666   cat >>confdefs.h <<_ACEOF
36667 #define HAVE__FABSL 1
36668 _ACEOF
36669
36670 fi
36671 done
36672
36673     fi
36674   fi
36675
36676
36677
36678
36679
36680   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
36681 $as_echo_n "checking for fmodl declaration... " >&6; }
36682   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
36683     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
36684   $as_echo_n "(cached) " >&6
36685 else
36686
36687
36688       ac_ext=cpp
36689 ac_cpp='$CXXCPP $CPPFLAGS'
36690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36693
36694       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36695 /* end confdefs.h.  */
36696 #include <math.h>
36697 int
36698 main ()
36699 {
36700  fmodl(0, 0);
36701   ;
36702   return 0;
36703 }
36704 _ACEOF
36705 if ac_fn_cxx_try_compile "$LINENO"; then :
36706   glibcxx_cv_func_fmodl_use=yes
36707 else
36708   glibcxx_cv_func_fmodl_use=no
36709 fi
36710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36711       ac_ext=c
36712 ac_cpp='$CPP $CPPFLAGS'
36713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36716
36717
36718 fi
36719
36720   fi
36721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
36722 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
36723
36724   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
36725     for ac_func in fmodl
36726 do :
36727   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
36728 if test "x$ac_cv_func_fmodl" = x""yes; then :
36729   cat >>confdefs.h <<_ACEOF
36730 #define HAVE_FMODL 1
36731 _ACEOF
36732
36733 fi
36734 done
36735
36736   else
36737
36738   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
36739 $as_echo_n "checking for _fmodl declaration... " >&6; }
36740   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
36741     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
36742   $as_echo_n "(cached) " >&6
36743 else
36744
36745
36746       ac_ext=cpp
36747 ac_cpp='$CXXCPP $CPPFLAGS'
36748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36751
36752       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36753 /* end confdefs.h.  */
36754 #include <math.h>
36755 int
36756 main ()
36757 {
36758  _fmodl(0, 0);
36759   ;
36760   return 0;
36761 }
36762 _ACEOF
36763 if ac_fn_cxx_try_compile "$LINENO"; then :
36764   glibcxx_cv_func__fmodl_use=yes
36765 else
36766   glibcxx_cv_func__fmodl_use=no
36767 fi
36768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36769       ac_ext=c
36770 ac_cpp='$CPP $CPPFLAGS'
36771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36774
36775
36776 fi
36777
36778   fi
36779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
36780 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
36781
36782     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
36783       for ac_func in _fmodl
36784 do :
36785   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
36786 if test "x$ac_cv_func__fmodl" = x""yes; then :
36787   cat >>confdefs.h <<_ACEOF
36788 #define HAVE__FMODL 1
36789 _ACEOF
36790
36791 fi
36792 done
36793
36794     fi
36795   fi
36796
36797
36798
36799
36800
36801   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
36802 $as_echo_n "checking for frexpl declaration... " >&6; }
36803   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
36804     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
36805   $as_echo_n "(cached) " >&6
36806 else
36807
36808
36809       ac_ext=cpp
36810 ac_cpp='$CXXCPP $CPPFLAGS'
36811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36814
36815       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36816 /* end confdefs.h.  */
36817 #include <math.h>
36818 int
36819 main ()
36820 {
36821  frexpl(0, 0);
36822   ;
36823   return 0;
36824 }
36825 _ACEOF
36826 if ac_fn_cxx_try_compile "$LINENO"; then :
36827   glibcxx_cv_func_frexpl_use=yes
36828 else
36829   glibcxx_cv_func_frexpl_use=no
36830 fi
36831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36832       ac_ext=c
36833 ac_cpp='$CPP $CPPFLAGS'
36834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36837
36838
36839 fi
36840
36841   fi
36842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
36843 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
36844
36845   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
36846     for ac_func in frexpl
36847 do :
36848   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
36849 if test "x$ac_cv_func_frexpl" = x""yes; then :
36850   cat >>confdefs.h <<_ACEOF
36851 #define HAVE_FREXPL 1
36852 _ACEOF
36853
36854 fi
36855 done
36856
36857   else
36858
36859   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
36860 $as_echo_n "checking for _frexpl declaration... " >&6; }
36861   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
36862     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
36863   $as_echo_n "(cached) " >&6
36864 else
36865
36866
36867       ac_ext=cpp
36868 ac_cpp='$CXXCPP $CPPFLAGS'
36869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36872
36873       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36874 /* end confdefs.h.  */
36875 #include <math.h>
36876 int
36877 main ()
36878 {
36879  _frexpl(0, 0);
36880   ;
36881   return 0;
36882 }
36883 _ACEOF
36884 if ac_fn_cxx_try_compile "$LINENO"; then :
36885   glibcxx_cv_func__frexpl_use=yes
36886 else
36887   glibcxx_cv_func__frexpl_use=no
36888 fi
36889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36890       ac_ext=c
36891 ac_cpp='$CPP $CPPFLAGS'
36892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36895
36896
36897 fi
36898
36899   fi
36900   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
36901 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
36902
36903     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
36904       for ac_func in _frexpl
36905 do :
36906   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
36907 if test "x$ac_cv_func__frexpl" = x""yes; then :
36908   cat >>confdefs.h <<_ACEOF
36909 #define HAVE__FREXPL 1
36910 _ACEOF
36911
36912 fi
36913 done
36914
36915     fi
36916   fi
36917
36918
36919
36920
36921
36922   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
36923 $as_echo_n "checking for hypotl declaration... " >&6; }
36924   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
36925     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
36926   $as_echo_n "(cached) " >&6
36927 else
36928
36929
36930       ac_ext=cpp
36931 ac_cpp='$CXXCPP $CPPFLAGS'
36932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36935
36936       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36937 /* end confdefs.h.  */
36938 #include <math.h>
36939 int
36940 main ()
36941 {
36942  hypotl(0, 0);
36943   ;
36944   return 0;
36945 }
36946 _ACEOF
36947 if ac_fn_cxx_try_compile "$LINENO"; then :
36948   glibcxx_cv_func_hypotl_use=yes
36949 else
36950   glibcxx_cv_func_hypotl_use=no
36951 fi
36952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36953       ac_ext=c
36954 ac_cpp='$CPP $CPPFLAGS'
36955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36958
36959
36960 fi
36961
36962   fi
36963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
36964 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
36965
36966   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
36967     for ac_func in hypotl
36968 do :
36969   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
36970 if test "x$ac_cv_func_hypotl" = x""yes; then :
36971   cat >>confdefs.h <<_ACEOF
36972 #define HAVE_HYPOTL 1
36973 _ACEOF
36974
36975 fi
36976 done
36977
36978   else
36979
36980   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
36981 $as_echo_n "checking for _hypotl declaration... " >&6; }
36982   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
36983     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
36984   $as_echo_n "(cached) " >&6
36985 else
36986
36987
36988       ac_ext=cpp
36989 ac_cpp='$CXXCPP $CPPFLAGS'
36990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36993
36994       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36995 /* end confdefs.h.  */
36996 #include <math.h>
36997 int
36998 main ()
36999 {
37000  _hypotl(0, 0);
37001   ;
37002   return 0;
37003 }
37004 _ACEOF
37005 if ac_fn_cxx_try_compile "$LINENO"; then :
37006   glibcxx_cv_func__hypotl_use=yes
37007 else
37008   glibcxx_cv_func__hypotl_use=no
37009 fi
37010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37011       ac_ext=c
37012 ac_cpp='$CPP $CPPFLAGS'
37013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37016
37017
37018 fi
37019
37020   fi
37021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
37022 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
37023
37024     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
37025       for ac_func in _hypotl
37026 do :
37027   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
37028 if test "x$ac_cv_func__hypotl" = x""yes; then :
37029   cat >>confdefs.h <<_ACEOF
37030 #define HAVE__HYPOTL 1
37031 _ACEOF
37032
37033 fi
37034 done
37035
37036     fi
37037   fi
37038
37039
37040
37041
37042
37043   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
37044 $as_echo_n "checking for ldexpl declaration... " >&6; }
37045   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
37046     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
37047   $as_echo_n "(cached) " >&6
37048 else
37049
37050
37051       ac_ext=cpp
37052 ac_cpp='$CXXCPP $CPPFLAGS'
37053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37056
37057       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37058 /* end confdefs.h.  */
37059 #include <math.h>
37060 int
37061 main ()
37062 {
37063  ldexpl(0, 0);
37064   ;
37065   return 0;
37066 }
37067 _ACEOF
37068 if ac_fn_cxx_try_compile "$LINENO"; then :
37069   glibcxx_cv_func_ldexpl_use=yes
37070 else
37071   glibcxx_cv_func_ldexpl_use=no
37072 fi
37073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37074       ac_ext=c
37075 ac_cpp='$CPP $CPPFLAGS'
37076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37079
37080
37081 fi
37082
37083   fi
37084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
37085 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
37086
37087   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37088     for ac_func in ldexpl
37089 do :
37090   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
37091 if test "x$ac_cv_func_ldexpl" = x""yes; then :
37092   cat >>confdefs.h <<_ACEOF
37093 #define HAVE_LDEXPL 1
37094 _ACEOF
37095
37096 fi
37097 done
37098
37099   else
37100
37101   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
37102 $as_echo_n "checking for _ldexpl declaration... " >&6; }
37103   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37104     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
37105   $as_echo_n "(cached) " >&6
37106 else
37107
37108
37109       ac_ext=cpp
37110 ac_cpp='$CXXCPP $CPPFLAGS'
37111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37114
37115       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37116 /* end confdefs.h.  */
37117 #include <math.h>
37118 int
37119 main ()
37120 {
37121  _ldexpl(0, 0);
37122   ;
37123   return 0;
37124 }
37125 _ACEOF
37126 if ac_fn_cxx_try_compile "$LINENO"; then :
37127   glibcxx_cv_func__ldexpl_use=yes
37128 else
37129   glibcxx_cv_func__ldexpl_use=no
37130 fi
37131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37132       ac_ext=c
37133 ac_cpp='$CPP $CPPFLAGS'
37134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37137
37138
37139 fi
37140
37141   fi
37142   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
37143 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
37144
37145     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37146       for ac_func in _ldexpl
37147 do :
37148   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
37149 if test "x$ac_cv_func__ldexpl" = x""yes; then :
37150   cat >>confdefs.h <<_ACEOF
37151 #define HAVE__LDEXPL 1
37152 _ACEOF
37153
37154 fi
37155 done
37156
37157     fi
37158   fi
37159
37160
37161
37162
37163
37164   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
37165 $as_echo_n "checking for logl declaration... " >&6; }
37166   if test x${glibcxx_cv_func_logl_use+set} != xset; then
37167     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
37168   $as_echo_n "(cached) " >&6
37169 else
37170
37171
37172       ac_ext=cpp
37173 ac_cpp='$CXXCPP $CPPFLAGS'
37174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37177
37178       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37179 /* end confdefs.h.  */
37180 #include <math.h>
37181                       #ifdef HAVE_IEEEFP_H
37182                       #include <ieeefp.h>
37183                       #endif
37184
37185 int
37186 main ()
37187 {
37188  logl(0);
37189   ;
37190   return 0;
37191 }
37192 _ACEOF
37193 if ac_fn_cxx_try_compile "$LINENO"; then :
37194   glibcxx_cv_func_logl_use=yes
37195 else
37196   glibcxx_cv_func_logl_use=no
37197 fi
37198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37199       ac_ext=c
37200 ac_cpp='$CPP $CPPFLAGS'
37201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37204
37205
37206 fi
37207
37208   fi
37209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
37210 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
37211
37212   if test x$glibcxx_cv_func_logl_use = x"yes"; then
37213     for ac_func in logl
37214 do :
37215   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
37216 if test "x$ac_cv_func_logl" = x""yes; then :
37217   cat >>confdefs.h <<_ACEOF
37218 #define HAVE_LOGL 1
37219 _ACEOF
37220
37221 fi
37222 done
37223
37224   else
37225
37226   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
37227 $as_echo_n "checking for _logl declaration... " >&6; }
37228   if test x${glibcxx_cv_func__logl_use+set} != xset; then
37229     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
37230   $as_echo_n "(cached) " >&6
37231 else
37232
37233
37234       ac_ext=cpp
37235 ac_cpp='$CXXCPP $CPPFLAGS'
37236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37239
37240       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37241 /* end confdefs.h.  */
37242 #include <math.h>
37243                       #ifdef HAVE_IEEEFP_H
37244                       #include <ieeefp.h>
37245                       #endif
37246
37247 int
37248 main ()
37249 {
37250  _logl(0);
37251   ;
37252   return 0;
37253 }
37254 _ACEOF
37255 if ac_fn_cxx_try_compile "$LINENO"; then :
37256   glibcxx_cv_func__logl_use=yes
37257 else
37258   glibcxx_cv_func__logl_use=no
37259 fi
37260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37261       ac_ext=c
37262 ac_cpp='$CPP $CPPFLAGS'
37263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37266
37267
37268 fi
37269
37270   fi
37271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
37272 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
37273
37274     if test x$glibcxx_cv_func__logl_use = x"yes"; then
37275       for ac_func in _logl
37276 do :
37277   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
37278 if test "x$ac_cv_func__logl" = x""yes; then :
37279   cat >>confdefs.h <<_ACEOF
37280 #define HAVE__LOGL 1
37281 _ACEOF
37282
37283 fi
37284 done
37285
37286     fi
37287   fi
37288
37289
37290
37291
37292
37293   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
37294 $as_echo_n "checking for log10l declaration... " >&6; }
37295   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
37296     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
37297   $as_echo_n "(cached) " >&6
37298 else
37299
37300
37301       ac_ext=cpp
37302 ac_cpp='$CXXCPP $CPPFLAGS'
37303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37306
37307       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37308 /* end confdefs.h.  */
37309 #include <math.h>
37310                       #ifdef HAVE_IEEEFP_H
37311                       #include <ieeefp.h>
37312                       #endif
37313
37314 int
37315 main ()
37316 {
37317  log10l(0);
37318   ;
37319   return 0;
37320 }
37321 _ACEOF
37322 if ac_fn_cxx_try_compile "$LINENO"; then :
37323   glibcxx_cv_func_log10l_use=yes
37324 else
37325   glibcxx_cv_func_log10l_use=no
37326 fi
37327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37328       ac_ext=c
37329 ac_cpp='$CPP $CPPFLAGS'
37330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37333
37334
37335 fi
37336
37337   fi
37338   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
37339 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
37340
37341   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
37342     for ac_func in log10l
37343 do :
37344   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
37345 if test "x$ac_cv_func_log10l" = x""yes; then :
37346   cat >>confdefs.h <<_ACEOF
37347 #define HAVE_LOG10L 1
37348 _ACEOF
37349
37350 fi
37351 done
37352
37353   else
37354
37355   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
37356 $as_echo_n "checking for _log10l declaration... " >&6; }
37357   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
37358     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
37359   $as_echo_n "(cached) " >&6
37360 else
37361
37362
37363       ac_ext=cpp
37364 ac_cpp='$CXXCPP $CPPFLAGS'
37365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37368
37369       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37370 /* end confdefs.h.  */
37371 #include <math.h>
37372                       #ifdef HAVE_IEEEFP_H
37373                       #include <ieeefp.h>
37374                       #endif
37375
37376 int
37377 main ()
37378 {
37379  _log10l(0);
37380   ;
37381   return 0;
37382 }
37383 _ACEOF
37384 if ac_fn_cxx_try_compile "$LINENO"; then :
37385   glibcxx_cv_func__log10l_use=yes
37386 else
37387   glibcxx_cv_func__log10l_use=no
37388 fi
37389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37390       ac_ext=c
37391 ac_cpp='$CPP $CPPFLAGS'
37392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37395
37396
37397 fi
37398
37399   fi
37400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
37401 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
37402
37403     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
37404       for ac_func in _log10l
37405 do :
37406   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
37407 if test "x$ac_cv_func__log10l" = x""yes; then :
37408   cat >>confdefs.h <<_ACEOF
37409 #define HAVE__LOG10L 1
37410 _ACEOF
37411
37412 fi
37413 done
37414
37415     fi
37416   fi
37417
37418
37419
37420
37421
37422   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
37423 $as_echo_n "checking for modfl declaration... " >&6; }
37424   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
37425     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
37426   $as_echo_n "(cached) " >&6
37427 else
37428
37429
37430       ac_ext=cpp
37431 ac_cpp='$CXXCPP $CPPFLAGS'
37432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37435
37436       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37437 /* end confdefs.h.  */
37438 #include <math.h>
37439 int
37440 main ()
37441 {
37442  modfl(0, 0);
37443   ;
37444   return 0;
37445 }
37446 _ACEOF
37447 if ac_fn_cxx_try_compile "$LINENO"; then :
37448   glibcxx_cv_func_modfl_use=yes
37449 else
37450   glibcxx_cv_func_modfl_use=no
37451 fi
37452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37453       ac_ext=c
37454 ac_cpp='$CPP $CPPFLAGS'
37455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37458
37459
37460 fi
37461
37462   fi
37463   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
37464 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
37465
37466   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
37467     for ac_func in modfl
37468 do :
37469   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
37470 if test "x$ac_cv_func_modfl" = x""yes; then :
37471   cat >>confdefs.h <<_ACEOF
37472 #define HAVE_MODFL 1
37473 _ACEOF
37474
37475 fi
37476 done
37477
37478   else
37479
37480   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
37481 $as_echo_n "checking for _modfl declaration... " >&6; }
37482   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
37483     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
37484   $as_echo_n "(cached) " >&6
37485 else
37486
37487
37488       ac_ext=cpp
37489 ac_cpp='$CXXCPP $CPPFLAGS'
37490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37493
37494       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37495 /* end confdefs.h.  */
37496 #include <math.h>
37497 int
37498 main ()
37499 {
37500  _modfl(0, 0);
37501   ;
37502   return 0;
37503 }
37504 _ACEOF
37505 if ac_fn_cxx_try_compile "$LINENO"; then :
37506   glibcxx_cv_func__modfl_use=yes
37507 else
37508   glibcxx_cv_func__modfl_use=no
37509 fi
37510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37511       ac_ext=c
37512 ac_cpp='$CPP $CPPFLAGS'
37513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37516
37517
37518 fi
37519
37520   fi
37521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
37522 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
37523
37524     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
37525       for ac_func in _modfl
37526 do :
37527   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
37528 if test "x$ac_cv_func__modfl" = x""yes; then :
37529   cat >>confdefs.h <<_ACEOF
37530 #define HAVE__MODFL 1
37531 _ACEOF
37532
37533 fi
37534 done
37535
37536     fi
37537   fi
37538
37539
37540
37541
37542
37543   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
37544 $as_echo_n "checking for powl declaration... " >&6; }
37545   if test x${glibcxx_cv_func_powl_use+set} != xset; then
37546     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
37547   $as_echo_n "(cached) " >&6
37548 else
37549
37550
37551       ac_ext=cpp
37552 ac_cpp='$CXXCPP $CPPFLAGS'
37553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37556
37557       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37558 /* end confdefs.h.  */
37559 #include <math.h>
37560 int
37561 main ()
37562 {
37563  powl(0, 0);
37564   ;
37565   return 0;
37566 }
37567 _ACEOF
37568 if ac_fn_cxx_try_compile "$LINENO"; then :
37569   glibcxx_cv_func_powl_use=yes
37570 else
37571   glibcxx_cv_func_powl_use=no
37572 fi
37573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37574       ac_ext=c
37575 ac_cpp='$CPP $CPPFLAGS'
37576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37579
37580
37581 fi
37582
37583   fi
37584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
37585 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
37586
37587   if test x$glibcxx_cv_func_powl_use = x"yes"; then
37588     for ac_func in powl
37589 do :
37590   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
37591 if test "x$ac_cv_func_powl" = x""yes; then :
37592   cat >>confdefs.h <<_ACEOF
37593 #define HAVE_POWL 1
37594 _ACEOF
37595
37596 fi
37597 done
37598
37599   else
37600
37601   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
37602 $as_echo_n "checking for _powl declaration... " >&6; }
37603   if test x${glibcxx_cv_func__powl_use+set} != xset; then
37604     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
37605   $as_echo_n "(cached) " >&6
37606 else
37607
37608
37609       ac_ext=cpp
37610 ac_cpp='$CXXCPP $CPPFLAGS'
37611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37614
37615       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37616 /* end confdefs.h.  */
37617 #include <math.h>
37618 int
37619 main ()
37620 {
37621  _powl(0, 0);
37622   ;
37623   return 0;
37624 }
37625 _ACEOF
37626 if ac_fn_cxx_try_compile "$LINENO"; then :
37627   glibcxx_cv_func__powl_use=yes
37628 else
37629   glibcxx_cv_func__powl_use=no
37630 fi
37631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37632       ac_ext=c
37633 ac_cpp='$CPP $CPPFLAGS'
37634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37637
37638
37639 fi
37640
37641   fi
37642   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
37643 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
37644
37645     if test x$glibcxx_cv_func__powl_use = x"yes"; then
37646       for ac_func in _powl
37647 do :
37648   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
37649 if test "x$ac_cv_func__powl" = x""yes; then :
37650   cat >>confdefs.h <<_ACEOF
37651 #define HAVE__POWL 1
37652 _ACEOF
37653
37654 fi
37655 done
37656
37657     fi
37658   fi
37659
37660
37661
37662
37663
37664   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
37665 $as_echo_n "checking for sqrtl declaration... " >&6; }
37666   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
37667     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
37668   $as_echo_n "(cached) " >&6
37669 else
37670
37671
37672       ac_ext=cpp
37673 ac_cpp='$CXXCPP $CPPFLAGS'
37674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37677
37678       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37679 /* end confdefs.h.  */
37680 #include <math.h>
37681                       #ifdef HAVE_IEEEFP_H
37682                       #include <ieeefp.h>
37683                       #endif
37684
37685 int
37686 main ()
37687 {
37688  sqrtl(0);
37689   ;
37690   return 0;
37691 }
37692 _ACEOF
37693 if ac_fn_cxx_try_compile "$LINENO"; then :
37694   glibcxx_cv_func_sqrtl_use=yes
37695 else
37696   glibcxx_cv_func_sqrtl_use=no
37697 fi
37698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37699       ac_ext=c
37700 ac_cpp='$CPP $CPPFLAGS'
37701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37704
37705
37706 fi
37707
37708   fi
37709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
37710 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
37711
37712   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
37713     for ac_func in sqrtl
37714 do :
37715   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
37716 if test "x$ac_cv_func_sqrtl" = x""yes; then :
37717   cat >>confdefs.h <<_ACEOF
37718 #define HAVE_SQRTL 1
37719 _ACEOF
37720
37721 fi
37722 done
37723
37724   else
37725
37726   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
37727 $as_echo_n "checking for _sqrtl declaration... " >&6; }
37728   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
37729     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
37730   $as_echo_n "(cached) " >&6
37731 else
37732
37733
37734       ac_ext=cpp
37735 ac_cpp='$CXXCPP $CPPFLAGS'
37736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37739
37740       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37741 /* end confdefs.h.  */
37742 #include <math.h>
37743                       #ifdef HAVE_IEEEFP_H
37744                       #include <ieeefp.h>
37745                       #endif
37746
37747 int
37748 main ()
37749 {
37750  _sqrtl(0);
37751   ;
37752   return 0;
37753 }
37754 _ACEOF
37755 if ac_fn_cxx_try_compile "$LINENO"; then :
37756   glibcxx_cv_func__sqrtl_use=yes
37757 else
37758   glibcxx_cv_func__sqrtl_use=no
37759 fi
37760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37761       ac_ext=c
37762 ac_cpp='$CPP $CPPFLAGS'
37763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37766
37767
37768 fi
37769
37770   fi
37771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
37772 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
37773
37774     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
37775       for ac_func in _sqrtl
37776 do :
37777   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
37778 if test "x$ac_cv_func__sqrtl" = x""yes; then :
37779   cat >>confdefs.h <<_ACEOF
37780 #define HAVE__SQRTL 1
37781 _ACEOF
37782
37783 fi
37784 done
37785
37786     fi
37787   fi
37788
37789
37790
37791
37792
37793   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
37794 $as_echo_n "checking for sincosl declaration... " >&6; }
37795   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
37796     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
37797   $as_echo_n "(cached) " >&6
37798 else
37799
37800
37801       ac_ext=cpp
37802 ac_cpp='$CXXCPP $CPPFLAGS'
37803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37806
37807       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37808 /* end confdefs.h.  */
37809 #include <math.h>
37810 int
37811 main ()
37812 {
37813  sincosl(0, 0, 0);
37814   ;
37815   return 0;
37816 }
37817 _ACEOF
37818 if ac_fn_cxx_try_compile "$LINENO"; then :
37819   glibcxx_cv_func_sincosl_use=yes
37820 else
37821   glibcxx_cv_func_sincosl_use=no
37822 fi
37823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37824       ac_ext=c
37825 ac_cpp='$CPP $CPPFLAGS'
37826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37829
37830
37831 fi
37832
37833   fi
37834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
37835 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
37836
37837   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
37838     for ac_func in sincosl
37839 do :
37840   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
37841 if test "x$ac_cv_func_sincosl" = x""yes; then :
37842   cat >>confdefs.h <<_ACEOF
37843 #define HAVE_SINCOSL 1
37844 _ACEOF
37845
37846 fi
37847 done
37848
37849   else
37850
37851   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
37852 $as_echo_n "checking for _sincosl declaration... " >&6; }
37853   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
37854     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
37855   $as_echo_n "(cached) " >&6
37856 else
37857
37858
37859       ac_ext=cpp
37860 ac_cpp='$CXXCPP $CPPFLAGS'
37861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37864
37865       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37866 /* end confdefs.h.  */
37867 #include <math.h>
37868 int
37869 main ()
37870 {
37871  _sincosl(0, 0, 0);
37872   ;
37873   return 0;
37874 }
37875 _ACEOF
37876 if ac_fn_cxx_try_compile "$LINENO"; then :
37877   glibcxx_cv_func__sincosl_use=yes
37878 else
37879   glibcxx_cv_func__sincosl_use=no
37880 fi
37881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37882       ac_ext=c
37883 ac_cpp='$CPP $CPPFLAGS'
37884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37887
37888
37889 fi
37890
37891   fi
37892   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
37893 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
37894
37895     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
37896       for ac_func in _sincosl
37897 do :
37898   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
37899 if test "x$ac_cv_func__sincosl" = x""yes; then :
37900   cat >>confdefs.h <<_ACEOF
37901 #define HAVE__SINCOSL 1
37902 _ACEOF
37903
37904 fi
37905 done
37906
37907     fi
37908   fi
37909
37910
37911
37912
37913
37914   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
37915 $as_echo_n "checking for finitel declaration... " >&6; }
37916   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
37917     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
37918   $as_echo_n "(cached) " >&6
37919 else
37920
37921
37922       ac_ext=cpp
37923 ac_cpp='$CXXCPP $CPPFLAGS'
37924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37927
37928       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37929 /* end confdefs.h.  */
37930 #include <math.h>
37931                       #ifdef HAVE_IEEEFP_H
37932                       #include <ieeefp.h>
37933                       #endif
37934
37935 int
37936 main ()
37937 {
37938  finitel(0);
37939   ;
37940   return 0;
37941 }
37942 _ACEOF
37943 if ac_fn_cxx_try_compile "$LINENO"; then :
37944   glibcxx_cv_func_finitel_use=yes
37945 else
37946   glibcxx_cv_func_finitel_use=no
37947 fi
37948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37949       ac_ext=c
37950 ac_cpp='$CPP $CPPFLAGS'
37951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37954
37955
37956 fi
37957
37958   fi
37959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
37960 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
37961
37962   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
37963     for ac_func in finitel
37964 do :
37965   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
37966 if test "x$ac_cv_func_finitel" = x""yes; then :
37967   cat >>confdefs.h <<_ACEOF
37968 #define HAVE_FINITEL 1
37969 _ACEOF
37970
37971 fi
37972 done
37973
37974   else
37975
37976   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
37977 $as_echo_n "checking for _finitel declaration... " >&6; }
37978   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
37979     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
37980   $as_echo_n "(cached) " >&6
37981 else
37982
37983
37984       ac_ext=cpp
37985 ac_cpp='$CXXCPP $CPPFLAGS'
37986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37989
37990       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37991 /* end confdefs.h.  */
37992 #include <math.h>
37993                       #ifdef HAVE_IEEEFP_H
37994                       #include <ieeefp.h>
37995                       #endif
37996
37997 int
37998 main ()
37999 {
38000  _finitel(0);
38001   ;
38002   return 0;
38003 }
38004 _ACEOF
38005 if ac_fn_cxx_try_compile "$LINENO"; then :
38006   glibcxx_cv_func__finitel_use=yes
38007 else
38008   glibcxx_cv_func__finitel_use=no
38009 fi
38010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38011       ac_ext=c
38012 ac_cpp='$CPP $CPPFLAGS'
38013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38016
38017
38018 fi
38019
38020   fi
38021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
38022 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
38023
38024     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
38025       for ac_func in _finitel
38026 do :
38027   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
38028 if test "x$ac_cv_func__finitel" = x""yes; then :
38029   cat >>confdefs.h <<_ACEOF
38030 #define HAVE__FINITEL 1
38031 _ACEOF
38032
38033 fi
38034 done
38035
38036     fi
38037   fi
38038
38039
38040
38041
38042   LIBS="$ac_save_LIBS"
38043   CXXFLAGS="$ac_save_CXXFLAGS"
38044
38045
38046   ac_test_CXXFLAGS="${CXXFLAGS+set}"
38047   ac_save_CXXFLAGS="$CXXFLAGS"
38048   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38049
38050
38051   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
38052 $as_echo_n "checking for strtold declaration... " >&6; }
38053   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38054     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
38055   $as_echo_n "(cached) " >&6
38056 else
38057
38058
38059       ac_ext=cpp
38060 ac_cpp='$CXXCPP $CPPFLAGS'
38061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38064
38065       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38066 /* end confdefs.h.  */
38067 #include <stdlib.h>
38068 int
38069 main ()
38070 {
38071  strtold(0, 0);
38072   ;
38073   return 0;
38074 }
38075 _ACEOF
38076 if ac_fn_cxx_try_compile "$LINENO"; then :
38077   glibcxx_cv_func_strtold_use=yes
38078 else
38079   glibcxx_cv_func_strtold_use=no
38080 fi
38081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38082       ac_ext=c
38083 ac_cpp='$CPP $CPPFLAGS'
38084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38087
38088
38089 fi
38090
38091   fi
38092   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38093 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38094   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38095     for ac_func in strtold
38096 do :
38097   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
38098 if test "x$ac_cv_func_strtold" = x""yes; then :
38099   cat >>confdefs.h <<_ACEOF
38100 #define HAVE_STRTOLD 1
38101 _ACEOF
38102
38103 fi
38104 done
38105
38106   fi
38107
38108
38109
38110
38111   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38112 $as_echo_n "checking for strtof declaration... " >&6; }
38113   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38114     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
38115   $as_echo_n "(cached) " >&6
38116 else
38117
38118
38119       ac_ext=cpp
38120 ac_cpp='$CXXCPP $CPPFLAGS'
38121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38124
38125       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38126 /* end confdefs.h.  */
38127 #include <stdlib.h>
38128 int
38129 main ()
38130 {
38131  strtof(0, 0);
38132   ;
38133   return 0;
38134 }
38135 _ACEOF
38136 if ac_fn_cxx_try_compile "$LINENO"; then :
38137   glibcxx_cv_func_strtof_use=yes
38138 else
38139   glibcxx_cv_func_strtof_use=no
38140 fi
38141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38142       ac_ext=c
38143 ac_cpp='$CPP $CPPFLAGS'
38144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38147
38148
38149 fi
38150
38151   fi
38152   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
38153 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
38154   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38155     for ac_func in strtof
38156 do :
38157   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
38158 if test "x$ac_cv_func_strtof" = x""yes; then :
38159   cat >>confdefs.h <<_ACEOF
38160 #define HAVE_STRTOF 1
38161 _ACEOF
38162
38163 fi
38164 done
38165
38166   fi
38167
38168
38169
38170
38171   CXXFLAGS="$ac_save_CXXFLAGS"
38172
38173     $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
38174
38175     # We don't yet support AIX's TLS ABI.
38176     #GCC_CHECK_TLS
38177
38178
38179
38180
38181
38182           am_save_CPPFLAGS="$CPPFLAGS"
38183
38184   for element in $INCICONV; do
38185     haveit=
38186     for x in $CPPFLAGS; do
38187
38188   acl_save_prefix="$prefix"
38189   prefix="$acl_final_prefix"
38190   acl_save_exec_prefix="$exec_prefix"
38191   exec_prefix="$acl_final_exec_prefix"
38192   eval x=\"$x\"
38193   exec_prefix="$acl_save_exec_prefix"
38194   prefix="$acl_save_prefix"
38195
38196       if test "X$x" = "X$element"; then
38197         haveit=yes
38198         break
38199       fi
38200     done
38201     if test -z "$haveit"; then
38202       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
38203     fi
38204   done
38205
38206
38207   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
38208 $as_echo_n "checking for iconv... " >&6; }
38209 if test "${am_cv_func_iconv+set}" = set; then :
38210   $as_echo_n "(cached) " >&6
38211 else
38212
38213     am_cv_func_iconv="no, consider installing GNU libiconv"
38214     am_cv_lib_iconv=no
38215     if test x$gcc_no_link = xyes; then
38216   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38217 fi
38218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38219 /* end confdefs.h.  */
38220 #include <stdlib.h>
38221 #include <iconv.h>
38222 int
38223 main ()
38224 {
38225 iconv_t cd = iconv_open("","");
38226        iconv(cd,NULL,NULL,NULL,NULL);
38227        iconv_close(cd);
38228   ;
38229   return 0;
38230 }
38231 _ACEOF
38232 if ac_fn_c_try_link "$LINENO"; then :
38233   am_cv_func_iconv=yes
38234 fi
38235 rm -f core conftest.err conftest.$ac_objext \
38236     conftest$ac_exeext conftest.$ac_ext
38237     if test "$am_cv_func_iconv" != yes; then
38238       am_save_LIBS="$LIBS"
38239       LIBS="$LIBS $LIBICONV"
38240       if test x$gcc_no_link = xyes; then
38241   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38242 fi
38243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38244 /* end confdefs.h.  */
38245 #include <stdlib.h>
38246 #include <iconv.h>
38247 int
38248 main ()
38249 {
38250 iconv_t cd = iconv_open("","");
38251          iconv(cd,NULL,NULL,NULL,NULL);
38252          iconv_close(cd);
38253   ;
38254   return 0;
38255 }
38256 _ACEOF
38257 if ac_fn_c_try_link "$LINENO"; then :
38258   am_cv_lib_iconv=yes
38259         am_cv_func_iconv=yes
38260 fi
38261 rm -f core conftest.err conftest.$ac_objext \
38262     conftest$ac_exeext conftest.$ac_ext
38263       LIBS="$am_save_LIBS"
38264     fi
38265
38266 fi
38267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
38268 $as_echo "$am_cv_func_iconv" >&6; }
38269   if test "$am_cv_func_iconv" = yes; then
38270
38271 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
38272
38273   fi
38274   if test "$am_cv_lib_iconv" = yes; then
38275     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
38276 $as_echo_n "checking how to link with libiconv... " >&6; }
38277     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
38278 $as_echo "$LIBICONV" >&6; }
38279   else
38280             CPPFLAGS="$am_save_CPPFLAGS"
38281     LIBICONV=
38282     LTLIBICONV=
38283   fi
38284
38285
38286
38287   if test "$am_cv_func_iconv" = yes; then
38288     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
38289 $as_echo_n "checking for iconv declaration... " >&6; }
38290     if test "${am_cv_proto_iconv+set}" = set; then :
38291   $as_echo_n "(cached) " >&6
38292 else
38293
38294       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38295 /* end confdefs.h.  */
38296
38297 #include <stdlib.h>
38298 #include <iconv.h>
38299 extern
38300 #ifdef __cplusplus
38301 "C"
38302 #endif
38303 #if defined(__STDC__) || defined(__cplusplus)
38304 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38305 #else
38306 size_t iconv();
38307 #endif
38308
38309 int
38310 main ()
38311 {
38312
38313   ;
38314   return 0;
38315 }
38316 _ACEOF
38317 if ac_fn_c_try_compile "$LINENO"; then :
38318   am_cv_proto_iconv_arg1=""
38319 else
38320   am_cv_proto_iconv_arg1="const"
38321 fi
38322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38323       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);"
38324 fi
38325
38326     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
38327     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
38328          }$am_cv_proto_iconv" >&5
38329 $as_echo "${ac_t:-
38330          }$am_cv_proto_iconv" >&6; }
38331
38332 cat >>confdefs.h <<_ACEOF
38333 #define ICONV_CONST $am_cv_proto_iconv_arg1
38334 _ACEOF
38335
38336   fi
38337
38338     ;;
38339
38340   *-darwin*)
38341     # Darwin versions vary, but the linker should work in a cross environment,
38342     # so we just check for all the features here.
38343     # Check for available headers.
38344
38345     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
38346
38347   ac_test_CXXFLAGS="${CXXFLAGS+set}"
38348   ac_save_CXXFLAGS="$CXXFLAGS"
38349   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38350
38351     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
38352 $as_echo_n "checking for sin in -lm... " >&6; }
38353 if test "${ac_cv_lib_m_sin+set}" = set; then :
38354   $as_echo_n "(cached) " >&6
38355 else
38356   ac_check_lib_save_LIBS=$LIBS
38357 LIBS="-lm  $LIBS"
38358 if test x$gcc_no_link = xyes; then
38359   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38360 fi
38361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38362 /* end confdefs.h.  */
38363
38364 /* Override any GCC internal prototype to avoid an error.
38365    Use char because int might match the return type of a GCC
38366    builtin and then its argument prototype would still apply.  */
38367 #ifdef __cplusplus
38368 extern "C"
38369 #endif
38370 char sin ();
38371 int
38372 main ()
38373 {
38374 return sin ();
38375   ;
38376   return 0;
38377 }
38378 _ACEOF
38379 if ac_fn_c_try_link "$LINENO"; then :
38380   ac_cv_lib_m_sin=yes
38381 else
38382   ac_cv_lib_m_sin=no
38383 fi
38384 rm -f core conftest.err conftest.$ac_objext \
38385     conftest$ac_exeext conftest.$ac_ext
38386 LIBS=$ac_check_lib_save_LIBS
38387 fi
38388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
38389 $as_echo "$ac_cv_lib_m_sin" >&6; }
38390 if test "x$ac_cv_lib_m_sin" = x""yes; then :
38391   libm="-lm"
38392 fi
38393
38394   ac_save_LIBS="$LIBS"
38395   LIBS="$LIBS $libm"
38396
38397
38398
38399   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
38400 $as_echo_n "checking for isinf declaration... " >&6; }
38401   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
38402     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
38403   $as_echo_n "(cached) " >&6
38404 else
38405
38406
38407       ac_ext=cpp
38408 ac_cpp='$CXXCPP $CPPFLAGS'
38409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38412
38413       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38414 /* end confdefs.h.  */
38415 #include <math.h>
38416                       #ifdef HAVE_IEEEFP_H
38417                       #include <ieeefp.h>
38418                       #endif
38419
38420 int
38421 main ()
38422 {
38423  isinf(0);
38424   ;
38425   return 0;
38426 }
38427 _ACEOF
38428 if ac_fn_cxx_try_compile "$LINENO"; then :
38429   glibcxx_cv_func_isinf_use=yes
38430 else
38431   glibcxx_cv_func_isinf_use=no
38432 fi
38433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38434       ac_ext=c
38435 ac_cpp='$CPP $CPPFLAGS'
38436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38439
38440
38441 fi
38442
38443   fi
38444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
38445 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
38446
38447   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
38448     for ac_func in isinf
38449 do :
38450   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
38451 if test "x$ac_cv_func_isinf" = x""yes; then :
38452   cat >>confdefs.h <<_ACEOF
38453 #define HAVE_ISINF 1
38454 _ACEOF
38455
38456 fi
38457 done
38458
38459   else
38460
38461   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
38462 $as_echo_n "checking for _isinf declaration... " >&6; }
38463   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
38464     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
38465   $as_echo_n "(cached) " >&6
38466 else
38467
38468
38469       ac_ext=cpp
38470 ac_cpp='$CXXCPP $CPPFLAGS'
38471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38474
38475       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38476 /* end confdefs.h.  */
38477 #include <math.h>
38478                       #ifdef HAVE_IEEEFP_H
38479                       #include <ieeefp.h>
38480                       #endif
38481
38482 int
38483 main ()
38484 {
38485  _isinf(0);
38486   ;
38487   return 0;
38488 }
38489 _ACEOF
38490 if ac_fn_cxx_try_compile "$LINENO"; then :
38491   glibcxx_cv_func__isinf_use=yes
38492 else
38493   glibcxx_cv_func__isinf_use=no
38494 fi
38495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38496       ac_ext=c
38497 ac_cpp='$CPP $CPPFLAGS'
38498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38501
38502
38503 fi
38504
38505   fi
38506   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
38507 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
38508
38509     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
38510       for ac_func in _isinf
38511 do :
38512   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
38513 if test "x$ac_cv_func__isinf" = x""yes; then :
38514   cat >>confdefs.h <<_ACEOF
38515 #define HAVE__ISINF 1
38516 _ACEOF
38517
38518 fi
38519 done
38520
38521     fi
38522   fi
38523
38524
38525
38526
38527
38528   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
38529 $as_echo_n "checking for isnan declaration... " >&6; }
38530   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
38531     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
38532   $as_echo_n "(cached) " >&6
38533 else
38534
38535
38536       ac_ext=cpp
38537 ac_cpp='$CXXCPP $CPPFLAGS'
38538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38541
38542       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38543 /* end confdefs.h.  */
38544 #include <math.h>
38545                       #ifdef HAVE_IEEEFP_H
38546                       #include <ieeefp.h>
38547                       #endif
38548
38549 int
38550 main ()
38551 {
38552  isnan(0);
38553   ;
38554   return 0;
38555 }
38556 _ACEOF
38557 if ac_fn_cxx_try_compile "$LINENO"; then :
38558   glibcxx_cv_func_isnan_use=yes
38559 else
38560   glibcxx_cv_func_isnan_use=no
38561 fi
38562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38563       ac_ext=c
38564 ac_cpp='$CPP $CPPFLAGS'
38565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38568
38569
38570 fi
38571
38572   fi
38573   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
38574 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
38575
38576   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
38577     for ac_func in isnan
38578 do :
38579   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
38580 if test "x$ac_cv_func_isnan" = x""yes; then :
38581   cat >>confdefs.h <<_ACEOF
38582 #define HAVE_ISNAN 1
38583 _ACEOF
38584
38585 fi
38586 done
38587
38588   else
38589
38590   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
38591 $as_echo_n "checking for _isnan declaration... " >&6; }
38592   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
38593     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
38594   $as_echo_n "(cached) " >&6
38595 else
38596
38597
38598       ac_ext=cpp
38599 ac_cpp='$CXXCPP $CPPFLAGS'
38600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38603
38604       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38605 /* end confdefs.h.  */
38606 #include <math.h>
38607                       #ifdef HAVE_IEEEFP_H
38608                       #include <ieeefp.h>
38609                       #endif
38610
38611 int
38612 main ()
38613 {
38614  _isnan(0);
38615   ;
38616   return 0;
38617 }
38618 _ACEOF
38619 if ac_fn_cxx_try_compile "$LINENO"; then :
38620   glibcxx_cv_func__isnan_use=yes
38621 else
38622   glibcxx_cv_func__isnan_use=no
38623 fi
38624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38625       ac_ext=c
38626 ac_cpp='$CPP $CPPFLAGS'
38627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38630
38631
38632 fi
38633
38634   fi
38635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
38636 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
38637
38638     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
38639       for ac_func in _isnan
38640 do :
38641   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
38642 if test "x$ac_cv_func__isnan" = x""yes; then :
38643   cat >>confdefs.h <<_ACEOF
38644 #define HAVE__ISNAN 1
38645 _ACEOF
38646
38647 fi
38648 done
38649
38650     fi
38651   fi
38652
38653
38654
38655
38656
38657   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
38658 $as_echo_n "checking for finite declaration... " >&6; }
38659   if test x${glibcxx_cv_func_finite_use+set} != xset; then
38660     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
38661   $as_echo_n "(cached) " >&6
38662 else
38663
38664
38665       ac_ext=cpp
38666 ac_cpp='$CXXCPP $CPPFLAGS'
38667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38670
38671       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38672 /* end confdefs.h.  */
38673 #include <math.h>
38674                       #ifdef HAVE_IEEEFP_H
38675                       #include <ieeefp.h>
38676                       #endif
38677
38678 int
38679 main ()
38680 {
38681  finite(0);
38682   ;
38683   return 0;
38684 }
38685 _ACEOF
38686 if ac_fn_cxx_try_compile "$LINENO"; then :
38687   glibcxx_cv_func_finite_use=yes
38688 else
38689   glibcxx_cv_func_finite_use=no
38690 fi
38691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38692       ac_ext=c
38693 ac_cpp='$CPP $CPPFLAGS'
38694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38697
38698
38699 fi
38700
38701   fi
38702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
38703 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
38704
38705   if test x$glibcxx_cv_func_finite_use = x"yes"; then
38706     for ac_func in finite
38707 do :
38708   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
38709 if test "x$ac_cv_func_finite" = x""yes; then :
38710   cat >>confdefs.h <<_ACEOF
38711 #define HAVE_FINITE 1
38712 _ACEOF
38713
38714 fi
38715 done
38716
38717   else
38718
38719   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
38720 $as_echo_n "checking for _finite declaration... " >&6; }
38721   if test x${glibcxx_cv_func__finite_use+set} != xset; then
38722     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
38723   $as_echo_n "(cached) " >&6
38724 else
38725
38726
38727       ac_ext=cpp
38728 ac_cpp='$CXXCPP $CPPFLAGS'
38729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38732
38733       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38734 /* end confdefs.h.  */
38735 #include <math.h>
38736                       #ifdef HAVE_IEEEFP_H
38737                       #include <ieeefp.h>
38738                       #endif
38739
38740 int
38741 main ()
38742 {
38743  _finite(0);
38744   ;
38745   return 0;
38746 }
38747 _ACEOF
38748 if ac_fn_cxx_try_compile "$LINENO"; then :
38749   glibcxx_cv_func__finite_use=yes
38750 else
38751   glibcxx_cv_func__finite_use=no
38752 fi
38753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38754       ac_ext=c
38755 ac_cpp='$CPP $CPPFLAGS'
38756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38759
38760
38761 fi
38762
38763   fi
38764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
38765 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
38766
38767     if test x$glibcxx_cv_func__finite_use = x"yes"; then
38768       for ac_func in _finite
38769 do :
38770   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
38771 if test "x$ac_cv_func__finite" = x""yes; then :
38772   cat >>confdefs.h <<_ACEOF
38773 #define HAVE__FINITE 1
38774 _ACEOF
38775
38776 fi
38777 done
38778
38779     fi
38780   fi
38781
38782
38783
38784
38785
38786   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
38787 $as_echo_n "checking for sincos declaration... " >&6; }
38788   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
38789     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
38790   $as_echo_n "(cached) " >&6
38791 else
38792
38793
38794       ac_ext=cpp
38795 ac_cpp='$CXXCPP $CPPFLAGS'
38796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38799
38800       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38801 /* end confdefs.h.  */
38802 #include <math.h>
38803 int
38804 main ()
38805 {
38806  sincos(0, 0, 0);
38807   ;
38808   return 0;
38809 }
38810 _ACEOF
38811 if ac_fn_cxx_try_compile "$LINENO"; then :
38812   glibcxx_cv_func_sincos_use=yes
38813 else
38814   glibcxx_cv_func_sincos_use=no
38815 fi
38816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38817       ac_ext=c
38818 ac_cpp='$CPP $CPPFLAGS'
38819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38822
38823
38824 fi
38825
38826   fi
38827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
38828 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
38829
38830   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
38831     for ac_func in sincos
38832 do :
38833   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
38834 if test "x$ac_cv_func_sincos" = x""yes; then :
38835   cat >>confdefs.h <<_ACEOF
38836 #define HAVE_SINCOS 1
38837 _ACEOF
38838
38839 fi
38840 done
38841
38842   else
38843
38844   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
38845 $as_echo_n "checking for _sincos declaration... " >&6; }
38846   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
38847     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
38848   $as_echo_n "(cached) " >&6
38849 else
38850
38851
38852       ac_ext=cpp
38853 ac_cpp='$CXXCPP $CPPFLAGS'
38854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38857
38858       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38859 /* end confdefs.h.  */
38860 #include <math.h>
38861 int
38862 main ()
38863 {
38864  _sincos(0, 0, 0);
38865   ;
38866   return 0;
38867 }
38868 _ACEOF
38869 if ac_fn_cxx_try_compile "$LINENO"; then :
38870   glibcxx_cv_func__sincos_use=yes
38871 else
38872   glibcxx_cv_func__sincos_use=no
38873 fi
38874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38875       ac_ext=c
38876 ac_cpp='$CPP $CPPFLAGS'
38877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38880
38881
38882 fi
38883
38884   fi
38885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
38886 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
38887
38888     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
38889       for ac_func in _sincos
38890 do :
38891   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
38892 if test "x$ac_cv_func__sincos" = x""yes; then :
38893   cat >>confdefs.h <<_ACEOF
38894 #define HAVE__SINCOS 1
38895 _ACEOF
38896
38897 fi
38898 done
38899
38900     fi
38901   fi
38902
38903
38904
38905
38906
38907   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
38908 $as_echo_n "checking for fpclass declaration... " >&6; }
38909   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
38910     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
38911   $as_echo_n "(cached) " >&6
38912 else
38913
38914
38915       ac_ext=cpp
38916 ac_cpp='$CXXCPP $CPPFLAGS'
38917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38920
38921       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38922 /* end confdefs.h.  */
38923 #include <math.h>
38924                       #ifdef HAVE_IEEEFP_H
38925                       #include <ieeefp.h>
38926                       #endif
38927
38928 int
38929 main ()
38930 {
38931  fpclass(0);
38932   ;
38933   return 0;
38934 }
38935 _ACEOF
38936 if ac_fn_cxx_try_compile "$LINENO"; then :
38937   glibcxx_cv_func_fpclass_use=yes
38938 else
38939   glibcxx_cv_func_fpclass_use=no
38940 fi
38941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38942       ac_ext=c
38943 ac_cpp='$CPP $CPPFLAGS'
38944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38947
38948
38949 fi
38950
38951   fi
38952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
38953 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
38954
38955   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
38956     for ac_func in fpclass
38957 do :
38958   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
38959 if test "x$ac_cv_func_fpclass" = x""yes; then :
38960   cat >>confdefs.h <<_ACEOF
38961 #define HAVE_FPCLASS 1
38962 _ACEOF
38963
38964 fi
38965 done
38966
38967   else
38968
38969   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
38970 $as_echo_n "checking for _fpclass declaration... " >&6; }
38971   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
38972     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
38973   $as_echo_n "(cached) " >&6
38974 else
38975
38976
38977       ac_ext=cpp
38978 ac_cpp='$CXXCPP $CPPFLAGS'
38979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38982
38983       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38984 /* end confdefs.h.  */
38985 #include <math.h>
38986                       #ifdef HAVE_IEEEFP_H
38987                       #include <ieeefp.h>
38988                       #endif
38989
38990 int
38991 main ()
38992 {
38993  _fpclass(0);
38994   ;
38995   return 0;
38996 }
38997 _ACEOF
38998 if ac_fn_cxx_try_compile "$LINENO"; then :
38999   glibcxx_cv_func__fpclass_use=yes
39000 else
39001   glibcxx_cv_func__fpclass_use=no
39002 fi
39003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39004       ac_ext=c
39005 ac_cpp='$CPP $CPPFLAGS'
39006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39009
39010
39011 fi
39012
39013   fi
39014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
39015 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
39016
39017     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
39018       for ac_func in _fpclass
39019 do :
39020   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
39021 if test "x$ac_cv_func__fpclass" = x""yes; then :
39022   cat >>confdefs.h <<_ACEOF
39023 #define HAVE__FPCLASS 1
39024 _ACEOF
39025
39026 fi
39027 done
39028
39029     fi
39030   fi
39031
39032
39033
39034
39035
39036   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
39037 $as_echo_n "checking for qfpclass declaration... " >&6; }
39038   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
39039     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
39040   $as_echo_n "(cached) " >&6
39041 else
39042
39043
39044       ac_ext=cpp
39045 ac_cpp='$CXXCPP $CPPFLAGS'
39046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39049
39050       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39051 /* end confdefs.h.  */
39052 #include <math.h>
39053                       #ifdef HAVE_IEEEFP_H
39054                       #include <ieeefp.h>
39055                       #endif
39056
39057 int
39058 main ()
39059 {
39060  qfpclass(0);
39061   ;
39062   return 0;
39063 }
39064 _ACEOF
39065 if ac_fn_cxx_try_compile "$LINENO"; then :
39066   glibcxx_cv_func_qfpclass_use=yes
39067 else
39068   glibcxx_cv_func_qfpclass_use=no
39069 fi
39070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39071       ac_ext=c
39072 ac_cpp='$CPP $CPPFLAGS'
39073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39076
39077
39078 fi
39079
39080   fi
39081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
39082 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
39083
39084   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
39085     for ac_func in qfpclass
39086 do :
39087   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
39088 if test "x$ac_cv_func_qfpclass" = x""yes; then :
39089   cat >>confdefs.h <<_ACEOF
39090 #define HAVE_QFPCLASS 1
39091 _ACEOF
39092
39093 fi
39094 done
39095
39096   else
39097
39098   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
39099 $as_echo_n "checking for _qfpclass declaration... " >&6; }
39100   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
39101     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
39102   $as_echo_n "(cached) " >&6
39103 else
39104
39105
39106       ac_ext=cpp
39107 ac_cpp='$CXXCPP $CPPFLAGS'
39108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39111
39112       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39113 /* end confdefs.h.  */
39114 #include <math.h>
39115                       #ifdef HAVE_IEEEFP_H
39116                       #include <ieeefp.h>
39117                       #endif
39118
39119 int
39120 main ()
39121 {
39122  _qfpclass(0);
39123   ;
39124   return 0;
39125 }
39126 _ACEOF
39127 if ac_fn_cxx_try_compile "$LINENO"; then :
39128   glibcxx_cv_func__qfpclass_use=yes
39129 else
39130   glibcxx_cv_func__qfpclass_use=no
39131 fi
39132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39133       ac_ext=c
39134 ac_cpp='$CPP $CPPFLAGS'
39135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39138
39139
39140 fi
39141
39142   fi
39143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
39144 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
39145
39146     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
39147       for ac_func in _qfpclass
39148 do :
39149   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
39150 if test "x$ac_cv_func__qfpclass" = x""yes; then :
39151   cat >>confdefs.h <<_ACEOF
39152 #define HAVE__QFPCLASS 1
39153 _ACEOF
39154
39155 fi
39156 done
39157
39158     fi
39159   fi
39160
39161
39162
39163
39164
39165   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
39166 $as_echo_n "checking for hypot declaration... " >&6; }
39167   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
39168     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
39169   $as_echo_n "(cached) " >&6
39170 else
39171
39172
39173       ac_ext=cpp
39174 ac_cpp='$CXXCPP $CPPFLAGS'
39175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39178
39179       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39180 /* end confdefs.h.  */
39181 #include <math.h>
39182 int
39183 main ()
39184 {
39185  hypot(0, 0);
39186   ;
39187   return 0;
39188 }
39189 _ACEOF
39190 if ac_fn_cxx_try_compile "$LINENO"; then :
39191   glibcxx_cv_func_hypot_use=yes
39192 else
39193   glibcxx_cv_func_hypot_use=no
39194 fi
39195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39196       ac_ext=c
39197 ac_cpp='$CPP $CPPFLAGS'
39198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39201
39202
39203 fi
39204
39205   fi
39206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
39207 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
39208
39209   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
39210     for ac_func in hypot
39211 do :
39212   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
39213 if test "x$ac_cv_func_hypot" = x""yes; then :
39214   cat >>confdefs.h <<_ACEOF
39215 #define HAVE_HYPOT 1
39216 _ACEOF
39217
39218 fi
39219 done
39220
39221   else
39222
39223   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
39224 $as_echo_n "checking for _hypot declaration... " >&6; }
39225   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
39226     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
39227   $as_echo_n "(cached) " >&6
39228 else
39229
39230
39231       ac_ext=cpp
39232 ac_cpp='$CXXCPP $CPPFLAGS'
39233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39236
39237       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39238 /* end confdefs.h.  */
39239 #include <math.h>
39240 int
39241 main ()
39242 {
39243  _hypot(0, 0);
39244   ;
39245   return 0;
39246 }
39247 _ACEOF
39248 if ac_fn_cxx_try_compile "$LINENO"; then :
39249   glibcxx_cv_func__hypot_use=yes
39250 else
39251   glibcxx_cv_func__hypot_use=no
39252 fi
39253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39254       ac_ext=c
39255 ac_cpp='$CPP $CPPFLAGS'
39256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39259
39260
39261 fi
39262
39263   fi
39264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
39265 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
39266
39267     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
39268       for ac_func in _hypot
39269 do :
39270   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
39271 if test "x$ac_cv_func__hypot" = x""yes; then :
39272   cat >>confdefs.h <<_ACEOF
39273 #define HAVE__HYPOT 1
39274 _ACEOF
39275
39276 fi
39277 done
39278
39279     fi
39280   fi
39281
39282
39283
39284
39285
39286     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
39287 $as_echo_n "checking for float trig functions... " >&6; }
39288   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
39289   $as_echo_n "(cached) " >&6
39290 else
39291
39292
39293     ac_ext=cpp
39294 ac_cpp='$CXXCPP $CPPFLAGS'
39295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39298
39299     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39300 /* end confdefs.h.  */
39301 #include <math.h>
39302 int
39303 main ()
39304 {
39305 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
39306   ;
39307   return 0;
39308 }
39309 _ACEOF
39310 if ac_fn_cxx_try_compile "$LINENO"; then :
39311   glibcxx_cv_func_float_trig_use=yes
39312 else
39313   glibcxx_cv_func_float_trig_use=no
39314 fi
39315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39316     ac_ext=c
39317 ac_cpp='$CPP $CPPFLAGS'
39318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39321
39322 fi
39323
39324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
39325 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
39326   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
39327     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
39328 do :
39329   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39330 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39331 eval as_val=\$$as_ac_var
39332    if test "x$as_val" = x""yes; then :
39333   cat >>confdefs.h <<_ACEOF
39334 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39335 _ACEOF
39336
39337 fi
39338 done
39339
39340   else
39341     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
39342 $as_echo_n "checking for _float trig functions... " >&6; }
39343     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
39344   $as_echo_n "(cached) " >&6
39345 else
39346
39347
39348       ac_ext=cpp
39349 ac_cpp='$CXXCPP $CPPFLAGS'
39350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39353
39354       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39355 /* end confdefs.h.  */
39356 #include <math.h>
39357 int
39358 main ()
39359 {
39360 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
39361   ;
39362   return 0;
39363 }
39364 _ACEOF
39365 if ac_fn_cxx_try_compile "$LINENO"; then :
39366   glibcxx_cv_func__float_trig_use=yes
39367 else
39368   glibcxx_cv_func__float_trig_use=no
39369 fi
39370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39371       ac_ext=c
39372 ac_cpp='$CPP $CPPFLAGS'
39373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39376
39377 fi
39378
39379     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
39380 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
39381     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
39382       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
39383 do :
39384   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39385 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39386 eval as_val=\$$as_ac_var
39387    if test "x$as_val" = x""yes; then :
39388   cat >>confdefs.h <<_ACEOF
39389 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39390 _ACEOF
39391
39392 fi
39393 done
39394
39395     fi
39396   fi
39397
39398
39399
39400
39401
39402     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
39403 $as_echo_n "checking for float round functions... " >&6; }
39404   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
39405   $as_echo_n "(cached) " >&6
39406 else
39407
39408
39409     ac_ext=cpp
39410 ac_cpp='$CXXCPP $CPPFLAGS'
39411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39414
39415     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39416 /* end confdefs.h.  */
39417 #include <math.h>
39418 int
39419 main ()
39420 {
39421 ceilf (0); floorf (0);
39422   ;
39423   return 0;
39424 }
39425 _ACEOF
39426 if ac_fn_cxx_try_compile "$LINENO"; then :
39427   glibcxx_cv_func_float_round_use=yes
39428 else
39429   glibcxx_cv_func_float_round_use=no
39430 fi
39431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39432     ac_ext=c
39433 ac_cpp='$CPP $CPPFLAGS'
39434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39437
39438 fi
39439
39440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
39441 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
39442   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
39443     for ac_func in ceilf floorf
39444 do :
39445   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39446 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39447 eval as_val=\$$as_ac_var
39448    if test "x$as_val" = x""yes; then :
39449   cat >>confdefs.h <<_ACEOF
39450 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39451 _ACEOF
39452
39453 fi
39454 done
39455
39456   else
39457     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
39458 $as_echo_n "checking for _float round functions... " >&6; }
39459     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
39460   $as_echo_n "(cached) " >&6
39461 else
39462
39463
39464       ac_ext=cpp
39465 ac_cpp='$CXXCPP $CPPFLAGS'
39466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39469
39470       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39471 /* end confdefs.h.  */
39472 #include <math.h>
39473 int
39474 main ()
39475 {
39476 _ceilf (0); _floorf (0);
39477   ;
39478   return 0;
39479 }
39480 _ACEOF
39481 if ac_fn_cxx_try_compile "$LINENO"; then :
39482   glibcxx_cv_func__float_round_use=yes
39483 else
39484   glibcxx_cv_func__float_round_use=no
39485 fi
39486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39487       ac_ext=c
39488 ac_cpp='$CPP $CPPFLAGS'
39489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39492
39493 fi
39494
39495     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
39496 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
39497     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
39498       for ac_func in _ceilf _floorf
39499 do :
39500   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39501 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39502 eval as_val=\$$as_ac_var
39503    if test "x$as_val" = x""yes; then :
39504   cat >>confdefs.h <<_ACEOF
39505 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39506 _ACEOF
39507
39508 fi
39509 done
39510
39511     fi
39512   fi
39513
39514
39515
39516
39517
39518
39519   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
39520 $as_echo_n "checking for expf declaration... " >&6; }
39521   if test x${glibcxx_cv_func_expf_use+set} != xset; then
39522     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
39523   $as_echo_n "(cached) " >&6
39524 else
39525
39526
39527       ac_ext=cpp
39528 ac_cpp='$CXXCPP $CPPFLAGS'
39529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39532
39533       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39534 /* end confdefs.h.  */
39535 #include <math.h>
39536                       #ifdef HAVE_IEEEFP_H
39537                       #include <ieeefp.h>
39538                       #endif
39539
39540 int
39541 main ()
39542 {
39543  expf(0);
39544   ;
39545   return 0;
39546 }
39547 _ACEOF
39548 if ac_fn_cxx_try_compile "$LINENO"; then :
39549   glibcxx_cv_func_expf_use=yes
39550 else
39551   glibcxx_cv_func_expf_use=no
39552 fi
39553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39554       ac_ext=c
39555 ac_cpp='$CPP $CPPFLAGS'
39556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39559
39560
39561 fi
39562
39563   fi
39564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
39565 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
39566
39567   if test x$glibcxx_cv_func_expf_use = x"yes"; then
39568     for ac_func in expf
39569 do :
39570   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
39571 if test "x$ac_cv_func_expf" = x""yes; then :
39572   cat >>confdefs.h <<_ACEOF
39573 #define HAVE_EXPF 1
39574 _ACEOF
39575
39576 fi
39577 done
39578
39579   else
39580
39581   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
39582 $as_echo_n "checking for _expf declaration... " >&6; }
39583   if test x${glibcxx_cv_func__expf_use+set} != xset; then
39584     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
39585   $as_echo_n "(cached) " >&6
39586 else
39587
39588
39589       ac_ext=cpp
39590 ac_cpp='$CXXCPP $CPPFLAGS'
39591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39594
39595       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39596 /* end confdefs.h.  */
39597 #include <math.h>
39598                       #ifdef HAVE_IEEEFP_H
39599                       #include <ieeefp.h>
39600                       #endif
39601
39602 int
39603 main ()
39604 {
39605  _expf(0);
39606   ;
39607   return 0;
39608 }
39609 _ACEOF
39610 if ac_fn_cxx_try_compile "$LINENO"; then :
39611   glibcxx_cv_func__expf_use=yes
39612 else
39613   glibcxx_cv_func__expf_use=no
39614 fi
39615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39616       ac_ext=c
39617 ac_cpp='$CPP $CPPFLAGS'
39618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39621
39622
39623 fi
39624
39625   fi
39626   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
39627 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
39628
39629     if test x$glibcxx_cv_func__expf_use = x"yes"; then
39630       for ac_func in _expf
39631 do :
39632   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
39633 if test "x$ac_cv_func__expf" = x""yes; then :
39634   cat >>confdefs.h <<_ACEOF
39635 #define HAVE__EXPF 1
39636 _ACEOF
39637
39638 fi
39639 done
39640
39641     fi
39642   fi
39643
39644
39645
39646
39647
39648   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
39649 $as_echo_n "checking for isnanf declaration... " >&6; }
39650   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
39651     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
39652   $as_echo_n "(cached) " >&6
39653 else
39654
39655
39656       ac_ext=cpp
39657 ac_cpp='$CXXCPP $CPPFLAGS'
39658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39661
39662       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39663 /* end confdefs.h.  */
39664 #include <math.h>
39665                       #ifdef HAVE_IEEEFP_H
39666                       #include <ieeefp.h>
39667                       #endif
39668
39669 int
39670 main ()
39671 {
39672  isnanf(0);
39673   ;
39674   return 0;
39675 }
39676 _ACEOF
39677 if ac_fn_cxx_try_compile "$LINENO"; then :
39678   glibcxx_cv_func_isnanf_use=yes
39679 else
39680   glibcxx_cv_func_isnanf_use=no
39681 fi
39682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39683       ac_ext=c
39684 ac_cpp='$CPP $CPPFLAGS'
39685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39688
39689
39690 fi
39691
39692   fi
39693   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
39694 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
39695
39696   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
39697     for ac_func in isnanf
39698 do :
39699   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
39700 if test "x$ac_cv_func_isnanf" = x""yes; then :
39701   cat >>confdefs.h <<_ACEOF
39702 #define HAVE_ISNANF 1
39703 _ACEOF
39704
39705 fi
39706 done
39707
39708   else
39709
39710   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
39711 $as_echo_n "checking for _isnanf declaration... " >&6; }
39712   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
39713     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
39714   $as_echo_n "(cached) " >&6
39715 else
39716
39717
39718       ac_ext=cpp
39719 ac_cpp='$CXXCPP $CPPFLAGS'
39720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39723
39724       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39725 /* end confdefs.h.  */
39726 #include <math.h>
39727                       #ifdef HAVE_IEEEFP_H
39728                       #include <ieeefp.h>
39729                       #endif
39730
39731 int
39732 main ()
39733 {
39734  _isnanf(0);
39735   ;
39736   return 0;
39737 }
39738 _ACEOF
39739 if ac_fn_cxx_try_compile "$LINENO"; then :
39740   glibcxx_cv_func__isnanf_use=yes
39741 else
39742   glibcxx_cv_func__isnanf_use=no
39743 fi
39744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39745       ac_ext=c
39746 ac_cpp='$CPP $CPPFLAGS'
39747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39750
39751
39752 fi
39753
39754   fi
39755   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
39756 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
39757
39758     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
39759       for ac_func in _isnanf
39760 do :
39761   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
39762 if test "x$ac_cv_func__isnanf" = x""yes; then :
39763   cat >>confdefs.h <<_ACEOF
39764 #define HAVE__ISNANF 1
39765 _ACEOF
39766
39767 fi
39768 done
39769
39770     fi
39771   fi
39772
39773
39774
39775
39776
39777   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
39778 $as_echo_n "checking for isinff declaration... " >&6; }
39779   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
39780     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
39781   $as_echo_n "(cached) " >&6
39782 else
39783
39784
39785       ac_ext=cpp
39786 ac_cpp='$CXXCPP $CPPFLAGS'
39787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39790
39791       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39792 /* end confdefs.h.  */
39793 #include <math.h>
39794                       #ifdef HAVE_IEEEFP_H
39795                       #include <ieeefp.h>
39796                       #endif
39797
39798 int
39799 main ()
39800 {
39801  isinff(0);
39802   ;
39803   return 0;
39804 }
39805 _ACEOF
39806 if ac_fn_cxx_try_compile "$LINENO"; then :
39807   glibcxx_cv_func_isinff_use=yes
39808 else
39809   glibcxx_cv_func_isinff_use=no
39810 fi
39811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39812       ac_ext=c
39813 ac_cpp='$CPP $CPPFLAGS'
39814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39817
39818
39819 fi
39820
39821   fi
39822   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
39823 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
39824
39825   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
39826     for ac_func in isinff
39827 do :
39828   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
39829 if test "x$ac_cv_func_isinff" = x""yes; then :
39830   cat >>confdefs.h <<_ACEOF
39831 #define HAVE_ISINFF 1
39832 _ACEOF
39833
39834 fi
39835 done
39836
39837   else
39838
39839   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
39840 $as_echo_n "checking for _isinff declaration... " >&6; }
39841   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
39842     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
39843   $as_echo_n "(cached) " >&6
39844 else
39845
39846
39847       ac_ext=cpp
39848 ac_cpp='$CXXCPP $CPPFLAGS'
39849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39852
39853       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39854 /* end confdefs.h.  */
39855 #include <math.h>
39856                       #ifdef HAVE_IEEEFP_H
39857                       #include <ieeefp.h>
39858                       #endif
39859
39860 int
39861 main ()
39862 {
39863  _isinff(0);
39864   ;
39865   return 0;
39866 }
39867 _ACEOF
39868 if ac_fn_cxx_try_compile "$LINENO"; then :
39869   glibcxx_cv_func__isinff_use=yes
39870 else
39871   glibcxx_cv_func__isinff_use=no
39872 fi
39873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39874       ac_ext=c
39875 ac_cpp='$CPP $CPPFLAGS'
39876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39879
39880
39881 fi
39882
39883   fi
39884   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
39885 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
39886
39887     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
39888       for ac_func in _isinff
39889 do :
39890   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
39891 if test "x$ac_cv_func__isinff" = x""yes; then :
39892   cat >>confdefs.h <<_ACEOF
39893 #define HAVE__ISINFF 1
39894 _ACEOF
39895
39896 fi
39897 done
39898
39899     fi
39900   fi
39901
39902
39903
39904
39905
39906   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
39907 $as_echo_n "checking for atan2f declaration... " >&6; }
39908   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
39909     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
39910   $as_echo_n "(cached) " >&6
39911 else
39912
39913
39914       ac_ext=cpp
39915 ac_cpp='$CXXCPP $CPPFLAGS'
39916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39919
39920       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39921 /* end confdefs.h.  */
39922 #include <math.h>
39923 int
39924 main ()
39925 {
39926  atan2f(0, 0);
39927   ;
39928   return 0;
39929 }
39930 _ACEOF
39931 if ac_fn_cxx_try_compile "$LINENO"; then :
39932   glibcxx_cv_func_atan2f_use=yes
39933 else
39934   glibcxx_cv_func_atan2f_use=no
39935 fi
39936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39937       ac_ext=c
39938 ac_cpp='$CPP $CPPFLAGS'
39939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39942
39943
39944 fi
39945
39946   fi
39947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
39948 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
39949
39950   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
39951     for ac_func in atan2f
39952 do :
39953   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
39954 if test "x$ac_cv_func_atan2f" = x""yes; then :
39955   cat >>confdefs.h <<_ACEOF
39956 #define HAVE_ATAN2F 1
39957 _ACEOF
39958
39959 fi
39960 done
39961
39962   else
39963
39964   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
39965 $as_echo_n "checking for _atan2f declaration... " >&6; }
39966   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
39967     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
39968   $as_echo_n "(cached) " >&6
39969 else
39970
39971
39972       ac_ext=cpp
39973 ac_cpp='$CXXCPP $CPPFLAGS'
39974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39977
39978       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39979 /* end confdefs.h.  */
39980 #include <math.h>
39981 int
39982 main ()
39983 {
39984  _atan2f(0, 0);
39985   ;
39986   return 0;
39987 }
39988 _ACEOF
39989 if ac_fn_cxx_try_compile "$LINENO"; then :
39990   glibcxx_cv_func__atan2f_use=yes
39991 else
39992   glibcxx_cv_func__atan2f_use=no
39993 fi
39994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39995       ac_ext=c
39996 ac_cpp='$CPP $CPPFLAGS'
39997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40000
40001
40002 fi
40003
40004   fi
40005   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
40006 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
40007
40008     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
40009       for ac_func in _atan2f
40010 do :
40011   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
40012 if test "x$ac_cv_func__atan2f" = x""yes; then :
40013   cat >>confdefs.h <<_ACEOF
40014 #define HAVE__ATAN2F 1
40015 _ACEOF
40016
40017 fi
40018 done
40019
40020     fi
40021   fi
40022
40023
40024
40025
40026
40027   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
40028 $as_echo_n "checking for fabsf declaration... " >&6; }
40029   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
40030     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
40031   $as_echo_n "(cached) " >&6
40032 else
40033
40034
40035       ac_ext=cpp
40036 ac_cpp='$CXXCPP $CPPFLAGS'
40037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40040
40041       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40042 /* end confdefs.h.  */
40043 #include <math.h>
40044                       #ifdef HAVE_IEEEFP_H
40045                       #include <ieeefp.h>
40046                       #endif
40047
40048 int
40049 main ()
40050 {
40051  fabsf(0);
40052   ;
40053   return 0;
40054 }
40055 _ACEOF
40056 if ac_fn_cxx_try_compile "$LINENO"; then :
40057   glibcxx_cv_func_fabsf_use=yes
40058 else
40059   glibcxx_cv_func_fabsf_use=no
40060 fi
40061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40062       ac_ext=c
40063 ac_cpp='$CPP $CPPFLAGS'
40064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40067
40068
40069 fi
40070
40071   fi
40072   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
40073 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
40074
40075   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
40076     for ac_func in fabsf
40077 do :
40078   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
40079 if test "x$ac_cv_func_fabsf" = x""yes; then :
40080   cat >>confdefs.h <<_ACEOF
40081 #define HAVE_FABSF 1
40082 _ACEOF
40083
40084 fi
40085 done
40086
40087   else
40088
40089   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
40090 $as_echo_n "checking for _fabsf declaration... " >&6; }
40091   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
40092     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
40093   $as_echo_n "(cached) " >&6
40094 else
40095
40096
40097       ac_ext=cpp
40098 ac_cpp='$CXXCPP $CPPFLAGS'
40099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40102
40103       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40104 /* end confdefs.h.  */
40105 #include <math.h>
40106                       #ifdef HAVE_IEEEFP_H
40107                       #include <ieeefp.h>
40108                       #endif
40109
40110 int
40111 main ()
40112 {
40113  _fabsf(0);
40114   ;
40115   return 0;
40116 }
40117 _ACEOF
40118 if ac_fn_cxx_try_compile "$LINENO"; then :
40119   glibcxx_cv_func__fabsf_use=yes
40120 else
40121   glibcxx_cv_func__fabsf_use=no
40122 fi
40123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40124       ac_ext=c
40125 ac_cpp='$CPP $CPPFLAGS'
40126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40129
40130
40131 fi
40132
40133   fi
40134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
40135 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
40136
40137     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
40138       for ac_func in _fabsf
40139 do :
40140   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
40141 if test "x$ac_cv_func__fabsf" = x""yes; then :
40142   cat >>confdefs.h <<_ACEOF
40143 #define HAVE__FABSF 1
40144 _ACEOF
40145
40146 fi
40147 done
40148
40149     fi
40150   fi
40151
40152
40153
40154
40155
40156   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
40157 $as_echo_n "checking for fmodf declaration... " >&6; }
40158   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
40159     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
40160   $as_echo_n "(cached) " >&6
40161 else
40162
40163
40164       ac_ext=cpp
40165 ac_cpp='$CXXCPP $CPPFLAGS'
40166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40169
40170       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40171 /* end confdefs.h.  */
40172 #include <math.h>
40173 int
40174 main ()
40175 {
40176  fmodf(0, 0);
40177   ;
40178   return 0;
40179 }
40180 _ACEOF
40181 if ac_fn_cxx_try_compile "$LINENO"; then :
40182   glibcxx_cv_func_fmodf_use=yes
40183 else
40184   glibcxx_cv_func_fmodf_use=no
40185 fi
40186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40187       ac_ext=c
40188 ac_cpp='$CPP $CPPFLAGS'
40189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40192
40193
40194 fi
40195
40196   fi
40197   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
40198 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
40199
40200   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
40201     for ac_func in fmodf
40202 do :
40203   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
40204 if test "x$ac_cv_func_fmodf" = x""yes; then :
40205   cat >>confdefs.h <<_ACEOF
40206 #define HAVE_FMODF 1
40207 _ACEOF
40208
40209 fi
40210 done
40211
40212   else
40213
40214   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
40215 $as_echo_n "checking for _fmodf declaration... " >&6; }
40216   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
40217     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
40218   $as_echo_n "(cached) " >&6
40219 else
40220
40221
40222       ac_ext=cpp
40223 ac_cpp='$CXXCPP $CPPFLAGS'
40224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40227
40228       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40229 /* end confdefs.h.  */
40230 #include <math.h>
40231 int
40232 main ()
40233 {
40234  _fmodf(0, 0);
40235   ;
40236   return 0;
40237 }
40238 _ACEOF
40239 if ac_fn_cxx_try_compile "$LINENO"; then :
40240   glibcxx_cv_func__fmodf_use=yes
40241 else
40242   glibcxx_cv_func__fmodf_use=no
40243 fi
40244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40245       ac_ext=c
40246 ac_cpp='$CPP $CPPFLAGS'
40247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40250
40251
40252 fi
40253
40254   fi
40255   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
40256 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
40257
40258     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
40259       for ac_func in _fmodf
40260 do :
40261   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
40262 if test "x$ac_cv_func__fmodf" = x""yes; then :
40263   cat >>confdefs.h <<_ACEOF
40264 #define HAVE__FMODF 1
40265 _ACEOF
40266
40267 fi
40268 done
40269
40270     fi
40271   fi
40272
40273
40274
40275
40276
40277   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
40278 $as_echo_n "checking for frexpf declaration... " >&6; }
40279   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
40280     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
40281   $as_echo_n "(cached) " >&6
40282 else
40283
40284
40285       ac_ext=cpp
40286 ac_cpp='$CXXCPP $CPPFLAGS'
40287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40290
40291       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40292 /* end confdefs.h.  */
40293 #include <math.h>
40294 int
40295 main ()
40296 {
40297  frexpf(0, 0);
40298   ;
40299   return 0;
40300 }
40301 _ACEOF
40302 if ac_fn_cxx_try_compile "$LINENO"; then :
40303   glibcxx_cv_func_frexpf_use=yes
40304 else
40305   glibcxx_cv_func_frexpf_use=no
40306 fi
40307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40308       ac_ext=c
40309 ac_cpp='$CPP $CPPFLAGS'
40310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40313
40314
40315 fi
40316
40317   fi
40318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
40319 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
40320
40321   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
40322     for ac_func in frexpf
40323 do :
40324   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
40325 if test "x$ac_cv_func_frexpf" = x""yes; then :
40326   cat >>confdefs.h <<_ACEOF
40327 #define HAVE_FREXPF 1
40328 _ACEOF
40329
40330 fi
40331 done
40332
40333   else
40334
40335   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
40336 $as_echo_n "checking for _frexpf declaration... " >&6; }
40337   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
40338     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
40339   $as_echo_n "(cached) " >&6
40340 else
40341
40342
40343       ac_ext=cpp
40344 ac_cpp='$CXXCPP $CPPFLAGS'
40345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40348
40349       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40350 /* end confdefs.h.  */
40351 #include <math.h>
40352 int
40353 main ()
40354 {
40355  _frexpf(0, 0);
40356   ;
40357   return 0;
40358 }
40359 _ACEOF
40360 if ac_fn_cxx_try_compile "$LINENO"; then :
40361   glibcxx_cv_func__frexpf_use=yes
40362 else
40363   glibcxx_cv_func__frexpf_use=no
40364 fi
40365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40366       ac_ext=c
40367 ac_cpp='$CPP $CPPFLAGS'
40368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40371
40372
40373 fi
40374
40375   fi
40376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
40377 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
40378
40379     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
40380       for ac_func in _frexpf
40381 do :
40382   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
40383 if test "x$ac_cv_func__frexpf" = x""yes; then :
40384   cat >>confdefs.h <<_ACEOF
40385 #define HAVE__FREXPF 1
40386 _ACEOF
40387
40388 fi
40389 done
40390
40391     fi
40392   fi
40393
40394
40395
40396
40397
40398   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
40399 $as_echo_n "checking for hypotf declaration... " >&6; }
40400   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
40401     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
40402   $as_echo_n "(cached) " >&6
40403 else
40404
40405
40406       ac_ext=cpp
40407 ac_cpp='$CXXCPP $CPPFLAGS'
40408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40411
40412       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40413 /* end confdefs.h.  */
40414 #include <math.h>
40415 int
40416 main ()
40417 {
40418  hypotf(0, 0);
40419   ;
40420   return 0;
40421 }
40422 _ACEOF
40423 if ac_fn_cxx_try_compile "$LINENO"; then :
40424   glibcxx_cv_func_hypotf_use=yes
40425 else
40426   glibcxx_cv_func_hypotf_use=no
40427 fi
40428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40429       ac_ext=c
40430 ac_cpp='$CPP $CPPFLAGS'
40431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40434
40435
40436 fi
40437
40438   fi
40439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
40440 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
40441
40442   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
40443     for ac_func in hypotf
40444 do :
40445   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
40446 if test "x$ac_cv_func_hypotf" = x""yes; then :
40447   cat >>confdefs.h <<_ACEOF
40448 #define HAVE_HYPOTF 1
40449 _ACEOF
40450
40451 fi
40452 done
40453
40454   else
40455
40456   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
40457 $as_echo_n "checking for _hypotf declaration... " >&6; }
40458   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
40459     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
40460   $as_echo_n "(cached) " >&6
40461 else
40462
40463
40464       ac_ext=cpp
40465 ac_cpp='$CXXCPP $CPPFLAGS'
40466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40469
40470       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40471 /* end confdefs.h.  */
40472 #include <math.h>
40473 int
40474 main ()
40475 {
40476  _hypotf(0, 0);
40477   ;
40478   return 0;
40479 }
40480 _ACEOF
40481 if ac_fn_cxx_try_compile "$LINENO"; then :
40482   glibcxx_cv_func__hypotf_use=yes
40483 else
40484   glibcxx_cv_func__hypotf_use=no
40485 fi
40486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40487       ac_ext=c
40488 ac_cpp='$CPP $CPPFLAGS'
40489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40492
40493
40494 fi
40495
40496   fi
40497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
40498 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
40499
40500     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
40501       for ac_func in _hypotf
40502 do :
40503   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
40504 if test "x$ac_cv_func__hypotf" = x""yes; then :
40505   cat >>confdefs.h <<_ACEOF
40506 #define HAVE__HYPOTF 1
40507 _ACEOF
40508
40509 fi
40510 done
40511
40512     fi
40513   fi
40514
40515
40516
40517
40518
40519   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
40520 $as_echo_n "checking for ldexpf declaration... " >&6; }
40521   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
40522     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
40523   $as_echo_n "(cached) " >&6
40524 else
40525
40526
40527       ac_ext=cpp
40528 ac_cpp='$CXXCPP $CPPFLAGS'
40529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40532
40533       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40534 /* end confdefs.h.  */
40535 #include <math.h>
40536 int
40537 main ()
40538 {
40539  ldexpf(0, 0);
40540   ;
40541   return 0;
40542 }
40543 _ACEOF
40544 if ac_fn_cxx_try_compile "$LINENO"; then :
40545   glibcxx_cv_func_ldexpf_use=yes
40546 else
40547   glibcxx_cv_func_ldexpf_use=no
40548 fi
40549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40550       ac_ext=c
40551 ac_cpp='$CPP $CPPFLAGS'
40552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40555
40556
40557 fi
40558
40559   fi
40560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
40561 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
40562
40563   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
40564     for ac_func in ldexpf
40565 do :
40566   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
40567 if test "x$ac_cv_func_ldexpf" = x""yes; then :
40568   cat >>confdefs.h <<_ACEOF
40569 #define HAVE_LDEXPF 1
40570 _ACEOF
40571
40572 fi
40573 done
40574
40575   else
40576
40577   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
40578 $as_echo_n "checking for _ldexpf declaration... " >&6; }
40579   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
40580     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
40581   $as_echo_n "(cached) " >&6
40582 else
40583
40584
40585       ac_ext=cpp
40586 ac_cpp='$CXXCPP $CPPFLAGS'
40587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40590
40591       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40592 /* end confdefs.h.  */
40593 #include <math.h>
40594 int
40595 main ()
40596 {
40597  _ldexpf(0, 0);
40598   ;
40599   return 0;
40600 }
40601 _ACEOF
40602 if ac_fn_cxx_try_compile "$LINENO"; then :
40603   glibcxx_cv_func__ldexpf_use=yes
40604 else
40605   glibcxx_cv_func__ldexpf_use=no
40606 fi
40607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40608       ac_ext=c
40609 ac_cpp='$CPP $CPPFLAGS'
40610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40613
40614
40615 fi
40616
40617   fi
40618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
40619 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
40620
40621     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
40622       for ac_func in _ldexpf
40623 do :
40624   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
40625 if test "x$ac_cv_func__ldexpf" = x""yes; then :
40626   cat >>confdefs.h <<_ACEOF
40627 #define HAVE__LDEXPF 1
40628 _ACEOF
40629
40630 fi
40631 done
40632
40633     fi
40634   fi
40635
40636
40637
40638
40639
40640   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
40641 $as_echo_n "checking for logf declaration... " >&6; }
40642   if test x${glibcxx_cv_func_logf_use+set} != xset; then
40643     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
40644   $as_echo_n "(cached) " >&6
40645 else
40646
40647
40648       ac_ext=cpp
40649 ac_cpp='$CXXCPP $CPPFLAGS'
40650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40653
40654       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40655 /* end confdefs.h.  */
40656 #include <math.h>
40657                       #ifdef HAVE_IEEEFP_H
40658                       #include <ieeefp.h>
40659                       #endif
40660
40661 int
40662 main ()
40663 {
40664  logf(0);
40665   ;
40666   return 0;
40667 }
40668 _ACEOF
40669 if ac_fn_cxx_try_compile "$LINENO"; then :
40670   glibcxx_cv_func_logf_use=yes
40671 else
40672   glibcxx_cv_func_logf_use=no
40673 fi
40674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40675       ac_ext=c
40676 ac_cpp='$CPP $CPPFLAGS'
40677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40680
40681
40682 fi
40683
40684   fi
40685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
40686 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
40687
40688   if test x$glibcxx_cv_func_logf_use = x"yes"; then
40689     for ac_func in logf
40690 do :
40691   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
40692 if test "x$ac_cv_func_logf" = x""yes; then :
40693   cat >>confdefs.h <<_ACEOF
40694 #define HAVE_LOGF 1
40695 _ACEOF
40696
40697 fi
40698 done
40699
40700   else
40701
40702   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
40703 $as_echo_n "checking for _logf declaration... " >&6; }
40704   if test x${glibcxx_cv_func__logf_use+set} != xset; then
40705     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
40706   $as_echo_n "(cached) " >&6
40707 else
40708
40709
40710       ac_ext=cpp
40711 ac_cpp='$CXXCPP $CPPFLAGS'
40712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40715
40716       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40717 /* end confdefs.h.  */
40718 #include <math.h>
40719                       #ifdef HAVE_IEEEFP_H
40720                       #include <ieeefp.h>
40721                       #endif
40722
40723 int
40724 main ()
40725 {
40726  _logf(0);
40727   ;
40728   return 0;
40729 }
40730 _ACEOF
40731 if ac_fn_cxx_try_compile "$LINENO"; then :
40732   glibcxx_cv_func__logf_use=yes
40733 else
40734   glibcxx_cv_func__logf_use=no
40735 fi
40736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40737       ac_ext=c
40738 ac_cpp='$CPP $CPPFLAGS'
40739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40742
40743
40744 fi
40745
40746   fi
40747   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
40748 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
40749
40750     if test x$glibcxx_cv_func__logf_use = x"yes"; then
40751       for ac_func in _logf
40752 do :
40753   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
40754 if test "x$ac_cv_func__logf" = x""yes; then :
40755   cat >>confdefs.h <<_ACEOF
40756 #define HAVE__LOGF 1
40757 _ACEOF
40758
40759 fi
40760 done
40761
40762     fi
40763   fi
40764
40765
40766
40767
40768
40769   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
40770 $as_echo_n "checking for log10f declaration... " >&6; }
40771   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
40772     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
40773   $as_echo_n "(cached) " >&6
40774 else
40775
40776
40777       ac_ext=cpp
40778 ac_cpp='$CXXCPP $CPPFLAGS'
40779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40782
40783       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40784 /* end confdefs.h.  */
40785 #include <math.h>
40786                       #ifdef HAVE_IEEEFP_H
40787                       #include <ieeefp.h>
40788                       #endif
40789
40790 int
40791 main ()
40792 {
40793  log10f(0);
40794   ;
40795   return 0;
40796 }
40797 _ACEOF
40798 if ac_fn_cxx_try_compile "$LINENO"; then :
40799   glibcxx_cv_func_log10f_use=yes
40800 else
40801   glibcxx_cv_func_log10f_use=no
40802 fi
40803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40804       ac_ext=c
40805 ac_cpp='$CPP $CPPFLAGS'
40806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40809
40810
40811 fi
40812
40813   fi
40814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
40815 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
40816
40817   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
40818     for ac_func in log10f
40819 do :
40820   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
40821 if test "x$ac_cv_func_log10f" = x""yes; then :
40822   cat >>confdefs.h <<_ACEOF
40823 #define HAVE_LOG10F 1
40824 _ACEOF
40825
40826 fi
40827 done
40828
40829   else
40830
40831   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
40832 $as_echo_n "checking for _log10f declaration... " >&6; }
40833   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
40834     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
40835   $as_echo_n "(cached) " >&6
40836 else
40837
40838
40839       ac_ext=cpp
40840 ac_cpp='$CXXCPP $CPPFLAGS'
40841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40844
40845       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40846 /* end confdefs.h.  */
40847 #include <math.h>
40848                       #ifdef HAVE_IEEEFP_H
40849                       #include <ieeefp.h>
40850                       #endif
40851
40852 int
40853 main ()
40854 {
40855  _log10f(0);
40856   ;
40857   return 0;
40858 }
40859 _ACEOF
40860 if ac_fn_cxx_try_compile "$LINENO"; then :
40861   glibcxx_cv_func__log10f_use=yes
40862 else
40863   glibcxx_cv_func__log10f_use=no
40864 fi
40865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40866       ac_ext=c
40867 ac_cpp='$CPP $CPPFLAGS'
40868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40871
40872
40873 fi
40874
40875   fi
40876   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
40877 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
40878
40879     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
40880       for ac_func in _log10f
40881 do :
40882   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
40883 if test "x$ac_cv_func__log10f" = x""yes; then :
40884   cat >>confdefs.h <<_ACEOF
40885 #define HAVE__LOG10F 1
40886 _ACEOF
40887
40888 fi
40889 done
40890
40891     fi
40892   fi
40893
40894
40895
40896
40897
40898   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
40899 $as_echo_n "checking for modff declaration... " >&6; }
40900   if test x${glibcxx_cv_func_modff_use+set} != xset; then
40901     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
40902   $as_echo_n "(cached) " >&6
40903 else
40904
40905
40906       ac_ext=cpp
40907 ac_cpp='$CXXCPP $CPPFLAGS'
40908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40911
40912       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40913 /* end confdefs.h.  */
40914 #include <math.h>
40915 int
40916 main ()
40917 {
40918  modff(0, 0);
40919   ;
40920   return 0;
40921 }
40922 _ACEOF
40923 if ac_fn_cxx_try_compile "$LINENO"; then :
40924   glibcxx_cv_func_modff_use=yes
40925 else
40926   glibcxx_cv_func_modff_use=no
40927 fi
40928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40929       ac_ext=c
40930 ac_cpp='$CPP $CPPFLAGS'
40931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40934
40935
40936 fi
40937
40938   fi
40939   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
40940 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
40941
40942   if test x$glibcxx_cv_func_modff_use = x"yes"; then
40943     for ac_func in modff
40944 do :
40945   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
40946 if test "x$ac_cv_func_modff" = x""yes; then :
40947   cat >>confdefs.h <<_ACEOF
40948 #define HAVE_MODFF 1
40949 _ACEOF
40950
40951 fi
40952 done
40953
40954   else
40955
40956   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
40957 $as_echo_n "checking for _modff declaration... " >&6; }
40958   if test x${glibcxx_cv_func__modff_use+set} != xset; then
40959     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
40960   $as_echo_n "(cached) " >&6
40961 else
40962
40963
40964       ac_ext=cpp
40965 ac_cpp='$CXXCPP $CPPFLAGS'
40966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40969
40970       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40971 /* end confdefs.h.  */
40972 #include <math.h>
40973 int
40974 main ()
40975 {
40976  _modff(0, 0);
40977   ;
40978   return 0;
40979 }
40980 _ACEOF
40981 if ac_fn_cxx_try_compile "$LINENO"; then :
40982   glibcxx_cv_func__modff_use=yes
40983 else
40984   glibcxx_cv_func__modff_use=no
40985 fi
40986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40987       ac_ext=c
40988 ac_cpp='$CPP $CPPFLAGS'
40989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40992
40993
40994 fi
40995
40996   fi
40997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
40998 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
40999
41000     if test x$glibcxx_cv_func__modff_use = x"yes"; then
41001       for ac_func in _modff
41002 do :
41003   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
41004 if test "x$ac_cv_func__modff" = x""yes; then :
41005   cat >>confdefs.h <<_ACEOF
41006 #define HAVE__MODFF 1
41007 _ACEOF
41008
41009 fi
41010 done
41011
41012     fi
41013   fi
41014
41015
41016
41017
41018
41019   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
41020 $as_echo_n "checking for modf declaration... " >&6; }
41021   if test x${glibcxx_cv_func_modf_use+set} != xset; then
41022     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
41023   $as_echo_n "(cached) " >&6
41024 else
41025
41026
41027       ac_ext=cpp
41028 ac_cpp='$CXXCPP $CPPFLAGS'
41029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41032
41033       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41034 /* end confdefs.h.  */
41035 #include <math.h>
41036 int
41037 main ()
41038 {
41039  modf(0, 0);
41040   ;
41041   return 0;
41042 }
41043 _ACEOF
41044 if ac_fn_cxx_try_compile "$LINENO"; then :
41045   glibcxx_cv_func_modf_use=yes
41046 else
41047   glibcxx_cv_func_modf_use=no
41048 fi
41049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41050       ac_ext=c
41051 ac_cpp='$CPP $CPPFLAGS'
41052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41055
41056
41057 fi
41058
41059   fi
41060   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
41061 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
41062
41063   if test x$glibcxx_cv_func_modf_use = x"yes"; then
41064     for ac_func in modf
41065 do :
41066   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
41067 if test "x$ac_cv_func_modf" = x""yes; then :
41068   cat >>confdefs.h <<_ACEOF
41069 #define HAVE_MODF 1
41070 _ACEOF
41071
41072 fi
41073 done
41074
41075   else
41076
41077   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
41078 $as_echo_n "checking for _modf declaration... " >&6; }
41079   if test x${glibcxx_cv_func__modf_use+set} != xset; then
41080     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
41081   $as_echo_n "(cached) " >&6
41082 else
41083
41084
41085       ac_ext=cpp
41086 ac_cpp='$CXXCPP $CPPFLAGS'
41087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41090
41091       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41092 /* end confdefs.h.  */
41093 #include <math.h>
41094 int
41095 main ()
41096 {
41097  _modf(0, 0);
41098   ;
41099   return 0;
41100 }
41101 _ACEOF
41102 if ac_fn_cxx_try_compile "$LINENO"; then :
41103   glibcxx_cv_func__modf_use=yes
41104 else
41105   glibcxx_cv_func__modf_use=no
41106 fi
41107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41108       ac_ext=c
41109 ac_cpp='$CPP $CPPFLAGS'
41110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41113
41114
41115 fi
41116
41117   fi
41118   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
41119 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
41120
41121     if test x$glibcxx_cv_func__modf_use = x"yes"; then
41122       for ac_func in _modf
41123 do :
41124   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
41125 if test "x$ac_cv_func__modf" = x""yes; then :
41126   cat >>confdefs.h <<_ACEOF
41127 #define HAVE__MODF 1
41128 _ACEOF
41129
41130 fi
41131 done
41132
41133     fi
41134   fi
41135
41136
41137
41138
41139
41140   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
41141 $as_echo_n "checking for powf declaration... " >&6; }
41142   if test x${glibcxx_cv_func_powf_use+set} != xset; then
41143     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
41144   $as_echo_n "(cached) " >&6
41145 else
41146
41147
41148       ac_ext=cpp
41149 ac_cpp='$CXXCPP $CPPFLAGS'
41150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41153
41154       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41155 /* end confdefs.h.  */
41156 #include <math.h>
41157 int
41158 main ()
41159 {
41160  powf(0, 0);
41161   ;
41162   return 0;
41163 }
41164 _ACEOF
41165 if ac_fn_cxx_try_compile "$LINENO"; then :
41166   glibcxx_cv_func_powf_use=yes
41167 else
41168   glibcxx_cv_func_powf_use=no
41169 fi
41170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41171       ac_ext=c
41172 ac_cpp='$CPP $CPPFLAGS'
41173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41176
41177
41178 fi
41179
41180   fi
41181   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
41182 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
41183
41184   if test x$glibcxx_cv_func_powf_use = x"yes"; then
41185     for ac_func in powf
41186 do :
41187   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
41188 if test "x$ac_cv_func_powf" = x""yes; then :
41189   cat >>confdefs.h <<_ACEOF
41190 #define HAVE_POWF 1
41191 _ACEOF
41192
41193 fi
41194 done
41195
41196   else
41197
41198   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
41199 $as_echo_n "checking for _powf declaration... " >&6; }
41200   if test x${glibcxx_cv_func__powf_use+set} != xset; then
41201     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
41202   $as_echo_n "(cached) " >&6
41203 else
41204
41205
41206       ac_ext=cpp
41207 ac_cpp='$CXXCPP $CPPFLAGS'
41208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41211
41212       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41213 /* end confdefs.h.  */
41214 #include <math.h>
41215 int
41216 main ()
41217 {
41218  _powf(0, 0);
41219   ;
41220   return 0;
41221 }
41222 _ACEOF
41223 if ac_fn_cxx_try_compile "$LINENO"; then :
41224   glibcxx_cv_func__powf_use=yes
41225 else
41226   glibcxx_cv_func__powf_use=no
41227 fi
41228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41229       ac_ext=c
41230 ac_cpp='$CPP $CPPFLAGS'
41231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41234
41235
41236 fi
41237
41238   fi
41239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
41240 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
41241
41242     if test x$glibcxx_cv_func__powf_use = x"yes"; then
41243       for ac_func in _powf
41244 do :
41245   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
41246 if test "x$ac_cv_func__powf" = x""yes; then :
41247   cat >>confdefs.h <<_ACEOF
41248 #define HAVE__POWF 1
41249 _ACEOF
41250
41251 fi
41252 done
41253
41254     fi
41255   fi
41256
41257
41258
41259
41260
41261   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
41262 $as_echo_n "checking for sqrtf declaration... " >&6; }
41263   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
41264     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
41265   $as_echo_n "(cached) " >&6
41266 else
41267
41268
41269       ac_ext=cpp
41270 ac_cpp='$CXXCPP $CPPFLAGS'
41271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41274
41275       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41276 /* end confdefs.h.  */
41277 #include <math.h>
41278                       #ifdef HAVE_IEEEFP_H
41279                       #include <ieeefp.h>
41280                       #endif
41281
41282 int
41283 main ()
41284 {
41285  sqrtf(0);
41286   ;
41287   return 0;
41288 }
41289 _ACEOF
41290 if ac_fn_cxx_try_compile "$LINENO"; then :
41291   glibcxx_cv_func_sqrtf_use=yes
41292 else
41293   glibcxx_cv_func_sqrtf_use=no
41294 fi
41295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41296       ac_ext=c
41297 ac_cpp='$CPP $CPPFLAGS'
41298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41301
41302
41303 fi
41304
41305   fi
41306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
41307 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
41308
41309   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
41310     for ac_func in sqrtf
41311 do :
41312   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
41313 if test "x$ac_cv_func_sqrtf" = x""yes; then :
41314   cat >>confdefs.h <<_ACEOF
41315 #define HAVE_SQRTF 1
41316 _ACEOF
41317
41318 fi
41319 done
41320
41321   else
41322
41323   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
41324 $as_echo_n "checking for _sqrtf declaration... " >&6; }
41325   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
41326     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
41327   $as_echo_n "(cached) " >&6
41328 else
41329
41330
41331       ac_ext=cpp
41332 ac_cpp='$CXXCPP $CPPFLAGS'
41333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41336
41337       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41338 /* end confdefs.h.  */
41339 #include <math.h>
41340                       #ifdef HAVE_IEEEFP_H
41341                       #include <ieeefp.h>
41342                       #endif
41343
41344 int
41345 main ()
41346 {
41347  _sqrtf(0);
41348   ;
41349   return 0;
41350 }
41351 _ACEOF
41352 if ac_fn_cxx_try_compile "$LINENO"; then :
41353   glibcxx_cv_func__sqrtf_use=yes
41354 else
41355   glibcxx_cv_func__sqrtf_use=no
41356 fi
41357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41358       ac_ext=c
41359 ac_cpp='$CPP $CPPFLAGS'
41360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41363
41364
41365 fi
41366
41367   fi
41368   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
41369 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
41370
41371     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
41372       for ac_func in _sqrtf
41373 do :
41374   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
41375 if test "x$ac_cv_func__sqrtf" = x""yes; then :
41376   cat >>confdefs.h <<_ACEOF
41377 #define HAVE__SQRTF 1
41378 _ACEOF
41379
41380 fi
41381 done
41382
41383     fi
41384   fi
41385
41386
41387
41388
41389
41390   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
41391 $as_echo_n "checking for sincosf declaration... " >&6; }
41392   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
41393     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
41394   $as_echo_n "(cached) " >&6
41395 else
41396
41397
41398       ac_ext=cpp
41399 ac_cpp='$CXXCPP $CPPFLAGS'
41400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41403
41404       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41405 /* end confdefs.h.  */
41406 #include <math.h>
41407 int
41408 main ()
41409 {
41410  sincosf(0, 0, 0);
41411   ;
41412   return 0;
41413 }
41414 _ACEOF
41415 if ac_fn_cxx_try_compile "$LINENO"; then :
41416   glibcxx_cv_func_sincosf_use=yes
41417 else
41418   glibcxx_cv_func_sincosf_use=no
41419 fi
41420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41421       ac_ext=c
41422 ac_cpp='$CPP $CPPFLAGS'
41423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41426
41427
41428 fi
41429
41430   fi
41431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
41432 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
41433
41434   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
41435     for ac_func in sincosf
41436 do :
41437   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
41438 if test "x$ac_cv_func_sincosf" = x""yes; then :
41439   cat >>confdefs.h <<_ACEOF
41440 #define HAVE_SINCOSF 1
41441 _ACEOF
41442
41443 fi
41444 done
41445
41446   else
41447
41448   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
41449 $as_echo_n "checking for _sincosf declaration... " >&6; }
41450   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
41451     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
41452   $as_echo_n "(cached) " >&6
41453 else
41454
41455
41456       ac_ext=cpp
41457 ac_cpp='$CXXCPP $CPPFLAGS'
41458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41461
41462       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41463 /* end confdefs.h.  */
41464 #include <math.h>
41465 int
41466 main ()
41467 {
41468  _sincosf(0, 0, 0);
41469   ;
41470   return 0;
41471 }
41472 _ACEOF
41473 if ac_fn_cxx_try_compile "$LINENO"; then :
41474   glibcxx_cv_func__sincosf_use=yes
41475 else
41476   glibcxx_cv_func__sincosf_use=no
41477 fi
41478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41479       ac_ext=c
41480 ac_cpp='$CPP $CPPFLAGS'
41481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41484
41485
41486 fi
41487
41488   fi
41489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
41490 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
41491
41492     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
41493       for ac_func in _sincosf
41494 do :
41495   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
41496 if test "x$ac_cv_func__sincosf" = x""yes; then :
41497   cat >>confdefs.h <<_ACEOF
41498 #define HAVE__SINCOSF 1
41499 _ACEOF
41500
41501 fi
41502 done
41503
41504     fi
41505   fi
41506
41507
41508
41509
41510
41511   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
41512 $as_echo_n "checking for finitef declaration... " >&6; }
41513   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
41514     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
41515   $as_echo_n "(cached) " >&6
41516 else
41517
41518
41519       ac_ext=cpp
41520 ac_cpp='$CXXCPP $CPPFLAGS'
41521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41524
41525       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41526 /* end confdefs.h.  */
41527 #include <math.h>
41528                       #ifdef HAVE_IEEEFP_H
41529                       #include <ieeefp.h>
41530                       #endif
41531
41532 int
41533 main ()
41534 {
41535  finitef(0);
41536   ;
41537   return 0;
41538 }
41539 _ACEOF
41540 if ac_fn_cxx_try_compile "$LINENO"; then :
41541   glibcxx_cv_func_finitef_use=yes
41542 else
41543   glibcxx_cv_func_finitef_use=no
41544 fi
41545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41546       ac_ext=c
41547 ac_cpp='$CPP $CPPFLAGS'
41548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41551
41552
41553 fi
41554
41555   fi
41556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
41557 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
41558
41559   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
41560     for ac_func in finitef
41561 do :
41562   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
41563 if test "x$ac_cv_func_finitef" = x""yes; then :
41564   cat >>confdefs.h <<_ACEOF
41565 #define HAVE_FINITEF 1
41566 _ACEOF
41567
41568 fi
41569 done
41570
41571   else
41572
41573   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
41574 $as_echo_n "checking for _finitef declaration... " >&6; }
41575   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
41576     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
41577   $as_echo_n "(cached) " >&6
41578 else
41579
41580
41581       ac_ext=cpp
41582 ac_cpp='$CXXCPP $CPPFLAGS'
41583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41586
41587       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41588 /* end confdefs.h.  */
41589 #include <math.h>
41590                       #ifdef HAVE_IEEEFP_H
41591                       #include <ieeefp.h>
41592                       #endif
41593
41594 int
41595 main ()
41596 {
41597  _finitef(0);
41598   ;
41599   return 0;
41600 }
41601 _ACEOF
41602 if ac_fn_cxx_try_compile "$LINENO"; then :
41603   glibcxx_cv_func__finitef_use=yes
41604 else
41605   glibcxx_cv_func__finitef_use=no
41606 fi
41607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41608       ac_ext=c
41609 ac_cpp='$CPP $CPPFLAGS'
41610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41613
41614
41615 fi
41616
41617   fi
41618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
41619 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
41620
41621     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
41622       for ac_func in _finitef
41623 do :
41624   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
41625 if test "x$ac_cv_func__finitef" = x""yes; then :
41626   cat >>confdefs.h <<_ACEOF
41627 #define HAVE__FINITEF 1
41628 _ACEOF
41629
41630 fi
41631 done
41632
41633     fi
41634   fi
41635
41636
41637
41638
41639
41640     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
41641 $as_echo_n "checking for long double trig functions... " >&6; }
41642   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
41643   $as_echo_n "(cached) " >&6
41644 else
41645
41646
41647     ac_ext=cpp
41648 ac_cpp='$CXXCPP $CPPFLAGS'
41649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41652
41653     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41654 /* end confdefs.h.  */
41655 #include <math.h>
41656 int
41657 main ()
41658 {
41659 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
41660   ;
41661   return 0;
41662 }
41663 _ACEOF
41664 if ac_fn_cxx_try_compile "$LINENO"; then :
41665   glibcxx_cv_func_long_double_trig_use=yes
41666 else
41667   glibcxx_cv_func_long_double_trig_use=no
41668 fi
41669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41670     ac_ext=c
41671 ac_cpp='$CPP $CPPFLAGS'
41672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41675
41676 fi
41677
41678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
41679 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
41680   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
41681     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
41682 do :
41683   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41684 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41685 eval as_val=\$$as_ac_var
41686    if test "x$as_val" = x""yes; then :
41687   cat >>confdefs.h <<_ACEOF
41688 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41689 _ACEOF
41690
41691 fi
41692 done
41693
41694   else
41695     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
41696 $as_echo_n "checking for _long double trig functions... " >&6; }
41697     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
41698   $as_echo_n "(cached) " >&6
41699 else
41700
41701
41702       ac_ext=cpp
41703 ac_cpp='$CXXCPP $CPPFLAGS'
41704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41707
41708       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41709 /* end confdefs.h.  */
41710 #include <math.h>
41711 int
41712 main ()
41713 {
41714 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
41715   ;
41716   return 0;
41717 }
41718 _ACEOF
41719 if ac_fn_cxx_try_compile "$LINENO"; then :
41720   glibcxx_cv_func__long_double_trig_use=yes
41721 else
41722   glibcxx_cv_func__long_double_trig_use=no
41723 fi
41724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41725       ac_ext=c
41726 ac_cpp='$CPP $CPPFLAGS'
41727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41730
41731 fi
41732
41733     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
41734 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
41735     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
41736       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
41737 do :
41738   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41739 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41740 eval as_val=\$$as_ac_var
41741    if test "x$as_val" = x""yes; then :
41742   cat >>confdefs.h <<_ACEOF
41743 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41744 _ACEOF
41745
41746 fi
41747 done
41748
41749     fi
41750   fi
41751
41752
41753
41754
41755
41756     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
41757 $as_echo_n "checking for long double round functions... " >&6; }
41758   if test "${glibcxx_cv_func_long_double_round_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 int
41773 main ()
41774 {
41775 ceill (0); floorl (0);
41776   ;
41777   return 0;
41778 }
41779 _ACEOF
41780 if ac_fn_cxx_try_compile "$LINENO"; then :
41781   glibcxx_cv_func_long_double_round_use=yes
41782 else
41783   glibcxx_cv_func_long_double_round_use=no
41784 fi
41785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41786     ac_ext=c
41787 ac_cpp='$CPP $CPPFLAGS'
41788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41791
41792 fi
41793
41794   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
41795 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
41796   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
41797     for ac_func in ceill floorl
41798 do :
41799   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41800 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41801 eval as_val=\$$as_ac_var
41802    if test "x$as_val" = x""yes; then :
41803   cat >>confdefs.h <<_ACEOF
41804 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41805 _ACEOF
41806
41807 fi
41808 done
41809
41810   else
41811     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
41812 $as_echo_n "checking for _long double round functions... " >&6; }
41813     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
41814   $as_echo_n "(cached) " >&6
41815 else
41816
41817
41818       ac_ext=cpp
41819 ac_cpp='$CXXCPP $CPPFLAGS'
41820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41823
41824       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41825 /* end confdefs.h.  */
41826 #include <math.h>
41827 int
41828 main ()
41829 {
41830 _ceill (0); _floorl (0);
41831   ;
41832   return 0;
41833 }
41834 _ACEOF
41835 if ac_fn_cxx_try_compile "$LINENO"; then :
41836   glibcxx_cv_func__long_double_round_use=yes
41837 else
41838   glibcxx_cv_func__long_double_round_use=no
41839 fi
41840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41841       ac_ext=c
41842 ac_cpp='$CPP $CPPFLAGS'
41843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41846
41847 fi
41848
41849     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
41850 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
41851     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
41852       for ac_func in _ceill _floorl
41853 do :
41854   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41855 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41856 eval as_val=\$$as_ac_var
41857    if test "x$as_val" = x""yes; then :
41858   cat >>confdefs.h <<_ACEOF
41859 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41860 _ACEOF
41861
41862 fi
41863 done
41864
41865     fi
41866   fi
41867
41868
41869
41870
41871
41872
41873   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
41874 $as_echo_n "checking for isnanl declaration... " >&6; }
41875   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
41876     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
41877   $as_echo_n "(cached) " >&6
41878 else
41879
41880
41881       ac_ext=cpp
41882 ac_cpp='$CXXCPP $CPPFLAGS'
41883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41886
41887       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41888 /* end confdefs.h.  */
41889 #include <math.h>
41890                       #ifdef HAVE_IEEEFP_H
41891                       #include <ieeefp.h>
41892                       #endif
41893
41894 int
41895 main ()
41896 {
41897  isnanl(0);
41898   ;
41899   return 0;
41900 }
41901 _ACEOF
41902 if ac_fn_cxx_try_compile "$LINENO"; then :
41903   glibcxx_cv_func_isnanl_use=yes
41904 else
41905   glibcxx_cv_func_isnanl_use=no
41906 fi
41907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41908       ac_ext=c
41909 ac_cpp='$CPP $CPPFLAGS'
41910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41913
41914
41915 fi
41916
41917   fi
41918   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
41919 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
41920
41921   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
41922     for ac_func in isnanl
41923 do :
41924   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
41925 if test "x$ac_cv_func_isnanl" = x""yes; then :
41926   cat >>confdefs.h <<_ACEOF
41927 #define HAVE_ISNANL 1
41928 _ACEOF
41929
41930 fi
41931 done
41932
41933   else
41934
41935   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
41936 $as_echo_n "checking for _isnanl declaration... " >&6; }
41937   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
41938     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
41939   $as_echo_n "(cached) " >&6
41940 else
41941
41942
41943       ac_ext=cpp
41944 ac_cpp='$CXXCPP $CPPFLAGS'
41945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41948
41949       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41950 /* end confdefs.h.  */
41951 #include <math.h>
41952                       #ifdef HAVE_IEEEFP_H
41953                       #include <ieeefp.h>
41954                       #endif
41955
41956 int
41957 main ()
41958 {
41959  _isnanl(0);
41960   ;
41961   return 0;
41962 }
41963 _ACEOF
41964 if ac_fn_cxx_try_compile "$LINENO"; then :
41965   glibcxx_cv_func__isnanl_use=yes
41966 else
41967   glibcxx_cv_func__isnanl_use=no
41968 fi
41969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41970       ac_ext=c
41971 ac_cpp='$CPP $CPPFLAGS'
41972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41975
41976
41977 fi
41978
41979   fi
41980   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
41981 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
41982
41983     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
41984       for ac_func in _isnanl
41985 do :
41986   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
41987 if test "x$ac_cv_func__isnanl" = x""yes; then :
41988   cat >>confdefs.h <<_ACEOF
41989 #define HAVE__ISNANL 1
41990 _ACEOF
41991
41992 fi
41993 done
41994
41995     fi
41996   fi
41997
41998
41999
42000
42001
42002   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
42003 $as_echo_n "checking for isinfl declaration... " >&6; }
42004   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
42005     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
42006   $as_echo_n "(cached) " >&6
42007 else
42008
42009
42010       ac_ext=cpp
42011 ac_cpp='$CXXCPP $CPPFLAGS'
42012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42015
42016       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42017 /* end confdefs.h.  */
42018 #include <math.h>
42019                       #ifdef HAVE_IEEEFP_H
42020                       #include <ieeefp.h>
42021                       #endif
42022
42023 int
42024 main ()
42025 {
42026  isinfl(0);
42027   ;
42028   return 0;
42029 }
42030 _ACEOF
42031 if ac_fn_cxx_try_compile "$LINENO"; then :
42032   glibcxx_cv_func_isinfl_use=yes
42033 else
42034   glibcxx_cv_func_isinfl_use=no
42035 fi
42036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42037       ac_ext=c
42038 ac_cpp='$CPP $CPPFLAGS'
42039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42042
42043
42044 fi
42045
42046   fi
42047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
42048 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
42049
42050   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
42051     for ac_func in isinfl
42052 do :
42053   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
42054 if test "x$ac_cv_func_isinfl" = x""yes; then :
42055   cat >>confdefs.h <<_ACEOF
42056 #define HAVE_ISINFL 1
42057 _ACEOF
42058
42059 fi
42060 done
42061
42062   else
42063
42064   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
42065 $as_echo_n "checking for _isinfl declaration... " >&6; }
42066   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42067     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
42068   $as_echo_n "(cached) " >&6
42069 else
42070
42071
42072       ac_ext=cpp
42073 ac_cpp='$CXXCPP $CPPFLAGS'
42074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42077
42078       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42079 /* end confdefs.h.  */
42080 #include <math.h>
42081                       #ifdef HAVE_IEEEFP_H
42082                       #include <ieeefp.h>
42083                       #endif
42084
42085 int
42086 main ()
42087 {
42088  _isinfl(0);
42089   ;
42090   return 0;
42091 }
42092 _ACEOF
42093 if ac_fn_cxx_try_compile "$LINENO"; then :
42094   glibcxx_cv_func__isinfl_use=yes
42095 else
42096   glibcxx_cv_func__isinfl_use=no
42097 fi
42098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42099       ac_ext=c
42100 ac_cpp='$CPP $CPPFLAGS'
42101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42104
42105
42106 fi
42107
42108   fi
42109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
42110 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
42111
42112     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42113       for ac_func in _isinfl
42114 do :
42115   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
42116 if test "x$ac_cv_func__isinfl" = x""yes; then :
42117   cat >>confdefs.h <<_ACEOF
42118 #define HAVE__ISINFL 1
42119 _ACEOF
42120
42121 fi
42122 done
42123
42124     fi
42125   fi
42126
42127
42128
42129
42130
42131   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
42132 $as_echo_n "checking for atan2l declaration... " >&6; }
42133   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42134     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
42135   $as_echo_n "(cached) " >&6
42136 else
42137
42138
42139       ac_ext=cpp
42140 ac_cpp='$CXXCPP $CPPFLAGS'
42141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42144
42145       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42146 /* end confdefs.h.  */
42147 #include <math.h>
42148 int
42149 main ()
42150 {
42151  atan2l(0, 0);
42152   ;
42153   return 0;
42154 }
42155 _ACEOF
42156 if ac_fn_cxx_try_compile "$LINENO"; then :
42157   glibcxx_cv_func_atan2l_use=yes
42158 else
42159   glibcxx_cv_func_atan2l_use=no
42160 fi
42161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42162       ac_ext=c
42163 ac_cpp='$CPP $CPPFLAGS'
42164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42167
42168
42169 fi
42170
42171   fi
42172   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
42173 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
42174
42175   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42176     for ac_func in atan2l
42177 do :
42178   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
42179 if test "x$ac_cv_func_atan2l" = x""yes; then :
42180   cat >>confdefs.h <<_ACEOF
42181 #define HAVE_ATAN2L 1
42182 _ACEOF
42183
42184 fi
42185 done
42186
42187   else
42188
42189   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
42190 $as_echo_n "checking for _atan2l declaration... " >&6; }
42191   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42192     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
42193   $as_echo_n "(cached) " >&6
42194 else
42195
42196
42197       ac_ext=cpp
42198 ac_cpp='$CXXCPP $CPPFLAGS'
42199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42202
42203       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42204 /* end confdefs.h.  */
42205 #include <math.h>
42206 int
42207 main ()
42208 {
42209  _atan2l(0, 0);
42210   ;
42211   return 0;
42212 }
42213 _ACEOF
42214 if ac_fn_cxx_try_compile "$LINENO"; then :
42215   glibcxx_cv_func__atan2l_use=yes
42216 else
42217   glibcxx_cv_func__atan2l_use=no
42218 fi
42219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42220       ac_ext=c
42221 ac_cpp='$CPP $CPPFLAGS'
42222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42225
42226
42227 fi
42228
42229   fi
42230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
42231 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
42232
42233     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42234       for ac_func in _atan2l
42235 do :
42236   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
42237 if test "x$ac_cv_func__atan2l" = x""yes; then :
42238   cat >>confdefs.h <<_ACEOF
42239 #define HAVE__ATAN2L 1
42240 _ACEOF
42241
42242 fi
42243 done
42244
42245     fi
42246   fi
42247
42248
42249
42250
42251
42252   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
42253 $as_echo_n "checking for expl declaration... " >&6; }
42254   if test x${glibcxx_cv_func_expl_use+set} != xset; then
42255     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
42256   $as_echo_n "(cached) " >&6
42257 else
42258
42259
42260       ac_ext=cpp
42261 ac_cpp='$CXXCPP $CPPFLAGS'
42262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42265
42266       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42267 /* end confdefs.h.  */
42268 #include <math.h>
42269                       #ifdef HAVE_IEEEFP_H
42270                       #include <ieeefp.h>
42271                       #endif
42272
42273 int
42274 main ()
42275 {
42276  expl(0);
42277   ;
42278   return 0;
42279 }
42280 _ACEOF
42281 if ac_fn_cxx_try_compile "$LINENO"; then :
42282   glibcxx_cv_func_expl_use=yes
42283 else
42284   glibcxx_cv_func_expl_use=no
42285 fi
42286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42287       ac_ext=c
42288 ac_cpp='$CPP $CPPFLAGS'
42289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42292
42293
42294 fi
42295
42296   fi
42297   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
42298 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
42299
42300   if test x$glibcxx_cv_func_expl_use = x"yes"; then
42301     for ac_func in expl
42302 do :
42303   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
42304 if test "x$ac_cv_func_expl" = x""yes; then :
42305   cat >>confdefs.h <<_ACEOF
42306 #define HAVE_EXPL 1
42307 _ACEOF
42308
42309 fi
42310 done
42311
42312   else
42313
42314   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
42315 $as_echo_n "checking for _expl declaration... " >&6; }
42316   if test x${glibcxx_cv_func__expl_use+set} != xset; then
42317     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
42318   $as_echo_n "(cached) " >&6
42319 else
42320
42321
42322       ac_ext=cpp
42323 ac_cpp='$CXXCPP $CPPFLAGS'
42324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42327
42328       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42329 /* end confdefs.h.  */
42330 #include <math.h>
42331                       #ifdef HAVE_IEEEFP_H
42332                       #include <ieeefp.h>
42333                       #endif
42334
42335 int
42336 main ()
42337 {
42338  _expl(0);
42339   ;
42340   return 0;
42341 }
42342 _ACEOF
42343 if ac_fn_cxx_try_compile "$LINENO"; then :
42344   glibcxx_cv_func__expl_use=yes
42345 else
42346   glibcxx_cv_func__expl_use=no
42347 fi
42348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42349       ac_ext=c
42350 ac_cpp='$CPP $CPPFLAGS'
42351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42354
42355
42356 fi
42357
42358   fi
42359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
42360 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
42361
42362     if test x$glibcxx_cv_func__expl_use = x"yes"; then
42363       for ac_func in _expl
42364 do :
42365   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
42366 if test "x$ac_cv_func__expl" = x""yes; then :
42367   cat >>confdefs.h <<_ACEOF
42368 #define HAVE__EXPL 1
42369 _ACEOF
42370
42371 fi
42372 done
42373
42374     fi
42375   fi
42376
42377
42378
42379
42380
42381   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
42382 $as_echo_n "checking for fabsl declaration... " >&6; }
42383   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
42384     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
42385   $as_echo_n "(cached) " >&6
42386 else
42387
42388
42389       ac_ext=cpp
42390 ac_cpp='$CXXCPP $CPPFLAGS'
42391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42394
42395       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42396 /* end confdefs.h.  */
42397 #include <math.h>
42398                       #ifdef HAVE_IEEEFP_H
42399                       #include <ieeefp.h>
42400                       #endif
42401
42402 int
42403 main ()
42404 {
42405  fabsl(0);
42406   ;
42407   return 0;
42408 }
42409 _ACEOF
42410 if ac_fn_cxx_try_compile "$LINENO"; then :
42411   glibcxx_cv_func_fabsl_use=yes
42412 else
42413   glibcxx_cv_func_fabsl_use=no
42414 fi
42415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42416       ac_ext=c
42417 ac_cpp='$CPP $CPPFLAGS'
42418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42421
42422
42423 fi
42424
42425   fi
42426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
42427 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
42428
42429   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
42430     for ac_func in fabsl
42431 do :
42432   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
42433 if test "x$ac_cv_func_fabsl" = x""yes; then :
42434   cat >>confdefs.h <<_ACEOF
42435 #define HAVE_FABSL 1
42436 _ACEOF
42437
42438 fi
42439 done
42440
42441   else
42442
42443   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
42444 $as_echo_n "checking for _fabsl declaration... " >&6; }
42445   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
42446     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
42447   $as_echo_n "(cached) " >&6
42448 else
42449
42450
42451       ac_ext=cpp
42452 ac_cpp='$CXXCPP $CPPFLAGS'
42453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42456
42457       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42458 /* end confdefs.h.  */
42459 #include <math.h>
42460                       #ifdef HAVE_IEEEFP_H
42461                       #include <ieeefp.h>
42462                       #endif
42463
42464 int
42465 main ()
42466 {
42467  _fabsl(0);
42468   ;
42469   return 0;
42470 }
42471 _ACEOF
42472 if ac_fn_cxx_try_compile "$LINENO"; then :
42473   glibcxx_cv_func__fabsl_use=yes
42474 else
42475   glibcxx_cv_func__fabsl_use=no
42476 fi
42477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42478       ac_ext=c
42479 ac_cpp='$CPP $CPPFLAGS'
42480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42483
42484
42485 fi
42486
42487   fi
42488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
42489 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
42490
42491     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
42492       for ac_func in _fabsl
42493 do :
42494   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
42495 if test "x$ac_cv_func__fabsl" = x""yes; then :
42496   cat >>confdefs.h <<_ACEOF
42497 #define HAVE__FABSL 1
42498 _ACEOF
42499
42500 fi
42501 done
42502
42503     fi
42504   fi
42505
42506
42507
42508
42509
42510   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
42511 $as_echo_n "checking for fmodl declaration... " >&6; }
42512   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
42513     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
42514   $as_echo_n "(cached) " >&6
42515 else
42516
42517
42518       ac_ext=cpp
42519 ac_cpp='$CXXCPP $CPPFLAGS'
42520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42523
42524       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42525 /* end confdefs.h.  */
42526 #include <math.h>
42527 int
42528 main ()
42529 {
42530  fmodl(0, 0);
42531   ;
42532   return 0;
42533 }
42534 _ACEOF
42535 if ac_fn_cxx_try_compile "$LINENO"; then :
42536   glibcxx_cv_func_fmodl_use=yes
42537 else
42538   glibcxx_cv_func_fmodl_use=no
42539 fi
42540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42541       ac_ext=c
42542 ac_cpp='$CPP $CPPFLAGS'
42543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42546
42547
42548 fi
42549
42550   fi
42551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
42552 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
42553
42554   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
42555     for ac_func in fmodl
42556 do :
42557   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
42558 if test "x$ac_cv_func_fmodl" = x""yes; then :
42559   cat >>confdefs.h <<_ACEOF
42560 #define HAVE_FMODL 1
42561 _ACEOF
42562
42563 fi
42564 done
42565
42566   else
42567
42568   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
42569 $as_echo_n "checking for _fmodl declaration... " >&6; }
42570   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
42571     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
42572   $as_echo_n "(cached) " >&6
42573 else
42574
42575
42576       ac_ext=cpp
42577 ac_cpp='$CXXCPP $CPPFLAGS'
42578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42581
42582       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42583 /* end confdefs.h.  */
42584 #include <math.h>
42585 int
42586 main ()
42587 {
42588  _fmodl(0, 0);
42589   ;
42590   return 0;
42591 }
42592 _ACEOF
42593 if ac_fn_cxx_try_compile "$LINENO"; then :
42594   glibcxx_cv_func__fmodl_use=yes
42595 else
42596   glibcxx_cv_func__fmodl_use=no
42597 fi
42598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42599       ac_ext=c
42600 ac_cpp='$CPP $CPPFLAGS'
42601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42604
42605
42606 fi
42607
42608   fi
42609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
42610 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
42611
42612     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
42613       for ac_func in _fmodl
42614 do :
42615   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
42616 if test "x$ac_cv_func__fmodl" = x""yes; then :
42617   cat >>confdefs.h <<_ACEOF
42618 #define HAVE__FMODL 1
42619 _ACEOF
42620
42621 fi
42622 done
42623
42624     fi
42625   fi
42626
42627
42628
42629
42630
42631   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
42632 $as_echo_n "checking for frexpl declaration... " >&6; }
42633   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
42634     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
42635   $as_echo_n "(cached) " >&6
42636 else
42637
42638
42639       ac_ext=cpp
42640 ac_cpp='$CXXCPP $CPPFLAGS'
42641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42644
42645       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42646 /* end confdefs.h.  */
42647 #include <math.h>
42648 int
42649 main ()
42650 {
42651  frexpl(0, 0);
42652   ;
42653   return 0;
42654 }
42655 _ACEOF
42656 if ac_fn_cxx_try_compile "$LINENO"; then :
42657   glibcxx_cv_func_frexpl_use=yes
42658 else
42659   glibcxx_cv_func_frexpl_use=no
42660 fi
42661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42662       ac_ext=c
42663 ac_cpp='$CPP $CPPFLAGS'
42664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42667
42668
42669 fi
42670
42671   fi
42672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
42673 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
42674
42675   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
42676     for ac_func in frexpl
42677 do :
42678   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
42679 if test "x$ac_cv_func_frexpl" = x""yes; then :
42680   cat >>confdefs.h <<_ACEOF
42681 #define HAVE_FREXPL 1
42682 _ACEOF
42683
42684 fi
42685 done
42686
42687   else
42688
42689   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
42690 $as_echo_n "checking for _frexpl declaration... " >&6; }
42691   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
42692     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
42693   $as_echo_n "(cached) " >&6
42694 else
42695
42696
42697       ac_ext=cpp
42698 ac_cpp='$CXXCPP $CPPFLAGS'
42699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42702
42703       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42704 /* end confdefs.h.  */
42705 #include <math.h>
42706 int
42707 main ()
42708 {
42709  _frexpl(0, 0);
42710   ;
42711   return 0;
42712 }
42713 _ACEOF
42714 if ac_fn_cxx_try_compile "$LINENO"; then :
42715   glibcxx_cv_func__frexpl_use=yes
42716 else
42717   glibcxx_cv_func__frexpl_use=no
42718 fi
42719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42720       ac_ext=c
42721 ac_cpp='$CPP $CPPFLAGS'
42722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42725
42726
42727 fi
42728
42729   fi
42730   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
42731 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
42732
42733     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
42734       for ac_func in _frexpl
42735 do :
42736   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
42737 if test "x$ac_cv_func__frexpl" = x""yes; then :
42738   cat >>confdefs.h <<_ACEOF
42739 #define HAVE__FREXPL 1
42740 _ACEOF
42741
42742 fi
42743 done
42744
42745     fi
42746   fi
42747
42748
42749
42750
42751
42752   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
42753 $as_echo_n "checking for hypotl declaration... " >&6; }
42754   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
42755     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
42756   $as_echo_n "(cached) " >&6
42757 else
42758
42759
42760       ac_ext=cpp
42761 ac_cpp='$CXXCPP $CPPFLAGS'
42762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42765
42766       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42767 /* end confdefs.h.  */
42768 #include <math.h>
42769 int
42770 main ()
42771 {
42772  hypotl(0, 0);
42773   ;
42774   return 0;
42775 }
42776 _ACEOF
42777 if ac_fn_cxx_try_compile "$LINENO"; then :
42778   glibcxx_cv_func_hypotl_use=yes
42779 else
42780   glibcxx_cv_func_hypotl_use=no
42781 fi
42782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42783       ac_ext=c
42784 ac_cpp='$CPP $CPPFLAGS'
42785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42788
42789
42790 fi
42791
42792   fi
42793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
42794 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
42795
42796   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
42797     for ac_func in hypotl
42798 do :
42799   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
42800 if test "x$ac_cv_func_hypotl" = x""yes; then :
42801   cat >>confdefs.h <<_ACEOF
42802 #define HAVE_HYPOTL 1
42803 _ACEOF
42804
42805 fi
42806 done
42807
42808   else
42809
42810   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
42811 $as_echo_n "checking for _hypotl declaration... " >&6; }
42812   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
42813     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
42814   $as_echo_n "(cached) " >&6
42815 else
42816
42817
42818       ac_ext=cpp
42819 ac_cpp='$CXXCPP $CPPFLAGS'
42820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42823
42824       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42825 /* end confdefs.h.  */
42826 #include <math.h>
42827 int
42828 main ()
42829 {
42830  _hypotl(0, 0);
42831   ;
42832   return 0;
42833 }
42834 _ACEOF
42835 if ac_fn_cxx_try_compile "$LINENO"; then :
42836   glibcxx_cv_func__hypotl_use=yes
42837 else
42838   glibcxx_cv_func__hypotl_use=no
42839 fi
42840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42841       ac_ext=c
42842 ac_cpp='$CPP $CPPFLAGS'
42843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42846
42847
42848 fi
42849
42850   fi
42851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
42852 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
42853
42854     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
42855       for ac_func in _hypotl
42856 do :
42857   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
42858 if test "x$ac_cv_func__hypotl" = x""yes; then :
42859   cat >>confdefs.h <<_ACEOF
42860 #define HAVE__HYPOTL 1
42861 _ACEOF
42862
42863 fi
42864 done
42865
42866     fi
42867   fi
42868
42869
42870
42871
42872
42873   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
42874 $as_echo_n "checking for ldexpl declaration... " >&6; }
42875   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
42876     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
42877   $as_echo_n "(cached) " >&6
42878 else
42879
42880
42881       ac_ext=cpp
42882 ac_cpp='$CXXCPP $CPPFLAGS'
42883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42886
42887       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42888 /* end confdefs.h.  */
42889 #include <math.h>
42890 int
42891 main ()
42892 {
42893  ldexpl(0, 0);
42894   ;
42895   return 0;
42896 }
42897 _ACEOF
42898 if ac_fn_cxx_try_compile "$LINENO"; then :
42899   glibcxx_cv_func_ldexpl_use=yes
42900 else
42901   glibcxx_cv_func_ldexpl_use=no
42902 fi
42903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42904       ac_ext=c
42905 ac_cpp='$CPP $CPPFLAGS'
42906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42909
42910
42911 fi
42912
42913   fi
42914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
42915 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
42916
42917   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
42918     for ac_func in ldexpl
42919 do :
42920   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
42921 if test "x$ac_cv_func_ldexpl" = x""yes; then :
42922   cat >>confdefs.h <<_ACEOF
42923 #define HAVE_LDEXPL 1
42924 _ACEOF
42925
42926 fi
42927 done
42928
42929   else
42930
42931   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
42932 $as_echo_n "checking for _ldexpl declaration... " >&6; }
42933   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
42934     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
42935   $as_echo_n "(cached) " >&6
42936 else
42937
42938
42939       ac_ext=cpp
42940 ac_cpp='$CXXCPP $CPPFLAGS'
42941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42944
42945       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42946 /* end confdefs.h.  */
42947 #include <math.h>
42948 int
42949 main ()
42950 {
42951  _ldexpl(0, 0);
42952   ;
42953   return 0;
42954 }
42955 _ACEOF
42956 if ac_fn_cxx_try_compile "$LINENO"; then :
42957   glibcxx_cv_func__ldexpl_use=yes
42958 else
42959   glibcxx_cv_func__ldexpl_use=no
42960 fi
42961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42962       ac_ext=c
42963 ac_cpp='$CPP $CPPFLAGS'
42964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42967
42968
42969 fi
42970
42971   fi
42972   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
42973 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
42974
42975     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
42976       for ac_func in _ldexpl
42977 do :
42978   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
42979 if test "x$ac_cv_func__ldexpl" = x""yes; then :
42980   cat >>confdefs.h <<_ACEOF
42981 #define HAVE__LDEXPL 1
42982 _ACEOF
42983
42984 fi
42985 done
42986
42987     fi
42988   fi
42989
42990
42991
42992
42993
42994   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
42995 $as_echo_n "checking for logl declaration... " >&6; }
42996   if test x${glibcxx_cv_func_logl_use+set} != xset; then
42997     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
42998   $as_echo_n "(cached) " >&6
42999 else
43000
43001
43002       ac_ext=cpp
43003 ac_cpp='$CXXCPP $CPPFLAGS'
43004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43007
43008       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43009 /* end confdefs.h.  */
43010 #include <math.h>
43011                       #ifdef HAVE_IEEEFP_H
43012                       #include <ieeefp.h>
43013                       #endif
43014
43015 int
43016 main ()
43017 {
43018  logl(0);
43019   ;
43020   return 0;
43021 }
43022 _ACEOF
43023 if ac_fn_cxx_try_compile "$LINENO"; then :
43024   glibcxx_cv_func_logl_use=yes
43025 else
43026   glibcxx_cv_func_logl_use=no
43027 fi
43028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43029       ac_ext=c
43030 ac_cpp='$CPP $CPPFLAGS'
43031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43034
43035
43036 fi
43037
43038   fi
43039   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
43040 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
43041
43042   if test x$glibcxx_cv_func_logl_use = x"yes"; then
43043     for ac_func in logl
43044 do :
43045   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
43046 if test "x$ac_cv_func_logl" = x""yes; then :
43047   cat >>confdefs.h <<_ACEOF
43048 #define HAVE_LOGL 1
43049 _ACEOF
43050
43051 fi
43052 done
43053
43054   else
43055
43056   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
43057 $as_echo_n "checking for _logl declaration... " >&6; }
43058   if test x${glibcxx_cv_func__logl_use+set} != xset; then
43059     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
43060   $as_echo_n "(cached) " >&6
43061 else
43062
43063
43064       ac_ext=cpp
43065 ac_cpp='$CXXCPP $CPPFLAGS'
43066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43069
43070       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43071 /* end confdefs.h.  */
43072 #include <math.h>
43073                       #ifdef HAVE_IEEEFP_H
43074                       #include <ieeefp.h>
43075                       #endif
43076
43077 int
43078 main ()
43079 {
43080  _logl(0);
43081   ;
43082   return 0;
43083 }
43084 _ACEOF
43085 if ac_fn_cxx_try_compile "$LINENO"; then :
43086   glibcxx_cv_func__logl_use=yes
43087 else
43088   glibcxx_cv_func__logl_use=no
43089 fi
43090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43091       ac_ext=c
43092 ac_cpp='$CPP $CPPFLAGS'
43093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43096
43097
43098 fi
43099
43100   fi
43101   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
43102 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
43103
43104     if test x$glibcxx_cv_func__logl_use = x"yes"; then
43105       for ac_func in _logl
43106 do :
43107   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
43108 if test "x$ac_cv_func__logl" = x""yes; then :
43109   cat >>confdefs.h <<_ACEOF
43110 #define HAVE__LOGL 1
43111 _ACEOF
43112
43113 fi
43114 done
43115
43116     fi
43117   fi
43118
43119
43120
43121
43122
43123   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
43124 $as_echo_n "checking for log10l declaration... " >&6; }
43125   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
43126     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
43127   $as_echo_n "(cached) " >&6
43128 else
43129
43130
43131       ac_ext=cpp
43132 ac_cpp='$CXXCPP $CPPFLAGS'
43133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43136
43137       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43138 /* end confdefs.h.  */
43139 #include <math.h>
43140                       #ifdef HAVE_IEEEFP_H
43141                       #include <ieeefp.h>
43142                       #endif
43143
43144 int
43145 main ()
43146 {
43147  log10l(0);
43148   ;
43149   return 0;
43150 }
43151 _ACEOF
43152 if ac_fn_cxx_try_compile "$LINENO"; then :
43153   glibcxx_cv_func_log10l_use=yes
43154 else
43155   glibcxx_cv_func_log10l_use=no
43156 fi
43157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43158       ac_ext=c
43159 ac_cpp='$CPP $CPPFLAGS'
43160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43163
43164
43165 fi
43166
43167   fi
43168   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
43169 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
43170
43171   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
43172     for ac_func in log10l
43173 do :
43174   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
43175 if test "x$ac_cv_func_log10l" = x""yes; then :
43176   cat >>confdefs.h <<_ACEOF
43177 #define HAVE_LOG10L 1
43178 _ACEOF
43179
43180 fi
43181 done
43182
43183   else
43184
43185   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
43186 $as_echo_n "checking for _log10l declaration... " >&6; }
43187   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
43188     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
43189   $as_echo_n "(cached) " >&6
43190 else
43191
43192
43193       ac_ext=cpp
43194 ac_cpp='$CXXCPP $CPPFLAGS'
43195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43198
43199       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43200 /* end confdefs.h.  */
43201 #include <math.h>
43202                       #ifdef HAVE_IEEEFP_H
43203                       #include <ieeefp.h>
43204                       #endif
43205
43206 int
43207 main ()
43208 {
43209  _log10l(0);
43210   ;
43211   return 0;
43212 }
43213 _ACEOF
43214 if ac_fn_cxx_try_compile "$LINENO"; then :
43215   glibcxx_cv_func__log10l_use=yes
43216 else
43217   glibcxx_cv_func__log10l_use=no
43218 fi
43219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43220       ac_ext=c
43221 ac_cpp='$CPP $CPPFLAGS'
43222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43225
43226
43227 fi
43228
43229   fi
43230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
43231 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
43232
43233     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
43234       for ac_func in _log10l
43235 do :
43236   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
43237 if test "x$ac_cv_func__log10l" = x""yes; then :
43238   cat >>confdefs.h <<_ACEOF
43239 #define HAVE__LOG10L 1
43240 _ACEOF
43241
43242 fi
43243 done
43244
43245     fi
43246   fi
43247
43248
43249
43250
43251
43252   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
43253 $as_echo_n "checking for modfl declaration... " >&6; }
43254   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
43255     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
43256   $as_echo_n "(cached) " >&6
43257 else
43258
43259
43260       ac_ext=cpp
43261 ac_cpp='$CXXCPP $CPPFLAGS'
43262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43265
43266       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43267 /* end confdefs.h.  */
43268 #include <math.h>
43269 int
43270 main ()
43271 {
43272  modfl(0, 0);
43273   ;
43274   return 0;
43275 }
43276 _ACEOF
43277 if ac_fn_cxx_try_compile "$LINENO"; then :
43278   glibcxx_cv_func_modfl_use=yes
43279 else
43280   glibcxx_cv_func_modfl_use=no
43281 fi
43282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43283       ac_ext=c
43284 ac_cpp='$CPP $CPPFLAGS'
43285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43288
43289
43290 fi
43291
43292   fi
43293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
43294 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
43295
43296   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
43297     for ac_func in modfl
43298 do :
43299   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
43300 if test "x$ac_cv_func_modfl" = x""yes; then :
43301   cat >>confdefs.h <<_ACEOF
43302 #define HAVE_MODFL 1
43303 _ACEOF
43304
43305 fi
43306 done
43307
43308   else
43309
43310   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
43311 $as_echo_n "checking for _modfl declaration... " >&6; }
43312   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
43313     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
43314   $as_echo_n "(cached) " >&6
43315 else
43316
43317
43318       ac_ext=cpp
43319 ac_cpp='$CXXCPP $CPPFLAGS'
43320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43323
43324       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43325 /* end confdefs.h.  */
43326 #include <math.h>
43327 int
43328 main ()
43329 {
43330  _modfl(0, 0);
43331   ;
43332   return 0;
43333 }
43334 _ACEOF
43335 if ac_fn_cxx_try_compile "$LINENO"; then :
43336   glibcxx_cv_func__modfl_use=yes
43337 else
43338   glibcxx_cv_func__modfl_use=no
43339 fi
43340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43341       ac_ext=c
43342 ac_cpp='$CPP $CPPFLAGS'
43343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43346
43347
43348 fi
43349
43350   fi
43351   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
43352 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
43353
43354     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
43355       for ac_func in _modfl
43356 do :
43357   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
43358 if test "x$ac_cv_func__modfl" = x""yes; then :
43359   cat >>confdefs.h <<_ACEOF
43360 #define HAVE__MODFL 1
43361 _ACEOF
43362
43363 fi
43364 done
43365
43366     fi
43367   fi
43368
43369
43370
43371
43372
43373   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
43374 $as_echo_n "checking for powl declaration... " >&6; }
43375   if test x${glibcxx_cv_func_powl_use+set} != xset; then
43376     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
43377   $as_echo_n "(cached) " >&6
43378 else
43379
43380
43381       ac_ext=cpp
43382 ac_cpp='$CXXCPP $CPPFLAGS'
43383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43386
43387       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43388 /* end confdefs.h.  */
43389 #include <math.h>
43390 int
43391 main ()
43392 {
43393  powl(0, 0);
43394   ;
43395   return 0;
43396 }
43397 _ACEOF
43398 if ac_fn_cxx_try_compile "$LINENO"; then :
43399   glibcxx_cv_func_powl_use=yes
43400 else
43401   glibcxx_cv_func_powl_use=no
43402 fi
43403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43404       ac_ext=c
43405 ac_cpp='$CPP $CPPFLAGS'
43406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43409
43410
43411 fi
43412
43413   fi
43414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
43415 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
43416
43417   if test x$glibcxx_cv_func_powl_use = x"yes"; then
43418     for ac_func in powl
43419 do :
43420   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
43421 if test "x$ac_cv_func_powl" = x""yes; then :
43422   cat >>confdefs.h <<_ACEOF
43423 #define HAVE_POWL 1
43424 _ACEOF
43425
43426 fi
43427 done
43428
43429   else
43430
43431   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
43432 $as_echo_n "checking for _powl declaration... " >&6; }
43433   if test x${glibcxx_cv_func__powl_use+set} != xset; then
43434     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
43435   $as_echo_n "(cached) " >&6
43436 else
43437
43438
43439       ac_ext=cpp
43440 ac_cpp='$CXXCPP $CPPFLAGS'
43441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43444
43445       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43446 /* end confdefs.h.  */
43447 #include <math.h>
43448 int
43449 main ()
43450 {
43451  _powl(0, 0);
43452   ;
43453   return 0;
43454 }
43455 _ACEOF
43456 if ac_fn_cxx_try_compile "$LINENO"; then :
43457   glibcxx_cv_func__powl_use=yes
43458 else
43459   glibcxx_cv_func__powl_use=no
43460 fi
43461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43462       ac_ext=c
43463 ac_cpp='$CPP $CPPFLAGS'
43464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43467
43468
43469 fi
43470
43471   fi
43472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
43473 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
43474
43475     if test x$glibcxx_cv_func__powl_use = x"yes"; then
43476       for ac_func in _powl
43477 do :
43478   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
43479 if test "x$ac_cv_func__powl" = x""yes; then :
43480   cat >>confdefs.h <<_ACEOF
43481 #define HAVE__POWL 1
43482 _ACEOF
43483
43484 fi
43485 done
43486
43487     fi
43488   fi
43489
43490
43491
43492
43493
43494   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
43495 $as_echo_n "checking for sqrtl declaration... " >&6; }
43496   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
43497     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
43498   $as_echo_n "(cached) " >&6
43499 else
43500
43501
43502       ac_ext=cpp
43503 ac_cpp='$CXXCPP $CPPFLAGS'
43504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43507
43508       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43509 /* end confdefs.h.  */
43510 #include <math.h>
43511                       #ifdef HAVE_IEEEFP_H
43512                       #include <ieeefp.h>
43513                       #endif
43514
43515 int
43516 main ()
43517 {
43518  sqrtl(0);
43519   ;
43520   return 0;
43521 }
43522 _ACEOF
43523 if ac_fn_cxx_try_compile "$LINENO"; then :
43524   glibcxx_cv_func_sqrtl_use=yes
43525 else
43526   glibcxx_cv_func_sqrtl_use=no
43527 fi
43528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43529       ac_ext=c
43530 ac_cpp='$CPP $CPPFLAGS'
43531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43534
43535
43536 fi
43537
43538   fi
43539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
43540 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
43541
43542   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
43543     for ac_func in sqrtl
43544 do :
43545   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
43546 if test "x$ac_cv_func_sqrtl" = x""yes; then :
43547   cat >>confdefs.h <<_ACEOF
43548 #define HAVE_SQRTL 1
43549 _ACEOF
43550
43551 fi
43552 done
43553
43554   else
43555
43556   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
43557 $as_echo_n "checking for _sqrtl declaration... " >&6; }
43558   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
43559     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
43560   $as_echo_n "(cached) " >&6
43561 else
43562
43563
43564       ac_ext=cpp
43565 ac_cpp='$CXXCPP $CPPFLAGS'
43566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43569
43570       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43571 /* end confdefs.h.  */
43572 #include <math.h>
43573                       #ifdef HAVE_IEEEFP_H
43574                       #include <ieeefp.h>
43575                       #endif
43576
43577 int
43578 main ()
43579 {
43580  _sqrtl(0);
43581   ;
43582   return 0;
43583 }
43584 _ACEOF
43585 if ac_fn_cxx_try_compile "$LINENO"; then :
43586   glibcxx_cv_func__sqrtl_use=yes
43587 else
43588   glibcxx_cv_func__sqrtl_use=no
43589 fi
43590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43591       ac_ext=c
43592 ac_cpp='$CPP $CPPFLAGS'
43593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43596
43597
43598 fi
43599
43600   fi
43601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
43602 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
43603
43604     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
43605       for ac_func in _sqrtl
43606 do :
43607   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
43608 if test "x$ac_cv_func__sqrtl" = x""yes; then :
43609   cat >>confdefs.h <<_ACEOF
43610 #define HAVE__SQRTL 1
43611 _ACEOF
43612
43613 fi
43614 done
43615
43616     fi
43617   fi
43618
43619
43620
43621
43622
43623   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
43624 $as_echo_n "checking for sincosl declaration... " >&6; }
43625   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
43626     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
43627   $as_echo_n "(cached) " >&6
43628 else
43629
43630
43631       ac_ext=cpp
43632 ac_cpp='$CXXCPP $CPPFLAGS'
43633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43636
43637       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43638 /* end confdefs.h.  */
43639 #include <math.h>
43640 int
43641 main ()
43642 {
43643  sincosl(0, 0, 0);
43644   ;
43645   return 0;
43646 }
43647 _ACEOF
43648 if ac_fn_cxx_try_compile "$LINENO"; then :
43649   glibcxx_cv_func_sincosl_use=yes
43650 else
43651   glibcxx_cv_func_sincosl_use=no
43652 fi
43653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43654       ac_ext=c
43655 ac_cpp='$CPP $CPPFLAGS'
43656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43659
43660
43661 fi
43662
43663   fi
43664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
43665 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
43666
43667   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
43668     for ac_func in sincosl
43669 do :
43670   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
43671 if test "x$ac_cv_func_sincosl" = x""yes; then :
43672   cat >>confdefs.h <<_ACEOF
43673 #define HAVE_SINCOSL 1
43674 _ACEOF
43675
43676 fi
43677 done
43678
43679   else
43680
43681   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
43682 $as_echo_n "checking for _sincosl declaration... " >&6; }
43683   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
43684     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
43685   $as_echo_n "(cached) " >&6
43686 else
43687
43688
43689       ac_ext=cpp
43690 ac_cpp='$CXXCPP $CPPFLAGS'
43691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43694
43695       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43696 /* end confdefs.h.  */
43697 #include <math.h>
43698 int
43699 main ()
43700 {
43701  _sincosl(0, 0, 0);
43702   ;
43703   return 0;
43704 }
43705 _ACEOF
43706 if ac_fn_cxx_try_compile "$LINENO"; then :
43707   glibcxx_cv_func__sincosl_use=yes
43708 else
43709   glibcxx_cv_func__sincosl_use=no
43710 fi
43711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43712       ac_ext=c
43713 ac_cpp='$CPP $CPPFLAGS'
43714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43717
43718
43719 fi
43720
43721   fi
43722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
43723 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
43724
43725     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
43726       for ac_func in _sincosl
43727 do :
43728   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
43729 if test "x$ac_cv_func__sincosl" = x""yes; then :
43730   cat >>confdefs.h <<_ACEOF
43731 #define HAVE__SINCOSL 1
43732 _ACEOF
43733
43734 fi
43735 done
43736
43737     fi
43738   fi
43739
43740
43741
43742
43743
43744   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
43745 $as_echo_n "checking for finitel declaration... " >&6; }
43746   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
43747     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
43748   $as_echo_n "(cached) " >&6
43749 else
43750
43751
43752       ac_ext=cpp
43753 ac_cpp='$CXXCPP $CPPFLAGS'
43754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43757
43758       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43759 /* end confdefs.h.  */
43760 #include <math.h>
43761                       #ifdef HAVE_IEEEFP_H
43762                       #include <ieeefp.h>
43763                       #endif
43764
43765 int
43766 main ()
43767 {
43768  finitel(0);
43769   ;
43770   return 0;
43771 }
43772 _ACEOF
43773 if ac_fn_cxx_try_compile "$LINENO"; then :
43774   glibcxx_cv_func_finitel_use=yes
43775 else
43776   glibcxx_cv_func_finitel_use=no
43777 fi
43778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43779       ac_ext=c
43780 ac_cpp='$CPP $CPPFLAGS'
43781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43784
43785
43786 fi
43787
43788   fi
43789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
43790 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
43791
43792   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
43793     for ac_func in finitel
43794 do :
43795   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
43796 if test "x$ac_cv_func_finitel" = x""yes; then :
43797   cat >>confdefs.h <<_ACEOF
43798 #define HAVE_FINITEL 1
43799 _ACEOF
43800
43801 fi
43802 done
43803
43804   else
43805
43806   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
43807 $as_echo_n "checking for _finitel declaration... " >&6; }
43808   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
43809     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
43810   $as_echo_n "(cached) " >&6
43811 else
43812
43813
43814       ac_ext=cpp
43815 ac_cpp='$CXXCPP $CPPFLAGS'
43816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43819
43820       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43821 /* end confdefs.h.  */
43822 #include <math.h>
43823                       #ifdef HAVE_IEEEFP_H
43824                       #include <ieeefp.h>
43825                       #endif
43826
43827 int
43828 main ()
43829 {
43830  _finitel(0);
43831   ;
43832   return 0;
43833 }
43834 _ACEOF
43835 if ac_fn_cxx_try_compile "$LINENO"; then :
43836   glibcxx_cv_func__finitel_use=yes
43837 else
43838   glibcxx_cv_func__finitel_use=no
43839 fi
43840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43841       ac_ext=c
43842 ac_cpp='$CPP $CPPFLAGS'
43843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43846
43847
43848 fi
43849
43850   fi
43851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
43852 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
43853
43854     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
43855       for ac_func in _finitel
43856 do :
43857   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
43858 if test "x$ac_cv_func__finitel" = x""yes; then :
43859   cat >>confdefs.h <<_ACEOF
43860 #define HAVE__FINITEL 1
43861 _ACEOF
43862
43863 fi
43864 done
43865
43866     fi
43867   fi
43868
43869
43870
43871
43872   LIBS="$ac_save_LIBS"
43873   CXXFLAGS="$ac_save_CXXFLAGS"
43874
43875
43876   ac_test_CXXFLAGS="${CXXFLAGS+set}"
43877   ac_save_CXXFLAGS="$CXXFLAGS"
43878   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
43879
43880
43881   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
43882 $as_echo_n "checking for strtold declaration... " >&6; }
43883   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
43884     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
43885   $as_echo_n "(cached) " >&6
43886 else
43887
43888
43889       ac_ext=cpp
43890 ac_cpp='$CXXCPP $CPPFLAGS'
43891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43894
43895       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43896 /* end confdefs.h.  */
43897 #include <stdlib.h>
43898 int
43899 main ()
43900 {
43901  strtold(0, 0);
43902   ;
43903   return 0;
43904 }
43905 _ACEOF
43906 if ac_fn_cxx_try_compile "$LINENO"; then :
43907   glibcxx_cv_func_strtold_use=yes
43908 else
43909   glibcxx_cv_func_strtold_use=no
43910 fi
43911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43912       ac_ext=c
43913 ac_cpp='$CPP $CPPFLAGS'
43914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43917
43918
43919 fi
43920
43921   fi
43922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
43923 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
43924   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
43925     for ac_func in strtold
43926 do :
43927   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
43928 if test "x$ac_cv_func_strtold" = x""yes; then :
43929   cat >>confdefs.h <<_ACEOF
43930 #define HAVE_STRTOLD 1
43931 _ACEOF
43932
43933 fi
43934 done
43935
43936   fi
43937
43938
43939
43940
43941   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
43942 $as_echo_n "checking for strtof declaration... " >&6; }
43943   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
43944     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
43945   $as_echo_n "(cached) " >&6
43946 else
43947
43948
43949       ac_ext=cpp
43950 ac_cpp='$CXXCPP $CPPFLAGS'
43951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43954
43955       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43956 /* end confdefs.h.  */
43957 #include <stdlib.h>
43958 int
43959 main ()
43960 {
43961  strtof(0, 0);
43962   ;
43963   return 0;
43964 }
43965 _ACEOF
43966 if ac_fn_cxx_try_compile "$LINENO"; then :
43967   glibcxx_cv_func_strtof_use=yes
43968 else
43969   glibcxx_cv_func_strtof_use=no
43970 fi
43971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43972       ac_ext=c
43973 ac_cpp='$CPP $CPPFLAGS'
43974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43977
43978
43979 fi
43980
43981   fi
43982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
43983 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
43984   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
43985     for ac_func in strtof
43986 do :
43987   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
43988 if test "x$ac_cv_func_strtof" = x""yes; then :
43989   cat >>confdefs.h <<_ACEOF
43990 #define HAVE_STRTOF 1
43991 _ACEOF
43992
43993 fi
43994 done
43995
43996   fi
43997
43998
43999
44000
44001   CXXFLAGS="$ac_save_CXXFLAGS"
44002
44003     ;;
44004
44005   *djgpp)
44006     # GLIBCXX_CHECK_MATH_SUPPORT
44007     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44008
44009     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44010
44011     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44012
44013     $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
44014
44015     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44016
44017     ;;
44018
44019   *-freebsd*)
44020     SECTION_FLAGS='-ffunction-sections -fdata-sections'
44021
44022
44023   # If we're not using GNU ld, then there's no point in even trying these
44024   # tests.  Check for that first.  We should have already tested for gld
44025   # by now (in libtool), but require it now just to be safe...
44026   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44027   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44028
44029
44030
44031   # The name set by libtool depends on the version of libtool.  Shame on us
44032   # for depending on an impl detail, but c'est la vie.  Older versions used
44033   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44034   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44035   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
44036   # set (hence we're using an older libtool), then set it.
44037   if test x${with_gnu_ld+set} != xset; then
44038     if test x${ac_cv_prog_gnu_ld+set} != xset; then
44039       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
44040       with_gnu_ld=no
44041     else
44042       with_gnu_ld=$ac_cv_prog_gnu_ld
44043     fi
44044   fi
44045
44046   # Start by getting the version number.  I think the libtool test already
44047   # does some of this, but throws away the result.
44048   glibcxx_ld_is_gold=no
44049   if test x"$with_gnu_ld" = x"yes"; then
44050     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44051 $as_echo_n "checking for ld version... " >&6; }
44052
44053     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44054       glibcxx_ld_is_gold=yes
44055     fi
44056     ldver=`$LD --version 2>/dev/null |
44057            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'`
44058
44059     glibcxx_gnu_ld_version=`echo $ldver | \
44060            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44061     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44062 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44063   fi
44064
44065   # Set --gc-sections.
44066   glibcxx_have_gc_sections=no
44067   if test "$glibcxx_ld_is_gold" = "yes"; then
44068     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44069       glibcxx_have_gc_sections=yes
44070     fi
44071   else
44072     glibcxx_gcsections_min_ld=21602
44073     if test x"$with_gnu_ld" = x"yes" &&
44074         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44075       glibcxx_have_gc_sections=yes
44076     fi
44077   fi
44078   if test "$glibcxx_have_gc_sections" = "yes"; then
44079     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
44080     # NB: This flag only works reliably after 2.16.1. Configure tests
44081     # for this are difficult, so hard wire a value that should work.
44082
44083     ac_test_CFLAGS="${CFLAGS+set}"
44084     ac_save_CFLAGS="$CFLAGS"
44085     CFLAGS='-Wl,--gc-sections'
44086
44087     # Check for -Wl,--gc-sections
44088     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44089 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44090     if test x$gcc_no_link = xyes; then
44091   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44092 fi
44093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44094 /* end confdefs.h.  */
44095  int one(void) { return 1; }
44096      int two(void) { return 2; }
44097
44098 int
44099 main ()
44100 {
44101  two();
44102   ;
44103   return 0;
44104 }
44105 _ACEOF
44106 if ac_fn_c_try_link "$LINENO"; then :
44107   ac_gcsections=yes
44108 else
44109   ac_gcsections=no
44110 fi
44111 rm -f core conftest.err conftest.$ac_objext \
44112     conftest$ac_exeext conftest.$ac_ext
44113     if test "$ac_gcsections" = "yes"; then
44114       rm -f conftest.c
44115       touch conftest.c
44116       if $CC -c conftest.c; then
44117         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44118            grep "Warning: gc-sections option ignored" > /dev/null; then
44119           ac_gcsections=no
44120         fi
44121       fi
44122       rm -f conftest.c conftest.o conftest
44123     fi
44124     if test "$ac_gcsections" = "yes"; then
44125       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44126     fi
44127     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44128 $as_echo "$ac_gcsections" >&6; }
44129
44130     if test "$ac_test_CFLAGS" = set; then
44131       CFLAGS="$ac_save_CFLAGS"
44132     else
44133       # this is the suspicious part
44134       CFLAGS=''
44135     fi
44136   fi
44137
44138   # Set -z,relro.
44139   # Note this is only for shared objects.
44140   ac_ld_relro=no
44141   if test x"$with_gnu_ld" = x"yes"; then
44142     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44143 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44144     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44145     if test -n "$cxx_z_relo"; then
44146       OPT_LDFLAGS="-Wl,-z,relro"
44147       ac_ld_relro=yes
44148     fi
44149     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44150 $as_echo "$ac_ld_relro" >&6; }
44151   fi
44152
44153   # Set linker optimization flags.
44154   if test x"$with_gnu_ld" = x"yes"; then
44155     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44156   fi
44157
44158
44159
44160
44161     $as_echo "#define HAVE_SETENV 1" >>confdefs.h
44162
44163     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44164
44165     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44166
44167     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44168
44169     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44170
44171     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
44172
44173     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44174
44175     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44176
44177     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44178
44179
44180     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44181
44182     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44183
44184     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44185
44186     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44187
44188     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
44189
44190     $as_echo "#define HAVE_COSF 1" >>confdefs.h
44191
44192     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44193
44194     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44195
44196     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44197
44198     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
44199
44200     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44201
44202     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44203
44204     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
44205
44206     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44207
44208     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44209
44210     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
44211
44212     $as_echo "#define HAVE_POWF 1" >>confdefs.h
44213
44214     $as_echo "#define HAVE_SINF 1" >>confdefs.h
44215
44216     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44217
44218     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44219
44220     $as_echo "#define HAVE_TANF 1" >>confdefs.h
44221
44222     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44223
44224     if test x"long_double_math_on_this_cpu" = x"yes"; then
44225       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
44226
44227       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
44228
44229       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
44230
44231     fi
44232     ;;
44233   *-hpux*)
44234     SECTION_FLAGS='-ffunction-sections -fdata-sections'
44235
44236
44237   # If we're not using GNU ld, then there's no point in even trying these
44238   # tests.  Check for that first.  We should have already tested for gld
44239   # by now (in libtool), but require it now just to be safe...
44240   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44241   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44242
44243
44244
44245   # The name set by libtool depends on the version of libtool.  Shame on us
44246   # for depending on an impl detail, but c'est la vie.  Older versions used
44247   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44248   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44249   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
44250   # set (hence we're using an older libtool), then set it.
44251   if test x${with_gnu_ld+set} != xset; then
44252     if test x${ac_cv_prog_gnu_ld+set} != xset; then
44253       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
44254       with_gnu_ld=no
44255     else
44256       with_gnu_ld=$ac_cv_prog_gnu_ld
44257     fi
44258   fi
44259
44260   # Start by getting the version number.  I think the libtool test already
44261   # does some of this, but throws away the result.
44262   glibcxx_ld_is_gold=no
44263   if test x"$with_gnu_ld" = x"yes"; then
44264     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44265 $as_echo_n "checking for ld version... " >&6; }
44266
44267     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44268       glibcxx_ld_is_gold=yes
44269     fi
44270     ldver=`$LD --version 2>/dev/null |
44271            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'`
44272
44273     glibcxx_gnu_ld_version=`echo $ldver | \
44274            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44275     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44276 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44277   fi
44278
44279   # Set --gc-sections.
44280   glibcxx_have_gc_sections=no
44281   if test "$glibcxx_ld_is_gold" = "yes"; then
44282     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44283       glibcxx_have_gc_sections=yes
44284     fi
44285   else
44286     glibcxx_gcsections_min_ld=21602
44287     if test x"$with_gnu_ld" = x"yes" &&
44288         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44289       glibcxx_have_gc_sections=yes
44290     fi
44291   fi
44292   if test "$glibcxx_have_gc_sections" = "yes"; then
44293     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
44294     # NB: This flag only works reliably after 2.16.1. Configure tests
44295     # for this are difficult, so hard wire a value that should work.
44296
44297     ac_test_CFLAGS="${CFLAGS+set}"
44298     ac_save_CFLAGS="$CFLAGS"
44299     CFLAGS='-Wl,--gc-sections'
44300
44301     # Check for -Wl,--gc-sections
44302     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44303 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44304     if test x$gcc_no_link = xyes; then
44305   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44306 fi
44307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44308 /* end confdefs.h.  */
44309  int one(void) { return 1; }
44310      int two(void) { return 2; }
44311
44312 int
44313 main ()
44314 {
44315  two();
44316   ;
44317   return 0;
44318 }
44319 _ACEOF
44320 if ac_fn_c_try_link "$LINENO"; then :
44321   ac_gcsections=yes
44322 else
44323   ac_gcsections=no
44324 fi
44325 rm -f core conftest.err conftest.$ac_objext \
44326     conftest$ac_exeext conftest.$ac_ext
44327     if test "$ac_gcsections" = "yes"; then
44328       rm -f conftest.c
44329       touch conftest.c
44330       if $CC -c conftest.c; then
44331         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44332            grep "Warning: gc-sections option ignored" > /dev/null; then
44333           ac_gcsections=no
44334         fi
44335       fi
44336       rm -f conftest.c conftest.o conftest
44337     fi
44338     if test "$ac_gcsections" = "yes"; then
44339       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44340     fi
44341     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44342 $as_echo "$ac_gcsections" >&6; }
44343
44344     if test "$ac_test_CFLAGS" = set; then
44345       CFLAGS="$ac_save_CFLAGS"
44346     else
44347       # this is the suspicious part
44348       CFLAGS=''
44349     fi
44350   fi
44351
44352   # Set -z,relro.
44353   # Note this is only for shared objects.
44354   ac_ld_relro=no
44355   if test x"$with_gnu_ld" = x"yes"; then
44356     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44357 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44358     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44359     if test -n "$cxx_z_relo"; then
44360       OPT_LDFLAGS="-Wl,-z,relro"
44361       ac_ld_relro=yes
44362     fi
44363     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44364 $as_echo "$ac_ld_relro" >&6; }
44365   fi
44366
44367   # Set linker optimization flags.
44368   if test x"$with_gnu_ld" = x"yes"; then
44369     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44370   fi
44371
44372
44373
44374
44375
44376     # GLIBCXX_CHECK_MATH_SUPPORT
44377     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44378
44379     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44380
44381     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44382
44383     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44384
44385     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44386
44387     $as_echo "#define HAVE_COSF 1" >>confdefs.h
44388
44389     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44390
44391     $as_echo "#define HAVE_SINF 1" >>confdefs.h
44392
44393     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44394
44395     $as_echo "#define HAVE_TANF 1" >>confdefs.h
44396
44397     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44398
44399     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44400
44401     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44402
44403     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44404
44405     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44406
44407     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44408
44409     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44410
44411     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44412
44413     $as_echo "#define HAVE_MODF 1" >>confdefs.h
44414
44415     $as_echo "#define HAVE_POWF 1" >>confdefs.h
44416
44417     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44418
44419
44420     # GLIBCXX_CHECK_STDLIB_SUPPORT
44421     $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
44422
44423
44424
44425
44426    # Check whether --enable-tls was given.
44427 if test "${enable_tls+set}" = set; then :
44428   enableval=$enable_tls;
44429       case "$enableval" in
44430        yes|no) ;;
44431        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
44432       esac
44433
44434 else
44435   enable_tls=yes
44436 fi
44437
44438
44439   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
44440 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
44441 if test "${gcc_cv_have_tls+set}" = set; then :
44442   $as_echo_n "(cached) " >&6
44443 else
44444
44445     if test "$cross_compiling" = yes; then :
44446                 if test x$gcc_no_link = xyes; then
44447   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44448 fi
44449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44450 /* end confdefs.h.  */
44451 __thread int a; int b; int main() { return a = b; }
44452 _ACEOF
44453 if ac_fn_c_try_link "$LINENO"; then :
44454   chktls_save_LDFLAGS="$LDFLAGS"
44455                           case $host in
44456             *-*-linux*)
44457               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
44458               ;;
44459           esac
44460           chktls_save_CFLAGS="$CFLAGS"
44461           CFLAGS="-fPIC $CFLAGS"
44462                   if test x$gcc_no_link = xyes; then
44463   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44464 fi
44465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44466 /* end confdefs.h.  */
44467 int f() { return 0; }
44468 _ACEOF
44469 if ac_fn_c_try_link "$LINENO"; then :
44470   if test x$gcc_no_link = xyes; then
44471   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44472 fi
44473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44474 /* end confdefs.h.  */
44475 __thread int a; int b; int f() { return a = b; }
44476 _ACEOF
44477 if ac_fn_c_try_link "$LINENO"; then :
44478   gcc_cv_have_tls=yes
44479 else
44480   gcc_cv_have_tls=no
44481 fi
44482 rm -f core conftest.err conftest.$ac_objext \
44483     conftest$ac_exeext conftest.$ac_ext
44484 else
44485   gcc_cv_have_tls=yes
44486 fi
44487 rm -f core conftest.err conftest.$ac_objext \
44488     conftest$ac_exeext conftest.$ac_ext
44489           CFLAGS="$chktls_save_CFLAGS"
44490           LDFLAGS="$chktls_save_LDFLAGS"
44491 else
44492   gcc_cv_have_tls=no
44493 fi
44494 rm -f core conftest.err conftest.$ac_objext \
44495     conftest$ac_exeext conftest.$ac_ext
44496
44497
44498 else
44499   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44500 /* end confdefs.h.  */
44501 __thread int a; int b; int main() { return a = b; }
44502 _ACEOF
44503 if ac_fn_c_try_run "$LINENO"; then :
44504                       chktls_save_LDFLAGS="$LDFLAGS"
44505       LDFLAGS="-static $LDFLAGS"
44506       if test x$gcc_no_link = xyes; then
44507   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44508 fi
44509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44510 /* end confdefs.h.  */
44511 int main() { return 0; }
44512 _ACEOF
44513 if ac_fn_c_try_link "$LINENO"; then :
44514   if test "$cross_compiling" = yes; then :
44515   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44516 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44517 as_fn_error "cannot run test program while cross compiling
44518 See \`config.log' for more details." "$LINENO" 5; }
44519 else
44520   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44521 /* end confdefs.h.  */
44522 __thread int a; int b; int main() { return a = b; }
44523 _ACEOF
44524 if ac_fn_c_try_run "$LINENO"; then :
44525   gcc_cv_have_tls=yes
44526 else
44527   gcc_cv_have_tls=no
44528 fi
44529 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44530   conftest.$ac_objext conftest.beam conftest.$ac_ext
44531 fi
44532
44533 else
44534   gcc_cv_have_tls=yes
44535 fi
44536 rm -f core conftest.err conftest.$ac_objext \
44537     conftest$ac_exeext conftest.$ac_ext
44538       LDFLAGS="$chktls_save_LDFLAGS"
44539       if test $gcc_cv_have_tls = yes; then
44540                                                 chktls_save_CFLAGS="$CFLAGS"
44541         thread_CFLAGS=failed
44542         for flag in '' '-pthread' '-lpthread'; do
44543           CFLAGS="$flag $chktls_save_CFLAGS"
44544           if test x$gcc_no_link = xyes; then
44545   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44546 fi
44547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44548 /* end confdefs.h.  */
44549 #include <pthread.h>
44550                 void *g(void *d) { return NULL; }
44551 int
44552 main ()
44553 {
44554 pthread_t t; pthread_create(&t,NULL,g,NULL);
44555   ;
44556   return 0;
44557 }
44558 _ACEOF
44559 if ac_fn_c_try_link "$LINENO"; then :
44560   thread_CFLAGS="$flag"
44561 fi
44562 rm -f core conftest.err conftest.$ac_objext \
44563     conftest$ac_exeext conftest.$ac_ext
44564           if test "X$thread_CFLAGS" != Xfailed; then
44565             break
44566           fi
44567         done
44568         CFLAGS="$chktls_save_CFLAGS"
44569         if test "X$thread_CFLAGS" != Xfailed; then
44570           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
44571                                                   if test "$cross_compiling" = yes; then :
44572   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44573 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44574 as_fn_error "cannot run test program while cross compiling
44575 See \`config.log' for more details." "$LINENO" 5; }
44576 else
44577   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44578 /* end confdefs.h.  */
44579 #include <pthread.h>
44580                 __thread int a;
44581                 static int *volatile a_in_other_thread;
44582                 static void *
44583                 thread_func (void *arg)
44584                 {
44585                   a_in_other_thread = &a;
44586                   return (void *)0;
44587                 }
44588 int
44589 main ()
44590 {
44591 pthread_t thread;
44592                 void *thread_retval;
44593                 int *volatile a_in_main_thread;
44594                 a_in_main_thread = &a;
44595                 if (pthread_create (&thread, (pthread_attr_t *)0,
44596                                     thread_func, (void *)0))
44597                   return 0;
44598                 if (pthread_join (thread, &thread_retval))
44599                   return 0;
44600                 return (a_in_other_thread == a_in_main_thread);
44601   ;
44602   return 0;
44603 }
44604 _ACEOF
44605 if ac_fn_c_try_run "$LINENO"; then :
44606   gcc_cv_have_tls=yes
44607 else
44608   gcc_cv_have_tls=no
44609 fi
44610 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44611   conftest.$ac_objext conftest.beam conftest.$ac_ext
44612 fi
44613
44614           CFLAGS="$chktls_save_CFLAGS"
44615         fi
44616       fi
44617 else
44618   gcc_cv_have_tls=no
44619 fi
44620 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44621   conftest.$ac_objext conftest.beam conftest.$ac_ext
44622 fi
44623
44624 fi
44625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
44626 $as_echo "$gcc_cv_have_tls" >&6; }
44627   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
44628
44629 $as_echo "#define HAVE_TLS 1" >>confdefs.h
44630
44631   fi
44632     case "$target" in
44633       *-hpux10*)
44634         $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44635
44636         $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
44637
44638         $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44639
44640         $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44641
44642         $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44643
44644         ;;
44645     esac
44646     ;;
44647   *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
44648
44649   # All these tests are for C++; save the language and the compiler flags.
44650   # The CXXFLAGS thing is suspicious, but based on similar bits previously
44651   # found in GLIBCXX_CONFIGURE.
44652
44653   ac_ext=cpp
44654 ac_cpp='$CXXCPP $CPPFLAGS'
44655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44658
44659   ac_test_CXXFLAGS="${CXXFLAGS+set}"
44660   ac_save_CXXFLAGS="$CXXFLAGS"
44661
44662   # Check for maintainer-mode bits.
44663   if test x"$USE_MAINTAINER_MODE" = xno; then
44664     WERROR=''
44665   else
44666     WERROR='-Werror'
44667   fi
44668
44669   # Check for -ffunction-sections -fdata-sections
44670   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
44671 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
44672   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
44673   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44674 /* end confdefs.h.  */
44675 int foo; void bar() { };
44676 int
44677 main ()
44678 {
44679
44680   ;
44681   return 0;
44682 }
44683 _ACEOF
44684 if ac_fn_cxx_try_compile "$LINENO"; then :
44685   ac_fdsections=yes
44686 else
44687   ac_fdsections=no
44688 fi
44689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44690   if test "$ac_test_CXXFLAGS" = set; then
44691     CXXFLAGS="$ac_save_CXXFLAGS"
44692   else
44693     # this is the suspicious part
44694     CXXFLAGS=''
44695   fi
44696   if test x"$ac_fdsections" = x"yes"; then
44697     SECTION_FLAGS='-ffunction-sections -fdata-sections'
44698   fi
44699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
44700 $as_echo "$ac_fdsections" >&6; }
44701
44702   ac_ext=c
44703 ac_cpp='$CPP $CPPFLAGS'
44704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44707
44708
44709
44710
44711
44712   # If we're not using GNU ld, then there's no point in even trying these
44713   # tests.  Check for that first.  We should have already tested for gld
44714   # by now (in libtool), but require it now just to be safe...
44715   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44716   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44717
44718
44719
44720   # The name set by libtool depends on the version of libtool.  Shame on us
44721   # for depending on an impl detail, but c'est la vie.  Older versions used
44722   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44723   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44724   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
44725   # set (hence we're using an older libtool), then set it.
44726   if test x${with_gnu_ld+set} != xset; then
44727     if test x${ac_cv_prog_gnu_ld+set} != xset; then
44728       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
44729       with_gnu_ld=no
44730     else
44731       with_gnu_ld=$ac_cv_prog_gnu_ld
44732     fi
44733   fi
44734
44735   # Start by getting the version number.  I think the libtool test already
44736   # does some of this, but throws away the result.
44737   glibcxx_ld_is_gold=no
44738   if test x"$with_gnu_ld" = x"yes"; then
44739     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44740 $as_echo_n "checking for ld version... " >&6; }
44741
44742     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44743       glibcxx_ld_is_gold=yes
44744     fi
44745     ldver=`$LD --version 2>/dev/null |
44746            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'`
44747
44748     glibcxx_gnu_ld_version=`echo $ldver | \
44749            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44750     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44751 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44752   fi
44753
44754   # Set --gc-sections.
44755   glibcxx_have_gc_sections=no
44756   if test "$glibcxx_ld_is_gold" = "yes"; then
44757     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44758       glibcxx_have_gc_sections=yes
44759     fi
44760   else
44761     glibcxx_gcsections_min_ld=21602
44762     if test x"$with_gnu_ld" = x"yes" &&
44763         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44764       glibcxx_have_gc_sections=yes
44765     fi
44766   fi
44767   if test "$glibcxx_have_gc_sections" = "yes"; then
44768     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
44769     # NB: This flag only works reliably after 2.16.1. Configure tests
44770     # for this are difficult, so hard wire a value that should work.
44771
44772     ac_test_CFLAGS="${CFLAGS+set}"
44773     ac_save_CFLAGS="$CFLAGS"
44774     CFLAGS='-Wl,--gc-sections'
44775
44776     # Check for -Wl,--gc-sections
44777     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44778 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44779     if test x$gcc_no_link = xyes; then
44780   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44781 fi
44782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44783 /* end confdefs.h.  */
44784  int one(void) { return 1; }
44785      int two(void) { return 2; }
44786
44787 int
44788 main ()
44789 {
44790  two();
44791   ;
44792   return 0;
44793 }
44794 _ACEOF
44795 if ac_fn_c_try_link "$LINENO"; then :
44796   ac_gcsections=yes
44797 else
44798   ac_gcsections=no
44799 fi
44800 rm -f core conftest.err conftest.$ac_objext \
44801     conftest$ac_exeext conftest.$ac_ext
44802     if test "$ac_gcsections" = "yes"; then
44803       rm -f conftest.c
44804       touch conftest.c
44805       if $CC -c conftest.c; then
44806         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44807            grep "Warning: gc-sections option ignored" > /dev/null; then
44808           ac_gcsections=no
44809         fi
44810       fi
44811       rm -f conftest.c conftest.o conftest
44812     fi
44813     if test "$ac_gcsections" = "yes"; then
44814       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44815     fi
44816     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44817 $as_echo "$ac_gcsections" >&6; }
44818
44819     if test "$ac_test_CFLAGS" = set; then
44820       CFLAGS="$ac_save_CFLAGS"
44821     else
44822       # this is the suspicious part
44823       CFLAGS=''
44824     fi
44825   fi
44826
44827   # Set -z,relro.
44828   # Note this is only for shared objects.
44829   ac_ld_relro=no
44830   if test x"$with_gnu_ld" = x"yes"; then
44831     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44832 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44833     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44834     if test -n "$cxx_z_relo"; then
44835       OPT_LDFLAGS="-Wl,-z,relro"
44836       ac_ld_relro=yes
44837     fi
44838     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44839 $as_echo "$ac_ld_relro" >&6; }
44840   fi
44841
44842   # Set linker optimization flags.
44843   if test x"$with_gnu_ld" = x"yes"; then
44844     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44845   fi
44846
44847
44848
44849
44850
44851   ac_test_CXXFLAGS="${CXXFLAGS+set}"
44852   ac_save_CXXFLAGS="$CXXFLAGS"
44853   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44854
44855     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
44856 $as_echo_n "checking for sin in -lm... " >&6; }
44857 if test "${ac_cv_lib_m_sin+set}" = set; then :
44858   $as_echo_n "(cached) " >&6
44859 else
44860   ac_check_lib_save_LIBS=$LIBS
44861 LIBS="-lm  $LIBS"
44862 if test x$gcc_no_link = xyes; then
44863   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44864 fi
44865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44866 /* end confdefs.h.  */
44867
44868 /* Override any GCC internal prototype to avoid an error.
44869    Use char because int might match the return type of a GCC
44870    builtin and then its argument prototype would still apply.  */
44871 #ifdef __cplusplus
44872 extern "C"
44873 #endif
44874 char sin ();
44875 int
44876 main ()
44877 {
44878 return sin ();
44879   ;
44880   return 0;
44881 }
44882 _ACEOF
44883 if ac_fn_c_try_link "$LINENO"; then :
44884   ac_cv_lib_m_sin=yes
44885 else
44886   ac_cv_lib_m_sin=no
44887 fi
44888 rm -f core conftest.err conftest.$ac_objext \
44889     conftest$ac_exeext conftest.$ac_ext
44890 LIBS=$ac_check_lib_save_LIBS
44891 fi
44892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
44893 $as_echo "$ac_cv_lib_m_sin" >&6; }
44894 if test "x$ac_cv_lib_m_sin" = x""yes; then :
44895   libm="-lm"
44896 fi
44897
44898   ac_save_LIBS="$LIBS"
44899   LIBS="$LIBS $libm"
44900
44901
44902
44903   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
44904 $as_echo_n "checking for isinf declaration... " >&6; }
44905   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
44906     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
44907   $as_echo_n "(cached) " >&6
44908 else
44909
44910
44911       ac_ext=cpp
44912 ac_cpp='$CXXCPP $CPPFLAGS'
44913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44916
44917       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44918 /* end confdefs.h.  */
44919 #include <math.h>
44920                       #ifdef HAVE_IEEEFP_H
44921                       #include <ieeefp.h>
44922                       #endif
44923
44924 int
44925 main ()
44926 {
44927  isinf(0);
44928   ;
44929   return 0;
44930 }
44931 _ACEOF
44932 if ac_fn_cxx_try_compile "$LINENO"; then :
44933   glibcxx_cv_func_isinf_use=yes
44934 else
44935   glibcxx_cv_func_isinf_use=no
44936 fi
44937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44938       ac_ext=c
44939 ac_cpp='$CPP $CPPFLAGS'
44940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44943
44944
44945 fi
44946
44947   fi
44948   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
44949 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
44950
44951   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
44952     for ac_func in isinf
44953 do :
44954   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
44955 if test "x$ac_cv_func_isinf" = x""yes; then :
44956   cat >>confdefs.h <<_ACEOF
44957 #define HAVE_ISINF 1
44958 _ACEOF
44959
44960 fi
44961 done
44962
44963   else
44964
44965   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
44966 $as_echo_n "checking for _isinf declaration... " >&6; }
44967   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
44968     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
44969   $as_echo_n "(cached) " >&6
44970 else
44971
44972
44973       ac_ext=cpp
44974 ac_cpp='$CXXCPP $CPPFLAGS'
44975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44978
44979       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44980 /* end confdefs.h.  */
44981 #include <math.h>
44982                       #ifdef HAVE_IEEEFP_H
44983                       #include <ieeefp.h>
44984                       #endif
44985
44986 int
44987 main ()
44988 {
44989  _isinf(0);
44990   ;
44991   return 0;
44992 }
44993 _ACEOF
44994 if ac_fn_cxx_try_compile "$LINENO"; then :
44995   glibcxx_cv_func__isinf_use=yes
44996 else
44997   glibcxx_cv_func__isinf_use=no
44998 fi
44999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45000       ac_ext=c
45001 ac_cpp='$CPP $CPPFLAGS'
45002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45005
45006
45007 fi
45008
45009   fi
45010   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
45011 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
45012
45013     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
45014       for ac_func in _isinf
45015 do :
45016   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
45017 if test "x$ac_cv_func__isinf" = x""yes; then :
45018   cat >>confdefs.h <<_ACEOF
45019 #define HAVE__ISINF 1
45020 _ACEOF
45021
45022 fi
45023 done
45024
45025     fi
45026   fi
45027
45028
45029
45030
45031
45032   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
45033 $as_echo_n "checking for isnan declaration... " >&6; }
45034   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
45035     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
45036   $as_echo_n "(cached) " >&6
45037 else
45038
45039
45040       ac_ext=cpp
45041 ac_cpp='$CXXCPP $CPPFLAGS'
45042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45045
45046       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45047 /* end confdefs.h.  */
45048 #include <math.h>
45049                       #ifdef HAVE_IEEEFP_H
45050                       #include <ieeefp.h>
45051                       #endif
45052
45053 int
45054 main ()
45055 {
45056  isnan(0);
45057   ;
45058   return 0;
45059 }
45060 _ACEOF
45061 if ac_fn_cxx_try_compile "$LINENO"; then :
45062   glibcxx_cv_func_isnan_use=yes
45063 else
45064   glibcxx_cv_func_isnan_use=no
45065 fi
45066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45067       ac_ext=c
45068 ac_cpp='$CPP $CPPFLAGS'
45069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45072
45073
45074 fi
45075
45076   fi
45077   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
45078 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
45079
45080   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
45081     for ac_func in isnan
45082 do :
45083   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
45084 if test "x$ac_cv_func_isnan" = x""yes; then :
45085   cat >>confdefs.h <<_ACEOF
45086 #define HAVE_ISNAN 1
45087 _ACEOF
45088
45089 fi
45090 done
45091
45092   else
45093
45094   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
45095 $as_echo_n "checking for _isnan declaration... " >&6; }
45096   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45097     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
45098   $as_echo_n "(cached) " >&6
45099 else
45100
45101
45102       ac_ext=cpp
45103 ac_cpp='$CXXCPP $CPPFLAGS'
45104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45107
45108       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45109 /* end confdefs.h.  */
45110 #include <math.h>
45111                       #ifdef HAVE_IEEEFP_H
45112                       #include <ieeefp.h>
45113                       #endif
45114
45115 int
45116 main ()
45117 {
45118  _isnan(0);
45119   ;
45120   return 0;
45121 }
45122 _ACEOF
45123 if ac_fn_cxx_try_compile "$LINENO"; then :
45124   glibcxx_cv_func__isnan_use=yes
45125 else
45126   glibcxx_cv_func__isnan_use=no
45127 fi
45128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45129       ac_ext=c
45130 ac_cpp='$CPP $CPPFLAGS'
45131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45134
45135
45136 fi
45137
45138   fi
45139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
45140 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
45141
45142     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
45143       for ac_func in _isnan
45144 do :
45145   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
45146 if test "x$ac_cv_func__isnan" = x""yes; then :
45147   cat >>confdefs.h <<_ACEOF
45148 #define HAVE__ISNAN 1
45149 _ACEOF
45150
45151 fi
45152 done
45153
45154     fi
45155   fi
45156
45157
45158
45159
45160
45161   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
45162 $as_echo_n "checking for finite declaration... " >&6; }
45163   if test x${glibcxx_cv_func_finite_use+set} != xset; then
45164     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
45165   $as_echo_n "(cached) " >&6
45166 else
45167
45168
45169       ac_ext=cpp
45170 ac_cpp='$CXXCPP $CPPFLAGS'
45171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45174
45175       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45176 /* end confdefs.h.  */
45177 #include <math.h>
45178                       #ifdef HAVE_IEEEFP_H
45179                       #include <ieeefp.h>
45180                       #endif
45181
45182 int
45183 main ()
45184 {
45185  finite(0);
45186   ;
45187   return 0;
45188 }
45189 _ACEOF
45190 if ac_fn_cxx_try_compile "$LINENO"; then :
45191   glibcxx_cv_func_finite_use=yes
45192 else
45193   glibcxx_cv_func_finite_use=no
45194 fi
45195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45196       ac_ext=c
45197 ac_cpp='$CPP $CPPFLAGS'
45198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45201
45202
45203 fi
45204
45205   fi
45206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
45207 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
45208
45209   if test x$glibcxx_cv_func_finite_use = x"yes"; then
45210     for ac_func in finite
45211 do :
45212   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
45213 if test "x$ac_cv_func_finite" = x""yes; then :
45214   cat >>confdefs.h <<_ACEOF
45215 #define HAVE_FINITE 1
45216 _ACEOF
45217
45218 fi
45219 done
45220
45221   else
45222
45223   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
45224 $as_echo_n "checking for _finite declaration... " >&6; }
45225   if test x${glibcxx_cv_func__finite_use+set} != xset; then
45226     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
45227   $as_echo_n "(cached) " >&6
45228 else
45229
45230
45231       ac_ext=cpp
45232 ac_cpp='$CXXCPP $CPPFLAGS'
45233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45236
45237       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45238 /* end confdefs.h.  */
45239 #include <math.h>
45240                       #ifdef HAVE_IEEEFP_H
45241                       #include <ieeefp.h>
45242                       #endif
45243
45244 int
45245 main ()
45246 {
45247  _finite(0);
45248   ;
45249   return 0;
45250 }
45251 _ACEOF
45252 if ac_fn_cxx_try_compile "$LINENO"; then :
45253   glibcxx_cv_func__finite_use=yes
45254 else
45255   glibcxx_cv_func__finite_use=no
45256 fi
45257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45258       ac_ext=c
45259 ac_cpp='$CPP $CPPFLAGS'
45260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45263
45264
45265 fi
45266
45267   fi
45268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
45269 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
45270
45271     if test x$glibcxx_cv_func__finite_use = x"yes"; then
45272       for ac_func in _finite
45273 do :
45274   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
45275 if test "x$ac_cv_func__finite" = x""yes; then :
45276   cat >>confdefs.h <<_ACEOF
45277 #define HAVE__FINITE 1
45278 _ACEOF
45279
45280 fi
45281 done
45282
45283     fi
45284   fi
45285
45286
45287
45288
45289
45290   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
45291 $as_echo_n "checking for sincos declaration... " >&6; }
45292   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
45293     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
45294   $as_echo_n "(cached) " >&6
45295 else
45296
45297
45298       ac_ext=cpp
45299 ac_cpp='$CXXCPP $CPPFLAGS'
45300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45303
45304       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45305 /* end confdefs.h.  */
45306 #include <math.h>
45307 int
45308 main ()
45309 {
45310  sincos(0, 0, 0);
45311   ;
45312   return 0;
45313 }
45314 _ACEOF
45315 if ac_fn_cxx_try_compile "$LINENO"; then :
45316   glibcxx_cv_func_sincos_use=yes
45317 else
45318   glibcxx_cv_func_sincos_use=no
45319 fi
45320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45321       ac_ext=c
45322 ac_cpp='$CPP $CPPFLAGS'
45323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45326
45327
45328 fi
45329
45330   fi
45331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
45332 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
45333
45334   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
45335     for ac_func in sincos
45336 do :
45337   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
45338 if test "x$ac_cv_func_sincos" = x""yes; then :
45339   cat >>confdefs.h <<_ACEOF
45340 #define HAVE_SINCOS 1
45341 _ACEOF
45342
45343 fi
45344 done
45345
45346   else
45347
45348   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
45349 $as_echo_n "checking for _sincos declaration... " >&6; }
45350   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
45351     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
45352   $as_echo_n "(cached) " >&6
45353 else
45354
45355
45356       ac_ext=cpp
45357 ac_cpp='$CXXCPP $CPPFLAGS'
45358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45361
45362       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45363 /* end confdefs.h.  */
45364 #include <math.h>
45365 int
45366 main ()
45367 {
45368  _sincos(0, 0, 0);
45369   ;
45370   return 0;
45371 }
45372 _ACEOF
45373 if ac_fn_cxx_try_compile "$LINENO"; then :
45374   glibcxx_cv_func__sincos_use=yes
45375 else
45376   glibcxx_cv_func__sincos_use=no
45377 fi
45378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45379       ac_ext=c
45380 ac_cpp='$CPP $CPPFLAGS'
45381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45384
45385
45386 fi
45387
45388   fi
45389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
45390 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
45391
45392     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
45393       for ac_func in _sincos
45394 do :
45395   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
45396 if test "x$ac_cv_func__sincos" = x""yes; then :
45397   cat >>confdefs.h <<_ACEOF
45398 #define HAVE__SINCOS 1
45399 _ACEOF
45400
45401 fi
45402 done
45403
45404     fi
45405   fi
45406
45407
45408
45409
45410
45411   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
45412 $as_echo_n "checking for fpclass declaration... " >&6; }
45413   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
45414     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
45415   $as_echo_n "(cached) " >&6
45416 else
45417
45418
45419       ac_ext=cpp
45420 ac_cpp='$CXXCPP $CPPFLAGS'
45421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45424
45425       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45426 /* end confdefs.h.  */
45427 #include <math.h>
45428                       #ifdef HAVE_IEEEFP_H
45429                       #include <ieeefp.h>
45430                       #endif
45431
45432 int
45433 main ()
45434 {
45435  fpclass(0);
45436   ;
45437   return 0;
45438 }
45439 _ACEOF
45440 if ac_fn_cxx_try_compile "$LINENO"; then :
45441   glibcxx_cv_func_fpclass_use=yes
45442 else
45443   glibcxx_cv_func_fpclass_use=no
45444 fi
45445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45446       ac_ext=c
45447 ac_cpp='$CPP $CPPFLAGS'
45448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45451
45452
45453 fi
45454
45455   fi
45456   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
45457 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
45458
45459   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
45460     for ac_func in fpclass
45461 do :
45462   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
45463 if test "x$ac_cv_func_fpclass" = x""yes; then :
45464   cat >>confdefs.h <<_ACEOF
45465 #define HAVE_FPCLASS 1
45466 _ACEOF
45467
45468 fi
45469 done
45470
45471   else
45472
45473   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
45474 $as_echo_n "checking for _fpclass declaration... " >&6; }
45475   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
45476     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
45477   $as_echo_n "(cached) " >&6
45478 else
45479
45480
45481       ac_ext=cpp
45482 ac_cpp='$CXXCPP $CPPFLAGS'
45483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45486
45487       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45488 /* end confdefs.h.  */
45489 #include <math.h>
45490                       #ifdef HAVE_IEEEFP_H
45491                       #include <ieeefp.h>
45492                       #endif
45493
45494 int
45495 main ()
45496 {
45497  _fpclass(0);
45498   ;
45499   return 0;
45500 }
45501 _ACEOF
45502 if ac_fn_cxx_try_compile "$LINENO"; then :
45503   glibcxx_cv_func__fpclass_use=yes
45504 else
45505   glibcxx_cv_func__fpclass_use=no
45506 fi
45507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45508       ac_ext=c
45509 ac_cpp='$CPP $CPPFLAGS'
45510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45513
45514
45515 fi
45516
45517   fi
45518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
45519 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
45520
45521     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
45522       for ac_func in _fpclass
45523 do :
45524   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
45525 if test "x$ac_cv_func__fpclass" = x""yes; then :
45526   cat >>confdefs.h <<_ACEOF
45527 #define HAVE__FPCLASS 1
45528 _ACEOF
45529
45530 fi
45531 done
45532
45533     fi
45534   fi
45535
45536
45537
45538
45539
45540   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
45541 $as_echo_n "checking for qfpclass declaration... " >&6; }
45542   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
45543     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
45544   $as_echo_n "(cached) " >&6
45545 else
45546
45547
45548       ac_ext=cpp
45549 ac_cpp='$CXXCPP $CPPFLAGS'
45550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45553
45554       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45555 /* end confdefs.h.  */
45556 #include <math.h>
45557                       #ifdef HAVE_IEEEFP_H
45558                       #include <ieeefp.h>
45559                       #endif
45560
45561 int
45562 main ()
45563 {
45564  qfpclass(0);
45565   ;
45566   return 0;
45567 }
45568 _ACEOF
45569 if ac_fn_cxx_try_compile "$LINENO"; then :
45570   glibcxx_cv_func_qfpclass_use=yes
45571 else
45572   glibcxx_cv_func_qfpclass_use=no
45573 fi
45574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45575       ac_ext=c
45576 ac_cpp='$CPP $CPPFLAGS'
45577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45580
45581
45582 fi
45583
45584   fi
45585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
45586 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
45587
45588   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
45589     for ac_func in qfpclass
45590 do :
45591   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
45592 if test "x$ac_cv_func_qfpclass" = x""yes; then :
45593   cat >>confdefs.h <<_ACEOF
45594 #define HAVE_QFPCLASS 1
45595 _ACEOF
45596
45597 fi
45598 done
45599
45600   else
45601
45602   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
45603 $as_echo_n "checking for _qfpclass declaration... " >&6; }
45604   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
45605     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
45606   $as_echo_n "(cached) " >&6
45607 else
45608
45609
45610       ac_ext=cpp
45611 ac_cpp='$CXXCPP $CPPFLAGS'
45612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45615
45616       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45617 /* end confdefs.h.  */
45618 #include <math.h>
45619                       #ifdef HAVE_IEEEFP_H
45620                       #include <ieeefp.h>
45621                       #endif
45622
45623 int
45624 main ()
45625 {
45626  _qfpclass(0);
45627   ;
45628   return 0;
45629 }
45630 _ACEOF
45631 if ac_fn_cxx_try_compile "$LINENO"; then :
45632   glibcxx_cv_func__qfpclass_use=yes
45633 else
45634   glibcxx_cv_func__qfpclass_use=no
45635 fi
45636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45637       ac_ext=c
45638 ac_cpp='$CPP $CPPFLAGS'
45639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45642
45643
45644 fi
45645
45646   fi
45647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
45648 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
45649
45650     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
45651       for ac_func in _qfpclass
45652 do :
45653   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
45654 if test "x$ac_cv_func__qfpclass" = x""yes; then :
45655   cat >>confdefs.h <<_ACEOF
45656 #define HAVE__QFPCLASS 1
45657 _ACEOF
45658
45659 fi
45660 done
45661
45662     fi
45663   fi
45664
45665
45666
45667
45668
45669   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
45670 $as_echo_n "checking for hypot declaration... " >&6; }
45671   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
45672     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
45673   $as_echo_n "(cached) " >&6
45674 else
45675
45676
45677       ac_ext=cpp
45678 ac_cpp='$CXXCPP $CPPFLAGS'
45679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45682
45683       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45684 /* end confdefs.h.  */
45685 #include <math.h>
45686 int
45687 main ()
45688 {
45689  hypot(0, 0);
45690   ;
45691   return 0;
45692 }
45693 _ACEOF
45694 if ac_fn_cxx_try_compile "$LINENO"; then :
45695   glibcxx_cv_func_hypot_use=yes
45696 else
45697   glibcxx_cv_func_hypot_use=no
45698 fi
45699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45700       ac_ext=c
45701 ac_cpp='$CPP $CPPFLAGS'
45702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45705
45706
45707 fi
45708
45709   fi
45710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
45711 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
45712
45713   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
45714     for ac_func in hypot
45715 do :
45716   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
45717 if test "x$ac_cv_func_hypot" = x""yes; then :
45718   cat >>confdefs.h <<_ACEOF
45719 #define HAVE_HYPOT 1
45720 _ACEOF
45721
45722 fi
45723 done
45724
45725   else
45726
45727   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
45728 $as_echo_n "checking for _hypot declaration... " >&6; }
45729   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
45730     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
45731   $as_echo_n "(cached) " >&6
45732 else
45733
45734
45735       ac_ext=cpp
45736 ac_cpp='$CXXCPP $CPPFLAGS'
45737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45740
45741       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45742 /* end confdefs.h.  */
45743 #include <math.h>
45744 int
45745 main ()
45746 {
45747  _hypot(0, 0);
45748   ;
45749   return 0;
45750 }
45751 _ACEOF
45752 if ac_fn_cxx_try_compile "$LINENO"; then :
45753   glibcxx_cv_func__hypot_use=yes
45754 else
45755   glibcxx_cv_func__hypot_use=no
45756 fi
45757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45758       ac_ext=c
45759 ac_cpp='$CPP $CPPFLAGS'
45760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45763
45764
45765 fi
45766
45767   fi
45768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
45769 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
45770
45771     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
45772       for ac_func in _hypot
45773 do :
45774   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
45775 if test "x$ac_cv_func__hypot" = x""yes; then :
45776   cat >>confdefs.h <<_ACEOF
45777 #define HAVE__HYPOT 1
45778 _ACEOF
45779
45780 fi
45781 done
45782
45783     fi
45784   fi
45785
45786
45787
45788
45789
45790     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
45791 $as_echo_n "checking for float trig functions... " >&6; }
45792   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
45793   $as_echo_n "(cached) " >&6
45794 else
45795
45796
45797     ac_ext=cpp
45798 ac_cpp='$CXXCPP $CPPFLAGS'
45799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45802
45803     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45804 /* end confdefs.h.  */
45805 #include <math.h>
45806 int
45807 main ()
45808 {
45809 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
45810   ;
45811   return 0;
45812 }
45813 _ACEOF
45814 if ac_fn_cxx_try_compile "$LINENO"; then :
45815   glibcxx_cv_func_float_trig_use=yes
45816 else
45817   glibcxx_cv_func_float_trig_use=no
45818 fi
45819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45820     ac_ext=c
45821 ac_cpp='$CPP $CPPFLAGS'
45822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45825
45826 fi
45827
45828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
45829 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
45830   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
45831     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
45832 do :
45833   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45834 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45835 eval as_val=\$$as_ac_var
45836    if test "x$as_val" = x""yes; then :
45837   cat >>confdefs.h <<_ACEOF
45838 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45839 _ACEOF
45840
45841 fi
45842 done
45843
45844   else
45845     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
45846 $as_echo_n "checking for _float trig functions... " >&6; }
45847     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
45848   $as_echo_n "(cached) " >&6
45849 else
45850
45851
45852       ac_ext=cpp
45853 ac_cpp='$CXXCPP $CPPFLAGS'
45854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45857
45858       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45859 /* end confdefs.h.  */
45860 #include <math.h>
45861 int
45862 main ()
45863 {
45864 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
45865   ;
45866   return 0;
45867 }
45868 _ACEOF
45869 if ac_fn_cxx_try_compile "$LINENO"; then :
45870   glibcxx_cv_func__float_trig_use=yes
45871 else
45872   glibcxx_cv_func__float_trig_use=no
45873 fi
45874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45875       ac_ext=c
45876 ac_cpp='$CPP $CPPFLAGS'
45877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45880
45881 fi
45882
45883     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
45884 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
45885     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
45886       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
45887 do :
45888   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45889 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45890 eval as_val=\$$as_ac_var
45891    if test "x$as_val" = x""yes; then :
45892   cat >>confdefs.h <<_ACEOF
45893 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45894 _ACEOF
45895
45896 fi
45897 done
45898
45899     fi
45900   fi
45901
45902
45903
45904
45905
45906     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
45907 $as_echo_n "checking for float round functions... " >&6; }
45908   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
45909   $as_echo_n "(cached) " >&6
45910 else
45911
45912
45913     ac_ext=cpp
45914 ac_cpp='$CXXCPP $CPPFLAGS'
45915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45918
45919     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45920 /* end confdefs.h.  */
45921 #include <math.h>
45922 int
45923 main ()
45924 {
45925 ceilf (0); floorf (0);
45926   ;
45927   return 0;
45928 }
45929 _ACEOF
45930 if ac_fn_cxx_try_compile "$LINENO"; then :
45931   glibcxx_cv_func_float_round_use=yes
45932 else
45933   glibcxx_cv_func_float_round_use=no
45934 fi
45935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45936     ac_ext=c
45937 ac_cpp='$CPP $CPPFLAGS'
45938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45941
45942 fi
45943
45944   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
45945 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
45946   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
45947     for ac_func in ceilf floorf
45948 do :
45949   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45950 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45951 eval as_val=\$$as_ac_var
45952    if test "x$as_val" = x""yes; then :
45953   cat >>confdefs.h <<_ACEOF
45954 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45955 _ACEOF
45956
45957 fi
45958 done
45959
45960   else
45961     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
45962 $as_echo_n "checking for _float round functions... " >&6; }
45963     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
45964   $as_echo_n "(cached) " >&6
45965 else
45966
45967
45968       ac_ext=cpp
45969 ac_cpp='$CXXCPP $CPPFLAGS'
45970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45973
45974       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45975 /* end confdefs.h.  */
45976 #include <math.h>
45977 int
45978 main ()
45979 {
45980 _ceilf (0); _floorf (0);
45981   ;
45982   return 0;
45983 }
45984 _ACEOF
45985 if ac_fn_cxx_try_compile "$LINENO"; then :
45986   glibcxx_cv_func__float_round_use=yes
45987 else
45988   glibcxx_cv_func__float_round_use=no
45989 fi
45990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45991       ac_ext=c
45992 ac_cpp='$CPP $CPPFLAGS'
45993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45996
45997 fi
45998
45999     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
46000 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
46001     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
46002       for ac_func in _ceilf _floorf
46003 do :
46004   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46005 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46006 eval as_val=\$$as_ac_var
46007    if test "x$as_val" = x""yes; then :
46008   cat >>confdefs.h <<_ACEOF
46009 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46010 _ACEOF
46011
46012 fi
46013 done
46014
46015     fi
46016   fi
46017
46018
46019
46020
46021
46022
46023   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
46024 $as_echo_n "checking for expf declaration... " >&6; }
46025   if test x${glibcxx_cv_func_expf_use+set} != xset; then
46026     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
46027   $as_echo_n "(cached) " >&6
46028 else
46029
46030
46031       ac_ext=cpp
46032 ac_cpp='$CXXCPP $CPPFLAGS'
46033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46036
46037       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46038 /* end confdefs.h.  */
46039 #include <math.h>
46040                       #ifdef HAVE_IEEEFP_H
46041                       #include <ieeefp.h>
46042                       #endif
46043
46044 int
46045 main ()
46046 {
46047  expf(0);
46048   ;
46049   return 0;
46050 }
46051 _ACEOF
46052 if ac_fn_cxx_try_compile "$LINENO"; then :
46053   glibcxx_cv_func_expf_use=yes
46054 else
46055   glibcxx_cv_func_expf_use=no
46056 fi
46057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46058       ac_ext=c
46059 ac_cpp='$CPP $CPPFLAGS'
46060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46063
46064
46065 fi
46066
46067   fi
46068   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
46069 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
46070
46071   if test x$glibcxx_cv_func_expf_use = x"yes"; then
46072     for ac_func in expf
46073 do :
46074   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
46075 if test "x$ac_cv_func_expf" = x""yes; then :
46076   cat >>confdefs.h <<_ACEOF
46077 #define HAVE_EXPF 1
46078 _ACEOF
46079
46080 fi
46081 done
46082
46083   else
46084
46085   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
46086 $as_echo_n "checking for _expf declaration... " >&6; }
46087   if test x${glibcxx_cv_func__expf_use+set} != xset; then
46088     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
46089   $as_echo_n "(cached) " >&6
46090 else
46091
46092
46093       ac_ext=cpp
46094 ac_cpp='$CXXCPP $CPPFLAGS'
46095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46098
46099       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46100 /* end confdefs.h.  */
46101 #include <math.h>
46102                       #ifdef HAVE_IEEEFP_H
46103                       #include <ieeefp.h>
46104                       #endif
46105
46106 int
46107 main ()
46108 {
46109  _expf(0);
46110   ;
46111   return 0;
46112 }
46113 _ACEOF
46114 if ac_fn_cxx_try_compile "$LINENO"; then :
46115   glibcxx_cv_func__expf_use=yes
46116 else
46117   glibcxx_cv_func__expf_use=no
46118 fi
46119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46120       ac_ext=c
46121 ac_cpp='$CPP $CPPFLAGS'
46122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46125
46126
46127 fi
46128
46129   fi
46130   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
46131 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
46132
46133     if test x$glibcxx_cv_func__expf_use = x"yes"; then
46134       for ac_func in _expf
46135 do :
46136   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
46137 if test "x$ac_cv_func__expf" = x""yes; then :
46138   cat >>confdefs.h <<_ACEOF
46139 #define HAVE__EXPF 1
46140 _ACEOF
46141
46142 fi
46143 done
46144
46145     fi
46146   fi
46147
46148
46149
46150
46151
46152   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
46153 $as_echo_n "checking for isnanf declaration... " >&6; }
46154   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46155     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
46156   $as_echo_n "(cached) " >&6
46157 else
46158
46159
46160       ac_ext=cpp
46161 ac_cpp='$CXXCPP $CPPFLAGS'
46162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46165
46166       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46167 /* end confdefs.h.  */
46168 #include <math.h>
46169                       #ifdef HAVE_IEEEFP_H
46170                       #include <ieeefp.h>
46171                       #endif
46172
46173 int
46174 main ()
46175 {
46176  isnanf(0);
46177   ;
46178   return 0;
46179 }
46180 _ACEOF
46181 if ac_fn_cxx_try_compile "$LINENO"; then :
46182   glibcxx_cv_func_isnanf_use=yes
46183 else
46184   glibcxx_cv_func_isnanf_use=no
46185 fi
46186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46187       ac_ext=c
46188 ac_cpp='$CPP $CPPFLAGS'
46189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46192
46193
46194 fi
46195
46196   fi
46197   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
46198 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
46199
46200   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46201     for ac_func in isnanf
46202 do :
46203   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
46204 if test "x$ac_cv_func_isnanf" = x""yes; then :
46205   cat >>confdefs.h <<_ACEOF
46206 #define HAVE_ISNANF 1
46207 _ACEOF
46208
46209 fi
46210 done
46211
46212   else
46213
46214   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
46215 $as_echo_n "checking for _isnanf declaration... " >&6; }
46216   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
46217     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
46218   $as_echo_n "(cached) " >&6
46219 else
46220
46221
46222       ac_ext=cpp
46223 ac_cpp='$CXXCPP $CPPFLAGS'
46224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46227
46228       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46229 /* end confdefs.h.  */
46230 #include <math.h>
46231                       #ifdef HAVE_IEEEFP_H
46232                       #include <ieeefp.h>
46233                       #endif
46234
46235 int
46236 main ()
46237 {
46238  _isnanf(0);
46239   ;
46240   return 0;
46241 }
46242 _ACEOF
46243 if ac_fn_cxx_try_compile "$LINENO"; then :
46244   glibcxx_cv_func__isnanf_use=yes
46245 else
46246   glibcxx_cv_func__isnanf_use=no
46247 fi
46248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46249       ac_ext=c
46250 ac_cpp='$CPP $CPPFLAGS'
46251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46254
46255
46256 fi
46257
46258   fi
46259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
46260 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
46261
46262     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
46263       for ac_func in _isnanf
46264 do :
46265   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
46266 if test "x$ac_cv_func__isnanf" = x""yes; then :
46267   cat >>confdefs.h <<_ACEOF
46268 #define HAVE__ISNANF 1
46269 _ACEOF
46270
46271 fi
46272 done
46273
46274     fi
46275   fi
46276
46277
46278
46279
46280
46281   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
46282 $as_echo_n "checking for isinff declaration... " >&6; }
46283   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
46284     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
46285   $as_echo_n "(cached) " >&6
46286 else
46287
46288
46289       ac_ext=cpp
46290 ac_cpp='$CXXCPP $CPPFLAGS'
46291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46294
46295       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46296 /* end confdefs.h.  */
46297 #include <math.h>
46298                       #ifdef HAVE_IEEEFP_H
46299                       #include <ieeefp.h>
46300                       #endif
46301
46302 int
46303 main ()
46304 {
46305  isinff(0);
46306   ;
46307   return 0;
46308 }
46309 _ACEOF
46310 if ac_fn_cxx_try_compile "$LINENO"; then :
46311   glibcxx_cv_func_isinff_use=yes
46312 else
46313   glibcxx_cv_func_isinff_use=no
46314 fi
46315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46316       ac_ext=c
46317 ac_cpp='$CPP $CPPFLAGS'
46318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46321
46322
46323 fi
46324
46325   fi
46326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
46327 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
46328
46329   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
46330     for ac_func in isinff
46331 do :
46332   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
46333 if test "x$ac_cv_func_isinff" = x""yes; then :
46334   cat >>confdefs.h <<_ACEOF
46335 #define HAVE_ISINFF 1
46336 _ACEOF
46337
46338 fi
46339 done
46340
46341   else
46342
46343   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
46344 $as_echo_n "checking for _isinff declaration... " >&6; }
46345   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
46346     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
46347   $as_echo_n "(cached) " >&6
46348 else
46349
46350
46351       ac_ext=cpp
46352 ac_cpp='$CXXCPP $CPPFLAGS'
46353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46356
46357       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46358 /* end confdefs.h.  */
46359 #include <math.h>
46360                       #ifdef HAVE_IEEEFP_H
46361                       #include <ieeefp.h>
46362                       #endif
46363
46364 int
46365 main ()
46366 {
46367  _isinff(0);
46368   ;
46369   return 0;
46370 }
46371 _ACEOF
46372 if ac_fn_cxx_try_compile "$LINENO"; then :
46373   glibcxx_cv_func__isinff_use=yes
46374 else
46375   glibcxx_cv_func__isinff_use=no
46376 fi
46377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46378       ac_ext=c
46379 ac_cpp='$CPP $CPPFLAGS'
46380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46383
46384
46385 fi
46386
46387   fi
46388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
46389 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
46390
46391     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
46392       for ac_func in _isinff
46393 do :
46394   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
46395 if test "x$ac_cv_func__isinff" = x""yes; then :
46396   cat >>confdefs.h <<_ACEOF
46397 #define HAVE__ISINFF 1
46398 _ACEOF
46399
46400 fi
46401 done
46402
46403     fi
46404   fi
46405
46406
46407
46408
46409
46410   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
46411 $as_echo_n "checking for atan2f declaration... " >&6; }
46412   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
46413     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
46414   $as_echo_n "(cached) " >&6
46415 else
46416
46417
46418       ac_ext=cpp
46419 ac_cpp='$CXXCPP $CPPFLAGS'
46420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46423
46424       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46425 /* end confdefs.h.  */
46426 #include <math.h>
46427 int
46428 main ()
46429 {
46430  atan2f(0, 0);
46431   ;
46432   return 0;
46433 }
46434 _ACEOF
46435 if ac_fn_cxx_try_compile "$LINENO"; then :
46436   glibcxx_cv_func_atan2f_use=yes
46437 else
46438   glibcxx_cv_func_atan2f_use=no
46439 fi
46440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46441       ac_ext=c
46442 ac_cpp='$CPP $CPPFLAGS'
46443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46446
46447
46448 fi
46449
46450   fi
46451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
46452 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
46453
46454   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
46455     for ac_func in atan2f
46456 do :
46457   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
46458 if test "x$ac_cv_func_atan2f" = x""yes; then :
46459   cat >>confdefs.h <<_ACEOF
46460 #define HAVE_ATAN2F 1
46461 _ACEOF
46462
46463 fi
46464 done
46465
46466   else
46467
46468   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
46469 $as_echo_n "checking for _atan2f declaration... " >&6; }
46470   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
46471     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
46472   $as_echo_n "(cached) " >&6
46473 else
46474
46475
46476       ac_ext=cpp
46477 ac_cpp='$CXXCPP $CPPFLAGS'
46478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46481
46482       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46483 /* end confdefs.h.  */
46484 #include <math.h>
46485 int
46486 main ()
46487 {
46488  _atan2f(0, 0);
46489   ;
46490   return 0;
46491 }
46492 _ACEOF
46493 if ac_fn_cxx_try_compile "$LINENO"; then :
46494   glibcxx_cv_func__atan2f_use=yes
46495 else
46496   glibcxx_cv_func__atan2f_use=no
46497 fi
46498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46499       ac_ext=c
46500 ac_cpp='$CPP $CPPFLAGS'
46501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46504
46505
46506 fi
46507
46508   fi
46509   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
46510 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
46511
46512     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
46513       for ac_func in _atan2f
46514 do :
46515   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
46516 if test "x$ac_cv_func__atan2f" = x""yes; then :
46517   cat >>confdefs.h <<_ACEOF
46518 #define HAVE__ATAN2F 1
46519 _ACEOF
46520
46521 fi
46522 done
46523
46524     fi
46525   fi
46526
46527
46528
46529
46530
46531   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
46532 $as_echo_n "checking for fabsf declaration... " >&6; }
46533   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
46534     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
46535   $as_echo_n "(cached) " >&6
46536 else
46537
46538
46539       ac_ext=cpp
46540 ac_cpp='$CXXCPP $CPPFLAGS'
46541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46544
46545       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46546 /* end confdefs.h.  */
46547 #include <math.h>
46548                       #ifdef HAVE_IEEEFP_H
46549                       #include <ieeefp.h>
46550                       #endif
46551
46552 int
46553 main ()
46554 {
46555  fabsf(0);
46556   ;
46557   return 0;
46558 }
46559 _ACEOF
46560 if ac_fn_cxx_try_compile "$LINENO"; then :
46561   glibcxx_cv_func_fabsf_use=yes
46562 else
46563   glibcxx_cv_func_fabsf_use=no
46564 fi
46565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46566       ac_ext=c
46567 ac_cpp='$CPP $CPPFLAGS'
46568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46571
46572
46573 fi
46574
46575   fi
46576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
46577 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
46578
46579   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
46580     for ac_func in fabsf
46581 do :
46582   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
46583 if test "x$ac_cv_func_fabsf" = x""yes; then :
46584   cat >>confdefs.h <<_ACEOF
46585 #define HAVE_FABSF 1
46586 _ACEOF
46587
46588 fi
46589 done
46590
46591   else
46592
46593   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
46594 $as_echo_n "checking for _fabsf declaration... " >&6; }
46595   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
46596     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
46597   $as_echo_n "(cached) " >&6
46598 else
46599
46600
46601       ac_ext=cpp
46602 ac_cpp='$CXXCPP $CPPFLAGS'
46603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46606
46607       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46608 /* end confdefs.h.  */
46609 #include <math.h>
46610                       #ifdef HAVE_IEEEFP_H
46611                       #include <ieeefp.h>
46612                       #endif
46613
46614 int
46615 main ()
46616 {
46617  _fabsf(0);
46618   ;
46619   return 0;
46620 }
46621 _ACEOF
46622 if ac_fn_cxx_try_compile "$LINENO"; then :
46623   glibcxx_cv_func__fabsf_use=yes
46624 else
46625   glibcxx_cv_func__fabsf_use=no
46626 fi
46627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46628       ac_ext=c
46629 ac_cpp='$CPP $CPPFLAGS'
46630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46633
46634
46635 fi
46636
46637   fi
46638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
46639 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
46640
46641     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
46642       for ac_func in _fabsf
46643 do :
46644   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
46645 if test "x$ac_cv_func__fabsf" = x""yes; then :
46646   cat >>confdefs.h <<_ACEOF
46647 #define HAVE__FABSF 1
46648 _ACEOF
46649
46650 fi
46651 done
46652
46653     fi
46654   fi
46655
46656
46657
46658
46659
46660   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
46661 $as_echo_n "checking for fmodf declaration... " >&6; }
46662   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
46663     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
46664   $as_echo_n "(cached) " >&6
46665 else
46666
46667
46668       ac_ext=cpp
46669 ac_cpp='$CXXCPP $CPPFLAGS'
46670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46673
46674       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46675 /* end confdefs.h.  */
46676 #include <math.h>
46677 int
46678 main ()
46679 {
46680  fmodf(0, 0);
46681   ;
46682   return 0;
46683 }
46684 _ACEOF
46685 if ac_fn_cxx_try_compile "$LINENO"; then :
46686   glibcxx_cv_func_fmodf_use=yes
46687 else
46688   glibcxx_cv_func_fmodf_use=no
46689 fi
46690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46691       ac_ext=c
46692 ac_cpp='$CPP $CPPFLAGS'
46693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46696
46697
46698 fi
46699
46700   fi
46701   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
46702 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
46703
46704   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
46705     for ac_func in fmodf
46706 do :
46707   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
46708 if test "x$ac_cv_func_fmodf" = x""yes; then :
46709   cat >>confdefs.h <<_ACEOF
46710 #define HAVE_FMODF 1
46711 _ACEOF
46712
46713 fi
46714 done
46715
46716   else
46717
46718   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
46719 $as_echo_n "checking for _fmodf declaration... " >&6; }
46720   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
46721     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
46722   $as_echo_n "(cached) " >&6
46723 else
46724
46725
46726       ac_ext=cpp
46727 ac_cpp='$CXXCPP $CPPFLAGS'
46728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46731
46732       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46733 /* end confdefs.h.  */
46734 #include <math.h>
46735 int
46736 main ()
46737 {
46738  _fmodf(0, 0);
46739   ;
46740   return 0;
46741 }
46742 _ACEOF
46743 if ac_fn_cxx_try_compile "$LINENO"; then :
46744   glibcxx_cv_func__fmodf_use=yes
46745 else
46746   glibcxx_cv_func__fmodf_use=no
46747 fi
46748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46749       ac_ext=c
46750 ac_cpp='$CPP $CPPFLAGS'
46751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46754
46755
46756 fi
46757
46758   fi
46759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
46760 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
46761
46762     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
46763       for ac_func in _fmodf
46764 do :
46765   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
46766 if test "x$ac_cv_func__fmodf" = x""yes; then :
46767   cat >>confdefs.h <<_ACEOF
46768 #define HAVE__FMODF 1
46769 _ACEOF
46770
46771 fi
46772 done
46773
46774     fi
46775   fi
46776
46777
46778
46779
46780
46781   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
46782 $as_echo_n "checking for frexpf declaration... " >&6; }
46783   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
46784     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
46785   $as_echo_n "(cached) " >&6
46786 else
46787
46788
46789       ac_ext=cpp
46790 ac_cpp='$CXXCPP $CPPFLAGS'
46791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46794
46795       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46796 /* end confdefs.h.  */
46797 #include <math.h>
46798 int
46799 main ()
46800 {
46801  frexpf(0, 0);
46802   ;
46803   return 0;
46804 }
46805 _ACEOF
46806 if ac_fn_cxx_try_compile "$LINENO"; then :
46807   glibcxx_cv_func_frexpf_use=yes
46808 else
46809   glibcxx_cv_func_frexpf_use=no
46810 fi
46811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46812       ac_ext=c
46813 ac_cpp='$CPP $CPPFLAGS'
46814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46817
46818
46819 fi
46820
46821   fi
46822   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
46823 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
46824
46825   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
46826     for ac_func in frexpf
46827 do :
46828   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
46829 if test "x$ac_cv_func_frexpf" = x""yes; then :
46830   cat >>confdefs.h <<_ACEOF
46831 #define HAVE_FREXPF 1
46832 _ACEOF
46833
46834 fi
46835 done
46836
46837   else
46838
46839   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
46840 $as_echo_n "checking for _frexpf declaration... " >&6; }
46841   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
46842     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
46843   $as_echo_n "(cached) " >&6
46844 else
46845
46846
46847       ac_ext=cpp
46848 ac_cpp='$CXXCPP $CPPFLAGS'
46849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46852
46853       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46854 /* end confdefs.h.  */
46855 #include <math.h>
46856 int
46857 main ()
46858 {
46859  _frexpf(0, 0);
46860   ;
46861   return 0;
46862 }
46863 _ACEOF
46864 if ac_fn_cxx_try_compile "$LINENO"; then :
46865   glibcxx_cv_func__frexpf_use=yes
46866 else
46867   glibcxx_cv_func__frexpf_use=no
46868 fi
46869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46870       ac_ext=c
46871 ac_cpp='$CPP $CPPFLAGS'
46872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46875
46876
46877 fi
46878
46879   fi
46880   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
46881 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
46882
46883     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
46884       for ac_func in _frexpf
46885 do :
46886   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
46887 if test "x$ac_cv_func__frexpf" = x""yes; then :
46888   cat >>confdefs.h <<_ACEOF
46889 #define HAVE__FREXPF 1
46890 _ACEOF
46891
46892 fi
46893 done
46894
46895     fi
46896   fi
46897
46898
46899
46900
46901
46902   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
46903 $as_echo_n "checking for hypotf declaration... " >&6; }
46904   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
46905     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
46906   $as_echo_n "(cached) " >&6
46907 else
46908
46909
46910       ac_ext=cpp
46911 ac_cpp='$CXXCPP $CPPFLAGS'
46912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46915
46916       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46917 /* end confdefs.h.  */
46918 #include <math.h>
46919 int
46920 main ()
46921 {
46922  hypotf(0, 0);
46923   ;
46924   return 0;
46925 }
46926 _ACEOF
46927 if ac_fn_cxx_try_compile "$LINENO"; then :
46928   glibcxx_cv_func_hypotf_use=yes
46929 else
46930   glibcxx_cv_func_hypotf_use=no
46931 fi
46932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46933       ac_ext=c
46934 ac_cpp='$CPP $CPPFLAGS'
46935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46938
46939
46940 fi
46941
46942   fi
46943   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
46944 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
46945
46946   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
46947     for ac_func in hypotf
46948 do :
46949   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
46950 if test "x$ac_cv_func_hypotf" = x""yes; then :
46951   cat >>confdefs.h <<_ACEOF
46952 #define HAVE_HYPOTF 1
46953 _ACEOF
46954
46955 fi
46956 done
46957
46958   else
46959
46960   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
46961 $as_echo_n "checking for _hypotf declaration... " >&6; }
46962   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
46963     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
46964   $as_echo_n "(cached) " >&6
46965 else
46966
46967
46968       ac_ext=cpp
46969 ac_cpp='$CXXCPP $CPPFLAGS'
46970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46973
46974       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46975 /* end confdefs.h.  */
46976 #include <math.h>
46977 int
46978 main ()
46979 {
46980  _hypotf(0, 0);
46981   ;
46982   return 0;
46983 }
46984 _ACEOF
46985 if ac_fn_cxx_try_compile "$LINENO"; then :
46986   glibcxx_cv_func__hypotf_use=yes
46987 else
46988   glibcxx_cv_func__hypotf_use=no
46989 fi
46990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46991       ac_ext=c
46992 ac_cpp='$CPP $CPPFLAGS'
46993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46996
46997
46998 fi
46999
47000   fi
47001   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
47002 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
47003
47004     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
47005       for ac_func in _hypotf
47006 do :
47007   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
47008 if test "x$ac_cv_func__hypotf" = x""yes; then :
47009   cat >>confdefs.h <<_ACEOF
47010 #define HAVE__HYPOTF 1
47011 _ACEOF
47012
47013 fi
47014 done
47015
47016     fi
47017   fi
47018
47019
47020
47021
47022
47023   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
47024 $as_echo_n "checking for ldexpf declaration... " >&6; }
47025   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
47026     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
47027   $as_echo_n "(cached) " >&6
47028 else
47029
47030
47031       ac_ext=cpp
47032 ac_cpp='$CXXCPP $CPPFLAGS'
47033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47036
47037       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47038 /* end confdefs.h.  */
47039 #include <math.h>
47040 int
47041 main ()
47042 {
47043  ldexpf(0, 0);
47044   ;
47045   return 0;
47046 }
47047 _ACEOF
47048 if ac_fn_cxx_try_compile "$LINENO"; then :
47049   glibcxx_cv_func_ldexpf_use=yes
47050 else
47051   glibcxx_cv_func_ldexpf_use=no
47052 fi
47053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47054       ac_ext=c
47055 ac_cpp='$CPP $CPPFLAGS'
47056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47059
47060
47061 fi
47062
47063   fi
47064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
47065 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
47066
47067   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
47068     for ac_func in ldexpf
47069 do :
47070   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
47071 if test "x$ac_cv_func_ldexpf" = x""yes; then :
47072   cat >>confdefs.h <<_ACEOF
47073 #define HAVE_LDEXPF 1
47074 _ACEOF
47075
47076 fi
47077 done
47078
47079   else
47080
47081   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
47082 $as_echo_n "checking for _ldexpf declaration... " >&6; }
47083   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
47084     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
47085   $as_echo_n "(cached) " >&6
47086 else
47087
47088
47089       ac_ext=cpp
47090 ac_cpp='$CXXCPP $CPPFLAGS'
47091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47094
47095       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47096 /* end confdefs.h.  */
47097 #include <math.h>
47098 int
47099 main ()
47100 {
47101  _ldexpf(0, 0);
47102   ;
47103   return 0;
47104 }
47105 _ACEOF
47106 if ac_fn_cxx_try_compile "$LINENO"; then :
47107   glibcxx_cv_func__ldexpf_use=yes
47108 else
47109   glibcxx_cv_func__ldexpf_use=no
47110 fi
47111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47112       ac_ext=c
47113 ac_cpp='$CPP $CPPFLAGS'
47114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47117
47118
47119 fi
47120
47121   fi
47122   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
47123 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
47124
47125     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
47126       for ac_func in _ldexpf
47127 do :
47128   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
47129 if test "x$ac_cv_func__ldexpf" = x""yes; then :
47130   cat >>confdefs.h <<_ACEOF
47131 #define HAVE__LDEXPF 1
47132 _ACEOF
47133
47134 fi
47135 done
47136
47137     fi
47138   fi
47139
47140
47141
47142
47143
47144   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
47145 $as_echo_n "checking for logf declaration... " >&6; }
47146   if test x${glibcxx_cv_func_logf_use+set} != xset; then
47147     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
47148   $as_echo_n "(cached) " >&6
47149 else
47150
47151
47152       ac_ext=cpp
47153 ac_cpp='$CXXCPP $CPPFLAGS'
47154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47157
47158       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47159 /* end confdefs.h.  */
47160 #include <math.h>
47161                       #ifdef HAVE_IEEEFP_H
47162                       #include <ieeefp.h>
47163                       #endif
47164
47165 int
47166 main ()
47167 {
47168  logf(0);
47169   ;
47170   return 0;
47171 }
47172 _ACEOF
47173 if ac_fn_cxx_try_compile "$LINENO"; then :
47174   glibcxx_cv_func_logf_use=yes
47175 else
47176   glibcxx_cv_func_logf_use=no
47177 fi
47178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47179       ac_ext=c
47180 ac_cpp='$CPP $CPPFLAGS'
47181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47184
47185
47186 fi
47187
47188   fi
47189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
47190 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
47191
47192   if test x$glibcxx_cv_func_logf_use = x"yes"; then
47193     for ac_func in logf
47194 do :
47195   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
47196 if test "x$ac_cv_func_logf" = x""yes; then :
47197   cat >>confdefs.h <<_ACEOF
47198 #define HAVE_LOGF 1
47199 _ACEOF
47200
47201 fi
47202 done
47203
47204   else
47205
47206   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
47207 $as_echo_n "checking for _logf declaration... " >&6; }
47208   if test x${glibcxx_cv_func__logf_use+set} != xset; then
47209     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
47210   $as_echo_n "(cached) " >&6
47211 else
47212
47213
47214       ac_ext=cpp
47215 ac_cpp='$CXXCPP $CPPFLAGS'
47216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47219
47220       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47221 /* end confdefs.h.  */
47222 #include <math.h>
47223                       #ifdef HAVE_IEEEFP_H
47224                       #include <ieeefp.h>
47225                       #endif
47226
47227 int
47228 main ()
47229 {
47230  _logf(0);
47231   ;
47232   return 0;
47233 }
47234 _ACEOF
47235 if ac_fn_cxx_try_compile "$LINENO"; then :
47236   glibcxx_cv_func__logf_use=yes
47237 else
47238   glibcxx_cv_func__logf_use=no
47239 fi
47240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47241       ac_ext=c
47242 ac_cpp='$CPP $CPPFLAGS'
47243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47246
47247
47248 fi
47249
47250   fi
47251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
47252 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
47253
47254     if test x$glibcxx_cv_func__logf_use = x"yes"; then
47255       for ac_func in _logf
47256 do :
47257   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
47258 if test "x$ac_cv_func__logf" = x""yes; then :
47259   cat >>confdefs.h <<_ACEOF
47260 #define HAVE__LOGF 1
47261 _ACEOF
47262
47263 fi
47264 done
47265
47266     fi
47267   fi
47268
47269
47270
47271
47272
47273   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
47274 $as_echo_n "checking for log10f declaration... " >&6; }
47275   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
47276     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
47277   $as_echo_n "(cached) " >&6
47278 else
47279
47280
47281       ac_ext=cpp
47282 ac_cpp='$CXXCPP $CPPFLAGS'
47283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47286
47287       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47288 /* end confdefs.h.  */
47289 #include <math.h>
47290                       #ifdef HAVE_IEEEFP_H
47291                       #include <ieeefp.h>
47292                       #endif
47293
47294 int
47295 main ()
47296 {
47297  log10f(0);
47298   ;
47299   return 0;
47300 }
47301 _ACEOF
47302 if ac_fn_cxx_try_compile "$LINENO"; then :
47303   glibcxx_cv_func_log10f_use=yes
47304 else
47305   glibcxx_cv_func_log10f_use=no
47306 fi
47307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47308       ac_ext=c
47309 ac_cpp='$CPP $CPPFLAGS'
47310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47313
47314
47315 fi
47316
47317   fi
47318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
47319 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
47320
47321   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
47322     for ac_func in log10f
47323 do :
47324   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
47325 if test "x$ac_cv_func_log10f" = x""yes; then :
47326   cat >>confdefs.h <<_ACEOF
47327 #define HAVE_LOG10F 1
47328 _ACEOF
47329
47330 fi
47331 done
47332
47333   else
47334
47335   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
47336 $as_echo_n "checking for _log10f declaration... " >&6; }
47337   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
47338     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
47339   $as_echo_n "(cached) " >&6
47340 else
47341
47342
47343       ac_ext=cpp
47344 ac_cpp='$CXXCPP $CPPFLAGS'
47345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47348
47349       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47350 /* end confdefs.h.  */
47351 #include <math.h>
47352                       #ifdef HAVE_IEEEFP_H
47353                       #include <ieeefp.h>
47354                       #endif
47355
47356 int
47357 main ()
47358 {
47359  _log10f(0);
47360   ;
47361   return 0;
47362 }
47363 _ACEOF
47364 if ac_fn_cxx_try_compile "$LINENO"; then :
47365   glibcxx_cv_func__log10f_use=yes
47366 else
47367   glibcxx_cv_func__log10f_use=no
47368 fi
47369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47370       ac_ext=c
47371 ac_cpp='$CPP $CPPFLAGS'
47372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47375
47376
47377 fi
47378
47379   fi
47380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
47381 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
47382
47383     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
47384       for ac_func in _log10f
47385 do :
47386   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
47387 if test "x$ac_cv_func__log10f" = x""yes; then :
47388   cat >>confdefs.h <<_ACEOF
47389 #define HAVE__LOG10F 1
47390 _ACEOF
47391
47392 fi
47393 done
47394
47395     fi
47396   fi
47397
47398
47399
47400
47401
47402   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
47403 $as_echo_n "checking for modff declaration... " >&6; }
47404   if test x${glibcxx_cv_func_modff_use+set} != xset; then
47405     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
47406   $as_echo_n "(cached) " >&6
47407 else
47408
47409
47410       ac_ext=cpp
47411 ac_cpp='$CXXCPP $CPPFLAGS'
47412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47415
47416       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47417 /* end confdefs.h.  */
47418 #include <math.h>
47419 int
47420 main ()
47421 {
47422  modff(0, 0);
47423   ;
47424   return 0;
47425 }
47426 _ACEOF
47427 if ac_fn_cxx_try_compile "$LINENO"; then :
47428   glibcxx_cv_func_modff_use=yes
47429 else
47430   glibcxx_cv_func_modff_use=no
47431 fi
47432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47433       ac_ext=c
47434 ac_cpp='$CPP $CPPFLAGS'
47435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47438
47439
47440 fi
47441
47442   fi
47443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
47444 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
47445
47446   if test x$glibcxx_cv_func_modff_use = x"yes"; then
47447     for ac_func in modff
47448 do :
47449   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
47450 if test "x$ac_cv_func_modff" = x""yes; then :
47451   cat >>confdefs.h <<_ACEOF
47452 #define HAVE_MODFF 1
47453 _ACEOF
47454
47455 fi
47456 done
47457
47458   else
47459
47460   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
47461 $as_echo_n "checking for _modff declaration... " >&6; }
47462   if test x${glibcxx_cv_func__modff_use+set} != xset; then
47463     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
47464   $as_echo_n "(cached) " >&6
47465 else
47466
47467
47468       ac_ext=cpp
47469 ac_cpp='$CXXCPP $CPPFLAGS'
47470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47473
47474       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47475 /* end confdefs.h.  */
47476 #include <math.h>
47477 int
47478 main ()
47479 {
47480  _modff(0, 0);
47481   ;
47482   return 0;
47483 }
47484 _ACEOF
47485 if ac_fn_cxx_try_compile "$LINENO"; then :
47486   glibcxx_cv_func__modff_use=yes
47487 else
47488   glibcxx_cv_func__modff_use=no
47489 fi
47490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47491       ac_ext=c
47492 ac_cpp='$CPP $CPPFLAGS'
47493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47496
47497
47498 fi
47499
47500   fi
47501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
47502 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
47503
47504     if test x$glibcxx_cv_func__modff_use = x"yes"; then
47505       for ac_func in _modff
47506 do :
47507   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
47508 if test "x$ac_cv_func__modff" = x""yes; then :
47509   cat >>confdefs.h <<_ACEOF
47510 #define HAVE__MODFF 1
47511 _ACEOF
47512
47513 fi
47514 done
47515
47516     fi
47517   fi
47518
47519
47520
47521
47522
47523   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
47524 $as_echo_n "checking for modf declaration... " >&6; }
47525   if test x${glibcxx_cv_func_modf_use+set} != xset; then
47526     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
47527   $as_echo_n "(cached) " >&6
47528 else
47529
47530
47531       ac_ext=cpp
47532 ac_cpp='$CXXCPP $CPPFLAGS'
47533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47536
47537       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47538 /* end confdefs.h.  */
47539 #include <math.h>
47540 int
47541 main ()
47542 {
47543  modf(0, 0);
47544   ;
47545   return 0;
47546 }
47547 _ACEOF
47548 if ac_fn_cxx_try_compile "$LINENO"; then :
47549   glibcxx_cv_func_modf_use=yes
47550 else
47551   glibcxx_cv_func_modf_use=no
47552 fi
47553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47554       ac_ext=c
47555 ac_cpp='$CPP $CPPFLAGS'
47556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47559
47560
47561 fi
47562
47563   fi
47564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
47565 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
47566
47567   if test x$glibcxx_cv_func_modf_use = x"yes"; then
47568     for ac_func in modf
47569 do :
47570   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
47571 if test "x$ac_cv_func_modf" = x""yes; then :
47572   cat >>confdefs.h <<_ACEOF
47573 #define HAVE_MODF 1
47574 _ACEOF
47575
47576 fi
47577 done
47578
47579   else
47580
47581   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
47582 $as_echo_n "checking for _modf declaration... " >&6; }
47583   if test x${glibcxx_cv_func__modf_use+set} != xset; then
47584     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
47585   $as_echo_n "(cached) " >&6
47586 else
47587
47588
47589       ac_ext=cpp
47590 ac_cpp='$CXXCPP $CPPFLAGS'
47591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47594
47595       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47596 /* end confdefs.h.  */
47597 #include <math.h>
47598 int
47599 main ()
47600 {
47601  _modf(0, 0);
47602   ;
47603   return 0;
47604 }
47605 _ACEOF
47606 if ac_fn_cxx_try_compile "$LINENO"; then :
47607   glibcxx_cv_func__modf_use=yes
47608 else
47609   glibcxx_cv_func__modf_use=no
47610 fi
47611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47612       ac_ext=c
47613 ac_cpp='$CPP $CPPFLAGS'
47614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47617
47618
47619 fi
47620
47621   fi
47622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
47623 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
47624
47625     if test x$glibcxx_cv_func__modf_use = x"yes"; then
47626       for ac_func in _modf
47627 do :
47628   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
47629 if test "x$ac_cv_func__modf" = x""yes; then :
47630   cat >>confdefs.h <<_ACEOF
47631 #define HAVE__MODF 1
47632 _ACEOF
47633
47634 fi
47635 done
47636
47637     fi
47638   fi
47639
47640
47641
47642
47643
47644   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
47645 $as_echo_n "checking for powf declaration... " >&6; }
47646   if test x${glibcxx_cv_func_powf_use+set} != xset; then
47647     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
47648   $as_echo_n "(cached) " >&6
47649 else
47650
47651
47652       ac_ext=cpp
47653 ac_cpp='$CXXCPP $CPPFLAGS'
47654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47657
47658       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47659 /* end confdefs.h.  */
47660 #include <math.h>
47661 int
47662 main ()
47663 {
47664  powf(0, 0);
47665   ;
47666   return 0;
47667 }
47668 _ACEOF
47669 if ac_fn_cxx_try_compile "$LINENO"; then :
47670   glibcxx_cv_func_powf_use=yes
47671 else
47672   glibcxx_cv_func_powf_use=no
47673 fi
47674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47675       ac_ext=c
47676 ac_cpp='$CPP $CPPFLAGS'
47677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47680
47681
47682 fi
47683
47684   fi
47685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
47686 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
47687
47688   if test x$glibcxx_cv_func_powf_use = x"yes"; then
47689     for ac_func in powf
47690 do :
47691   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
47692 if test "x$ac_cv_func_powf" = x""yes; then :
47693   cat >>confdefs.h <<_ACEOF
47694 #define HAVE_POWF 1
47695 _ACEOF
47696
47697 fi
47698 done
47699
47700   else
47701
47702   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
47703 $as_echo_n "checking for _powf declaration... " >&6; }
47704   if test x${glibcxx_cv_func__powf_use+set} != xset; then
47705     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
47706   $as_echo_n "(cached) " >&6
47707 else
47708
47709
47710       ac_ext=cpp
47711 ac_cpp='$CXXCPP $CPPFLAGS'
47712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47715
47716       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47717 /* end confdefs.h.  */
47718 #include <math.h>
47719 int
47720 main ()
47721 {
47722  _powf(0, 0);
47723   ;
47724   return 0;
47725 }
47726 _ACEOF
47727 if ac_fn_cxx_try_compile "$LINENO"; then :
47728   glibcxx_cv_func__powf_use=yes
47729 else
47730   glibcxx_cv_func__powf_use=no
47731 fi
47732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47733       ac_ext=c
47734 ac_cpp='$CPP $CPPFLAGS'
47735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47738
47739
47740 fi
47741
47742   fi
47743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
47744 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
47745
47746     if test x$glibcxx_cv_func__powf_use = x"yes"; then
47747       for ac_func in _powf
47748 do :
47749   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
47750 if test "x$ac_cv_func__powf" = x""yes; then :
47751   cat >>confdefs.h <<_ACEOF
47752 #define HAVE__POWF 1
47753 _ACEOF
47754
47755 fi
47756 done
47757
47758     fi
47759   fi
47760
47761
47762
47763
47764
47765   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
47766 $as_echo_n "checking for sqrtf declaration... " >&6; }
47767   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
47768     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
47769   $as_echo_n "(cached) " >&6
47770 else
47771
47772
47773       ac_ext=cpp
47774 ac_cpp='$CXXCPP $CPPFLAGS'
47775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47778
47779       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47780 /* end confdefs.h.  */
47781 #include <math.h>
47782                       #ifdef HAVE_IEEEFP_H
47783                       #include <ieeefp.h>
47784                       #endif
47785
47786 int
47787 main ()
47788 {
47789  sqrtf(0);
47790   ;
47791   return 0;
47792 }
47793 _ACEOF
47794 if ac_fn_cxx_try_compile "$LINENO"; then :
47795   glibcxx_cv_func_sqrtf_use=yes
47796 else
47797   glibcxx_cv_func_sqrtf_use=no
47798 fi
47799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47800       ac_ext=c
47801 ac_cpp='$CPP $CPPFLAGS'
47802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47805
47806
47807 fi
47808
47809   fi
47810   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
47811 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
47812
47813   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
47814     for ac_func in sqrtf
47815 do :
47816   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
47817 if test "x$ac_cv_func_sqrtf" = x""yes; then :
47818   cat >>confdefs.h <<_ACEOF
47819 #define HAVE_SQRTF 1
47820 _ACEOF
47821
47822 fi
47823 done
47824
47825   else
47826
47827   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
47828 $as_echo_n "checking for _sqrtf declaration... " >&6; }
47829   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
47830     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
47831   $as_echo_n "(cached) " >&6
47832 else
47833
47834
47835       ac_ext=cpp
47836 ac_cpp='$CXXCPP $CPPFLAGS'
47837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47840
47841       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47842 /* end confdefs.h.  */
47843 #include <math.h>
47844                       #ifdef HAVE_IEEEFP_H
47845                       #include <ieeefp.h>
47846                       #endif
47847
47848 int
47849 main ()
47850 {
47851  _sqrtf(0);
47852   ;
47853   return 0;
47854 }
47855 _ACEOF
47856 if ac_fn_cxx_try_compile "$LINENO"; then :
47857   glibcxx_cv_func__sqrtf_use=yes
47858 else
47859   glibcxx_cv_func__sqrtf_use=no
47860 fi
47861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47862       ac_ext=c
47863 ac_cpp='$CPP $CPPFLAGS'
47864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47867
47868
47869 fi
47870
47871   fi
47872   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
47873 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
47874
47875     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
47876       for ac_func in _sqrtf
47877 do :
47878   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
47879 if test "x$ac_cv_func__sqrtf" = x""yes; then :
47880   cat >>confdefs.h <<_ACEOF
47881 #define HAVE__SQRTF 1
47882 _ACEOF
47883
47884 fi
47885 done
47886
47887     fi
47888   fi
47889
47890
47891
47892
47893
47894   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
47895 $as_echo_n "checking for sincosf declaration... " >&6; }
47896   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
47897     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
47898   $as_echo_n "(cached) " >&6
47899 else
47900
47901
47902       ac_ext=cpp
47903 ac_cpp='$CXXCPP $CPPFLAGS'
47904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47907
47908       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47909 /* end confdefs.h.  */
47910 #include <math.h>
47911 int
47912 main ()
47913 {
47914  sincosf(0, 0, 0);
47915   ;
47916   return 0;
47917 }
47918 _ACEOF
47919 if ac_fn_cxx_try_compile "$LINENO"; then :
47920   glibcxx_cv_func_sincosf_use=yes
47921 else
47922   glibcxx_cv_func_sincosf_use=no
47923 fi
47924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47925       ac_ext=c
47926 ac_cpp='$CPP $CPPFLAGS'
47927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47930
47931
47932 fi
47933
47934   fi
47935   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
47936 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
47937
47938   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
47939     for ac_func in sincosf
47940 do :
47941   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
47942 if test "x$ac_cv_func_sincosf" = x""yes; then :
47943   cat >>confdefs.h <<_ACEOF
47944 #define HAVE_SINCOSF 1
47945 _ACEOF
47946
47947 fi
47948 done
47949
47950   else
47951
47952   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
47953 $as_echo_n "checking for _sincosf declaration... " >&6; }
47954   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
47955     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
47956   $as_echo_n "(cached) " >&6
47957 else
47958
47959
47960       ac_ext=cpp
47961 ac_cpp='$CXXCPP $CPPFLAGS'
47962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47965
47966       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47967 /* end confdefs.h.  */
47968 #include <math.h>
47969 int
47970 main ()
47971 {
47972  _sincosf(0, 0, 0);
47973   ;
47974   return 0;
47975 }
47976 _ACEOF
47977 if ac_fn_cxx_try_compile "$LINENO"; then :
47978   glibcxx_cv_func__sincosf_use=yes
47979 else
47980   glibcxx_cv_func__sincosf_use=no
47981 fi
47982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47983       ac_ext=c
47984 ac_cpp='$CPP $CPPFLAGS'
47985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47988
47989
47990 fi
47991
47992   fi
47993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
47994 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
47995
47996     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
47997       for ac_func in _sincosf
47998 do :
47999   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
48000 if test "x$ac_cv_func__sincosf" = x""yes; then :
48001   cat >>confdefs.h <<_ACEOF
48002 #define HAVE__SINCOSF 1
48003 _ACEOF
48004
48005 fi
48006 done
48007
48008     fi
48009   fi
48010
48011
48012
48013
48014
48015   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
48016 $as_echo_n "checking for finitef declaration... " >&6; }
48017   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
48018     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
48019   $as_echo_n "(cached) " >&6
48020 else
48021
48022
48023       ac_ext=cpp
48024 ac_cpp='$CXXCPP $CPPFLAGS'
48025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48028
48029       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48030 /* end confdefs.h.  */
48031 #include <math.h>
48032                       #ifdef HAVE_IEEEFP_H
48033                       #include <ieeefp.h>
48034                       #endif
48035
48036 int
48037 main ()
48038 {
48039  finitef(0);
48040   ;
48041   return 0;
48042 }
48043 _ACEOF
48044 if ac_fn_cxx_try_compile "$LINENO"; then :
48045   glibcxx_cv_func_finitef_use=yes
48046 else
48047   glibcxx_cv_func_finitef_use=no
48048 fi
48049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48050       ac_ext=c
48051 ac_cpp='$CPP $CPPFLAGS'
48052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48055
48056
48057 fi
48058
48059   fi
48060   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
48061 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
48062
48063   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
48064     for ac_func in finitef
48065 do :
48066   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
48067 if test "x$ac_cv_func_finitef" = x""yes; then :
48068   cat >>confdefs.h <<_ACEOF
48069 #define HAVE_FINITEF 1
48070 _ACEOF
48071
48072 fi
48073 done
48074
48075   else
48076
48077   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
48078 $as_echo_n "checking for _finitef declaration... " >&6; }
48079   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
48080     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
48081   $as_echo_n "(cached) " >&6
48082 else
48083
48084
48085       ac_ext=cpp
48086 ac_cpp='$CXXCPP $CPPFLAGS'
48087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48090
48091       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48092 /* end confdefs.h.  */
48093 #include <math.h>
48094                       #ifdef HAVE_IEEEFP_H
48095                       #include <ieeefp.h>
48096                       #endif
48097
48098 int
48099 main ()
48100 {
48101  _finitef(0);
48102   ;
48103   return 0;
48104 }
48105 _ACEOF
48106 if ac_fn_cxx_try_compile "$LINENO"; then :
48107   glibcxx_cv_func__finitef_use=yes
48108 else
48109   glibcxx_cv_func__finitef_use=no
48110 fi
48111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48112       ac_ext=c
48113 ac_cpp='$CPP $CPPFLAGS'
48114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48117
48118
48119 fi
48120
48121   fi
48122   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
48123 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
48124
48125     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
48126       for ac_func in _finitef
48127 do :
48128   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
48129 if test "x$ac_cv_func__finitef" = x""yes; then :
48130   cat >>confdefs.h <<_ACEOF
48131 #define HAVE__FINITEF 1
48132 _ACEOF
48133
48134 fi
48135 done
48136
48137     fi
48138   fi
48139
48140
48141
48142
48143
48144     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
48145 $as_echo_n "checking for long double trig functions... " >&6; }
48146   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
48147   $as_echo_n "(cached) " >&6
48148 else
48149
48150
48151     ac_ext=cpp
48152 ac_cpp='$CXXCPP $CPPFLAGS'
48153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48156
48157     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48158 /* end confdefs.h.  */
48159 #include <math.h>
48160 int
48161 main ()
48162 {
48163 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
48164   ;
48165   return 0;
48166 }
48167 _ACEOF
48168 if ac_fn_cxx_try_compile "$LINENO"; then :
48169   glibcxx_cv_func_long_double_trig_use=yes
48170 else
48171   glibcxx_cv_func_long_double_trig_use=no
48172 fi
48173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48174     ac_ext=c
48175 ac_cpp='$CPP $CPPFLAGS'
48176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48179
48180 fi
48181
48182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
48183 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
48184   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
48185     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
48186 do :
48187   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48188 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48189 eval as_val=\$$as_ac_var
48190    if test "x$as_val" = x""yes; then :
48191   cat >>confdefs.h <<_ACEOF
48192 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48193 _ACEOF
48194
48195 fi
48196 done
48197
48198   else
48199     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
48200 $as_echo_n "checking for _long double trig functions... " >&6; }
48201     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
48202   $as_echo_n "(cached) " >&6
48203 else
48204
48205
48206       ac_ext=cpp
48207 ac_cpp='$CXXCPP $CPPFLAGS'
48208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48211
48212       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48213 /* end confdefs.h.  */
48214 #include <math.h>
48215 int
48216 main ()
48217 {
48218 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
48219   ;
48220   return 0;
48221 }
48222 _ACEOF
48223 if ac_fn_cxx_try_compile "$LINENO"; then :
48224   glibcxx_cv_func__long_double_trig_use=yes
48225 else
48226   glibcxx_cv_func__long_double_trig_use=no
48227 fi
48228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48229       ac_ext=c
48230 ac_cpp='$CPP $CPPFLAGS'
48231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48234
48235 fi
48236
48237     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
48238 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
48239     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
48240       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
48241 do :
48242   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48243 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48244 eval as_val=\$$as_ac_var
48245    if test "x$as_val" = x""yes; then :
48246   cat >>confdefs.h <<_ACEOF
48247 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48248 _ACEOF
48249
48250 fi
48251 done
48252
48253     fi
48254   fi
48255
48256
48257
48258
48259
48260     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
48261 $as_echo_n "checking for long double round functions... " >&6; }
48262   if test "${glibcxx_cv_func_long_double_round_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 int
48277 main ()
48278 {
48279 ceill (0); floorl (0);
48280   ;
48281   return 0;
48282 }
48283 _ACEOF
48284 if ac_fn_cxx_try_compile "$LINENO"; then :
48285   glibcxx_cv_func_long_double_round_use=yes
48286 else
48287   glibcxx_cv_func_long_double_round_use=no
48288 fi
48289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48290     ac_ext=c
48291 ac_cpp='$CPP $CPPFLAGS'
48292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48295
48296 fi
48297
48298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
48299 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
48300   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
48301     for ac_func in ceill floorl
48302 do :
48303   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48304 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48305 eval as_val=\$$as_ac_var
48306    if test "x$as_val" = x""yes; then :
48307   cat >>confdefs.h <<_ACEOF
48308 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48309 _ACEOF
48310
48311 fi
48312 done
48313
48314   else
48315     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
48316 $as_echo_n "checking for _long double round functions... " >&6; }
48317     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
48318   $as_echo_n "(cached) " >&6
48319 else
48320
48321
48322       ac_ext=cpp
48323 ac_cpp='$CXXCPP $CPPFLAGS'
48324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48327
48328       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48329 /* end confdefs.h.  */
48330 #include <math.h>
48331 int
48332 main ()
48333 {
48334 _ceill (0); _floorl (0);
48335   ;
48336   return 0;
48337 }
48338 _ACEOF
48339 if ac_fn_cxx_try_compile "$LINENO"; then :
48340   glibcxx_cv_func__long_double_round_use=yes
48341 else
48342   glibcxx_cv_func__long_double_round_use=no
48343 fi
48344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48345       ac_ext=c
48346 ac_cpp='$CPP $CPPFLAGS'
48347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48350
48351 fi
48352
48353     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
48354 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
48355     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
48356       for ac_func in _ceill _floorl
48357 do :
48358   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48359 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48360 eval as_val=\$$as_ac_var
48361    if test "x$as_val" = x""yes; then :
48362   cat >>confdefs.h <<_ACEOF
48363 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48364 _ACEOF
48365
48366 fi
48367 done
48368
48369     fi
48370   fi
48371
48372
48373
48374
48375
48376
48377   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
48378 $as_echo_n "checking for isnanl declaration... " >&6; }
48379   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
48380     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
48381   $as_echo_n "(cached) " >&6
48382 else
48383
48384
48385       ac_ext=cpp
48386 ac_cpp='$CXXCPP $CPPFLAGS'
48387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48390
48391       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48392 /* end confdefs.h.  */
48393 #include <math.h>
48394                       #ifdef HAVE_IEEEFP_H
48395                       #include <ieeefp.h>
48396                       #endif
48397
48398 int
48399 main ()
48400 {
48401  isnanl(0);
48402   ;
48403   return 0;
48404 }
48405 _ACEOF
48406 if ac_fn_cxx_try_compile "$LINENO"; then :
48407   glibcxx_cv_func_isnanl_use=yes
48408 else
48409   glibcxx_cv_func_isnanl_use=no
48410 fi
48411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48412       ac_ext=c
48413 ac_cpp='$CPP $CPPFLAGS'
48414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48417
48418
48419 fi
48420
48421   fi
48422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
48423 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
48424
48425   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
48426     for ac_func in isnanl
48427 do :
48428   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
48429 if test "x$ac_cv_func_isnanl" = x""yes; then :
48430   cat >>confdefs.h <<_ACEOF
48431 #define HAVE_ISNANL 1
48432 _ACEOF
48433
48434 fi
48435 done
48436
48437   else
48438
48439   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
48440 $as_echo_n "checking for _isnanl declaration... " >&6; }
48441   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
48442     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
48443   $as_echo_n "(cached) " >&6
48444 else
48445
48446
48447       ac_ext=cpp
48448 ac_cpp='$CXXCPP $CPPFLAGS'
48449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48452
48453       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48454 /* end confdefs.h.  */
48455 #include <math.h>
48456                       #ifdef HAVE_IEEEFP_H
48457                       #include <ieeefp.h>
48458                       #endif
48459
48460 int
48461 main ()
48462 {
48463  _isnanl(0);
48464   ;
48465   return 0;
48466 }
48467 _ACEOF
48468 if ac_fn_cxx_try_compile "$LINENO"; then :
48469   glibcxx_cv_func__isnanl_use=yes
48470 else
48471   glibcxx_cv_func__isnanl_use=no
48472 fi
48473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48474       ac_ext=c
48475 ac_cpp='$CPP $CPPFLAGS'
48476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48479
48480
48481 fi
48482
48483   fi
48484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
48485 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
48486
48487     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
48488       for ac_func in _isnanl
48489 do :
48490   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
48491 if test "x$ac_cv_func__isnanl" = x""yes; then :
48492   cat >>confdefs.h <<_ACEOF
48493 #define HAVE__ISNANL 1
48494 _ACEOF
48495
48496 fi
48497 done
48498
48499     fi
48500   fi
48501
48502
48503
48504
48505
48506   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
48507 $as_echo_n "checking for isinfl declaration... " >&6; }
48508   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
48509     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
48510   $as_echo_n "(cached) " >&6
48511 else
48512
48513
48514       ac_ext=cpp
48515 ac_cpp='$CXXCPP $CPPFLAGS'
48516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48519
48520       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48521 /* end confdefs.h.  */
48522 #include <math.h>
48523                       #ifdef HAVE_IEEEFP_H
48524                       #include <ieeefp.h>
48525                       #endif
48526
48527 int
48528 main ()
48529 {
48530  isinfl(0);
48531   ;
48532   return 0;
48533 }
48534 _ACEOF
48535 if ac_fn_cxx_try_compile "$LINENO"; then :
48536   glibcxx_cv_func_isinfl_use=yes
48537 else
48538   glibcxx_cv_func_isinfl_use=no
48539 fi
48540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48541       ac_ext=c
48542 ac_cpp='$CPP $CPPFLAGS'
48543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48546
48547
48548 fi
48549
48550   fi
48551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
48552 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
48553
48554   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
48555     for ac_func in isinfl
48556 do :
48557   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
48558 if test "x$ac_cv_func_isinfl" = x""yes; then :
48559   cat >>confdefs.h <<_ACEOF
48560 #define HAVE_ISINFL 1
48561 _ACEOF
48562
48563 fi
48564 done
48565
48566   else
48567
48568   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
48569 $as_echo_n "checking for _isinfl declaration... " >&6; }
48570   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
48571     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
48572   $as_echo_n "(cached) " >&6
48573 else
48574
48575
48576       ac_ext=cpp
48577 ac_cpp='$CXXCPP $CPPFLAGS'
48578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48581
48582       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48583 /* end confdefs.h.  */
48584 #include <math.h>
48585                       #ifdef HAVE_IEEEFP_H
48586                       #include <ieeefp.h>
48587                       #endif
48588
48589 int
48590 main ()
48591 {
48592  _isinfl(0);
48593   ;
48594   return 0;
48595 }
48596 _ACEOF
48597 if ac_fn_cxx_try_compile "$LINENO"; then :
48598   glibcxx_cv_func__isinfl_use=yes
48599 else
48600   glibcxx_cv_func__isinfl_use=no
48601 fi
48602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48603       ac_ext=c
48604 ac_cpp='$CPP $CPPFLAGS'
48605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48608
48609
48610 fi
48611
48612   fi
48613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
48614 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
48615
48616     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
48617       for ac_func in _isinfl
48618 do :
48619   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
48620 if test "x$ac_cv_func__isinfl" = x""yes; then :
48621   cat >>confdefs.h <<_ACEOF
48622 #define HAVE__ISINFL 1
48623 _ACEOF
48624
48625 fi
48626 done
48627
48628     fi
48629   fi
48630
48631
48632
48633
48634
48635   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
48636 $as_echo_n "checking for atan2l declaration... " >&6; }
48637   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
48638     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
48639   $as_echo_n "(cached) " >&6
48640 else
48641
48642
48643       ac_ext=cpp
48644 ac_cpp='$CXXCPP $CPPFLAGS'
48645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48648
48649       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48650 /* end confdefs.h.  */
48651 #include <math.h>
48652 int
48653 main ()
48654 {
48655  atan2l(0, 0);
48656   ;
48657   return 0;
48658 }
48659 _ACEOF
48660 if ac_fn_cxx_try_compile "$LINENO"; then :
48661   glibcxx_cv_func_atan2l_use=yes
48662 else
48663   glibcxx_cv_func_atan2l_use=no
48664 fi
48665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48666       ac_ext=c
48667 ac_cpp='$CPP $CPPFLAGS'
48668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48671
48672
48673 fi
48674
48675   fi
48676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
48677 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
48678
48679   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
48680     for ac_func in atan2l
48681 do :
48682   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
48683 if test "x$ac_cv_func_atan2l" = x""yes; then :
48684   cat >>confdefs.h <<_ACEOF
48685 #define HAVE_ATAN2L 1
48686 _ACEOF
48687
48688 fi
48689 done
48690
48691   else
48692
48693   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
48694 $as_echo_n "checking for _atan2l declaration... " >&6; }
48695   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
48696     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
48697   $as_echo_n "(cached) " >&6
48698 else
48699
48700
48701       ac_ext=cpp
48702 ac_cpp='$CXXCPP $CPPFLAGS'
48703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48706
48707       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48708 /* end confdefs.h.  */
48709 #include <math.h>
48710 int
48711 main ()
48712 {
48713  _atan2l(0, 0);
48714   ;
48715   return 0;
48716 }
48717 _ACEOF
48718 if ac_fn_cxx_try_compile "$LINENO"; then :
48719   glibcxx_cv_func__atan2l_use=yes
48720 else
48721   glibcxx_cv_func__atan2l_use=no
48722 fi
48723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48724       ac_ext=c
48725 ac_cpp='$CPP $CPPFLAGS'
48726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48729
48730
48731 fi
48732
48733   fi
48734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
48735 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
48736
48737     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
48738       for ac_func in _atan2l
48739 do :
48740   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
48741 if test "x$ac_cv_func__atan2l" = x""yes; then :
48742   cat >>confdefs.h <<_ACEOF
48743 #define HAVE__ATAN2L 1
48744 _ACEOF
48745
48746 fi
48747 done
48748
48749     fi
48750   fi
48751
48752
48753
48754
48755
48756   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
48757 $as_echo_n "checking for expl declaration... " >&6; }
48758   if test x${glibcxx_cv_func_expl_use+set} != xset; then
48759     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
48760   $as_echo_n "(cached) " >&6
48761 else
48762
48763
48764       ac_ext=cpp
48765 ac_cpp='$CXXCPP $CPPFLAGS'
48766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48769
48770       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48771 /* end confdefs.h.  */
48772 #include <math.h>
48773                       #ifdef HAVE_IEEEFP_H
48774                       #include <ieeefp.h>
48775                       #endif
48776
48777 int
48778 main ()
48779 {
48780  expl(0);
48781   ;
48782   return 0;
48783 }
48784 _ACEOF
48785 if ac_fn_cxx_try_compile "$LINENO"; then :
48786   glibcxx_cv_func_expl_use=yes
48787 else
48788   glibcxx_cv_func_expl_use=no
48789 fi
48790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48791       ac_ext=c
48792 ac_cpp='$CPP $CPPFLAGS'
48793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48796
48797
48798 fi
48799
48800   fi
48801   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
48802 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
48803
48804   if test x$glibcxx_cv_func_expl_use = x"yes"; then
48805     for ac_func in expl
48806 do :
48807   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
48808 if test "x$ac_cv_func_expl" = x""yes; then :
48809   cat >>confdefs.h <<_ACEOF
48810 #define HAVE_EXPL 1
48811 _ACEOF
48812
48813 fi
48814 done
48815
48816   else
48817
48818   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
48819 $as_echo_n "checking for _expl declaration... " >&6; }
48820   if test x${glibcxx_cv_func__expl_use+set} != xset; then
48821     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
48822   $as_echo_n "(cached) " >&6
48823 else
48824
48825
48826       ac_ext=cpp
48827 ac_cpp='$CXXCPP $CPPFLAGS'
48828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48831
48832       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48833 /* end confdefs.h.  */
48834 #include <math.h>
48835                       #ifdef HAVE_IEEEFP_H
48836                       #include <ieeefp.h>
48837                       #endif
48838
48839 int
48840 main ()
48841 {
48842  _expl(0);
48843   ;
48844   return 0;
48845 }
48846 _ACEOF
48847 if ac_fn_cxx_try_compile "$LINENO"; then :
48848   glibcxx_cv_func__expl_use=yes
48849 else
48850   glibcxx_cv_func__expl_use=no
48851 fi
48852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48853       ac_ext=c
48854 ac_cpp='$CPP $CPPFLAGS'
48855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48858
48859
48860 fi
48861
48862   fi
48863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
48864 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
48865
48866     if test x$glibcxx_cv_func__expl_use = x"yes"; then
48867       for ac_func in _expl
48868 do :
48869   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
48870 if test "x$ac_cv_func__expl" = x""yes; then :
48871   cat >>confdefs.h <<_ACEOF
48872 #define HAVE__EXPL 1
48873 _ACEOF
48874
48875 fi
48876 done
48877
48878     fi
48879   fi
48880
48881
48882
48883
48884
48885   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
48886 $as_echo_n "checking for fabsl declaration... " >&6; }
48887   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
48888     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
48889   $as_echo_n "(cached) " >&6
48890 else
48891
48892
48893       ac_ext=cpp
48894 ac_cpp='$CXXCPP $CPPFLAGS'
48895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48898
48899       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48900 /* end confdefs.h.  */
48901 #include <math.h>
48902                       #ifdef HAVE_IEEEFP_H
48903                       #include <ieeefp.h>
48904                       #endif
48905
48906 int
48907 main ()
48908 {
48909  fabsl(0);
48910   ;
48911   return 0;
48912 }
48913 _ACEOF
48914 if ac_fn_cxx_try_compile "$LINENO"; then :
48915   glibcxx_cv_func_fabsl_use=yes
48916 else
48917   glibcxx_cv_func_fabsl_use=no
48918 fi
48919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48920       ac_ext=c
48921 ac_cpp='$CPP $CPPFLAGS'
48922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48925
48926
48927 fi
48928
48929   fi
48930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
48931 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
48932
48933   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
48934     for ac_func in fabsl
48935 do :
48936   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
48937 if test "x$ac_cv_func_fabsl" = x""yes; then :
48938   cat >>confdefs.h <<_ACEOF
48939 #define HAVE_FABSL 1
48940 _ACEOF
48941
48942 fi
48943 done
48944
48945   else
48946
48947   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
48948 $as_echo_n "checking for _fabsl declaration... " >&6; }
48949   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
48950     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
48951   $as_echo_n "(cached) " >&6
48952 else
48953
48954
48955       ac_ext=cpp
48956 ac_cpp='$CXXCPP $CPPFLAGS'
48957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48960
48961       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48962 /* end confdefs.h.  */
48963 #include <math.h>
48964                       #ifdef HAVE_IEEEFP_H
48965                       #include <ieeefp.h>
48966                       #endif
48967
48968 int
48969 main ()
48970 {
48971  _fabsl(0);
48972   ;
48973   return 0;
48974 }
48975 _ACEOF
48976 if ac_fn_cxx_try_compile "$LINENO"; then :
48977   glibcxx_cv_func__fabsl_use=yes
48978 else
48979   glibcxx_cv_func__fabsl_use=no
48980 fi
48981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48982       ac_ext=c
48983 ac_cpp='$CPP $CPPFLAGS'
48984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48987
48988
48989 fi
48990
48991   fi
48992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
48993 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
48994
48995     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
48996       for ac_func in _fabsl
48997 do :
48998   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
48999 if test "x$ac_cv_func__fabsl" = x""yes; then :
49000   cat >>confdefs.h <<_ACEOF
49001 #define HAVE__FABSL 1
49002 _ACEOF
49003
49004 fi
49005 done
49006
49007     fi
49008   fi
49009
49010
49011
49012
49013
49014   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
49015 $as_echo_n "checking for fmodl declaration... " >&6; }
49016   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
49017     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
49018   $as_echo_n "(cached) " >&6
49019 else
49020
49021
49022       ac_ext=cpp
49023 ac_cpp='$CXXCPP $CPPFLAGS'
49024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49027
49028       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49029 /* end confdefs.h.  */
49030 #include <math.h>
49031 int
49032 main ()
49033 {
49034  fmodl(0, 0);
49035   ;
49036   return 0;
49037 }
49038 _ACEOF
49039 if ac_fn_cxx_try_compile "$LINENO"; then :
49040   glibcxx_cv_func_fmodl_use=yes
49041 else
49042   glibcxx_cv_func_fmodl_use=no
49043 fi
49044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49045       ac_ext=c
49046 ac_cpp='$CPP $CPPFLAGS'
49047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49050
49051
49052 fi
49053
49054   fi
49055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
49056 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
49057
49058   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
49059     for ac_func in fmodl
49060 do :
49061   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
49062 if test "x$ac_cv_func_fmodl" = x""yes; then :
49063   cat >>confdefs.h <<_ACEOF
49064 #define HAVE_FMODL 1
49065 _ACEOF
49066
49067 fi
49068 done
49069
49070   else
49071
49072   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
49073 $as_echo_n "checking for _fmodl declaration... " >&6; }
49074   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
49075     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
49076   $as_echo_n "(cached) " >&6
49077 else
49078
49079
49080       ac_ext=cpp
49081 ac_cpp='$CXXCPP $CPPFLAGS'
49082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49085
49086       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49087 /* end confdefs.h.  */
49088 #include <math.h>
49089 int
49090 main ()
49091 {
49092  _fmodl(0, 0);
49093   ;
49094   return 0;
49095 }
49096 _ACEOF
49097 if ac_fn_cxx_try_compile "$LINENO"; then :
49098   glibcxx_cv_func__fmodl_use=yes
49099 else
49100   glibcxx_cv_func__fmodl_use=no
49101 fi
49102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49103       ac_ext=c
49104 ac_cpp='$CPP $CPPFLAGS'
49105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49108
49109
49110 fi
49111
49112   fi
49113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
49114 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
49115
49116     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
49117       for ac_func in _fmodl
49118 do :
49119   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
49120 if test "x$ac_cv_func__fmodl" = x""yes; then :
49121   cat >>confdefs.h <<_ACEOF
49122 #define HAVE__FMODL 1
49123 _ACEOF
49124
49125 fi
49126 done
49127
49128     fi
49129   fi
49130
49131
49132
49133
49134
49135   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
49136 $as_echo_n "checking for frexpl declaration... " >&6; }
49137   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
49138     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
49139   $as_echo_n "(cached) " >&6
49140 else
49141
49142
49143       ac_ext=cpp
49144 ac_cpp='$CXXCPP $CPPFLAGS'
49145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49148
49149       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49150 /* end confdefs.h.  */
49151 #include <math.h>
49152 int
49153 main ()
49154 {
49155  frexpl(0, 0);
49156   ;
49157   return 0;
49158 }
49159 _ACEOF
49160 if ac_fn_cxx_try_compile "$LINENO"; then :
49161   glibcxx_cv_func_frexpl_use=yes
49162 else
49163   glibcxx_cv_func_frexpl_use=no
49164 fi
49165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49166       ac_ext=c
49167 ac_cpp='$CPP $CPPFLAGS'
49168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49171
49172
49173 fi
49174
49175   fi
49176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
49177 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
49178
49179   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
49180     for ac_func in frexpl
49181 do :
49182   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
49183 if test "x$ac_cv_func_frexpl" = x""yes; then :
49184   cat >>confdefs.h <<_ACEOF
49185 #define HAVE_FREXPL 1
49186 _ACEOF
49187
49188 fi
49189 done
49190
49191   else
49192
49193   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
49194 $as_echo_n "checking for _frexpl declaration... " >&6; }
49195   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
49196     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
49197   $as_echo_n "(cached) " >&6
49198 else
49199
49200
49201       ac_ext=cpp
49202 ac_cpp='$CXXCPP $CPPFLAGS'
49203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49206
49207       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49208 /* end confdefs.h.  */
49209 #include <math.h>
49210 int
49211 main ()
49212 {
49213  _frexpl(0, 0);
49214   ;
49215   return 0;
49216 }
49217 _ACEOF
49218 if ac_fn_cxx_try_compile "$LINENO"; then :
49219   glibcxx_cv_func__frexpl_use=yes
49220 else
49221   glibcxx_cv_func__frexpl_use=no
49222 fi
49223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49224       ac_ext=c
49225 ac_cpp='$CPP $CPPFLAGS'
49226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49229
49230
49231 fi
49232
49233   fi
49234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
49235 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
49236
49237     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
49238       for ac_func in _frexpl
49239 do :
49240   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
49241 if test "x$ac_cv_func__frexpl" = x""yes; then :
49242   cat >>confdefs.h <<_ACEOF
49243 #define HAVE__FREXPL 1
49244 _ACEOF
49245
49246 fi
49247 done
49248
49249     fi
49250   fi
49251
49252
49253
49254
49255
49256   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
49257 $as_echo_n "checking for hypotl declaration... " >&6; }
49258   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
49259     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
49260   $as_echo_n "(cached) " >&6
49261 else
49262
49263
49264       ac_ext=cpp
49265 ac_cpp='$CXXCPP $CPPFLAGS'
49266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49269
49270       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49271 /* end confdefs.h.  */
49272 #include <math.h>
49273 int
49274 main ()
49275 {
49276  hypotl(0, 0);
49277   ;
49278   return 0;
49279 }
49280 _ACEOF
49281 if ac_fn_cxx_try_compile "$LINENO"; then :
49282   glibcxx_cv_func_hypotl_use=yes
49283 else
49284   glibcxx_cv_func_hypotl_use=no
49285 fi
49286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49287       ac_ext=c
49288 ac_cpp='$CPP $CPPFLAGS'
49289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49292
49293
49294 fi
49295
49296   fi
49297   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
49298 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
49299
49300   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
49301     for ac_func in hypotl
49302 do :
49303   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
49304 if test "x$ac_cv_func_hypotl" = x""yes; then :
49305   cat >>confdefs.h <<_ACEOF
49306 #define HAVE_HYPOTL 1
49307 _ACEOF
49308
49309 fi
49310 done
49311
49312   else
49313
49314   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
49315 $as_echo_n "checking for _hypotl declaration... " >&6; }
49316   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
49317     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
49318   $as_echo_n "(cached) " >&6
49319 else
49320
49321
49322       ac_ext=cpp
49323 ac_cpp='$CXXCPP $CPPFLAGS'
49324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49327
49328       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49329 /* end confdefs.h.  */
49330 #include <math.h>
49331 int
49332 main ()
49333 {
49334  _hypotl(0, 0);
49335   ;
49336   return 0;
49337 }
49338 _ACEOF
49339 if ac_fn_cxx_try_compile "$LINENO"; then :
49340   glibcxx_cv_func__hypotl_use=yes
49341 else
49342   glibcxx_cv_func__hypotl_use=no
49343 fi
49344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49345       ac_ext=c
49346 ac_cpp='$CPP $CPPFLAGS'
49347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49350
49351
49352 fi
49353
49354   fi
49355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
49356 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
49357
49358     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
49359       for ac_func in _hypotl
49360 do :
49361   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
49362 if test "x$ac_cv_func__hypotl" = x""yes; then :
49363   cat >>confdefs.h <<_ACEOF
49364 #define HAVE__HYPOTL 1
49365 _ACEOF
49366
49367 fi
49368 done
49369
49370     fi
49371   fi
49372
49373
49374
49375
49376
49377   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
49378 $as_echo_n "checking for ldexpl declaration... " >&6; }
49379   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
49380     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
49381   $as_echo_n "(cached) " >&6
49382 else
49383
49384
49385       ac_ext=cpp
49386 ac_cpp='$CXXCPP $CPPFLAGS'
49387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49390
49391       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49392 /* end confdefs.h.  */
49393 #include <math.h>
49394 int
49395 main ()
49396 {
49397  ldexpl(0, 0);
49398   ;
49399   return 0;
49400 }
49401 _ACEOF
49402 if ac_fn_cxx_try_compile "$LINENO"; then :
49403   glibcxx_cv_func_ldexpl_use=yes
49404 else
49405   glibcxx_cv_func_ldexpl_use=no
49406 fi
49407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49408       ac_ext=c
49409 ac_cpp='$CPP $CPPFLAGS'
49410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49413
49414
49415 fi
49416
49417   fi
49418   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
49419 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
49420
49421   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
49422     for ac_func in ldexpl
49423 do :
49424   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
49425 if test "x$ac_cv_func_ldexpl" = x""yes; then :
49426   cat >>confdefs.h <<_ACEOF
49427 #define HAVE_LDEXPL 1
49428 _ACEOF
49429
49430 fi
49431 done
49432
49433   else
49434
49435   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
49436 $as_echo_n "checking for _ldexpl declaration... " >&6; }
49437   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
49438     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
49439   $as_echo_n "(cached) " >&6
49440 else
49441
49442
49443       ac_ext=cpp
49444 ac_cpp='$CXXCPP $CPPFLAGS'
49445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49448
49449       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49450 /* end confdefs.h.  */
49451 #include <math.h>
49452 int
49453 main ()
49454 {
49455  _ldexpl(0, 0);
49456   ;
49457   return 0;
49458 }
49459 _ACEOF
49460 if ac_fn_cxx_try_compile "$LINENO"; then :
49461   glibcxx_cv_func__ldexpl_use=yes
49462 else
49463   glibcxx_cv_func__ldexpl_use=no
49464 fi
49465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49466       ac_ext=c
49467 ac_cpp='$CPP $CPPFLAGS'
49468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49471
49472
49473 fi
49474
49475   fi
49476   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
49477 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
49478
49479     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
49480       for ac_func in _ldexpl
49481 do :
49482   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
49483 if test "x$ac_cv_func__ldexpl" = x""yes; then :
49484   cat >>confdefs.h <<_ACEOF
49485 #define HAVE__LDEXPL 1
49486 _ACEOF
49487
49488 fi
49489 done
49490
49491     fi
49492   fi
49493
49494
49495
49496
49497
49498   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
49499 $as_echo_n "checking for logl declaration... " >&6; }
49500   if test x${glibcxx_cv_func_logl_use+set} != xset; then
49501     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
49502   $as_echo_n "(cached) " >&6
49503 else
49504
49505
49506       ac_ext=cpp
49507 ac_cpp='$CXXCPP $CPPFLAGS'
49508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49511
49512       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49513 /* end confdefs.h.  */
49514 #include <math.h>
49515                       #ifdef HAVE_IEEEFP_H
49516                       #include <ieeefp.h>
49517                       #endif
49518
49519 int
49520 main ()
49521 {
49522  logl(0);
49523   ;
49524   return 0;
49525 }
49526 _ACEOF
49527 if ac_fn_cxx_try_compile "$LINENO"; then :
49528   glibcxx_cv_func_logl_use=yes
49529 else
49530   glibcxx_cv_func_logl_use=no
49531 fi
49532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49533       ac_ext=c
49534 ac_cpp='$CPP $CPPFLAGS'
49535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49538
49539
49540 fi
49541
49542   fi
49543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
49544 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
49545
49546   if test x$glibcxx_cv_func_logl_use = x"yes"; then
49547     for ac_func in logl
49548 do :
49549   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
49550 if test "x$ac_cv_func_logl" = x""yes; then :
49551   cat >>confdefs.h <<_ACEOF
49552 #define HAVE_LOGL 1
49553 _ACEOF
49554
49555 fi
49556 done
49557
49558   else
49559
49560   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
49561 $as_echo_n "checking for _logl declaration... " >&6; }
49562   if test x${glibcxx_cv_func__logl_use+set} != xset; then
49563     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
49564   $as_echo_n "(cached) " >&6
49565 else
49566
49567
49568       ac_ext=cpp
49569 ac_cpp='$CXXCPP $CPPFLAGS'
49570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49573
49574       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49575 /* end confdefs.h.  */
49576 #include <math.h>
49577                       #ifdef HAVE_IEEEFP_H
49578                       #include <ieeefp.h>
49579                       #endif
49580
49581 int
49582 main ()
49583 {
49584  _logl(0);
49585   ;
49586   return 0;
49587 }
49588 _ACEOF
49589 if ac_fn_cxx_try_compile "$LINENO"; then :
49590   glibcxx_cv_func__logl_use=yes
49591 else
49592   glibcxx_cv_func__logl_use=no
49593 fi
49594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49595       ac_ext=c
49596 ac_cpp='$CPP $CPPFLAGS'
49597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49600
49601
49602 fi
49603
49604   fi
49605   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
49606 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
49607
49608     if test x$glibcxx_cv_func__logl_use = x"yes"; then
49609       for ac_func in _logl
49610 do :
49611   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
49612 if test "x$ac_cv_func__logl" = x""yes; then :
49613   cat >>confdefs.h <<_ACEOF
49614 #define HAVE__LOGL 1
49615 _ACEOF
49616
49617 fi
49618 done
49619
49620     fi
49621   fi
49622
49623
49624
49625
49626
49627   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
49628 $as_echo_n "checking for log10l declaration... " >&6; }
49629   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
49630     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
49631   $as_echo_n "(cached) " >&6
49632 else
49633
49634
49635       ac_ext=cpp
49636 ac_cpp='$CXXCPP $CPPFLAGS'
49637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49640
49641       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49642 /* end confdefs.h.  */
49643 #include <math.h>
49644                       #ifdef HAVE_IEEEFP_H
49645                       #include <ieeefp.h>
49646                       #endif
49647
49648 int
49649 main ()
49650 {
49651  log10l(0);
49652   ;
49653   return 0;
49654 }
49655 _ACEOF
49656 if ac_fn_cxx_try_compile "$LINENO"; then :
49657   glibcxx_cv_func_log10l_use=yes
49658 else
49659   glibcxx_cv_func_log10l_use=no
49660 fi
49661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49662       ac_ext=c
49663 ac_cpp='$CPP $CPPFLAGS'
49664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49667
49668
49669 fi
49670
49671   fi
49672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
49673 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
49674
49675   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
49676     for ac_func in log10l
49677 do :
49678   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
49679 if test "x$ac_cv_func_log10l" = x""yes; then :
49680   cat >>confdefs.h <<_ACEOF
49681 #define HAVE_LOG10L 1
49682 _ACEOF
49683
49684 fi
49685 done
49686
49687   else
49688
49689   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
49690 $as_echo_n "checking for _log10l declaration... " >&6; }
49691   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
49692     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
49693   $as_echo_n "(cached) " >&6
49694 else
49695
49696
49697       ac_ext=cpp
49698 ac_cpp='$CXXCPP $CPPFLAGS'
49699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49702
49703       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49704 /* end confdefs.h.  */
49705 #include <math.h>
49706                       #ifdef HAVE_IEEEFP_H
49707                       #include <ieeefp.h>
49708                       #endif
49709
49710 int
49711 main ()
49712 {
49713  _log10l(0);
49714   ;
49715   return 0;
49716 }
49717 _ACEOF
49718 if ac_fn_cxx_try_compile "$LINENO"; then :
49719   glibcxx_cv_func__log10l_use=yes
49720 else
49721   glibcxx_cv_func__log10l_use=no
49722 fi
49723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49724       ac_ext=c
49725 ac_cpp='$CPP $CPPFLAGS'
49726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49729
49730
49731 fi
49732
49733   fi
49734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
49735 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
49736
49737     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
49738       for ac_func in _log10l
49739 do :
49740   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
49741 if test "x$ac_cv_func__log10l" = x""yes; then :
49742   cat >>confdefs.h <<_ACEOF
49743 #define HAVE__LOG10L 1
49744 _ACEOF
49745
49746 fi
49747 done
49748
49749     fi
49750   fi
49751
49752
49753
49754
49755
49756   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
49757 $as_echo_n "checking for modfl declaration... " >&6; }
49758   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
49759     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
49760   $as_echo_n "(cached) " >&6
49761 else
49762
49763
49764       ac_ext=cpp
49765 ac_cpp='$CXXCPP $CPPFLAGS'
49766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49769
49770       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49771 /* end confdefs.h.  */
49772 #include <math.h>
49773 int
49774 main ()
49775 {
49776  modfl(0, 0);
49777   ;
49778   return 0;
49779 }
49780 _ACEOF
49781 if ac_fn_cxx_try_compile "$LINENO"; then :
49782   glibcxx_cv_func_modfl_use=yes
49783 else
49784   glibcxx_cv_func_modfl_use=no
49785 fi
49786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49787       ac_ext=c
49788 ac_cpp='$CPP $CPPFLAGS'
49789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49792
49793
49794 fi
49795
49796   fi
49797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
49798 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
49799
49800   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
49801     for ac_func in modfl
49802 do :
49803   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
49804 if test "x$ac_cv_func_modfl" = x""yes; then :
49805   cat >>confdefs.h <<_ACEOF
49806 #define HAVE_MODFL 1
49807 _ACEOF
49808
49809 fi
49810 done
49811
49812   else
49813
49814   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
49815 $as_echo_n "checking for _modfl declaration... " >&6; }
49816   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
49817     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
49818   $as_echo_n "(cached) " >&6
49819 else
49820
49821
49822       ac_ext=cpp
49823 ac_cpp='$CXXCPP $CPPFLAGS'
49824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49827
49828       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49829 /* end confdefs.h.  */
49830 #include <math.h>
49831 int
49832 main ()
49833 {
49834  _modfl(0, 0);
49835   ;
49836   return 0;
49837 }
49838 _ACEOF
49839 if ac_fn_cxx_try_compile "$LINENO"; then :
49840   glibcxx_cv_func__modfl_use=yes
49841 else
49842   glibcxx_cv_func__modfl_use=no
49843 fi
49844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49845       ac_ext=c
49846 ac_cpp='$CPP $CPPFLAGS'
49847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49850
49851
49852 fi
49853
49854   fi
49855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
49856 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
49857
49858     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
49859       for ac_func in _modfl
49860 do :
49861   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
49862 if test "x$ac_cv_func__modfl" = x""yes; then :
49863   cat >>confdefs.h <<_ACEOF
49864 #define HAVE__MODFL 1
49865 _ACEOF
49866
49867 fi
49868 done
49869
49870     fi
49871   fi
49872
49873
49874
49875
49876
49877   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
49878 $as_echo_n "checking for powl declaration... " >&6; }
49879   if test x${glibcxx_cv_func_powl_use+set} != xset; then
49880     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
49881   $as_echo_n "(cached) " >&6
49882 else
49883
49884
49885       ac_ext=cpp
49886 ac_cpp='$CXXCPP $CPPFLAGS'
49887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49890
49891       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49892 /* end confdefs.h.  */
49893 #include <math.h>
49894 int
49895 main ()
49896 {
49897  powl(0, 0);
49898   ;
49899   return 0;
49900 }
49901 _ACEOF
49902 if ac_fn_cxx_try_compile "$LINENO"; then :
49903   glibcxx_cv_func_powl_use=yes
49904 else
49905   glibcxx_cv_func_powl_use=no
49906 fi
49907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49908       ac_ext=c
49909 ac_cpp='$CPP $CPPFLAGS'
49910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49913
49914
49915 fi
49916
49917   fi
49918   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
49919 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
49920
49921   if test x$glibcxx_cv_func_powl_use = x"yes"; then
49922     for ac_func in powl
49923 do :
49924   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
49925 if test "x$ac_cv_func_powl" = x""yes; then :
49926   cat >>confdefs.h <<_ACEOF
49927 #define HAVE_POWL 1
49928 _ACEOF
49929
49930 fi
49931 done
49932
49933   else
49934
49935   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
49936 $as_echo_n "checking for _powl declaration... " >&6; }
49937   if test x${glibcxx_cv_func__powl_use+set} != xset; then
49938     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
49939   $as_echo_n "(cached) " >&6
49940 else
49941
49942
49943       ac_ext=cpp
49944 ac_cpp='$CXXCPP $CPPFLAGS'
49945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49948
49949       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49950 /* end confdefs.h.  */
49951 #include <math.h>
49952 int
49953 main ()
49954 {
49955  _powl(0, 0);
49956   ;
49957   return 0;
49958 }
49959 _ACEOF
49960 if ac_fn_cxx_try_compile "$LINENO"; then :
49961   glibcxx_cv_func__powl_use=yes
49962 else
49963   glibcxx_cv_func__powl_use=no
49964 fi
49965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49966       ac_ext=c
49967 ac_cpp='$CPP $CPPFLAGS'
49968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49971
49972
49973 fi
49974
49975   fi
49976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
49977 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
49978
49979     if test x$glibcxx_cv_func__powl_use = x"yes"; then
49980       for ac_func in _powl
49981 do :
49982   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
49983 if test "x$ac_cv_func__powl" = x""yes; then :
49984   cat >>confdefs.h <<_ACEOF
49985 #define HAVE__POWL 1
49986 _ACEOF
49987
49988 fi
49989 done
49990
49991     fi
49992   fi
49993
49994
49995
49996
49997
49998   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
49999 $as_echo_n "checking for sqrtl declaration... " >&6; }
50000   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
50001     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
50002   $as_echo_n "(cached) " >&6
50003 else
50004
50005
50006       ac_ext=cpp
50007 ac_cpp='$CXXCPP $CPPFLAGS'
50008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50011
50012       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50013 /* end confdefs.h.  */
50014 #include <math.h>
50015                       #ifdef HAVE_IEEEFP_H
50016                       #include <ieeefp.h>
50017                       #endif
50018
50019 int
50020 main ()
50021 {
50022  sqrtl(0);
50023   ;
50024   return 0;
50025 }
50026 _ACEOF
50027 if ac_fn_cxx_try_compile "$LINENO"; then :
50028   glibcxx_cv_func_sqrtl_use=yes
50029 else
50030   glibcxx_cv_func_sqrtl_use=no
50031 fi
50032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50033       ac_ext=c
50034 ac_cpp='$CPP $CPPFLAGS'
50035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50038
50039
50040 fi
50041
50042   fi
50043   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
50044 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
50045
50046   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
50047     for ac_func in sqrtl
50048 do :
50049   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
50050 if test "x$ac_cv_func_sqrtl" = x""yes; then :
50051   cat >>confdefs.h <<_ACEOF
50052 #define HAVE_SQRTL 1
50053 _ACEOF
50054
50055 fi
50056 done
50057
50058   else
50059
50060   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
50061 $as_echo_n "checking for _sqrtl declaration... " >&6; }
50062   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
50063     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
50064   $as_echo_n "(cached) " >&6
50065 else
50066
50067
50068       ac_ext=cpp
50069 ac_cpp='$CXXCPP $CPPFLAGS'
50070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50073
50074       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50075 /* end confdefs.h.  */
50076 #include <math.h>
50077                       #ifdef HAVE_IEEEFP_H
50078                       #include <ieeefp.h>
50079                       #endif
50080
50081 int
50082 main ()
50083 {
50084  _sqrtl(0);
50085   ;
50086   return 0;
50087 }
50088 _ACEOF
50089 if ac_fn_cxx_try_compile "$LINENO"; then :
50090   glibcxx_cv_func__sqrtl_use=yes
50091 else
50092   glibcxx_cv_func__sqrtl_use=no
50093 fi
50094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50095       ac_ext=c
50096 ac_cpp='$CPP $CPPFLAGS'
50097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50100
50101
50102 fi
50103
50104   fi
50105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
50106 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
50107
50108     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
50109       for ac_func in _sqrtl
50110 do :
50111   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
50112 if test "x$ac_cv_func__sqrtl" = x""yes; then :
50113   cat >>confdefs.h <<_ACEOF
50114 #define HAVE__SQRTL 1
50115 _ACEOF
50116
50117 fi
50118 done
50119
50120     fi
50121   fi
50122
50123
50124
50125
50126
50127   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
50128 $as_echo_n "checking for sincosl declaration... " >&6; }
50129   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
50130     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
50131   $as_echo_n "(cached) " >&6
50132 else
50133
50134
50135       ac_ext=cpp
50136 ac_cpp='$CXXCPP $CPPFLAGS'
50137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50140
50141       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50142 /* end confdefs.h.  */
50143 #include <math.h>
50144 int
50145 main ()
50146 {
50147  sincosl(0, 0, 0);
50148   ;
50149   return 0;
50150 }
50151 _ACEOF
50152 if ac_fn_cxx_try_compile "$LINENO"; then :
50153   glibcxx_cv_func_sincosl_use=yes
50154 else
50155   glibcxx_cv_func_sincosl_use=no
50156 fi
50157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50158       ac_ext=c
50159 ac_cpp='$CPP $CPPFLAGS'
50160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50163
50164
50165 fi
50166
50167   fi
50168   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
50169 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
50170
50171   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
50172     for ac_func in sincosl
50173 do :
50174   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
50175 if test "x$ac_cv_func_sincosl" = x""yes; then :
50176   cat >>confdefs.h <<_ACEOF
50177 #define HAVE_SINCOSL 1
50178 _ACEOF
50179
50180 fi
50181 done
50182
50183   else
50184
50185   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
50186 $as_echo_n "checking for _sincosl declaration... " >&6; }
50187   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
50188     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
50189   $as_echo_n "(cached) " >&6
50190 else
50191
50192
50193       ac_ext=cpp
50194 ac_cpp='$CXXCPP $CPPFLAGS'
50195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50198
50199       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50200 /* end confdefs.h.  */
50201 #include <math.h>
50202 int
50203 main ()
50204 {
50205  _sincosl(0, 0, 0);
50206   ;
50207   return 0;
50208 }
50209 _ACEOF
50210 if ac_fn_cxx_try_compile "$LINENO"; then :
50211   glibcxx_cv_func__sincosl_use=yes
50212 else
50213   glibcxx_cv_func__sincosl_use=no
50214 fi
50215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50216       ac_ext=c
50217 ac_cpp='$CPP $CPPFLAGS'
50218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50221
50222
50223 fi
50224
50225   fi
50226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
50227 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
50228
50229     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
50230       for ac_func in _sincosl
50231 do :
50232   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
50233 if test "x$ac_cv_func__sincosl" = x""yes; then :
50234   cat >>confdefs.h <<_ACEOF
50235 #define HAVE__SINCOSL 1
50236 _ACEOF
50237
50238 fi
50239 done
50240
50241     fi
50242   fi
50243
50244
50245
50246
50247
50248   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
50249 $as_echo_n "checking for finitel declaration... " >&6; }
50250   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
50251     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
50252   $as_echo_n "(cached) " >&6
50253 else
50254
50255
50256       ac_ext=cpp
50257 ac_cpp='$CXXCPP $CPPFLAGS'
50258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50261
50262       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50263 /* end confdefs.h.  */
50264 #include <math.h>
50265                       #ifdef HAVE_IEEEFP_H
50266                       #include <ieeefp.h>
50267                       #endif
50268
50269 int
50270 main ()
50271 {
50272  finitel(0);
50273   ;
50274   return 0;
50275 }
50276 _ACEOF
50277 if ac_fn_cxx_try_compile "$LINENO"; then :
50278   glibcxx_cv_func_finitel_use=yes
50279 else
50280   glibcxx_cv_func_finitel_use=no
50281 fi
50282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50283       ac_ext=c
50284 ac_cpp='$CPP $CPPFLAGS'
50285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50288
50289
50290 fi
50291
50292   fi
50293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
50294 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
50295
50296   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
50297     for ac_func in finitel
50298 do :
50299   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
50300 if test "x$ac_cv_func_finitel" = x""yes; then :
50301   cat >>confdefs.h <<_ACEOF
50302 #define HAVE_FINITEL 1
50303 _ACEOF
50304
50305 fi
50306 done
50307
50308   else
50309
50310   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
50311 $as_echo_n "checking for _finitel declaration... " >&6; }
50312   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
50313     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
50314   $as_echo_n "(cached) " >&6
50315 else
50316
50317
50318       ac_ext=cpp
50319 ac_cpp='$CXXCPP $CPPFLAGS'
50320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50323
50324       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50325 /* end confdefs.h.  */
50326 #include <math.h>
50327                       #ifdef HAVE_IEEEFP_H
50328                       #include <ieeefp.h>
50329                       #endif
50330
50331 int
50332 main ()
50333 {
50334  _finitel(0);
50335   ;
50336   return 0;
50337 }
50338 _ACEOF
50339 if ac_fn_cxx_try_compile "$LINENO"; then :
50340   glibcxx_cv_func__finitel_use=yes
50341 else
50342   glibcxx_cv_func__finitel_use=no
50343 fi
50344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50345       ac_ext=c
50346 ac_cpp='$CPP $CPPFLAGS'
50347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50350
50351
50352 fi
50353
50354   fi
50355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
50356 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
50357
50358     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
50359       for ac_func in _finitel
50360 do :
50361   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
50362 if test "x$ac_cv_func__finitel" = x""yes; then :
50363   cat >>confdefs.h <<_ACEOF
50364 #define HAVE__FINITEL 1
50365 _ACEOF
50366
50367 fi
50368 done
50369
50370     fi
50371   fi
50372
50373
50374
50375
50376   LIBS="$ac_save_LIBS"
50377   CXXFLAGS="$ac_save_CXXFLAGS"
50378
50379
50380   ac_test_CXXFLAGS="${CXXFLAGS+set}"
50381   ac_save_CXXFLAGS="$CXXFLAGS"
50382   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50383
50384
50385   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
50386 $as_echo_n "checking for strtold declaration... " >&6; }
50387   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
50388     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
50389   $as_echo_n "(cached) " >&6
50390 else
50391
50392
50393       ac_ext=cpp
50394 ac_cpp='$CXXCPP $CPPFLAGS'
50395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50398
50399       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50400 /* end confdefs.h.  */
50401 #include <stdlib.h>
50402 int
50403 main ()
50404 {
50405  strtold(0, 0);
50406   ;
50407   return 0;
50408 }
50409 _ACEOF
50410 if ac_fn_cxx_try_compile "$LINENO"; then :
50411   glibcxx_cv_func_strtold_use=yes
50412 else
50413   glibcxx_cv_func_strtold_use=no
50414 fi
50415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50416       ac_ext=c
50417 ac_cpp='$CPP $CPPFLAGS'
50418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50421
50422
50423 fi
50424
50425   fi
50426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
50427 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
50428   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
50429     for ac_func in strtold
50430 do :
50431   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
50432 if test "x$ac_cv_func_strtold" = x""yes; then :
50433   cat >>confdefs.h <<_ACEOF
50434 #define HAVE_STRTOLD 1
50435 _ACEOF
50436
50437 fi
50438 done
50439
50440   fi
50441
50442
50443
50444
50445   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
50446 $as_echo_n "checking for strtof declaration... " >&6; }
50447   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
50448     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
50449   $as_echo_n "(cached) " >&6
50450 else
50451
50452
50453       ac_ext=cpp
50454 ac_cpp='$CXXCPP $CPPFLAGS'
50455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50458
50459       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50460 /* end confdefs.h.  */
50461 #include <stdlib.h>
50462 int
50463 main ()
50464 {
50465  strtof(0, 0);
50466   ;
50467   return 0;
50468 }
50469 _ACEOF
50470 if ac_fn_cxx_try_compile "$LINENO"; then :
50471   glibcxx_cv_func_strtof_use=yes
50472 else
50473   glibcxx_cv_func_strtof_use=no
50474 fi
50475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50476       ac_ext=c
50477 ac_cpp='$CPP $CPPFLAGS'
50478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50481
50482
50483 fi
50484
50485   fi
50486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
50487 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
50488   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
50489     for ac_func in strtof
50490 do :
50491   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
50492 if test "x$ac_cv_func_strtof" = x""yes; then :
50493   cat >>confdefs.h <<_ACEOF
50494 #define HAVE_STRTOF 1
50495 _ACEOF
50496
50497 fi
50498 done
50499
50500   fi
50501
50502
50503
50504
50505   CXXFLAGS="$ac_save_CXXFLAGS"
50506
50507     $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
50508
50509
50510
50511    # Check whether --enable-tls was given.
50512 if test "${enable_tls+set}" = set; then :
50513   enableval=$enable_tls;
50514       case "$enableval" in
50515        yes|no) ;;
50516        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
50517       esac
50518
50519 else
50520   enable_tls=yes
50521 fi
50522
50523
50524   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
50525 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
50526 if test "${gcc_cv_have_tls+set}" = set; then :
50527   $as_echo_n "(cached) " >&6
50528 else
50529
50530     if test "$cross_compiling" = yes; then :
50531                 if test x$gcc_no_link = xyes; then
50532   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50533 fi
50534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50535 /* end confdefs.h.  */
50536 __thread int a; int b; int main() { return a = b; }
50537 _ACEOF
50538 if ac_fn_c_try_link "$LINENO"; then :
50539   chktls_save_LDFLAGS="$LDFLAGS"
50540                           case $host in
50541             *-*-linux*)
50542               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
50543               ;;
50544           esac
50545           chktls_save_CFLAGS="$CFLAGS"
50546           CFLAGS="-fPIC $CFLAGS"
50547                   if test x$gcc_no_link = xyes; then
50548   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50549 fi
50550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50551 /* end confdefs.h.  */
50552 int f() { return 0; }
50553 _ACEOF
50554 if ac_fn_c_try_link "$LINENO"; then :
50555   if test x$gcc_no_link = xyes; then
50556   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50557 fi
50558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50559 /* end confdefs.h.  */
50560 __thread int a; int b; int f() { return a = b; }
50561 _ACEOF
50562 if ac_fn_c_try_link "$LINENO"; then :
50563   gcc_cv_have_tls=yes
50564 else
50565   gcc_cv_have_tls=no
50566 fi
50567 rm -f core conftest.err conftest.$ac_objext \
50568     conftest$ac_exeext conftest.$ac_ext
50569 else
50570   gcc_cv_have_tls=yes
50571 fi
50572 rm -f core conftest.err conftest.$ac_objext \
50573     conftest$ac_exeext conftest.$ac_ext
50574           CFLAGS="$chktls_save_CFLAGS"
50575           LDFLAGS="$chktls_save_LDFLAGS"
50576 else
50577   gcc_cv_have_tls=no
50578 fi
50579 rm -f core conftest.err conftest.$ac_objext \
50580     conftest$ac_exeext conftest.$ac_ext
50581
50582
50583 else
50584   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50585 /* end confdefs.h.  */
50586 __thread int a; int b; int main() { return a = b; }
50587 _ACEOF
50588 if ac_fn_c_try_run "$LINENO"; then :
50589                       chktls_save_LDFLAGS="$LDFLAGS"
50590       LDFLAGS="-static $LDFLAGS"
50591       if test x$gcc_no_link = xyes; then
50592   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50593 fi
50594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50595 /* end confdefs.h.  */
50596 int main() { return 0; }
50597 _ACEOF
50598 if ac_fn_c_try_link "$LINENO"; then :
50599   if test "$cross_compiling" = yes; then :
50600   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50601 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50602 as_fn_error "cannot run test program while cross compiling
50603 See \`config.log' for more details." "$LINENO" 5; }
50604 else
50605   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50606 /* end confdefs.h.  */
50607 __thread int a; int b; int main() { return a = b; }
50608 _ACEOF
50609 if ac_fn_c_try_run "$LINENO"; then :
50610   gcc_cv_have_tls=yes
50611 else
50612   gcc_cv_have_tls=no
50613 fi
50614 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50615   conftest.$ac_objext conftest.beam conftest.$ac_ext
50616 fi
50617
50618 else
50619   gcc_cv_have_tls=yes
50620 fi
50621 rm -f core conftest.err conftest.$ac_objext \
50622     conftest$ac_exeext conftest.$ac_ext
50623       LDFLAGS="$chktls_save_LDFLAGS"
50624       if test $gcc_cv_have_tls = yes; then
50625                                                 chktls_save_CFLAGS="$CFLAGS"
50626         thread_CFLAGS=failed
50627         for flag in '' '-pthread' '-lpthread'; do
50628           CFLAGS="$flag $chktls_save_CFLAGS"
50629           if test x$gcc_no_link = xyes; then
50630   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50631 fi
50632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50633 /* end confdefs.h.  */
50634 #include <pthread.h>
50635                 void *g(void *d) { return NULL; }
50636 int
50637 main ()
50638 {
50639 pthread_t t; pthread_create(&t,NULL,g,NULL);
50640   ;
50641   return 0;
50642 }
50643 _ACEOF
50644 if ac_fn_c_try_link "$LINENO"; then :
50645   thread_CFLAGS="$flag"
50646 fi
50647 rm -f core conftest.err conftest.$ac_objext \
50648     conftest$ac_exeext conftest.$ac_ext
50649           if test "X$thread_CFLAGS" != Xfailed; then
50650             break
50651           fi
50652         done
50653         CFLAGS="$chktls_save_CFLAGS"
50654         if test "X$thread_CFLAGS" != Xfailed; then
50655           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
50656                                                   if test "$cross_compiling" = yes; then :
50657   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50658 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50659 as_fn_error "cannot run test program while cross compiling
50660 See \`config.log' for more details." "$LINENO" 5; }
50661 else
50662   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50663 /* end confdefs.h.  */
50664 #include <pthread.h>
50665                 __thread int a;
50666                 static int *volatile a_in_other_thread;
50667                 static void *
50668                 thread_func (void *arg)
50669                 {
50670                   a_in_other_thread = &a;
50671                   return (void *)0;
50672                 }
50673 int
50674 main ()
50675 {
50676 pthread_t thread;
50677                 void *thread_retval;
50678                 int *volatile a_in_main_thread;
50679                 a_in_main_thread = &a;
50680                 if (pthread_create (&thread, (pthread_attr_t *)0,
50681                                     thread_func, (void *)0))
50682                   return 0;
50683                 if (pthread_join (thread, &thread_retval))
50684                   return 0;
50685                 return (a_in_other_thread == a_in_main_thread);
50686   ;
50687   return 0;
50688 }
50689 _ACEOF
50690 if ac_fn_c_try_run "$LINENO"; then :
50691   gcc_cv_have_tls=yes
50692 else
50693   gcc_cv_have_tls=no
50694 fi
50695 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50696   conftest.$ac_objext conftest.beam conftest.$ac_ext
50697 fi
50698
50699           CFLAGS="$chktls_save_CFLAGS"
50700         fi
50701       fi
50702 else
50703   gcc_cv_have_tls=no
50704 fi
50705 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50706   conftest.$ac_objext conftest.beam conftest.$ac_ext
50707 fi
50708
50709 fi
50710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
50711 $as_echo "$gcc_cv_have_tls" >&6; }
50712   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
50713
50714 $as_echo "#define HAVE_TLS 1" >>confdefs.h
50715
50716   fi
50717
50718
50719
50720
50721
50722           am_save_CPPFLAGS="$CPPFLAGS"
50723
50724   for element in $INCICONV; do
50725     haveit=
50726     for x in $CPPFLAGS; do
50727
50728   acl_save_prefix="$prefix"
50729   prefix="$acl_final_prefix"
50730   acl_save_exec_prefix="$exec_prefix"
50731   exec_prefix="$acl_final_exec_prefix"
50732   eval x=\"$x\"
50733   exec_prefix="$acl_save_exec_prefix"
50734   prefix="$acl_save_prefix"
50735
50736       if test "X$x" = "X$element"; then
50737         haveit=yes
50738         break
50739       fi
50740     done
50741     if test -z "$haveit"; then
50742       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
50743     fi
50744   done
50745
50746
50747   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
50748 $as_echo_n "checking for iconv... " >&6; }
50749 if test "${am_cv_func_iconv+set}" = set; then :
50750   $as_echo_n "(cached) " >&6
50751 else
50752
50753     am_cv_func_iconv="no, consider installing GNU libiconv"
50754     am_cv_lib_iconv=no
50755     if test x$gcc_no_link = xyes; then
50756   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50757 fi
50758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50759 /* end confdefs.h.  */
50760 #include <stdlib.h>
50761 #include <iconv.h>
50762 int
50763 main ()
50764 {
50765 iconv_t cd = iconv_open("","");
50766        iconv(cd,NULL,NULL,NULL,NULL);
50767        iconv_close(cd);
50768   ;
50769   return 0;
50770 }
50771 _ACEOF
50772 if ac_fn_c_try_link "$LINENO"; then :
50773   am_cv_func_iconv=yes
50774 fi
50775 rm -f core conftest.err conftest.$ac_objext \
50776     conftest$ac_exeext conftest.$ac_ext
50777     if test "$am_cv_func_iconv" != yes; then
50778       am_save_LIBS="$LIBS"
50779       LIBS="$LIBS $LIBICONV"
50780       if test x$gcc_no_link = xyes; then
50781   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50782 fi
50783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50784 /* end confdefs.h.  */
50785 #include <stdlib.h>
50786 #include <iconv.h>
50787 int
50788 main ()
50789 {
50790 iconv_t cd = iconv_open("","");
50791          iconv(cd,NULL,NULL,NULL,NULL);
50792          iconv_close(cd);
50793   ;
50794   return 0;
50795 }
50796 _ACEOF
50797 if ac_fn_c_try_link "$LINENO"; then :
50798   am_cv_lib_iconv=yes
50799         am_cv_func_iconv=yes
50800 fi
50801 rm -f core conftest.err conftest.$ac_objext \
50802     conftest$ac_exeext conftest.$ac_ext
50803       LIBS="$am_save_LIBS"
50804     fi
50805
50806 fi
50807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
50808 $as_echo "$am_cv_func_iconv" >&6; }
50809   if test "$am_cv_func_iconv" = yes; then
50810
50811 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
50812
50813   fi
50814   if test "$am_cv_lib_iconv" = yes; then
50815     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
50816 $as_echo_n "checking how to link with libiconv... " >&6; }
50817     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
50818 $as_echo "$LIBICONV" >&6; }
50819   else
50820             CPPFLAGS="$am_save_CPPFLAGS"
50821     LIBICONV=
50822     LTLIBICONV=
50823   fi
50824
50825
50826
50827   if test "$am_cv_func_iconv" = yes; then
50828     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
50829 $as_echo_n "checking for iconv declaration... " >&6; }
50830     if test "${am_cv_proto_iconv+set}" = set; then :
50831   $as_echo_n "(cached) " >&6
50832 else
50833
50834       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50835 /* end confdefs.h.  */
50836
50837 #include <stdlib.h>
50838 #include <iconv.h>
50839 extern
50840 #ifdef __cplusplus
50841 "C"
50842 #endif
50843 #if defined(__STDC__) || defined(__cplusplus)
50844 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
50845 #else
50846 size_t iconv();
50847 #endif
50848
50849 int
50850 main ()
50851 {
50852
50853   ;
50854   return 0;
50855 }
50856 _ACEOF
50857 if ac_fn_c_try_compile "$LINENO"; then :
50858   am_cv_proto_iconv_arg1=""
50859 else
50860   am_cv_proto_iconv_arg1="const"
50861 fi
50862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50863       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);"
50864 fi
50865
50866     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
50867     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
50868          }$am_cv_proto_iconv" >&5
50869 $as_echo "${ac_t:-
50870          }$am_cv_proto_iconv" >&6; }
50871
50872 cat >>confdefs.h <<_ACEOF
50873 #define ICONV_CONST $am_cv_proto_iconv_arg1
50874 _ACEOF
50875
50876   fi
50877
50878     ;;
50879   *-mingw32*)
50880
50881   # If we're not using GNU ld, then there's no point in even trying these
50882   # tests.  Check for that first.  We should have already tested for gld
50883   # by now (in libtool), but require it now just to be safe...
50884   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
50885   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
50886
50887
50888
50889   # The name set by libtool depends on the version of libtool.  Shame on us
50890   # for depending on an impl detail, but c'est la vie.  Older versions used
50891   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
50892   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
50893   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
50894   # set (hence we're using an older libtool), then set it.
50895   if test x${with_gnu_ld+set} != xset; then
50896     if test x${ac_cv_prog_gnu_ld+set} != xset; then
50897       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
50898       with_gnu_ld=no
50899     else
50900       with_gnu_ld=$ac_cv_prog_gnu_ld
50901     fi
50902   fi
50903
50904   # Start by getting the version number.  I think the libtool test already
50905   # does some of this, but throws away the result.
50906   glibcxx_ld_is_gold=no
50907   if test x"$with_gnu_ld" = x"yes"; then
50908     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
50909 $as_echo_n "checking for ld version... " >&6; }
50910
50911     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
50912       glibcxx_ld_is_gold=yes
50913     fi
50914     ldver=`$LD --version 2>/dev/null |
50915            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'`
50916
50917     glibcxx_gnu_ld_version=`echo $ldver | \
50918            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
50919     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
50920 $as_echo "$glibcxx_gnu_ld_version" >&6; }
50921   fi
50922
50923   # Set --gc-sections.
50924   glibcxx_have_gc_sections=no
50925   if test "$glibcxx_ld_is_gold" = "yes"; then
50926     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
50927       glibcxx_have_gc_sections=yes
50928     fi
50929   else
50930     glibcxx_gcsections_min_ld=21602
50931     if test x"$with_gnu_ld" = x"yes" &&
50932         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
50933       glibcxx_have_gc_sections=yes
50934     fi
50935   fi
50936   if test "$glibcxx_have_gc_sections" = "yes"; then
50937     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
50938     # NB: This flag only works reliably after 2.16.1. Configure tests
50939     # for this are difficult, so hard wire a value that should work.
50940
50941     ac_test_CFLAGS="${CFLAGS+set}"
50942     ac_save_CFLAGS="$CFLAGS"
50943     CFLAGS='-Wl,--gc-sections'
50944
50945     # Check for -Wl,--gc-sections
50946     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
50947 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
50948     if test x$gcc_no_link = xyes; then
50949   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50950 fi
50951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50952 /* end confdefs.h.  */
50953  int one(void) { return 1; }
50954      int two(void) { return 2; }
50955
50956 int
50957 main ()
50958 {
50959  two();
50960   ;
50961   return 0;
50962 }
50963 _ACEOF
50964 if ac_fn_c_try_link "$LINENO"; then :
50965   ac_gcsections=yes
50966 else
50967   ac_gcsections=no
50968 fi
50969 rm -f core conftest.err conftest.$ac_objext \
50970     conftest$ac_exeext conftest.$ac_ext
50971     if test "$ac_gcsections" = "yes"; then
50972       rm -f conftest.c
50973       touch conftest.c
50974       if $CC -c conftest.c; then
50975         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
50976            grep "Warning: gc-sections option ignored" > /dev/null; then
50977           ac_gcsections=no
50978         fi
50979       fi
50980       rm -f conftest.c conftest.o conftest
50981     fi
50982     if test "$ac_gcsections" = "yes"; then
50983       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
50984     fi
50985     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
50986 $as_echo "$ac_gcsections" >&6; }
50987
50988     if test "$ac_test_CFLAGS" = set; then
50989       CFLAGS="$ac_save_CFLAGS"
50990     else
50991       # this is the suspicious part
50992       CFLAGS=''
50993     fi
50994   fi
50995
50996   # Set -z,relro.
50997   # Note this is only for shared objects.
50998   ac_ld_relro=no
50999   if test x"$with_gnu_ld" = x"yes"; then
51000     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
51001 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
51002     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
51003     if test -n "$cxx_z_relo"; then
51004       OPT_LDFLAGS="-Wl,-z,relro"
51005       ac_ld_relro=yes
51006     fi
51007     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
51008 $as_echo "$ac_ld_relro" >&6; }
51009   fi
51010
51011   # Set linker optimization flags.
51012   if test x"$with_gnu_ld" = x"yes"; then
51013     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
51014   fi
51015
51016
51017
51018
51019
51020   ac_test_CXXFLAGS="${CXXFLAGS+set}"
51021   ac_save_CXXFLAGS="$CXXFLAGS"
51022   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51023
51024     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
51025 $as_echo_n "checking for sin in -lm... " >&6; }
51026 if test "${ac_cv_lib_m_sin+set}" = set; then :
51027   $as_echo_n "(cached) " >&6
51028 else
51029   ac_check_lib_save_LIBS=$LIBS
51030 LIBS="-lm  $LIBS"
51031 if test x$gcc_no_link = xyes; then
51032   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51033 fi
51034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51035 /* end confdefs.h.  */
51036
51037 /* Override any GCC internal prototype to avoid an error.
51038    Use char because int might match the return type of a GCC
51039    builtin and then its argument prototype would still apply.  */
51040 #ifdef __cplusplus
51041 extern "C"
51042 #endif
51043 char sin ();
51044 int
51045 main ()
51046 {
51047 return sin ();
51048   ;
51049   return 0;
51050 }
51051 _ACEOF
51052 if ac_fn_c_try_link "$LINENO"; then :
51053   ac_cv_lib_m_sin=yes
51054 else
51055   ac_cv_lib_m_sin=no
51056 fi
51057 rm -f core conftest.err conftest.$ac_objext \
51058     conftest$ac_exeext conftest.$ac_ext
51059 LIBS=$ac_check_lib_save_LIBS
51060 fi
51061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
51062 $as_echo "$ac_cv_lib_m_sin" >&6; }
51063 if test "x$ac_cv_lib_m_sin" = x""yes; then :
51064   libm="-lm"
51065 fi
51066
51067   ac_save_LIBS="$LIBS"
51068   LIBS="$LIBS $libm"
51069
51070
51071
51072   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
51073 $as_echo_n "checking for isinf declaration... " >&6; }
51074   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51075     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
51076   $as_echo_n "(cached) " >&6
51077 else
51078
51079
51080       ac_ext=cpp
51081 ac_cpp='$CXXCPP $CPPFLAGS'
51082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51085
51086       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51087 /* end confdefs.h.  */
51088 #include <math.h>
51089                       #ifdef HAVE_IEEEFP_H
51090                       #include <ieeefp.h>
51091                       #endif
51092
51093 int
51094 main ()
51095 {
51096  isinf(0);
51097   ;
51098   return 0;
51099 }
51100 _ACEOF
51101 if ac_fn_cxx_try_compile "$LINENO"; then :
51102   glibcxx_cv_func_isinf_use=yes
51103 else
51104   glibcxx_cv_func_isinf_use=no
51105 fi
51106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51107       ac_ext=c
51108 ac_cpp='$CPP $CPPFLAGS'
51109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51112
51113
51114 fi
51115
51116   fi
51117   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
51118 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
51119
51120   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51121     for ac_func in isinf
51122 do :
51123   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
51124 if test "x$ac_cv_func_isinf" = x""yes; then :
51125   cat >>confdefs.h <<_ACEOF
51126 #define HAVE_ISINF 1
51127 _ACEOF
51128
51129 fi
51130 done
51131
51132   else
51133
51134   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
51135 $as_echo_n "checking for _isinf declaration... " >&6; }
51136   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
51137     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
51138   $as_echo_n "(cached) " >&6
51139 else
51140
51141
51142       ac_ext=cpp
51143 ac_cpp='$CXXCPP $CPPFLAGS'
51144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51147
51148       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51149 /* end confdefs.h.  */
51150 #include <math.h>
51151                       #ifdef HAVE_IEEEFP_H
51152                       #include <ieeefp.h>
51153                       #endif
51154
51155 int
51156 main ()
51157 {
51158  _isinf(0);
51159   ;
51160   return 0;
51161 }
51162 _ACEOF
51163 if ac_fn_cxx_try_compile "$LINENO"; then :
51164   glibcxx_cv_func__isinf_use=yes
51165 else
51166   glibcxx_cv_func__isinf_use=no
51167 fi
51168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51169       ac_ext=c
51170 ac_cpp='$CPP $CPPFLAGS'
51171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51174
51175
51176 fi
51177
51178   fi
51179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
51180 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
51181
51182     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
51183       for ac_func in _isinf
51184 do :
51185   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
51186 if test "x$ac_cv_func__isinf" = x""yes; then :
51187   cat >>confdefs.h <<_ACEOF
51188 #define HAVE__ISINF 1
51189 _ACEOF
51190
51191 fi
51192 done
51193
51194     fi
51195   fi
51196
51197
51198
51199
51200
51201   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
51202 $as_echo_n "checking for isnan declaration... " >&6; }
51203   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
51204     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
51205   $as_echo_n "(cached) " >&6
51206 else
51207
51208
51209       ac_ext=cpp
51210 ac_cpp='$CXXCPP $CPPFLAGS'
51211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51214
51215       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51216 /* end confdefs.h.  */
51217 #include <math.h>
51218                       #ifdef HAVE_IEEEFP_H
51219                       #include <ieeefp.h>
51220                       #endif
51221
51222 int
51223 main ()
51224 {
51225  isnan(0);
51226   ;
51227   return 0;
51228 }
51229 _ACEOF
51230 if ac_fn_cxx_try_compile "$LINENO"; then :
51231   glibcxx_cv_func_isnan_use=yes
51232 else
51233   glibcxx_cv_func_isnan_use=no
51234 fi
51235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51236       ac_ext=c
51237 ac_cpp='$CPP $CPPFLAGS'
51238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51241
51242
51243 fi
51244
51245   fi
51246   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
51247 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
51248
51249   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
51250     for ac_func in isnan
51251 do :
51252   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
51253 if test "x$ac_cv_func_isnan" = x""yes; then :
51254   cat >>confdefs.h <<_ACEOF
51255 #define HAVE_ISNAN 1
51256 _ACEOF
51257
51258 fi
51259 done
51260
51261   else
51262
51263   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
51264 $as_echo_n "checking for _isnan declaration... " >&6; }
51265   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
51266     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
51267   $as_echo_n "(cached) " >&6
51268 else
51269
51270
51271       ac_ext=cpp
51272 ac_cpp='$CXXCPP $CPPFLAGS'
51273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51276
51277       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51278 /* end confdefs.h.  */
51279 #include <math.h>
51280                       #ifdef HAVE_IEEEFP_H
51281                       #include <ieeefp.h>
51282                       #endif
51283
51284 int
51285 main ()
51286 {
51287  _isnan(0);
51288   ;
51289   return 0;
51290 }
51291 _ACEOF
51292 if ac_fn_cxx_try_compile "$LINENO"; then :
51293   glibcxx_cv_func__isnan_use=yes
51294 else
51295   glibcxx_cv_func__isnan_use=no
51296 fi
51297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51298       ac_ext=c
51299 ac_cpp='$CPP $CPPFLAGS'
51300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51303
51304
51305 fi
51306
51307   fi
51308   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
51309 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
51310
51311     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
51312       for ac_func in _isnan
51313 do :
51314   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
51315 if test "x$ac_cv_func__isnan" = x""yes; then :
51316   cat >>confdefs.h <<_ACEOF
51317 #define HAVE__ISNAN 1
51318 _ACEOF
51319
51320 fi
51321 done
51322
51323     fi
51324   fi
51325
51326
51327
51328
51329
51330   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
51331 $as_echo_n "checking for finite declaration... " >&6; }
51332   if test x${glibcxx_cv_func_finite_use+set} != xset; then
51333     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
51334   $as_echo_n "(cached) " >&6
51335 else
51336
51337
51338       ac_ext=cpp
51339 ac_cpp='$CXXCPP $CPPFLAGS'
51340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51343
51344       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51345 /* end confdefs.h.  */
51346 #include <math.h>
51347                       #ifdef HAVE_IEEEFP_H
51348                       #include <ieeefp.h>
51349                       #endif
51350
51351 int
51352 main ()
51353 {
51354  finite(0);
51355   ;
51356   return 0;
51357 }
51358 _ACEOF
51359 if ac_fn_cxx_try_compile "$LINENO"; then :
51360   glibcxx_cv_func_finite_use=yes
51361 else
51362   glibcxx_cv_func_finite_use=no
51363 fi
51364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51365       ac_ext=c
51366 ac_cpp='$CPP $CPPFLAGS'
51367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51370
51371
51372 fi
51373
51374   fi
51375   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
51376 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
51377
51378   if test x$glibcxx_cv_func_finite_use = x"yes"; then
51379     for ac_func in finite
51380 do :
51381   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
51382 if test "x$ac_cv_func_finite" = x""yes; then :
51383   cat >>confdefs.h <<_ACEOF
51384 #define HAVE_FINITE 1
51385 _ACEOF
51386
51387 fi
51388 done
51389
51390   else
51391
51392   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
51393 $as_echo_n "checking for _finite declaration... " >&6; }
51394   if test x${glibcxx_cv_func__finite_use+set} != xset; then
51395     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
51396   $as_echo_n "(cached) " >&6
51397 else
51398
51399
51400       ac_ext=cpp
51401 ac_cpp='$CXXCPP $CPPFLAGS'
51402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51405
51406       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51407 /* end confdefs.h.  */
51408 #include <math.h>
51409                       #ifdef HAVE_IEEEFP_H
51410                       #include <ieeefp.h>
51411                       #endif
51412
51413 int
51414 main ()
51415 {
51416  _finite(0);
51417   ;
51418   return 0;
51419 }
51420 _ACEOF
51421 if ac_fn_cxx_try_compile "$LINENO"; then :
51422   glibcxx_cv_func__finite_use=yes
51423 else
51424   glibcxx_cv_func__finite_use=no
51425 fi
51426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51427       ac_ext=c
51428 ac_cpp='$CPP $CPPFLAGS'
51429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51432
51433
51434 fi
51435
51436   fi
51437   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
51438 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
51439
51440     if test x$glibcxx_cv_func__finite_use = x"yes"; then
51441       for ac_func in _finite
51442 do :
51443   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
51444 if test "x$ac_cv_func__finite" = x""yes; then :
51445   cat >>confdefs.h <<_ACEOF
51446 #define HAVE__FINITE 1
51447 _ACEOF
51448
51449 fi
51450 done
51451
51452     fi
51453   fi
51454
51455
51456
51457
51458
51459   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
51460 $as_echo_n "checking for sincos declaration... " >&6; }
51461   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
51462     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
51463   $as_echo_n "(cached) " >&6
51464 else
51465
51466
51467       ac_ext=cpp
51468 ac_cpp='$CXXCPP $CPPFLAGS'
51469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51472
51473       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51474 /* end confdefs.h.  */
51475 #include <math.h>
51476 int
51477 main ()
51478 {
51479  sincos(0, 0, 0);
51480   ;
51481   return 0;
51482 }
51483 _ACEOF
51484 if ac_fn_cxx_try_compile "$LINENO"; then :
51485   glibcxx_cv_func_sincos_use=yes
51486 else
51487   glibcxx_cv_func_sincos_use=no
51488 fi
51489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51490       ac_ext=c
51491 ac_cpp='$CPP $CPPFLAGS'
51492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51495
51496
51497 fi
51498
51499   fi
51500   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
51501 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
51502
51503   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
51504     for ac_func in sincos
51505 do :
51506   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
51507 if test "x$ac_cv_func_sincos" = x""yes; then :
51508   cat >>confdefs.h <<_ACEOF
51509 #define HAVE_SINCOS 1
51510 _ACEOF
51511
51512 fi
51513 done
51514
51515   else
51516
51517   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
51518 $as_echo_n "checking for _sincos declaration... " >&6; }
51519   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
51520     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
51521   $as_echo_n "(cached) " >&6
51522 else
51523
51524
51525       ac_ext=cpp
51526 ac_cpp='$CXXCPP $CPPFLAGS'
51527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51530
51531       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51532 /* end confdefs.h.  */
51533 #include <math.h>
51534 int
51535 main ()
51536 {
51537  _sincos(0, 0, 0);
51538   ;
51539   return 0;
51540 }
51541 _ACEOF
51542 if ac_fn_cxx_try_compile "$LINENO"; then :
51543   glibcxx_cv_func__sincos_use=yes
51544 else
51545   glibcxx_cv_func__sincos_use=no
51546 fi
51547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51548       ac_ext=c
51549 ac_cpp='$CPP $CPPFLAGS'
51550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51553
51554
51555 fi
51556
51557   fi
51558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
51559 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
51560
51561     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
51562       for ac_func in _sincos
51563 do :
51564   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
51565 if test "x$ac_cv_func__sincos" = x""yes; then :
51566   cat >>confdefs.h <<_ACEOF
51567 #define HAVE__SINCOS 1
51568 _ACEOF
51569
51570 fi
51571 done
51572
51573     fi
51574   fi
51575
51576
51577
51578
51579
51580   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
51581 $as_echo_n "checking for fpclass declaration... " >&6; }
51582   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
51583     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
51584   $as_echo_n "(cached) " >&6
51585 else
51586
51587
51588       ac_ext=cpp
51589 ac_cpp='$CXXCPP $CPPFLAGS'
51590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51593
51594       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51595 /* end confdefs.h.  */
51596 #include <math.h>
51597                       #ifdef HAVE_IEEEFP_H
51598                       #include <ieeefp.h>
51599                       #endif
51600
51601 int
51602 main ()
51603 {
51604  fpclass(0);
51605   ;
51606   return 0;
51607 }
51608 _ACEOF
51609 if ac_fn_cxx_try_compile "$LINENO"; then :
51610   glibcxx_cv_func_fpclass_use=yes
51611 else
51612   glibcxx_cv_func_fpclass_use=no
51613 fi
51614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51615       ac_ext=c
51616 ac_cpp='$CPP $CPPFLAGS'
51617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51620
51621
51622 fi
51623
51624   fi
51625   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
51626 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
51627
51628   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
51629     for ac_func in fpclass
51630 do :
51631   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
51632 if test "x$ac_cv_func_fpclass" = x""yes; then :
51633   cat >>confdefs.h <<_ACEOF
51634 #define HAVE_FPCLASS 1
51635 _ACEOF
51636
51637 fi
51638 done
51639
51640   else
51641
51642   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
51643 $as_echo_n "checking for _fpclass declaration... " >&6; }
51644   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
51645     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
51646   $as_echo_n "(cached) " >&6
51647 else
51648
51649
51650       ac_ext=cpp
51651 ac_cpp='$CXXCPP $CPPFLAGS'
51652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51655
51656       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51657 /* end confdefs.h.  */
51658 #include <math.h>
51659                       #ifdef HAVE_IEEEFP_H
51660                       #include <ieeefp.h>
51661                       #endif
51662
51663 int
51664 main ()
51665 {
51666  _fpclass(0);
51667   ;
51668   return 0;
51669 }
51670 _ACEOF
51671 if ac_fn_cxx_try_compile "$LINENO"; then :
51672   glibcxx_cv_func__fpclass_use=yes
51673 else
51674   glibcxx_cv_func__fpclass_use=no
51675 fi
51676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51677       ac_ext=c
51678 ac_cpp='$CPP $CPPFLAGS'
51679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51682
51683
51684 fi
51685
51686   fi
51687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
51688 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
51689
51690     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
51691       for ac_func in _fpclass
51692 do :
51693   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
51694 if test "x$ac_cv_func__fpclass" = x""yes; then :
51695   cat >>confdefs.h <<_ACEOF
51696 #define HAVE__FPCLASS 1
51697 _ACEOF
51698
51699 fi
51700 done
51701
51702     fi
51703   fi
51704
51705
51706
51707
51708
51709   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
51710 $as_echo_n "checking for qfpclass declaration... " >&6; }
51711   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
51712     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
51713   $as_echo_n "(cached) " >&6
51714 else
51715
51716
51717       ac_ext=cpp
51718 ac_cpp='$CXXCPP $CPPFLAGS'
51719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51722
51723       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51724 /* end confdefs.h.  */
51725 #include <math.h>
51726                       #ifdef HAVE_IEEEFP_H
51727                       #include <ieeefp.h>
51728                       #endif
51729
51730 int
51731 main ()
51732 {
51733  qfpclass(0);
51734   ;
51735   return 0;
51736 }
51737 _ACEOF
51738 if ac_fn_cxx_try_compile "$LINENO"; then :
51739   glibcxx_cv_func_qfpclass_use=yes
51740 else
51741   glibcxx_cv_func_qfpclass_use=no
51742 fi
51743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51744       ac_ext=c
51745 ac_cpp='$CPP $CPPFLAGS'
51746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51749
51750
51751 fi
51752
51753   fi
51754   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
51755 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
51756
51757   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
51758     for ac_func in qfpclass
51759 do :
51760   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
51761 if test "x$ac_cv_func_qfpclass" = x""yes; then :
51762   cat >>confdefs.h <<_ACEOF
51763 #define HAVE_QFPCLASS 1
51764 _ACEOF
51765
51766 fi
51767 done
51768
51769   else
51770
51771   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
51772 $as_echo_n "checking for _qfpclass declaration... " >&6; }
51773   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
51774     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
51775   $as_echo_n "(cached) " >&6
51776 else
51777
51778
51779       ac_ext=cpp
51780 ac_cpp='$CXXCPP $CPPFLAGS'
51781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51784
51785       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51786 /* end confdefs.h.  */
51787 #include <math.h>
51788                       #ifdef HAVE_IEEEFP_H
51789                       #include <ieeefp.h>
51790                       #endif
51791
51792 int
51793 main ()
51794 {
51795  _qfpclass(0);
51796   ;
51797   return 0;
51798 }
51799 _ACEOF
51800 if ac_fn_cxx_try_compile "$LINENO"; then :
51801   glibcxx_cv_func__qfpclass_use=yes
51802 else
51803   glibcxx_cv_func__qfpclass_use=no
51804 fi
51805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51806       ac_ext=c
51807 ac_cpp='$CPP $CPPFLAGS'
51808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51811
51812
51813 fi
51814
51815   fi
51816   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
51817 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
51818
51819     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
51820       for ac_func in _qfpclass
51821 do :
51822   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
51823 if test "x$ac_cv_func__qfpclass" = x""yes; then :
51824   cat >>confdefs.h <<_ACEOF
51825 #define HAVE__QFPCLASS 1
51826 _ACEOF
51827
51828 fi
51829 done
51830
51831     fi
51832   fi
51833
51834
51835
51836
51837
51838   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
51839 $as_echo_n "checking for hypot declaration... " >&6; }
51840   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
51841     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
51842   $as_echo_n "(cached) " >&6
51843 else
51844
51845
51846       ac_ext=cpp
51847 ac_cpp='$CXXCPP $CPPFLAGS'
51848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51851
51852       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51853 /* end confdefs.h.  */
51854 #include <math.h>
51855 int
51856 main ()
51857 {
51858  hypot(0, 0);
51859   ;
51860   return 0;
51861 }
51862 _ACEOF
51863 if ac_fn_cxx_try_compile "$LINENO"; then :
51864   glibcxx_cv_func_hypot_use=yes
51865 else
51866   glibcxx_cv_func_hypot_use=no
51867 fi
51868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51869       ac_ext=c
51870 ac_cpp='$CPP $CPPFLAGS'
51871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51874
51875
51876 fi
51877
51878   fi
51879   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
51880 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
51881
51882   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
51883     for ac_func in hypot
51884 do :
51885   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
51886 if test "x$ac_cv_func_hypot" = x""yes; then :
51887   cat >>confdefs.h <<_ACEOF
51888 #define HAVE_HYPOT 1
51889 _ACEOF
51890
51891 fi
51892 done
51893
51894   else
51895
51896   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
51897 $as_echo_n "checking for _hypot declaration... " >&6; }
51898   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
51899     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
51900   $as_echo_n "(cached) " >&6
51901 else
51902
51903
51904       ac_ext=cpp
51905 ac_cpp='$CXXCPP $CPPFLAGS'
51906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51909
51910       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51911 /* end confdefs.h.  */
51912 #include <math.h>
51913 int
51914 main ()
51915 {
51916  _hypot(0, 0);
51917   ;
51918   return 0;
51919 }
51920 _ACEOF
51921 if ac_fn_cxx_try_compile "$LINENO"; then :
51922   glibcxx_cv_func__hypot_use=yes
51923 else
51924   glibcxx_cv_func__hypot_use=no
51925 fi
51926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51927       ac_ext=c
51928 ac_cpp='$CPP $CPPFLAGS'
51929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51932
51933
51934 fi
51935
51936   fi
51937   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
51938 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
51939
51940     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
51941       for ac_func in _hypot
51942 do :
51943   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
51944 if test "x$ac_cv_func__hypot" = x""yes; then :
51945   cat >>confdefs.h <<_ACEOF
51946 #define HAVE__HYPOT 1
51947 _ACEOF
51948
51949 fi
51950 done
51951
51952     fi
51953   fi
51954
51955
51956
51957
51958
51959     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
51960 $as_echo_n "checking for float trig functions... " >&6; }
51961   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
51962   $as_echo_n "(cached) " >&6
51963 else
51964
51965
51966     ac_ext=cpp
51967 ac_cpp='$CXXCPP $CPPFLAGS'
51968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51971
51972     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51973 /* end confdefs.h.  */
51974 #include <math.h>
51975 int
51976 main ()
51977 {
51978 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
51979   ;
51980   return 0;
51981 }
51982 _ACEOF
51983 if ac_fn_cxx_try_compile "$LINENO"; then :
51984   glibcxx_cv_func_float_trig_use=yes
51985 else
51986   glibcxx_cv_func_float_trig_use=no
51987 fi
51988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51989     ac_ext=c
51990 ac_cpp='$CPP $CPPFLAGS'
51991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51994
51995 fi
51996
51997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
51998 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
51999   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
52000     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
52001 do :
52002   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52003 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52004 eval as_val=\$$as_ac_var
52005    if test "x$as_val" = x""yes; then :
52006   cat >>confdefs.h <<_ACEOF
52007 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52008 _ACEOF
52009
52010 fi
52011 done
52012
52013   else
52014     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
52015 $as_echo_n "checking for _float trig functions... " >&6; }
52016     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
52017   $as_echo_n "(cached) " >&6
52018 else
52019
52020
52021       ac_ext=cpp
52022 ac_cpp='$CXXCPP $CPPFLAGS'
52023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52026
52027       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52028 /* end confdefs.h.  */
52029 #include <math.h>
52030 int
52031 main ()
52032 {
52033 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
52034   ;
52035   return 0;
52036 }
52037 _ACEOF
52038 if ac_fn_cxx_try_compile "$LINENO"; then :
52039   glibcxx_cv_func__float_trig_use=yes
52040 else
52041   glibcxx_cv_func__float_trig_use=no
52042 fi
52043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52044       ac_ext=c
52045 ac_cpp='$CPP $CPPFLAGS'
52046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52049
52050 fi
52051
52052     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
52053 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
52054     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
52055       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
52056 do :
52057   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52058 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52059 eval as_val=\$$as_ac_var
52060    if test "x$as_val" = x""yes; then :
52061   cat >>confdefs.h <<_ACEOF
52062 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52063 _ACEOF
52064
52065 fi
52066 done
52067
52068     fi
52069   fi
52070
52071
52072
52073
52074
52075     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
52076 $as_echo_n "checking for float round functions... " >&6; }
52077   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
52078   $as_echo_n "(cached) " >&6
52079 else
52080
52081
52082     ac_ext=cpp
52083 ac_cpp='$CXXCPP $CPPFLAGS'
52084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52087
52088     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52089 /* end confdefs.h.  */
52090 #include <math.h>
52091 int
52092 main ()
52093 {
52094 ceilf (0); floorf (0);
52095   ;
52096   return 0;
52097 }
52098 _ACEOF
52099 if ac_fn_cxx_try_compile "$LINENO"; then :
52100   glibcxx_cv_func_float_round_use=yes
52101 else
52102   glibcxx_cv_func_float_round_use=no
52103 fi
52104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52105     ac_ext=c
52106 ac_cpp='$CPP $CPPFLAGS'
52107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52110
52111 fi
52112
52113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
52114 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
52115   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
52116     for ac_func in ceilf floorf
52117 do :
52118   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52119 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52120 eval as_val=\$$as_ac_var
52121    if test "x$as_val" = x""yes; then :
52122   cat >>confdefs.h <<_ACEOF
52123 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52124 _ACEOF
52125
52126 fi
52127 done
52128
52129   else
52130     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
52131 $as_echo_n "checking for _float round functions... " >&6; }
52132     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
52133   $as_echo_n "(cached) " >&6
52134 else
52135
52136
52137       ac_ext=cpp
52138 ac_cpp='$CXXCPP $CPPFLAGS'
52139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52142
52143       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52144 /* end confdefs.h.  */
52145 #include <math.h>
52146 int
52147 main ()
52148 {
52149 _ceilf (0); _floorf (0);
52150   ;
52151   return 0;
52152 }
52153 _ACEOF
52154 if ac_fn_cxx_try_compile "$LINENO"; then :
52155   glibcxx_cv_func__float_round_use=yes
52156 else
52157   glibcxx_cv_func__float_round_use=no
52158 fi
52159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52160       ac_ext=c
52161 ac_cpp='$CPP $CPPFLAGS'
52162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52165
52166 fi
52167
52168     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
52169 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
52170     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
52171       for ac_func in _ceilf _floorf
52172 do :
52173   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52174 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52175 eval as_val=\$$as_ac_var
52176    if test "x$as_val" = x""yes; then :
52177   cat >>confdefs.h <<_ACEOF
52178 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52179 _ACEOF
52180
52181 fi
52182 done
52183
52184     fi
52185   fi
52186
52187
52188
52189
52190
52191
52192   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
52193 $as_echo_n "checking for expf declaration... " >&6; }
52194   if test x${glibcxx_cv_func_expf_use+set} != xset; then
52195     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
52196   $as_echo_n "(cached) " >&6
52197 else
52198
52199
52200       ac_ext=cpp
52201 ac_cpp='$CXXCPP $CPPFLAGS'
52202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52205
52206       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52207 /* end confdefs.h.  */
52208 #include <math.h>
52209                       #ifdef HAVE_IEEEFP_H
52210                       #include <ieeefp.h>
52211                       #endif
52212
52213 int
52214 main ()
52215 {
52216  expf(0);
52217   ;
52218   return 0;
52219 }
52220 _ACEOF
52221 if ac_fn_cxx_try_compile "$LINENO"; then :
52222   glibcxx_cv_func_expf_use=yes
52223 else
52224   glibcxx_cv_func_expf_use=no
52225 fi
52226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52227       ac_ext=c
52228 ac_cpp='$CPP $CPPFLAGS'
52229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52232
52233
52234 fi
52235
52236   fi
52237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
52238 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
52239
52240   if test x$glibcxx_cv_func_expf_use = x"yes"; then
52241     for ac_func in expf
52242 do :
52243   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
52244 if test "x$ac_cv_func_expf" = x""yes; then :
52245   cat >>confdefs.h <<_ACEOF
52246 #define HAVE_EXPF 1
52247 _ACEOF
52248
52249 fi
52250 done
52251
52252   else
52253
52254   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
52255 $as_echo_n "checking for _expf declaration... " >&6; }
52256   if test x${glibcxx_cv_func__expf_use+set} != xset; then
52257     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
52258   $as_echo_n "(cached) " >&6
52259 else
52260
52261
52262       ac_ext=cpp
52263 ac_cpp='$CXXCPP $CPPFLAGS'
52264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52267
52268       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52269 /* end confdefs.h.  */
52270 #include <math.h>
52271                       #ifdef HAVE_IEEEFP_H
52272                       #include <ieeefp.h>
52273                       #endif
52274
52275 int
52276 main ()
52277 {
52278  _expf(0);
52279   ;
52280   return 0;
52281 }
52282 _ACEOF
52283 if ac_fn_cxx_try_compile "$LINENO"; then :
52284   glibcxx_cv_func__expf_use=yes
52285 else
52286   glibcxx_cv_func__expf_use=no
52287 fi
52288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52289       ac_ext=c
52290 ac_cpp='$CPP $CPPFLAGS'
52291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52294
52295
52296 fi
52297
52298   fi
52299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
52300 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
52301
52302     if test x$glibcxx_cv_func__expf_use = x"yes"; then
52303       for ac_func in _expf
52304 do :
52305   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
52306 if test "x$ac_cv_func__expf" = x""yes; then :
52307   cat >>confdefs.h <<_ACEOF
52308 #define HAVE__EXPF 1
52309 _ACEOF
52310
52311 fi
52312 done
52313
52314     fi
52315   fi
52316
52317
52318
52319
52320
52321   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
52322 $as_echo_n "checking for isnanf declaration... " >&6; }
52323   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
52324     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
52325   $as_echo_n "(cached) " >&6
52326 else
52327
52328
52329       ac_ext=cpp
52330 ac_cpp='$CXXCPP $CPPFLAGS'
52331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52334
52335       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52336 /* end confdefs.h.  */
52337 #include <math.h>
52338                       #ifdef HAVE_IEEEFP_H
52339                       #include <ieeefp.h>
52340                       #endif
52341
52342 int
52343 main ()
52344 {
52345  isnanf(0);
52346   ;
52347   return 0;
52348 }
52349 _ACEOF
52350 if ac_fn_cxx_try_compile "$LINENO"; then :
52351   glibcxx_cv_func_isnanf_use=yes
52352 else
52353   glibcxx_cv_func_isnanf_use=no
52354 fi
52355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52356       ac_ext=c
52357 ac_cpp='$CPP $CPPFLAGS'
52358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52361
52362
52363 fi
52364
52365   fi
52366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
52367 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
52368
52369   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
52370     for ac_func in isnanf
52371 do :
52372   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
52373 if test "x$ac_cv_func_isnanf" = x""yes; then :
52374   cat >>confdefs.h <<_ACEOF
52375 #define HAVE_ISNANF 1
52376 _ACEOF
52377
52378 fi
52379 done
52380
52381   else
52382
52383   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
52384 $as_echo_n "checking for _isnanf declaration... " >&6; }
52385   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
52386     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
52387   $as_echo_n "(cached) " >&6
52388 else
52389
52390
52391       ac_ext=cpp
52392 ac_cpp='$CXXCPP $CPPFLAGS'
52393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52396
52397       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52398 /* end confdefs.h.  */
52399 #include <math.h>
52400                       #ifdef HAVE_IEEEFP_H
52401                       #include <ieeefp.h>
52402                       #endif
52403
52404 int
52405 main ()
52406 {
52407  _isnanf(0);
52408   ;
52409   return 0;
52410 }
52411 _ACEOF
52412 if ac_fn_cxx_try_compile "$LINENO"; then :
52413   glibcxx_cv_func__isnanf_use=yes
52414 else
52415   glibcxx_cv_func__isnanf_use=no
52416 fi
52417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52418       ac_ext=c
52419 ac_cpp='$CPP $CPPFLAGS'
52420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52423
52424
52425 fi
52426
52427   fi
52428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
52429 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
52430
52431     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
52432       for ac_func in _isnanf
52433 do :
52434   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
52435 if test "x$ac_cv_func__isnanf" = x""yes; then :
52436   cat >>confdefs.h <<_ACEOF
52437 #define HAVE__ISNANF 1
52438 _ACEOF
52439
52440 fi
52441 done
52442
52443     fi
52444   fi
52445
52446
52447
52448
52449
52450   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
52451 $as_echo_n "checking for isinff declaration... " >&6; }
52452   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
52453     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
52454   $as_echo_n "(cached) " >&6
52455 else
52456
52457
52458       ac_ext=cpp
52459 ac_cpp='$CXXCPP $CPPFLAGS'
52460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52463
52464       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52465 /* end confdefs.h.  */
52466 #include <math.h>
52467                       #ifdef HAVE_IEEEFP_H
52468                       #include <ieeefp.h>
52469                       #endif
52470
52471 int
52472 main ()
52473 {
52474  isinff(0);
52475   ;
52476   return 0;
52477 }
52478 _ACEOF
52479 if ac_fn_cxx_try_compile "$LINENO"; then :
52480   glibcxx_cv_func_isinff_use=yes
52481 else
52482   glibcxx_cv_func_isinff_use=no
52483 fi
52484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52485       ac_ext=c
52486 ac_cpp='$CPP $CPPFLAGS'
52487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52490
52491
52492 fi
52493
52494   fi
52495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
52496 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
52497
52498   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
52499     for ac_func in isinff
52500 do :
52501   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
52502 if test "x$ac_cv_func_isinff" = x""yes; then :
52503   cat >>confdefs.h <<_ACEOF
52504 #define HAVE_ISINFF 1
52505 _ACEOF
52506
52507 fi
52508 done
52509
52510   else
52511
52512   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
52513 $as_echo_n "checking for _isinff declaration... " >&6; }
52514   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
52515     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
52516   $as_echo_n "(cached) " >&6
52517 else
52518
52519
52520       ac_ext=cpp
52521 ac_cpp='$CXXCPP $CPPFLAGS'
52522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52525
52526       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52527 /* end confdefs.h.  */
52528 #include <math.h>
52529                       #ifdef HAVE_IEEEFP_H
52530                       #include <ieeefp.h>
52531                       #endif
52532
52533 int
52534 main ()
52535 {
52536  _isinff(0);
52537   ;
52538   return 0;
52539 }
52540 _ACEOF
52541 if ac_fn_cxx_try_compile "$LINENO"; then :
52542   glibcxx_cv_func__isinff_use=yes
52543 else
52544   glibcxx_cv_func__isinff_use=no
52545 fi
52546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52547       ac_ext=c
52548 ac_cpp='$CPP $CPPFLAGS'
52549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52552
52553
52554 fi
52555
52556   fi
52557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
52558 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
52559
52560     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
52561       for ac_func in _isinff
52562 do :
52563   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
52564 if test "x$ac_cv_func__isinff" = x""yes; then :
52565   cat >>confdefs.h <<_ACEOF
52566 #define HAVE__ISINFF 1
52567 _ACEOF
52568
52569 fi
52570 done
52571
52572     fi
52573   fi
52574
52575
52576
52577
52578
52579   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
52580 $as_echo_n "checking for atan2f declaration... " >&6; }
52581   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
52582     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
52583   $as_echo_n "(cached) " >&6
52584 else
52585
52586
52587       ac_ext=cpp
52588 ac_cpp='$CXXCPP $CPPFLAGS'
52589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52592
52593       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52594 /* end confdefs.h.  */
52595 #include <math.h>
52596 int
52597 main ()
52598 {
52599  atan2f(0, 0);
52600   ;
52601   return 0;
52602 }
52603 _ACEOF
52604 if ac_fn_cxx_try_compile "$LINENO"; then :
52605   glibcxx_cv_func_atan2f_use=yes
52606 else
52607   glibcxx_cv_func_atan2f_use=no
52608 fi
52609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52610       ac_ext=c
52611 ac_cpp='$CPP $CPPFLAGS'
52612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52615
52616
52617 fi
52618
52619   fi
52620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
52621 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
52622
52623   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
52624     for ac_func in atan2f
52625 do :
52626   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
52627 if test "x$ac_cv_func_atan2f" = x""yes; then :
52628   cat >>confdefs.h <<_ACEOF
52629 #define HAVE_ATAN2F 1
52630 _ACEOF
52631
52632 fi
52633 done
52634
52635   else
52636
52637   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
52638 $as_echo_n "checking for _atan2f declaration... " >&6; }
52639   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
52640     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
52641   $as_echo_n "(cached) " >&6
52642 else
52643
52644
52645       ac_ext=cpp
52646 ac_cpp='$CXXCPP $CPPFLAGS'
52647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52650
52651       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52652 /* end confdefs.h.  */
52653 #include <math.h>
52654 int
52655 main ()
52656 {
52657  _atan2f(0, 0);
52658   ;
52659   return 0;
52660 }
52661 _ACEOF
52662 if ac_fn_cxx_try_compile "$LINENO"; then :
52663   glibcxx_cv_func__atan2f_use=yes
52664 else
52665   glibcxx_cv_func__atan2f_use=no
52666 fi
52667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52668       ac_ext=c
52669 ac_cpp='$CPP $CPPFLAGS'
52670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52673
52674
52675 fi
52676
52677   fi
52678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
52679 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
52680
52681     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
52682       for ac_func in _atan2f
52683 do :
52684   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
52685 if test "x$ac_cv_func__atan2f" = x""yes; then :
52686   cat >>confdefs.h <<_ACEOF
52687 #define HAVE__ATAN2F 1
52688 _ACEOF
52689
52690 fi
52691 done
52692
52693     fi
52694   fi
52695
52696
52697
52698
52699
52700   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
52701 $as_echo_n "checking for fabsf declaration... " >&6; }
52702   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
52703     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
52704   $as_echo_n "(cached) " >&6
52705 else
52706
52707
52708       ac_ext=cpp
52709 ac_cpp='$CXXCPP $CPPFLAGS'
52710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52713
52714       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52715 /* end confdefs.h.  */
52716 #include <math.h>
52717                       #ifdef HAVE_IEEEFP_H
52718                       #include <ieeefp.h>
52719                       #endif
52720
52721 int
52722 main ()
52723 {
52724  fabsf(0);
52725   ;
52726   return 0;
52727 }
52728 _ACEOF
52729 if ac_fn_cxx_try_compile "$LINENO"; then :
52730   glibcxx_cv_func_fabsf_use=yes
52731 else
52732   glibcxx_cv_func_fabsf_use=no
52733 fi
52734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52735       ac_ext=c
52736 ac_cpp='$CPP $CPPFLAGS'
52737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52740
52741
52742 fi
52743
52744   fi
52745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
52746 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
52747
52748   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
52749     for ac_func in fabsf
52750 do :
52751   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
52752 if test "x$ac_cv_func_fabsf" = x""yes; then :
52753   cat >>confdefs.h <<_ACEOF
52754 #define HAVE_FABSF 1
52755 _ACEOF
52756
52757 fi
52758 done
52759
52760   else
52761
52762   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
52763 $as_echo_n "checking for _fabsf declaration... " >&6; }
52764   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
52765     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
52766   $as_echo_n "(cached) " >&6
52767 else
52768
52769
52770       ac_ext=cpp
52771 ac_cpp='$CXXCPP $CPPFLAGS'
52772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52775
52776       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52777 /* end confdefs.h.  */
52778 #include <math.h>
52779                       #ifdef HAVE_IEEEFP_H
52780                       #include <ieeefp.h>
52781                       #endif
52782
52783 int
52784 main ()
52785 {
52786  _fabsf(0);
52787   ;
52788   return 0;
52789 }
52790 _ACEOF
52791 if ac_fn_cxx_try_compile "$LINENO"; then :
52792   glibcxx_cv_func__fabsf_use=yes
52793 else
52794   glibcxx_cv_func__fabsf_use=no
52795 fi
52796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52797       ac_ext=c
52798 ac_cpp='$CPP $CPPFLAGS'
52799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52802
52803
52804 fi
52805
52806   fi
52807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
52808 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
52809
52810     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
52811       for ac_func in _fabsf
52812 do :
52813   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
52814 if test "x$ac_cv_func__fabsf" = x""yes; then :
52815   cat >>confdefs.h <<_ACEOF
52816 #define HAVE__FABSF 1
52817 _ACEOF
52818
52819 fi
52820 done
52821
52822     fi
52823   fi
52824
52825
52826
52827
52828
52829   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
52830 $as_echo_n "checking for fmodf declaration... " >&6; }
52831   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
52832     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
52833   $as_echo_n "(cached) " >&6
52834 else
52835
52836
52837       ac_ext=cpp
52838 ac_cpp='$CXXCPP $CPPFLAGS'
52839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52842
52843       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52844 /* end confdefs.h.  */
52845 #include <math.h>
52846 int
52847 main ()
52848 {
52849  fmodf(0, 0);
52850   ;
52851   return 0;
52852 }
52853 _ACEOF
52854 if ac_fn_cxx_try_compile "$LINENO"; then :
52855   glibcxx_cv_func_fmodf_use=yes
52856 else
52857   glibcxx_cv_func_fmodf_use=no
52858 fi
52859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52860       ac_ext=c
52861 ac_cpp='$CPP $CPPFLAGS'
52862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52865
52866
52867 fi
52868
52869   fi
52870   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
52871 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
52872
52873   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
52874     for ac_func in fmodf
52875 do :
52876   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
52877 if test "x$ac_cv_func_fmodf" = x""yes; then :
52878   cat >>confdefs.h <<_ACEOF
52879 #define HAVE_FMODF 1
52880 _ACEOF
52881
52882 fi
52883 done
52884
52885   else
52886
52887   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
52888 $as_echo_n "checking for _fmodf declaration... " >&6; }
52889   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
52890     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
52891   $as_echo_n "(cached) " >&6
52892 else
52893
52894
52895       ac_ext=cpp
52896 ac_cpp='$CXXCPP $CPPFLAGS'
52897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52900
52901       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52902 /* end confdefs.h.  */
52903 #include <math.h>
52904 int
52905 main ()
52906 {
52907  _fmodf(0, 0);
52908   ;
52909   return 0;
52910 }
52911 _ACEOF
52912 if ac_fn_cxx_try_compile "$LINENO"; then :
52913   glibcxx_cv_func__fmodf_use=yes
52914 else
52915   glibcxx_cv_func__fmodf_use=no
52916 fi
52917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52918       ac_ext=c
52919 ac_cpp='$CPP $CPPFLAGS'
52920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52923
52924
52925 fi
52926
52927   fi
52928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
52929 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
52930
52931     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
52932       for ac_func in _fmodf
52933 do :
52934   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
52935 if test "x$ac_cv_func__fmodf" = x""yes; then :
52936   cat >>confdefs.h <<_ACEOF
52937 #define HAVE__FMODF 1
52938 _ACEOF
52939
52940 fi
52941 done
52942
52943     fi
52944   fi
52945
52946
52947
52948
52949
52950   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
52951 $as_echo_n "checking for frexpf declaration... " >&6; }
52952   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
52953     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
52954   $as_echo_n "(cached) " >&6
52955 else
52956
52957
52958       ac_ext=cpp
52959 ac_cpp='$CXXCPP $CPPFLAGS'
52960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52963
52964       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52965 /* end confdefs.h.  */
52966 #include <math.h>
52967 int
52968 main ()
52969 {
52970  frexpf(0, 0);
52971   ;
52972   return 0;
52973 }
52974 _ACEOF
52975 if ac_fn_cxx_try_compile "$LINENO"; then :
52976   glibcxx_cv_func_frexpf_use=yes
52977 else
52978   glibcxx_cv_func_frexpf_use=no
52979 fi
52980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52981       ac_ext=c
52982 ac_cpp='$CPP $CPPFLAGS'
52983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52986
52987
52988 fi
52989
52990   fi
52991   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
52992 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
52993
52994   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
52995     for ac_func in frexpf
52996 do :
52997   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
52998 if test "x$ac_cv_func_frexpf" = x""yes; then :
52999   cat >>confdefs.h <<_ACEOF
53000 #define HAVE_FREXPF 1
53001 _ACEOF
53002
53003 fi
53004 done
53005
53006   else
53007
53008   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
53009 $as_echo_n "checking for _frexpf declaration... " >&6; }
53010   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
53011     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
53012   $as_echo_n "(cached) " >&6
53013 else
53014
53015
53016       ac_ext=cpp
53017 ac_cpp='$CXXCPP $CPPFLAGS'
53018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53021
53022       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53023 /* end confdefs.h.  */
53024 #include <math.h>
53025 int
53026 main ()
53027 {
53028  _frexpf(0, 0);
53029   ;
53030   return 0;
53031 }
53032 _ACEOF
53033 if ac_fn_cxx_try_compile "$LINENO"; then :
53034   glibcxx_cv_func__frexpf_use=yes
53035 else
53036   glibcxx_cv_func__frexpf_use=no
53037 fi
53038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53039       ac_ext=c
53040 ac_cpp='$CPP $CPPFLAGS'
53041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53044
53045
53046 fi
53047
53048   fi
53049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
53050 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
53051
53052     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
53053       for ac_func in _frexpf
53054 do :
53055   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
53056 if test "x$ac_cv_func__frexpf" = x""yes; then :
53057   cat >>confdefs.h <<_ACEOF
53058 #define HAVE__FREXPF 1
53059 _ACEOF
53060
53061 fi
53062 done
53063
53064     fi
53065   fi
53066
53067
53068
53069
53070
53071   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
53072 $as_echo_n "checking for hypotf declaration... " >&6; }
53073   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
53074     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
53075   $as_echo_n "(cached) " >&6
53076 else
53077
53078
53079       ac_ext=cpp
53080 ac_cpp='$CXXCPP $CPPFLAGS'
53081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53084
53085       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53086 /* end confdefs.h.  */
53087 #include <math.h>
53088 int
53089 main ()
53090 {
53091  hypotf(0, 0);
53092   ;
53093   return 0;
53094 }
53095 _ACEOF
53096 if ac_fn_cxx_try_compile "$LINENO"; then :
53097   glibcxx_cv_func_hypotf_use=yes
53098 else
53099   glibcxx_cv_func_hypotf_use=no
53100 fi
53101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53102       ac_ext=c
53103 ac_cpp='$CPP $CPPFLAGS'
53104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53107
53108
53109 fi
53110
53111   fi
53112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
53113 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
53114
53115   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
53116     for ac_func in hypotf
53117 do :
53118   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
53119 if test "x$ac_cv_func_hypotf" = x""yes; then :
53120   cat >>confdefs.h <<_ACEOF
53121 #define HAVE_HYPOTF 1
53122 _ACEOF
53123
53124 fi
53125 done
53126
53127   else
53128
53129   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
53130 $as_echo_n "checking for _hypotf declaration... " >&6; }
53131   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
53132     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
53133   $as_echo_n "(cached) " >&6
53134 else
53135
53136
53137       ac_ext=cpp
53138 ac_cpp='$CXXCPP $CPPFLAGS'
53139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53142
53143       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53144 /* end confdefs.h.  */
53145 #include <math.h>
53146 int
53147 main ()
53148 {
53149  _hypotf(0, 0);
53150   ;
53151   return 0;
53152 }
53153 _ACEOF
53154 if ac_fn_cxx_try_compile "$LINENO"; then :
53155   glibcxx_cv_func__hypotf_use=yes
53156 else
53157   glibcxx_cv_func__hypotf_use=no
53158 fi
53159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53160       ac_ext=c
53161 ac_cpp='$CPP $CPPFLAGS'
53162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53165
53166
53167 fi
53168
53169   fi
53170   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
53171 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
53172
53173     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
53174       for ac_func in _hypotf
53175 do :
53176   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
53177 if test "x$ac_cv_func__hypotf" = x""yes; then :
53178   cat >>confdefs.h <<_ACEOF
53179 #define HAVE__HYPOTF 1
53180 _ACEOF
53181
53182 fi
53183 done
53184
53185     fi
53186   fi
53187
53188
53189
53190
53191
53192   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
53193 $as_echo_n "checking for ldexpf declaration... " >&6; }
53194   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
53195     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
53196   $as_echo_n "(cached) " >&6
53197 else
53198
53199
53200       ac_ext=cpp
53201 ac_cpp='$CXXCPP $CPPFLAGS'
53202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53205
53206       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53207 /* end confdefs.h.  */
53208 #include <math.h>
53209 int
53210 main ()
53211 {
53212  ldexpf(0, 0);
53213   ;
53214   return 0;
53215 }
53216 _ACEOF
53217 if ac_fn_cxx_try_compile "$LINENO"; then :
53218   glibcxx_cv_func_ldexpf_use=yes
53219 else
53220   glibcxx_cv_func_ldexpf_use=no
53221 fi
53222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53223       ac_ext=c
53224 ac_cpp='$CPP $CPPFLAGS'
53225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53228
53229
53230 fi
53231
53232   fi
53233   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
53234 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
53235
53236   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
53237     for ac_func in ldexpf
53238 do :
53239   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
53240 if test "x$ac_cv_func_ldexpf" = x""yes; then :
53241   cat >>confdefs.h <<_ACEOF
53242 #define HAVE_LDEXPF 1
53243 _ACEOF
53244
53245 fi
53246 done
53247
53248   else
53249
53250   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
53251 $as_echo_n "checking for _ldexpf declaration... " >&6; }
53252   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
53253     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
53254   $as_echo_n "(cached) " >&6
53255 else
53256
53257
53258       ac_ext=cpp
53259 ac_cpp='$CXXCPP $CPPFLAGS'
53260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53263
53264       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53265 /* end confdefs.h.  */
53266 #include <math.h>
53267 int
53268 main ()
53269 {
53270  _ldexpf(0, 0);
53271   ;
53272   return 0;
53273 }
53274 _ACEOF
53275 if ac_fn_cxx_try_compile "$LINENO"; then :
53276   glibcxx_cv_func__ldexpf_use=yes
53277 else
53278   glibcxx_cv_func__ldexpf_use=no
53279 fi
53280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53281       ac_ext=c
53282 ac_cpp='$CPP $CPPFLAGS'
53283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53286
53287
53288 fi
53289
53290   fi
53291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
53292 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
53293
53294     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
53295       for ac_func in _ldexpf
53296 do :
53297   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
53298 if test "x$ac_cv_func__ldexpf" = x""yes; then :
53299   cat >>confdefs.h <<_ACEOF
53300 #define HAVE__LDEXPF 1
53301 _ACEOF
53302
53303 fi
53304 done
53305
53306     fi
53307   fi
53308
53309
53310
53311
53312
53313   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
53314 $as_echo_n "checking for logf declaration... " >&6; }
53315   if test x${glibcxx_cv_func_logf_use+set} != xset; then
53316     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
53317   $as_echo_n "(cached) " >&6
53318 else
53319
53320
53321       ac_ext=cpp
53322 ac_cpp='$CXXCPP $CPPFLAGS'
53323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53326
53327       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53328 /* end confdefs.h.  */
53329 #include <math.h>
53330                       #ifdef HAVE_IEEEFP_H
53331                       #include <ieeefp.h>
53332                       #endif
53333
53334 int
53335 main ()
53336 {
53337  logf(0);
53338   ;
53339   return 0;
53340 }
53341 _ACEOF
53342 if ac_fn_cxx_try_compile "$LINENO"; then :
53343   glibcxx_cv_func_logf_use=yes
53344 else
53345   glibcxx_cv_func_logf_use=no
53346 fi
53347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53348       ac_ext=c
53349 ac_cpp='$CPP $CPPFLAGS'
53350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53353
53354
53355 fi
53356
53357   fi
53358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
53359 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
53360
53361   if test x$glibcxx_cv_func_logf_use = x"yes"; then
53362     for ac_func in logf
53363 do :
53364   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
53365 if test "x$ac_cv_func_logf" = x""yes; then :
53366   cat >>confdefs.h <<_ACEOF
53367 #define HAVE_LOGF 1
53368 _ACEOF
53369
53370 fi
53371 done
53372
53373   else
53374
53375   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
53376 $as_echo_n "checking for _logf declaration... " >&6; }
53377   if test x${glibcxx_cv_func__logf_use+set} != xset; then
53378     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
53379   $as_echo_n "(cached) " >&6
53380 else
53381
53382
53383       ac_ext=cpp
53384 ac_cpp='$CXXCPP $CPPFLAGS'
53385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53388
53389       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53390 /* end confdefs.h.  */
53391 #include <math.h>
53392                       #ifdef HAVE_IEEEFP_H
53393                       #include <ieeefp.h>
53394                       #endif
53395
53396 int
53397 main ()
53398 {
53399  _logf(0);
53400   ;
53401   return 0;
53402 }
53403 _ACEOF
53404 if ac_fn_cxx_try_compile "$LINENO"; then :
53405   glibcxx_cv_func__logf_use=yes
53406 else
53407   glibcxx_cv_func__logf_use=no
53408 fi
53409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53410       ac_ext=c
53411 ac_cpp='$CPP $CPPFLAGS'
53412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53415
53416
53417 fi
53418
53419   fi
53420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
53421 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
53422
53423     if test x$glibcxx_cv_func__logf_use = x"yes"; then
53424       for ac_func in _logf
53425 do :
53426   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
53427 if test "x$ac_cv_func__logf" = x""yes; then :
53428   cat >>confdefs.h <<_ACEOF
53429 #define HAVE__LOGF 1
53430 _ACEOF
53431
53432 fi
53433 done
53434
53435     fi
53436   fi
53437
53438
53439
53440
53441
53442   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
53443 $as_echo_n "checking for log10f declaration... " >&6; }
53444   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
53445     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
53446   $as_echo_n "(cached) " >&6
53447 else
53448
53449
53450       ac_ext=cpp
53451 ac_cpp='$CXXCPP $CPPFLAGS'
53452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53455
53456       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53457 /* end confdefs.h.  */
53458 #include <math.h>
53459                       #ifdef HAVE_IEEEFP_H
53460                       #include <ieeefp.h>
53461                       #endif
53462
53463 int
53464 main ()
53465 {
53466  log10f(0);
53467   ;
53468   return 0;
53469 }
53470 _ACEOF
53471 if ac_fn_cxx_try_compile "$LINENO"; then :
53472   glibcxx_cv_func_log10f_use=yes
53473 else
53474   glibcxx_cv_func_log10f_use=no
53475 fi
53476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53477       ac_ext=c
53478 ac_cpp='$CPP $CPPFLAGS'
53479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53482
53483
53484 fi
53485
53486   fi
53487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
53488 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
53489
53490   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
53491     for ac_func in log10f
53492 do :
53493   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
53494 if test "x$ac_cv_func_log10f" = x""yes; then :
53495   cat >>confdefs.h <<_ACEOF
53496 #define HAVE_LOG10F 1
53497 _ACEOF
53498
53499 fi
53500 done
53501
53502   else
53503
53504   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
53505 $as_echo_n "checking for _log10f declaration... " >&6; }
53506   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
53507     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
53508   $as_echo_n "(cached) " >&6
53509 else
53510
53511
53512       ac_ext=cpp
53513 ac_cpp='$CXXCPP $CPPFLAGS'
53514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53517
53518       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53519 /* end confdefs.h.  */
53520 #include <math.h>
53521                       #ifdef HAVE_IEEEFP_H
53522                       #include <ieeefp.h>
53523                       #endif
53524
53525 int
53526 main ()
53527 {
53528  _log10f(0);
53529   ;
53530   return 0;
53531 }
53532 _ACEOF
53533 if ac_fn_cxx_try_compile "$LINENO"; then :
53534   glibcxx_cv_func__log10f_use=yes
53535 else
53536   glibcxx_cv_func__log10f_use=no
53537 fi
53538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53539       ac_ext=c
53540 ac_cpp='$CPP $CPPFLAGS'
53541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53544
53545
53546 fi
53547
53548   fi
53549   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
53550 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
53551
53552     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
53553       for ac_func in _log10f
53554 do :
53555   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
53556 if test "x$ac_cv_func__log10f" = x""yes; then :
53557   cat >>confdefs.h <<_ACEOF
53558 #define HAVE__LOG10F 1
53559 _ACEOF
53560
53561 fi
53562 done
53563
53564     fi
53565   fi
53566
53567
53568
53569
53570
53571   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
53572 $as_echo_n "checking for modff declaration... " >&6; }
53573   if test x${glibcxx_cv_func_modff_use+set} != xset; then
53574     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
53575   $as_echo_n "(cached) " >&6
53576 else
53577
53578
53579       ac_ext=cpp
53580 ac_cpp='$CXXCPP $CPPFLAGS'
53581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53584
53585       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53586 /* end confdefs.h.  */
53587 #include <math.h>
53588 int
53589 main ()
53590 {
53591  modff(0, 0);
53592   ;
53593   return 0;
53594 }
53595 _ACEOF
53596 if ac_fn_cxx_try_compile "$LINENO"; then :
53597   glibcxx_cv_func_modff_use=yes
53598 else
53599   glibcxx_cv_func_modff_use=no
53600 fi
53601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53602       ac_ext=c
53603 ac_cpp='$CPP $CPPFLAGS'
53604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53607
53608
53609 fi
53610
53611   fi
53612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
53613 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
53614
53615   if test x$glibcxx_cv_func_modff_use = x"yes"; then
53616     for ac_func in modff
53617 do :
53618   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
53619 if test "x$ac_cv_func_modff" = x""yes; then :
53620   cat >>confdefs.h <<_ACEOF
53621 #define HAVE_MODFF 1
53622 _ACEOF
53623
53624 fi
53625 done
53626
53627   else
53628
53629   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
53630 $as_echo_n "checking for _modff declaration... " >&6; }
53631   if test x${glibcxx_cv_func__modff_use+set} != xset; then
53632     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
53633   $as_echo_n "(cached) " >&6
53634 else
53635
53636
53637       ac_ext=cpp
53638 ac_cpp='$CXXCPP $CPPFLAGS'
53639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53642
53643       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53644 /* end confdefs.h.  */
53645 #include <math.h>
53646 int
53647 main ()
53648 {
53649  _modff(0, 0);
53650   ;
53651   return 0;
53652 }
53653 _ACEOF
53654 if ac_fn_cxx_try_compile "$LINENO"; then :
53655   glibcxx_cv_func__modff_use=yes
53656 else
53657   glibcxx_cv_func__modff_use=no
53658 fi
53659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53660       ac_ext=c
53661 ac_cpp='$CPP $CPPFLAGS'
53662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53665
53666
53667 fi
53668
53669   fi
53670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
53671 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
53672
53673     if test x$glibcxx_cv_func__modff_use = x"yes"; then
53674       for ac_func in _modff
53675 do :
53676   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
53677 if test "x$ac_cv_func__modff" = x""yes; then :
53678   cat >>confdefs.h <<_ACEOF
53679 #define HAVE__MODFF 1
53680 _ACEOF
53681
53682 fi
53683 done
53684
53685     fi
53686   fi
53687
53688
53689
53690
53691
53692   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
53693 $as_echo_n "checking for modf declaration... " >&6; }
53694   if test x${glibcxx_cv_func_modf_use+set} != xset; then
53695     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
53696   $as_echo_n "(cached) " >&6
53697 else
53698
53699
53700       ac_ext=cpp
53701 ac_cpp='$CXXCPP $CPPFLAGS'
53702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53705
53706       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53707 /* end confdefs.h.  */
53708 #include <math.h>
53709 int
53710 main ()
53711 {
53712  modf(0, 0);
53713   ;
53714   return 0;
53715 }
53716 _ACEOF
53717 if ac_fn_cxx_try_compile "$LINENO"; then :
53718   glibcxx_cv_func_modf_use=yes
53719 else
53720   glibcxx_cv_func_modf_use=no
53721 fi
53722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53723       ac_ext=c
53724 ac_cpp='$CPP $CPPFLAGS'
53725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53728
53729
53730 fi
53731
53732   fi
53733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
53734 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
53735
53736   if test x$glibcxx_cv_func_modf_use = x"yes"; then
53737     for ac_func in modf
53738 do :
53739   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
53740 if test "x$ac_cv_func_modf" = x""yes; then :
53741   cat >>confdefs.h <<_ACEOF
53742 #define HAVE_MODF 1
53743 _ACEOF
53744
53745 fi
53746 done
53747
53748   else
53749
53750   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
53751 $as_echo_n "checking for _modf declaration... " >&6; }
53752   if test x${glibcxx_cv_func__modf_use+set} != xset; then
53753     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
53754   $as_echo_n "(cached) " >&6
53755 else
53756
53757
53758       ac_ext=cpp
53759 ac_cpp='$CXXCPP $CPPFLAGS'
53760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53763
53764       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53765 /* end confdefs.h.  */
53766 #include <math.h>
53767 int
53768 main ()
53769 {
53770  _modf(0, 0);
53771   ;
53772   return 0;
53773 }
53774 _ACEOF
53775 if ac_fn_cxx_try_compile "$LINENO"; then :
53776   glibcxx_cv_func__modf_use=yes
53777 else
53778   glibcxx_cv_func__modf_use=no
53779 fi
53780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53781       ac_ext=c
53782 ac_cpp='$CPP $CPPFLAGS'
53783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53786
53787
53788 fi
53789
53790   fi
53791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
53792 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
53793
53794     if test x$glibcxx_cv_func__modf_use = x"yes"; then
53795       for ac_func in _modf
53796 do :
53797   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
53798 if test "x$ac_cv_func__modf" = x""yes; then :
53799   cat >>confdefs.h <<_ACEOF
53800 #define HAVE__MODF 1
53801 _ACEOF
53802
53803 fi
53804 done
53805
53806     fi
53807   fi
53808
53809
53810
53811
53812
53813   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
53814 $as_echo_n "checking for powf declaration... " >&6; }
53815   if test x${glibcxx_cv_func_powf_use+set} != xset; then
53816     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
53817   $as_echo_n "(cached) " >&6
53818 else
53819
53820
53821       ac_ext=cpp
53822 ac_cpp='$CXXCPP $CPPFLAGS'
53823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53826
53827       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53828 /* end confdefs.h.  */
53829 #include <math.h>
53830 int
53831 main ()
53832 {
53833  powf(0, 0);
53834   ;
53835   return 0;
53836 }
53837 _ACEOF
53838 if ac_fn_cxx_try_compile "$LINENO"; then :
53839   glibcxx_cv_func_powf_use=yes
53840 else
53841   glibcxx_cv_func_powf_use=no
53842 fi
53843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53844       ac_ext=c
53845 ac_cpp='$CPP $CPPFLAGS'
53846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53849
53850
53851 fi
53852
53853   fi
53854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
53855 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
53856
53857   if test x$glibcxx_cv_func_powf_use = x"yes"; then
53858     for ac_func in powf
53859 do :
53860   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
53861 if test "x$ac_cv_func_powf" = x""yes; then :
53862   cat >>confdefs.h <<_ACEOF
53863 #define HAVE_POWF 1
53864 _ACEOF
53865
53866 fi
53867 done
53868
53869   else
53870
53871   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
53872 $as_echo_n "checking for _powf declaration... " >&6; }
53873   if test x${glibcxx_cv_func__powf_use+set} != xset; then
53874     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
53875   $as_echo_n "(cached) " >&6
53876 else
53877
53878
53879       ac_ext=cpp
53880 ac_cpp='$CXXCPP $CPPFLAGS'
53881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53884
53885       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53886 /* end confdefs.h.  */
53887 #include <math.h>
53888 int
53889 main ()
53890 {
53891  _powf(0, 0);
53892   ;
53893   return 0;
53894 }
53895 _ACEOF
53896 if ac_fn_cxx_try_compile "$LINENO"; then :
53897   glibcxx_cv_func__powf_use=yes
53898 else
53899   glibcxx_cv_func__powf_use=no
53900 fi
53901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53902       ac_ext=c
53903 ac_cpp='$CPP $CPPFLAGS'
53904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53907
53908
53909 fi
53910
53911   fi
53912   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
53913 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
53914
53915     if test x$glibcxx_cv_func__powf_use = x"yes"; then
53916       for ac_func in _powf
53917 do :
53918   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
53919 if test "x$ac_cv_func__powf" = x""yes; then :
53920   cat >>confdefs.h <<_ACEOF
53921 #define HAVE__POWF 1
53922 _ACEOF
53923
53924 fi
53925 done
53926
53927     fi
53928   fi
53929
53930
53931
53932
53933
53934   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
53935 $as_echo_n "checking for sqrtf declaration... " >&6; }
53936   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
53937     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
53938   $as_echo_n "(cached) " >&6
53939 else
53940
53941
53942       ac_ext=cpp
53943 ac_cpp='$CXXCPP $CPPFLAGS'
53944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53947
53948       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53949 /* end confdefs.h.  */
53950 #include <math.h>
53951                       #ifdef HAVE_IEEEFP_H
53952                       #include <ieeefp.h>
53953                       #endif
53954
53955 int
53956 main ()
53957 {
53958  sqrtf(0);
53959   ;
53960   return 0;
53961 }
53962 _ACEOF
53963 if ac_fn_cxx_try_compile "$LINENO"; then :
53964   glibcxx_cv_func_sqrtf_use=yes
53965 else
53966   glibcxx_cv_func_sqrtf_use=no
53967 fi
53968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53969       ac_ext=c
53970 ac_cpp='$CPP $CPPFLAGS'
53971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53974
53975
53976 fi
53977
53978   fi
53979   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
53980 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
53981
53982   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
53983     for ac_func in sqrtf
53984 do :
53985   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
53986 if test "x$ac_cv_func_sqrtf" = x""yes; then :
53987   cat >>confdefs.h <<_ACEOF
53988 #define HAVE_SQRTF 1
53989 _ACEOF
53990
53991 fi
53992 done
53993
53994   else
53995
53996   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
53997 $as_echo_n "checking for _sqrtf declaration... " >&6; }
53998   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
53999     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
54000   $as_echo_n "(cached) " >&6
54001 else
54002
54003
54004       ac_ext=cpp
54005 ac_cpp='$CXXCPP $CPPFLAGS'
54006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54009
54010       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54011 /* end confdefs.h.  */
54012 #include <math.h>
54013                       #ifdef HAVE_IEEEFP_H
54014                       #include <ieeefp.h>
54015                       #endif
54016
54017 int
54018 main ()
54019 {
54020  _sqrtf(0);
54021   ;
54022   return 0;
54023 }
54024 _ACEOF
54025 if ac_fn_cxx_try_compile "$LINENO"; then :
54026   glibcxx_cv_func__sqrtf_use=yes
54027 else
54028   glibcxx_cv_func__sqrtf_use=no
54029 fi
54030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54031       ac_ext=c
54032 ac_cpp='$CPP $CPPFLAGS'
54033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54036
54037
54038 fi
54039
54040   fi
54041   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
54042 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
54043
54044     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
54045       for ac_func in _sqrtf
54046 do :
54047   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
54048 if test "x$ac_cv_func__sqrtf" = x""yes; then :
54049   cat >>confdefs.h <<_ACEOF
54050 #define HAVE__SQRTF 1
54051 _ACEOF
54052
54053 fi
54054 done
54055
54056     fi
54057   fi
54058
54059
54060
54061
54062
54063   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
54064 $as_echo_n "checking for sincosf declaration... " >&6; }
54065   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
54066     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
54067   $as_echo_n "(cached) " >&6
54068 else
54069
54070
54071       ac_ext=cpp
54072 ac_cpp='$CXXCPP $CPPFLAGS'
54073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54076
54077       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54078 /* end confdefs.h.  */
54079 #include <math.h>
54080 int
54081 main ()
54082 {
54083  sincosf(0, 0, 0);
54084   ;
54085   return 0;
54086 }
54087 _ACEOF
54088 if ac_fn_cxx_try_compile "$LINENO"; then :
54089   glibcxx_cv_func_sincosf_use=yes
54090 else
54091   glibcxx_cv_func_sincosf_use=no
54092 fi
54093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54094       ac_ext=c
54095 ac_cpp='$CPP $CPPFLAGS'
54096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54099
54100
54101 fi
54102
54103   fi
54104   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
54105 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
54106
54107   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
54108     for ac_func in sincosf
54109 do :
54110   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
54111 if test "x$ac_cv_func_sincosf" = x""yes; then :
54112   cat >>confdefs.h <<_ACEOF
54113 #define HAVE_SINCOSF 1
54114 _ACEOF
54115
54116 fi
54117 done
54118
54119   else
54120
54121   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
54122 $as_echo_n "checking for _sincosf declaration... " >&6; }
54123   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54124     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
54125   $as_echo_n "(cached) " >&6
54126 else
54127
54128
54129       ac_ext=cpp
54130 ac_cpp='$CXXCPP $CPPFLAGS'
54131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54134
54135       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54136 /* end confdefs.h.  */
54137 #include <math.h>
54138 int
54139 main ()
54140 {
54141  _sincosf(0, 0, 0);
54142   ;
54143   return 0;
54144 }
54145 _ACEOF
54146 if ac_fn_cxx_try_compile "$LINENO"; then :
54147   glibcxx_cv_func__sincosf_use=yes
54148 else
54149   glibcxx_cv_func__sincosf_use=no
54150 fi
54151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54152       ac_ext=c
54153 ac_cpp='$CPP $CPPFLAGS'
54154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54157
54158
54159 fi
54160
54161   fi
54162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
54163 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
54164
54165     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
54166       for ac_func in _sincosf
54167 do :
54168   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
54169 if test "x$ac_cv_func__sincosf" = x""yes; then :
54170   cat >>confdefs.h <<_ACEOF
54171 #define HAVE__SINCOSF 1
54172 _ACEOF
54173
54174 fi
54175 done
54176
54177     fi
54178   fi
54179
54180
54181
54182
54183
54184   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
54185 $as_echo_n "checking for finitef declaration... " >&6; }
54186   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
54187     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
54188   $as_echo_n "(cached) " >&6
54189 else
54190
54191
54192       ac_ext=cpp
54193 ac_cpp='$CXXCPP $CPPFLAGS'
54194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54197
54198       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54199 /* end confdefs.h.  */
54200 #include <math.h>
54201                       #ifdef HAVE_IEEEFP_H
54202                       #include <ieeefp.h>
54203                       #endif
54204
54205 int
54206 main ()
54207 {
54208  finitef(0);
54209   ;
54210   return 0;
54211 }
54212 _ACEOF
54213 if ac_fn_cxx_try_compile "$LINENO"; then :
54214   glibcxx_cv_func_finitef_use=yes
54215 else
54216   glibcxx_cv_func_finitef_use=no
54217 fi
54218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54219       ac_ext=c
54220 ac_cpp='$CPP $CPPFLAGS'
54221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54224
54225
54226 fi
54227
54228   fi
54229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
54230 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
54231
54232   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
54233     for ac_func in finitef
54234 do :
54235   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
54236 if test "x$ac_cv_func_finitef" = x""yes; then :
54237   cat >>confdefs.h <<_ACEOF
54238 #define HAVE_FINITEF 1
54239 _ACEOF
54240
54241 fi
54242 done
54243
54244   else
54245
54246   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
54247 $as_echo_n "checking for _finitef declaration... " >&6; }
54248   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
54249     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
54250   $as_echo_n "(cached) " >&6
54251 else
54252
54253
54254       ac_ext=cpp
54255 ac_cpp='$CXXCPP $CPPFLAGS'
54256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54259
54260       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54261 /* end confdefs.h.  */
54262 #include <math.h>
54263                       #ifdef HAVE_IEEEFP_H
54264                       #include <ieeefp.h>
54265                       #endif
54266
54267 int
54268 main ()
54269 {
54270  _finitef(0);
54271   ;
54272   return 0;
54273 }
54274 _ACEOF
54275 if ac_fn_cxx_try_compile "$LINENO"; then :
54276   glibcxx_cv_func__finitef_use=yes
54277 else
54278   glibcxx_cv_func__finitef_use=no
54279 fi
54280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54281       ac_ext=c
54282 ac_cpp='$CPP $CPPFLAGS'
54283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54286
54287
54288 fi
54289
54290   fi
54291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
54292 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
54293
54294     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
54295       for ac_func in _finitef
54296 do :
54297   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
54298 if test "x$ac_cv_func__finitef" = x""yes; then :
54299   cat >>confdefs.h <<_ACEOF
54300 #define HAVE__FINITEF 1
54301 _ACEOF
54302
54303 fi
54304 done
54305
54306     fi
54307   fi
54308
54309
54310
54311
54312
54313     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
54314 $as_echo_n "checking for long double trig functions... " >&6; }
54315   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
54316   $as_echo_n "(cached) " >&6
54317 else
54318
54319
54320     ac_ext=cpp
54321 ac_cpp='$CXXCPP $CPPFLAGS'
54322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54325
54326     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54327 /* end confdefs.h.  */
54328 #include <math.h>
54329 int
54330 main ()
54331 {
54332 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
54333   ;
54334   return 0;
54335 }
54336 _ACEOF
54337 if ac_fn_cxx_try_compile "$LINENO"; then :
54338   glibcxx_cv_func_long_double_trig_use=yes
54339 else
54340   glibcxx_cv_func_long_double_trig_use=no
54341 fi
54342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54343     ac_ext=c
54344 ac_cpp='$CPP $CPPFLAGS'
54345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54348
54349 fi
54350
54351   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
54352 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
54353   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
54354     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
54355 do :
54356   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54357 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54358 eval as_val=\$$as_ac_var
54359    if test "x$as_val" = x""yes; then :
54360   cat >>confdefs.h <<_ACEOF
54361 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54362 _ACEOF
54363
54364 fi
54365 done
54366
54367   else
54368     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
54369 $as_echo_n "checking for _long double trig functions... " >&6; }
54370     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
54371   $as_echo_n "(cached) " >&6
54372 else
54373
54374
54375       ac_ext=cpp
54376 ac_cpp='$CXXCPP $CPPFLAGS'
54377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54380
54381       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54382 /* end confdefs.h.  */
54383 #include <math.h>
54384 int
54385 main ()
54386 {
54387 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
54388   ;
54389   return 0;
54390 }
54391 _ACEOF
54392 if ac_fn_cxx_try_compile "$LINENO"; then :
54393   glibcxx_cv_func__long_double_trig_use=yes
54394 else
54395   glibcxx_cv_func__long_double_trig_use=no
54396 fi
54397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54398       ac_ext=c
54399 ac_cpp='$CPP $CPPFLAGS'
54400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54403
54404 fi
54405
54406     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
54407 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
54408     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
54409       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
54410 do :
54411   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54412 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54413 eval as_val=\$$as_ac_var
54414    if test "x$as_val" = x""yes; then :
54415   cat >>confdefs.h <<_ACEOF
54416 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54417 _ACEOF
54418
54419 fi
54420 done
54421
54422     fi
54423   fi
54424
54425
54426
54427
54428
54429     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
54430 $as_echo_n "checking for long double round functions... " >&6; }
54431   if test "${glibcxx_cv_func_long_double_round_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 int
54446 main ()
54447 {
54448 ceill (0); floorl (0);
54449   ;
54450   return 0;
54451 }
54452 _ACEOF
54453 if ac_fn_cxx_try_compile "$LINENO"; then :
54454   glibcxx_cv_func_long_double_round_use=yes
54455 else
54456   glibcxx_cv_func_long_double_round_use=no
54457 fi
54458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54459     ac_ext=c
54460 ac_cpp='$CPP $CPPFLAGS'
54461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54464
54465 fi
54466
54467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
54468 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
54469   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
54470     for ac_func in ceill floorl
54471 do :
54472   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54473 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54474 eval as_val=\$$as_ac_var
54475    if test "x$as_val" = x""yes; then :
54476   cat >>confdefs.h <<_ACEOF
54477 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54478 _ACEOF
54479
54480 fi
54481 done
54482
54483   else
54484     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
54485 $as_echo_n "checking for _long double round functions... " >&6; }
54486     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
54487   $as_echo_n "(cached) " >&6
54488 else
54489
54490
54491       ac_ext=cpp
54492 ac_cpp='$CXXCPP $CPPFLAGS'
54493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54496
54497       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54498 /* end confdefs.h.  */
54499 #include <math.h>
54500 int
54501 main ()
54502 {
54503 _ceill (0); _floorl (0);
54504   ;
54505   return 0;
54506 }
54507 _ACEOF
54508 if ac_fn_cxx_try_compile "$LINENO"; then :
54509   glibcxx_cv_func__long_double_round_use=yes
54510 else
54511   glibcxx_cv_func__long_double_round_use=no
54512 fi
54513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54514       ac_ext=c
54515 ac_cpp='$CPP $CPPFLAGS'
54516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54519
54520 fi
54521
54522     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
54523 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
54524     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
54525       for ac_func in _ceill _floorl
54526 do :
54527   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54528 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54529 eval as_val=\$$as_ac_var
54530    if test "x$as_val" = x""yes; then :
54531   cat >>confdefs.h <<_ACEOF
54532 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54533 _ACEOF
54534
54535 fi
54536 done
54537
54538     fi
54539   fi
54540
54541
54542
54543
54544
54545
54546   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
54547 $as_echo_n "checking for isnanl declaration... " >&6; }
54548   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
54549     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
54550   $as_echo_n "(cached) " >&6
54551 else
54552
54553
54554       ac_ext=cpp
54555 ac_cpp='$CXXCPP $CPPFLAGS'
54556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54559
54560       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54561 /* end confdefs.h.  */
54562 #include <math.h>
54563                       #ifdef HAVE_IEEEFP_H
54564                       #include <ieeefp.h>
54565                       #endif
54566
54567 int
54568 main ()
54569 {
54570  isnanl(0);
54571   ;
54572   return 0;
54573 }
54574 _ACEOF
54575 if ac_fn_cxx_try_compile "$LINENO"; then :
54576   glibcxx_cv_func_isnanl_use=yes
54577 else
54578   glibcxx_cv_func_isnanl_use=no
54579 fi
54580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54581       ac_ext=c
54582 ac_cpp='$CPP $CPPFLAGS'
54583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54586
54587
54588 fi
54589
54590   fi
54591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
54592 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
54593
54594   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
54595     for ac_func in isnanl
54596 do :
54597   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
54598 if test "x$ac_cv_func_isnanl" = x""yes; then :
54599   cat >>confdefs.h <<_ACEOF
54600 #define HAVE_ISNANL 1
54601 _ACEOF
54602
54603 fi
54604 done
54605
54606   else
54607
54608   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
54609 $as_echo_n "checking for _isnanl declaration... " >&6; }
54610   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
54611     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
54612   $as_echo_n "(cached) " >&6
54613 else
54614
54615
54616       ac_ext=cpp
54617 ac_cpp='$CXXCPP $CPPFLAGS'
54618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54621
54622       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54623 /* end confdefs.h.  */
54624 #include <math.h>
54625                       #ifdef HAVE_IEEEFP_H
54626                       #include <ieeefp.h>
54627                       #endif
54628
54629 int
54630 main ()
54631 {
54632  _isnanl(0);
54633   ;
54634   return 0;
54635 }
54636 _ACEOF
54637 if ac_fn_cxx_try_compile "$LINENO"; then :
54638   glibcxx_cv_func__isnanl_use=yes
54639 else
54640   glibcxx_cv_func__isnanl_use=no
54641 fi
54642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54643       ac_ext=c
54644 ac_cpp='$CPP $CPPFLAGS'
54645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54648
54649
54650 fi
54651
54652   fi
54653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
54654 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
54655
54656     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
54657       for ac_func in _isnanl
54658 do :
54659   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
54660 if test "x$ac_cv_func__isnanl" = x""yes; then :
54661   cat >>confdefs.h <<_ACEOF
54662 #define HAVE__ISNANL 1
54663 _ACEOF
54664
54665 fi
54666 done
54667
54668     fi
54669   fi
54670
54671
54672
54673
54674
54675   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
54676 $as_echo_n "checking for isinfl declaration... " >&6; }
54677   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
54678     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
54679   $as_echo_n "(cached) " >&6
54680 else
54681
54682
54683       ac_ext=cpp
54684 ac_cpp='$CXXCPP $CPPFLAGS'
54685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54688
54689       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54690 /* end confdefs.h.  */
54691 #include <math.h>
54692                       #ifdef HAVE_IEEEFP_H
54693                       #include <ieeefp.h>
54694                       #endif
54695
54696 int
54697 main ()
54698 {
54699  isinfl(0);
54700   ;
54701   return 0;
54702 }
54703 _ACEOF
54704 if ac_fn_cxx_try_compile "$LINENO"; then :
54705   glibcxx_cv_func_isinfl_use=yes
54706 else
54707   glibcxx_cv_func_isinfl_use=no
54708 fi
54709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54710       ac_ext=c
54711 ac_cpp='$CPP $CPPFLAGS'
54712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54715
54716
54717 fi
54718
54719   fi
54720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
54721 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
54722
54723   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
54724     for ac_func in isinfl
54725 do :
54726   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
54727 if test "x$ac_cv_func_isinfl" = x""yes; then :
54728   cat >>confdefs.h <<_ACEOF
54729 #define HAVE_ISINFL 1
54730 _ACEOF
54731
54732 fi
54733 done
54734
54735   else
54736
54737   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
54738 $as_echo_n "checking for _isinfl declaration... " >&6; }
54739   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
54740     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
54741   $as_echo_n "(cached) " >&6
54742 else
54743
54744
54745       ac_ext=cpp
54746 ac_cpp='$CXXCPP $CPPFLAGS'
54747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54750
54751       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54752 /* end confdefs.h.  */
54753 #include <math.h>
54754                       #ifdef HAVE_IEEEFP_H
54755                       #include <ieeefp.h>
54756                       #endif
54757
54758 int
54759 main ()
54760 {
54761  _isinfl(0);
54762   ;
54763   return 0;
54764 }
54765 _ACEOF
54766 if ac_fn_cxx_try_compile "$LINENO"; then :
54767   glibcxx_cv_func__isinfl_use=yes
54768 else
54769   glibcxx_cv_func__isinfl_use=no
54770 fi
54771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54772       ac_ext=c
54773 ac_cpp='$CPP $CPPFLAGS'
54774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54777
54778
54779 fi
54780
54781   fi
54782   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
54783 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
54784
54785     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
54786       for ac_func in _isinfl
54787 do :
54788   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
54789 if test "x$ac_cv_func__isinfl" = x""yes; then :
54790   cat >>confdefs.h <<_ACEOF
54791 #define HAVE__ISINFL 1
54792 _ACEOF
54793
54794 fi
54795 done
54796
54797     fi
54798   fi
54799
54800
54801
54802
54803
54804   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
54805 $as_echo_n "checking for atan2l declaration... " >&6; }
54806   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
54807     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
54808   $as_echo_n "(cached) " >&6
54809 else
54810
54811
54812       ac_ext=cpp
54813 ac_cpp='$CXXCPP $CPPFLAGS'
54814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54817
54818       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54819 /* end confdefs.h.  */
54820 #include <math.h>
54821 int
54822 main ()
54823 {
54824  atan2l(0, 0);
54825   ;
54826   return 0;
54827 }
54828 _ACEOF
54829 if ac_fn_cxx_try_compile "$LINENO"; then :
54830   glibcxx_cv_func_atan2l_use=yes
54831 else
54832   glibcxx_cv_func_atan2l_use=no
54833 fi
54834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54835       ac_ext=c
54836 ac_cpp='$CPP $CPPFLAGS'
54837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54840
54841
54842 fi
54843
54844   fi
54845   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
54846 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
54847
54848   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
54849     for ac_func in atan2l
54850 do :
54851   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
54852 if test "x$ac_cv_func_atan2l" = x""yes; then :
54853   cat >>confdefs.h <<_ACEOF
54854 #define HAVE_ATAN2L 1
54855 _ACEOF
54856
54857 fi
54858 done
54859
54860   else
54861
54862   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
54863 $as_echo_n "checking for _atan2l declaration... " >&6; }
54864   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
54865     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
54866   $as_echo_n "(cached) " >&6
54867 else
54868
54869
54870       ac_ext=cpp
54871 ac_cpp='$CXXCPP $CPPFLAGS'
54872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54875
54876       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54877 /* end confdefs.h.  */
54878 #include <math.h>
54879 int
54880 main ()
54881 {
54882  _atan2l(0, 0);
54883   ;
54884   return 0;
54885 }
54886 _ACEOF
54887 if ac_fn_cxx_try_compile "$LINENO"; then :
54888   glibcxx_cv_func__atan2l_use=yes
54889 else
54890   glibcxx_cv_func__atan2l_use=no
54891 fi
54892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54893       ac_ext=c
54894 ac_cpp='$CPP $CPPFLAGS'
54895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54898
54899
54900 fi
54901
54902   fi
54903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
54904 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
54905
54906     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
54907       for ac_func in _atan2l
54908 do :
54909   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
54910 if test "x$ac_cv_func__atan2l" = x""yes; then :
54911   cat >>confdefs.h <<_ACEOF
54912 #define HAVE__ATAN2L 1
54913 _ACEOF
54914
54915 fi
54916 done
54917
54918     fi
54919   fi
54920
54921
54922
54923
54924
54925   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
54926 $as_echo_n "checking for expl declaration... " >&6; }
54927   if test x${glibcxx_cv_func_expl_use+set} != xset; then
54928     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
54929   $as_echo_n "(cached) " >&6
54930 else
54931
54932
54933       ac_ext=cpp
54934 ac_cpp='$CXXCPP $CPPFLAGS'
54935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54938
54939       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54940 /* end confdefs.h.  */
54941 #include <math.h>
54942                       #ifdef HAVE_IEEEFP_H
54943                       #include <ieeefp.h>
54944                       #endif
54945
54946 int
54947 main ()
54948 {
54949  expl(0);
54950   ;
54951   return 0;
54952 }
54953 _ACEOF
54954 if ac_fn_cxx_try_compile "$LINENO"; then :
54955   glibcxx_cv_func_expl_use=yes
54956 else
54957   glibcxx_cv_func_expl_use=no
54958 fi
54959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54960       ac_ext=c
54961 ac_cpp='$CPP $CPPFLAGS'
54962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54965
54966
54967 fi
54968
54969   fi
54970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
54971 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
54972
54973   if test x$glibcxx_cv_func_expl_use = x"yes"; then
54974     for ac_func in expl
54975 do :
54976   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
54977 if test "x$ac_cv_func_expl" = x""yes; then :
54978   cat >>confdefs.h <<_ACEOF
54979 #define HAVE_EXPL 1
54980 _ACEOF
54981
54982 fi
54983 done
54984
54985   else
54986
54987   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
54988 $as_echo_n "checking for _expl declaration... " >&6; }
54989   if test x${glibcxx_cv_func__expl_use+set} != xset; then
54990     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
54991   $as_echo_n "(cached) " >&6
54992 else
54993
54994
54995       ac_ext=cpp
54996 ac_cpp='$CXXCPP $CPPFLAGS'
54997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55000
55001       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55002 /* end confdefs.h.  */
55003 #include <math.h>
55004                       #ifdef HAVE_IEEEFP_H
55005                       #include <ieeefp.h>
55006                       #endif
55007
55008 int
55009 main ()
55010 {
55011  _expl(0);
55012   ;
55013   return 0;
55014 }
55015 _ACEOF
55016 if ac_fn_cxx_try_compile "$LINENO"; then :
55017   glibcxx_cv_func__expl_use=yes
55018 else
55019   glibcxx_cv_func__expl_use=no
55020 fi
55021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55022       ac_ext=c
55023 ac_cpp='$CPP $CPPFLAGS'
55024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55027
55028
55029 fi
55030
55031   fi
55032   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
55033 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
55034
55035     if test x$glibcxx_cv_func__expl_use = x"yes"; then
55036       for ac_func in _expl
55037 do :
55038   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
55039 if test "x$ac_cv_func__expl" = x""yes; then :
55040   cat >>confdefs.h <<_ACEOF
55041 #define HAVE__EXPL 1
55042 _ACEOF
55043
55044 fi
55045 done
55046
55047     fi
55048   fi
55049
55050
55051
55052
55053
55054   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
55055 $as_echo_n "checking for fabsl declaration... " >&6; }
55056   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
55057     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
55058   $as_echo_n "(cached) " >&6
55059 else
55060
55061
55062       ac_ext=cpp
55063 ac_cpp='$CXXCPP $CPPFLAGS'
55064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55067
55068       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55069 /* end confdefs.h.  */
55070 #include <math.h>
55071                       #ifdef HAVE_IEEEFP_H
55072                       #include <ieeefp.h>
55073                       #endif
55074
55075 int
55076 main ()
55077 {
55078  fabsl(0);
55079   ;
55080   return 0;
55081 }
55082 _ACEOF
55083 if ac_fn_cxx_try_compile "$LINENO"; then :
55084   glibcxx_cv_func_fabsl_use=yes
55085 else
55086   glibcxx_cv_func_fabsl_use=no
55087 fi
55088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55089       ac_ext=c
55090 ac_cpp='$CPP $CPPFLAGS'
55091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55094
55095
55096 fi
55097
55098   fi
55099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
55100 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
55101
55102   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55103     for ac_func in fabsl
55104 do :
55105   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
55106 if test "x$ac_cv_func_fabsl" = x""yes; then :
55107   cat >>confdefs.h <<_ACEOF
55108 #define HAVE_FABSL 1
55109 _ACEOF
55110
55111 fi
55112 done
55113
55114   else
55115
55116   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
55117 $as_echo_n "checking for _fabsl declaration... " >&6; }
55118   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55119     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
55120   $as_echo_n "(cached) " >&6
55121 else
55122
55123
55124       ac_ext=cpp
55125 ac_cpp='$CXXCPP $CPPFLAGS'
55126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55129
55130       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55131 /* end confdefs.h.  */
55132 #include <math.h>
55133                       #ifdef HAVE_IEEEFP_H
55134                       #include <ieeefp.h>
55135                       #endif
55136
55137 int
55138 main ()
55139 {
55140  _fabsl(0);
55141   ;
55142   return 0;
55143 }
55144 _ACEOF
55145 if ac_fn_cxx_try_compile "$LINENO"; then :
55146   glibcxx_cv_func__fabsl_use=yes
55147 else
55148   glibcxx_cv_func__fabsl_use=no
55149 fi
55150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55151       ac_ext=c
55152 ac_cpp='$CPP $CPPFLAGS'
55153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55156
55157
55158 fi
55159
55160   fi
55161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
55162 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
55163
55164     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
55165       for ac_func in _fabsl
55166 do :
55167   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
55168 if test "x$ac_cv_func__fabsl" = x""yes; then :
55169   cat >>confdefs.h <<_ACEOF
55170 #define HAVE__FABSL 1
55171 _ACEOF
55172
55173 fi
55174 done
55175
55176     fi
55177   fi
55178
55179
55180
55181
55182
55183   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
55184 $as_echo_n "checking for fmodl declaration... " >&6; }
55185   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
55186     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
55187   $as_echo_n "(cached) " >&6
55188 else
55189
55190
55191       ac_ext=cpp
55192 ac_cpp='$CXXCPP $CPPFLAGS'
55193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55196
55197       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55198 /* end confdefs.h.  */
55199 #include <math.h>
55200 int
55201 main ()
55202 {
55203  fmodl(0, 0);
55204   ;
55205   return 0;
55206 }
55207 _ACEOF
55208 if ac_fn_cxx_try_compile "$LINENO"; then :
55209   glibcxx_cv_func_fmodl_use=yes
55210 else
55211   glibcxx_cv_func_fmodl_use=no
55212 fi
55213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55214       ac_ext=c
55215 ac_cpp='$CPP $CPPFLAGS'
55216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55219
55220
55221 fi
55222
55223   fi
55224   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
55225 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
55226
55227   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
55228     for ac_func in fmodl
55229 do :
55230   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
55231 if test "x$ac_cv_func_fmodl" = x""yes; then :
55232   cat >>confdefs.h <<_ACEOF
55233 #define HAVE_FMODL 1
55234 _ACEOF
55235
55236 fi
55237 done
55238
55239   else
55240
55241   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
55242 $as_echo_n "checking for _fmodl declaration... " >&6; }
55243   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
55244     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
55245   $as_echo_n "(cached) " >&6
55246 else
55247
55248
55249       ac_ext=cpp
55250 ac_cpp='$CXXCPP $CPPFLAGS'
55251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55254
55255       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55256 /* end confdefs.h.  */
55257 #include <math.h>
55258 int
55259 main ()
55260 {
55261  _fmodl(0, 0);
55262   ;
55263   return 0;
55264 }
55265 _ACEOF
55266 if ac_fn_cxx_try_compile "$LINENO"; then :
55267   glibcxx_cv_func__fmodl_use=yes
55268 else
55269   glibcxx_cv_func__fmodl_use=no
55270 fi
55271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55272       ac_ext=c
55273 ac_cpp='$CPP $CPPFLAGS'
55274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55277
55278
55279 fi
55280
55281   fi
55282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
55283 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
55284
55285     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
55286       for ac_func in _fmodl
55287 do :
55288   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
55289 if test "x$ac_cv_func__fmodl" = x""yes; then :
55290   cat >>confdefs.h <<_ACEOF
55291 #define HAVE__FMODL 1
55292 _ACEOF
55293
55294 fi
55295 done
55296
55297     fi
55298   fi
55299
55300
55301
55302
55303
55304   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
55305 $as_echo_n "checking for frexpl declaration... " >&6; }
55306   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
55307     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
55308   $as_echo_n "(cached) " >&6
55309 else
55310
55311
55312       ac_ext=cpp
55313 ac_cpp='$CXXCPP $CPPFLAGS'
55314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55317
55318       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55319 /* end confdefs.h.  */
55320 #include <math.h>
55321 int
55322 main ()
55323 {
55324  frexpl(0, 0);
55325   ;
55326   return 0;
55327 }
55328 _ACEOF
55329 if ac_fn_cxx_try_compile "$LINENO"; then :
55330   glibcxx_cv_func_frexpl_use=yes
55331 else
55332   glibcxx_cv_func_frexpl_use=no
55333 fi
55334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55335       ac_ext=c
55336 ac_cpp='$CPP $CPPFLAGS'
55337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55340
55341
55342 fi
55343
55344   fi
55345   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
55346 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
55347
55348   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
55349     for ac_func in frexpl
55350 do :
55351   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
55352 if test "x$ac_cv_func_frexpl" = x""yes; then :
55353   cat >>confdefs.h <<_ACEOF
55354 #define HAVE_FREXPL 1
55355 _ACEOF
55356
55357 fi
55358 done
55359
55360   else
55361
55362   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
55363 $as_echo_n "checking for _frexpl declaration... " >&6; }
55364   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
55365     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
55366   $as_echo_n "(cached) " >&6
55367 else
55368
55369
55370       ac_ext=cpp
55371 ac_cpp='$CXXCPP $CPPFLAGS'
55372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55375
55376       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55377 /* end confdefs.h.  */
55378 #include <math.h>
55379 int
55380 main ()
55381 {
55382  _frexpl(0, 0);
55383   ;
55384   return 0;
55385 }
55386 _ACEOF
55387 if ac_fn_cxx_try_compile "$LINENO"; then :
55388   glibcxx_cv_func__frexpl_use=yes
55389 else
55390   glibcxx_cv_func__frexpl_use=no
55391 fi
55392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55393       ac_ext=c
55394 ac_cpp='$CPP $CPPFLAGS'
55395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55398
55399
55400 fi
55401
55402   fi
55403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
55404 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
55405
55406     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
55407       for ac_func in _frexpl
55408 do :
55409   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
55410 if test "x$ac_cv_func__frexpl" = x""yes; then :
55411   cat >>confdefs.h <<_ACEOF
55412 #define HAVE__FREXPL 1
55413 _ACEOF
55414
55415 fi
55416 done
55417
55418     fi
55419   fi
55420
55421
55422
55423
55424
55425   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
55426 $as_echo_n "checking for hypotl declaration... " >&6; }
55427   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
55428     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
55429   $as_echo_n "(cached) " >&6
55430 else
55431
55432
55433       ac_ext=cpp
55434 ac_cpp='$CXXCPP $CPPFLAGS'
55435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55438
55439       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55440 /* end confdefs.h.  */
55441 #include <math.h>
55442 int
55443 main ()
55444 {
55445  hypotl(0, 0);
55446   ;
55447   return 0;
55448 }
55449 _ACEOF
55450 if ac_fn_cxx_try_compile "$LINENO"; then :
55451   glibcxx_cv_func_hypotl_use=yes
55452 else
55453   glibcxx_cv_func_hypotl_use=no
55454 fi
55455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55456       ac_ext=c
55457 ac_cpp='$CPP $CPPFLAGS'
55458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55461
55462
55463 fi
55464
55465   fi
55466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
55467 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
55468
55469   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
55470     for ac_func in hypotl
55471 do :
55472   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
55473 if test "x$ac_cv_func_hypotl" = x""yes; then :
55474   cat >>confdefs.h <<_ACEOF
55475 #define HAVE_HYPOTL 1
55476 _ACEOF
55477
55478 fi
55479 done
55480
55481   else
55482
55483   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
55484 $as_echo_n "checking for _hypotl declaration... " >&6; }
55485   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
55486     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
55487   $as_echo_n "(cached) " >&6
55488 else
55489
55490
55491       ac_ext=cpp
55492 ac_cpp='$CXXCPP $CPPFLAGS'
55493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55496
55497       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55498 /* end confdefs.h.  */
55499 #include <math.h>
55500 int
55501 main ()
55502 {
55503  _hypotl(0, 0);
55504   ;
55505   return 0;
55506 }
55507 _ACEOF
55508 if ac_fn_cxx_try_compile "$LINENO"; then :
55509   glibcxx_cv_func__hypotl_use=yes
55510 else
55511   glibcxx_cv_func__hypotl_use=no
55512 fi
55513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55514       ac_ext=c
55515 ac_cpp='$CPP $CPPFLAGS'
55516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55519
55520
55521 fi
55522
55523   fi
55524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
55525 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
55526
55527     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
55528       for ac_func in _hypotl
55529 do :
55530   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
55531 if test "x$ac_cv_func__hypotl" = x""yes; then :
55532   cat >>confdefs.h <<_ACEOF
55533 #define HAVE__HYPOTL 1
55534 _ACEOF
55535
55536 fi
55537 done
55538
55539     fi
55540   fi
55541
55542
55543
55544
55545
55546   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
55547 $as_echo_n "checking for ldexpl declaration... " >&6; }
55548   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
55549     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
55550   $as_echo_n "(cached) " >&6
55551 else
55552
55553
55554       ac_ext=cpp
55555 ac_cpp='$CXXCPP $CPPFLAGS'
55556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55559
55560       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55561 /* end confdefs.h.  */
55562 #include <math.h>
55563 int
55564 main ()
55565 {
55566  ldexpl(0, 0);
55567   ;
55568   return 0;
55569 }
55570 _ACEOF
55571 if ac_fn_cxx_try_compile "$LINENO"; then :
55572   glibcxx_cv_func_ldexpl_use=yes
55573 else
55574   glibcxx_cv_func_ldexpl_use=no
55575 fi
55576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55577       ac_ext=c
55578 ac_cpp='$CPP $CPPFLAGS'
55579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55582
55583
55584 fi
55585
55586   fi
55587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
55588 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
55589
55590   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
55591     for ac_func in ldexpl
55592 do :
55593   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
55594 if test "x$ac_cv_func_ldexpl" = x""yes; then :
55595   cat >>confdefs.h <<_ACEOF
55596 #define HAVE_LDEXPL 1
55597 _ACEOF
55598
55599 fi
55600 done
55601
55602   else
55603
55604   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
55605 $as_echo_n "checking for _ldexpl declaration... " >&6; }
55606   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
55607     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
55608   $as_echo_n "(cached) " >&6
55609 else
55610
55611
55612       ac_ext=cpp
55613 ac_cpp='$CXXCPP $CPPFLAGS'
55614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55617
55618       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55619 /* end confdefs.h.  */
55620 #include <math.h>
55621 int
55622 main ()
55623 {
55624  _ldexpl(0, 0);
55625   ;
55626   return 0;
55627 }
55628 _ACEOF
55629 if ac_fn_cxx_try_compile "$LINENO"; then :
55630   glibcxx_cv_func__ldexpl_use=yes
55631 else
55632   glibcxx_cv_func__ldexpl_use=no
55633 fi
55634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55635       ac_ext=c
55636 ac_cpp='$CPP $CPPFLAGS'
55637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55640
55641
55642 fi
55643
55644   fi
55645   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
55646 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
55647
55648     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
55649       for ac_func in _ldexpl
55650 do :
55651   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
55652 if test "x$ac_cv_func__ldexpl" = x""yes; then :
55653   cat >>confdefs.h <<_ACEOF
55654 #define HAVE__LDEXPL 1
55655 _ACEOF
55656
55657 fi
55658 done
55659
55660     fi
55661   fi
55662
55663
55664
55665
55666
55667   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
55668 $as_echo_n "checking for logl declaration... " >&6; }
55669   if test x${glibcxx_cv_func_logl_use+set} != xset; then
55670     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
55671   $as_echo_n "(cached) " >&6
55672 else
55673
55674
55675       ac_ext=cpp
55676 ac_cpp='$CXXCPP $CPPFLAGS'
55677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55680
55681       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55682 /* end confdefs.h.  */
55683 #include <math.h>
55684                       #ifdef HAVE_IEEEFP_H
55685                       #include <ieeefp.h>
55686                       #endif
55687
55688 int
55689 main ()
55690 {
55691  logl(0);
55692   ;
55693   return 0;
55694 }
55695 _ACEOF
55696 if ac_fn_cxx_try_compile "$LINENO"; then :
55697   glibcxx_cv_func_logl_use=yes
55698 else
55699   glibcxx_cv_func_logl_use=no
55700 fi
55701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55702       ac_ext=c
55703 ac_cpp='$CPP $CPPFLAGS'
55704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55707
55708
55709 fi
55710
55711   fi
55712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
55713 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
55714
55715   if test x$glibcxx_cv_func_logl_use = x"yes"; then
55716     for ac_func in logl
55717 do :
55718   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
55719 if test "x$ac_cv_func_logl" = x""yes; then :
55720   cat >>confdefs.h <<_ACEOF
55721 #define HAVE_LOGL 1
55722 _ACEOF
55723
55724 fi
55725 done
55726
55727   else
55728
55729   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
55730 $as_echo_n "checking for _logl declaration... " >&6; }
55731   if test x${glibcxx_cv_func__logl_use+set} != xset; then
55732     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
55733   $as_echo_n "(cached) " >&6
55734 else
55735
55736
55737       ac_ext=cpp
55738 ac_cpp='$CXXCPP $CPPFLAGS'
55739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55742
55743       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55744 /* end confdefs.h.  */
55745 #include <math.h>
55746                       #ifdef HAVE_IEEEFP_H
55747                       #include <ieeefp.h>
55748                       #endif
55749
55750 int
55751 main ()
55752 {
55753  _logl(0);
55754   ;
55755   return 0;
55756 }
55757 _ACEOF
55758 if ac_fn_cxx_try_compile "$LINENO"; then :
55759   glibcxx_cv_func__logl_use=yes
55760 else
55761   glibcxx_cv_func__logl_use=no
55762 fi
55763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55764       ac_ext=c
55765 ac_cpp='$CPP $CPPFLAGS'
55766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55769
55770
55771 fi
55772
55773   fi
55774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
55775 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
55776
55777     if test x$glibcxx_cv_func__logl_use = x"yes"; then
55778       for ac_func in _logl
55779 do :
55780   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
55781 if test "x$ac_cv_func__logl" = x""yes; then :
55782   cat >>confdefs.h <<_ACEOF
55783 #define HAVE__LOGL 1
55784 _ACEOF
55785
55786 fi
55787 done
55788
55789     fi
55790   fi
55791
55792
55793
55794
55795
55796   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
55797 $as_echo_n "checking for log10l declaration... " >&6; }
55798   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
55799     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
55800   $as_echo_n "(cached) " >&6
55801 else
55802
55803
55804       ac_ext=cpp
55805 ac_cpp='$CXXCPP $CPPFLAGS'
55806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55809
55810       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55811 /* end confdefs.h.  */
55812 #include <math.h>
55813                       #ifdef HAVE_IEEEFP_H
55814                       #include <ieeefp.h>
55815                       #endif
55816
55817 int
55818 main ()
55819 {
55820  log10l(0);
55821   ;
55822   return 0;
55823 }
55824 _ACEOF
55825 if ac_fn_cxx_try_compile "$LINENO"; then :
55826   glibcxx_cv_func_log10l_use=yes
55827 else
55828   glibcxx_cv_func_log10l_use=no
55829 fi
55830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55831       ac_ext=c
55832 ac_cpp='$CPP $CPPFLAGS'
55833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55836
55837
55838 fi
55839
55840   fi
55841   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
55842 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
55843
55844   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
55845     for ac_func in log10l
55846 do :
55847   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
55848 if test "x$ac_cv_func_log10l" = x""yes; then :
55849   cat >>confdefs.h <<_ACEOF
55850 #define HAVE_LOG10L 1
55851 _ACEOF
55852
55853 fi
55854 done
55855
55856   else
55857
55858   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
55859 $as_echo_n "checking for _log10l declaration... " >&6; }
55860   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
55861     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
55862   $as_echo_n "(cached) " >&6
55863 else
55864
55865
55866       ac_ext=cpp
55867 ac_cpp='$CXXCPP $CPPFLAGS'
55868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55871
55872       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55873 /* end confdefs.h.  */
55874 #include <math.h>
55875                       #ifdef HAVE_IEEEFP_H
55876                       #include <ieeefp.h>
55877                       #endif
55878
55879 int
55880 main ()
55881 {
55882  _log10l(0);
55883   ;
55884   return 0;
55885 }
55886 _ACEOF
55887 if ac_fn_cxx_try_compile "$LINENO"; then :
55888   glibcxx_cv_func__log10l_use=yes
55889 else
55890   glibcxx_cv_func__log10l_use=no
55891 fi
55892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55893       ac_ext=c
55894 ac_cpp='$CPP $CPPFLAGS'
55895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55898
55899
55900 fi
55901
55902   fi
55903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
55904 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
55905
55906     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
55907       for ac_func in _log10l
55908 do :
55909   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
55910 if test "x$ac_cv_func__log10l" = x""yes; then :
55911   cat >>confdefs.h <<_ACEOF
55912 #define HAVE__LOG10L 1
55913 _ACEOF
55914
55915 fi
55916 done
55917
55918     fi
55919   fi
55920
55921
55922
55923
55924
55925   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
55926 $as_echo_n "checking for modfl declaration... " >&6; }
55927   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
55928     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
55929   $as_echo_n "(cached) " >&6
55930 else
55931
55932
55933       ac_ext=cpp
55934 ac_cpp='$CXXCPP $CPPFLAGS'
55935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55938
55939       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55940 /* end confdefs.h.  */
55941 #include <math.h>
55942 int
55943 main ()
55944 {
55945  modfl(0, 0);
55946   ;
55947   return 0;
55948 }
55949 _ACEOF
55950 if ac_fn_cxx_try_compile "$LINENO"; then :
55951   glibcxx_cv_func_modfl_use=yes
55952 else
55953   glibcxx_cv_func_modfl_use=no
55954 fi
55955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55956       ac_ext=c
55957 ac_cpp='$CPP $CPPFLAGS'
55958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55961
55962
55963 fi
55964
55965   fi
55966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
55967 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
55968
55969   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
55970     for ac_func in modfl
55971 do :
55972   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
55973 if test "x$ac_cv_func_modfl" = x""yes; then :
55974   cat >>confdefs.h <<_ACEOF
55975 #define HAVE_MODFL 1
55976 _ACEOF
55977
55978 fi
55979 done
55980
55981   else
55982
55983   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
55984 $as_echo_n "checking for _modfl declaration... " >&6; }
55985   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
55986     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
55987   $as_echo_n "(cached) " >&6
55988 else
55989
55990
55991       ac_ext=cpp
55992 ac_cpp='$CXXCPP $CPPFLAGS'
55993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55996
55997       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55998 /* end confdefs.h.  */
55999 #include <math.h>
56000 int
56001 main ()
56002 {
56003  _modfl(0, 0);
56004   ;
56005   return 0;
56006 }
56007 _ACEOF
56008 if ac_fn_cxx_try_compile "$LINENO"; then :
56009   glibcxx_cv_func__modfl_use=yes
56010 else
56011   glibcxx_cv_func__modfl_use=no
56012 fi
56013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56014       ac_ext=c
56015 ac_cpp='$CPP $CPPFLAGS'
56016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56019
56020
56021 fi
56022
56023   fi
56024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
56025 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
56026
56027     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
56028       for ac_func in _modfl
56029 do :
56030   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
56031 if test "x$ac_cv_func__modfl" = x""yes; then :
56032   cat >>confdefs.h <<_ACEOF
56033 #define HAVE__MODFL 1
56034 _ACEOF
56035
56036 fi
56037 done
56038
56039     fi
56040   fi
56041
56042
56043
56044
56045
56046   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
56047 $as_echo_n "checking for powl declaration... " >&6; }
56048   if test x${glibcxx_cv_func_powl_use+set} != xset; then
56049     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
56050   $as_echo_n "(cached) " >&6
56051 else
56052
56053
56054       ac_ext=cpp
56055 ac_cpp='$CXXCPP $CPPFLAGS'
56056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56059
56060       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56061 /* end confdefs.h.  */
56062 #include <math.h>
56063 int
56064 main ()
56065 {
56066  powl(0, 0);
56067   ;
56068   return 0;
56069 }
56070 _ACEOF
56071 if ac_fn_cxx_try_compile "$LINENO"; then :
56072   glibcxx_cv_func_powl_use=yes
56073 else
56074   glibcxx_cv_func_powl_use=no
56075 fi
56076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56077       ac_ext=c
56078 ac_cpp='$CPP $CPPFLAGS'
56079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56082
56083
56084 fi
56085
56086   fi
56087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
56088 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
56089
56090   if test x$glibcxx_cv_func_powl_use = x"yes"; then
56091     for ac_func in powl
56092 do :
56093   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
56094 if test "x$ac_cv_func_powl" = x""yes; then :
56095   cat >>confdefs.h <<_ACEOF
56096 #define HAVE_POWL 1
56097 _ACEOF
56098
56099 fi
56100 done
56101
56102   else
56103
56104   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
56105 $as_echo_n "checking for _powl declaration... " >&6; }
56106   if test x${glibcxx_cv_func__powl_use+set} != xset; then
56107     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
56108   $as_echo_n "(cached) " >&6
56109 else
56110
56111
56112       ac_ext=cpp
56113 ac_cpp='$CXXCPP $CPPFLAGS'
56114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56117
56118       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56119 /* end confdefs.h.  */
56120 #include <math.h>
56121 int
56122 main ()
56123 {
56124  _powl(0, 0);
56125   ;
56126   return 0;
56127 }
56128 _ACEOF
56129 if ac_fn_cxx_try_compile "$LINENO"; then :
56130   glibcxx_cv_func__powl_use=yes
56131 else
56132   glibcxx_cv_func__powl_use=no
56133 fi
56134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56135       ac_ext=c
56136 ac_cpp='$CPP $CPPFLAGS'
56137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56140
56141
56142 fi
56143
56144   fi
56145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
56146 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
56147
56148     if test x$glibcxx_cv_func__powl_use = x"yes"; then
56149       for ac_func in _powl
56150 do :
56151   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
56152 if test "x$ac_cv_func__powl" = x""yes; then :
56153   cat >>confdefs.h <<_ACEOF
56154 #define HAVE__POWL 1
56155 _ACEOF
56156
56157 fi
56158 done
56159
56160     fi
56161   fi
56162
56163
56164
56165
56166
56167   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
56168 $as_echo_n "checking for sqrtl declaration... " >&6; }
56169   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
56170     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
56171   $as_echo_n "(cached) " >&6
56172 else
56173
56174
56175       ac_ext=cpp
56176 ac_cpp='$CXXCPP $CPPFLAGS'
56177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56180
56181       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56182 /* end confdefs.h.  */
56183 #include <math.h>
56184                       #ifdef HAVE_IEEEFP_H
56185                       #include <ieeefp.h>
56186                       #endif
56187
56188 int
56189 main ()
56190 {
56191  sqrtl(0);
56192   ;
56193   return 0;
56194 }
56195 _ACEOF
56196 if ac_fn_cxx_try_compile "$LINENO"; then :
56197   glibcxx_cv_func_sqrtl_use=yes
56198 else
56199   glibcxx_cv_func_sqrtl_use=no
56200 fi
56201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56202       ac_ext=c
56203 ac_cpp='$CPP $CPPFLAGS'
56204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56207
56208
56209 fi
56210
56211   fi
56212   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
56213 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
56214
56215   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
56216     for ac_func in sqrtl
56217 do :
56218   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
56219 if test "x$ac_cv_func_sqrtl" = x""yes; then :
56220   cat >>confdefs.h <<_ACEOF
56221 #define HAVE_SQRTL 1
56222 _ACEOF
56223
56224 fi
56225 done
56226
56227   else
56228
56229   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
56230 $as_echo_n "checking for _sqrtl declaration... " >&6; }
56231   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
56232     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
56233   $as_echo_n "(cached) " >&6
56234 else
56235
56236
56237       ac_ext=cpp
56238 ac_cpp='$CXXCPP $CPPFLAGS'
56239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56242
56243       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56244 /* end confdefs.h.  */
56245 #include <math.h>
56246                       #ifdef HAVE_IEEEFP_H
56247                       #include <ieeefp.h>
56248                       #endif
56249
56250 int
56251 main ()
56252 {
56253  _sqrtl(0);
56254   ;
56255   return 0;
56256 }
56257 _ACEOF
56258 if ac_fn_cxx_try_compile "$LINENO"; then :
56259   glibcxx_cv_func__sqrtl_use=yes
56260 else
56261   glibcxx_cv_func__sqrtl_use=no
56262 fi
56263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56264       ac_ext=c
56265 ac_cpp='$CPP $CPPFLAGS'
56266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56269
56270
56271 fi
56272
56273   fi
56274   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
56275 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
56276
56277     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
56278       for ac_func in _sqrtl
56279 do :
56280   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
56281 if test "x$ac_cv_func__sqrtl" = x""yes; then :
56282   cat >>confdefs.h <<_ACEOF
56283 #define HAVE__SQRTL 1
56284 _ACEOF
56285
56286 fi
56287 done
56288
56289     fi
56290   fi
56291
56292
56293
56294
56295
56296   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
56297 $as_echo_n "checking for sincosl declaration... " >&6; }
56298   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
56299     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
56300   $as_echo_n "(cached) " >&6
56301 else
56302
56303
56304       ac_ext=cpp
56305 ac_cpp='$CXXCPP $CPPFLAGS'
56306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56309
56310       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56311 /* end confdefs.h.  */
56312 #include <math.h>
56313 int
56314 main ()
56315 {
56316  sincosl(0, 0, 0);
56317   ;
56318   return 0;
56319 }
56320 _ACEOF
56321 if ac_fn_cxx_try_compile "$LINENO"; then :
56322   glibcxx_cv_func_sincosl_use=yes
56323 else
56324   glibcxx_cv_func_sincosl_use=no
56325 fi
56326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56327       ac_ext=c
56328 ac_cpp='$CPP $CPPFLAGS'
56329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56332
56333
56334 fi
56335
56336   fi
56337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
56338 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
56339
56340   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
56341     for ac_func in sincosl
56342 do :
56343   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
56344 if test "x$ac_cv_func_sincosl" = x""yes; then :
56345   cat >>confdefs.h <<_ACEOF
56346 #define HAVE_SINCOSL 1
56347 _ACEOF
56348
56349 fi
56350 done
56351
56352   else
56353
56354   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
56355 $as_echo_n "checking for _sincosl declaration... " >&6; }
56356   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
56357     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
56358   $as_echo_n "(cached) " >&6
56359 else
56360
56361
56362       ac_ext=cpp
56363 ac_cpp='$CXXCPP $CPPFLAGS'
56364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56367
56368       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56369 /* end confdefs.h.  */
56370 #include <math.h>
56371 int
56372 main ()
56373 {
56374  _sincosl(0, 0, 0);
56375   ;
56376   return 0;
56377 }
56378 _ACEOF
56379 if ac_fn_cxx_try_compile "$LINENO"; then :
56380   glibcxx_cv_func__sincosl_use=yes
56381 else
56382   glibcxx_cv_func__sincosl_use=no
56383 fi
56384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56385       ac_ext=c
56386 ac_cpp='$CPP $CPPFLAGS'
56387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56390
56391
56392 fi
56393
56394   fi
56395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
56396 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
56397
56398     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
56399       for ac_func in _sincosl
56400 do :
56401   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
56402 if test "x$ac_cv_func__sincosl" = x""yes; then :
56403   cat >>confdefs.h <<_ACEOF
56404 #define HAVE__SINCOSL 1
56405 _ACEOF
56406
56407 fi
56408 done
56409
56410     fi
56411   fi
56412
56413
56414
56415
56416
56417   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
56418 $as_echo_n "checking for finitel declaration... " >&6; }
56419   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
56420     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
56421   $as_echo_n "(cached) " >&6
56422 else
56423
56424
56425       ac_ext=cpp
56426 ac_cpp='$CXXCPP $CPPFLAGS'
56427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56430
56431       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56432 /* end confdefs.h.  */
56433 #include <math.h>
56434                       #ifdef HAVE_IEEEFP_H
56435                       #include <ieeefp.h>
56436                       #endif
56437
56438 int
56439 main ()
56440 {
56441  finitel(0);
56442   ;
56443   return 0;
56444 }
56445 _ACEOF
56446 if ac_fn_cxx_try_compile "$LINENO"; then :
56447   glibcxx_cv_func_finitel_use=yes
56448 else
56449   glibcxx_cv_func_finitel_use=no
56450 fi
56451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56452       ac_ext=c
56453 ac_cpp='$CPP $CPPFLAGS'
56454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56457
56458
56459 fi
56460
56461   fi
56462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
56463 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
56464
56465   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
56466     for ac_func in finitel
56467 do :
56468   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
56469 if test "x$ac_cv_func_finitel" = x""yes; then :
56470   cat >>confdefs.h <<_ACEOF
56471 #define HAVE_FINITEL 1
56472 _ACEOF
56473
56474 fi
56475 done
56476
56477   else
56478
56479   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
56480 $as_echo_n "checking for _finitel declaration... " >&6; }
56481   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
56482     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
56483   $as_echo_n "(cached) " >&6
56484 else
56485
56486
56487       ac_ext=cpp
56488 ac_cpp='$CXXCPP $CPPFLAGS'
56489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56492
56493       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56494 /* end confdefs.h.  */
56495 #include <math.h>
56496                       #ifdef HAVE_IEEEFP_H
56497                       #include <ieeefp.h>
56498                       #endif
56499
56500 int
56501 main ()
56502 {
56503  _finitel(0);
56504   ;
56505   return 0;
56506 }
56507 _ACEOF
56508 if ac_fn_cxx_try_compile "$LINENO"; then :
56509   glibcxx_cv_func__finitel_use=yes
56510 else
56511   glibcxx_cv_func__finitel_use=no
56512 fi
56513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56514       ac_ext=c
56515 ac_cpp='$CPP $CPPFLAGS'
56516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56519
56520
56521 fi
56522
56523   fi
56524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
56525 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
56526
56527     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
56528       for ac_func in _finitel
56529 do :
56530   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
56531 if test "x$ac_cv_func__finitel" = x""yes; then :
56532   cat >>confdefs.h <<_ACEOF
56533 #define HAVE__FINITEL 1
56534 _ACEOF
56535
56536 fi
56537 done
56538
56539     fi
56540   fi
56541
56542
56543
56544
56545   LIBS="$ac_save_LIBS"
56546   CXXFLAGS="$ac_save_CXXFLAGS"
56547
56548
56549   ac_test_CXXFLAGS="${CXXFLAGS+set}"
56550   ac_save_CXXFLAGS="$CXXFLAGS"
56551   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
56552
56553
56554   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
56555 $as_echo_n "checking for strtold declaration... " >&6; }
56556   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
56557     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
56558   $as_echo_n "(cached) " >&6
56559 else
56560
56561
56562       ac_ext=cpp
56563 ac_cpp='$CXXCPP $CPPFLAGS'
56564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56567
56568       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56569 /* end confdefs.h.  */
56570 #include <stdlib.h>
56571 int
56572 main ()
56573 {
56574  strtold(0, 0);
56575   ;
56576   return 0;
56577 }
56578 _ACEOF
56579 if ac_fn_cxx_try_compile "$LINENO"; then :
56580   glibcxx_cv_func_strtold_use=yes
56581 else
56582   glibcxx_cv_func_strtold_use=no
56583 fi
56584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56585       ac_ext=c
56586 ac_cpp='$CPP $CPPFLAGS'
56587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56590
56591
56592 fi
56593
56594   fi
56595   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
56596 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
56597   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
56598     for ac_func in strtold
56599 do :
56600   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
56601 if test "x$ac_cv_func_strtold" = x""yes; then :
56602   cat >>confdefs.h <<_ACEOF
56603 #define HAVE_STRTOLD 1
56604 _ACEOF
56605
56606 fi
56607 done
56608
56609   fi
56610
56611
56612
56613
56614   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
56615 $as_echo_n "checking for strtof declaration... " >&6; }
56616   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
56617     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
56618   $as_echo_n "(cached) " >&6
56619 else
56620
56621
56622       ac_ext=cpp
56623 ac_cpp='$CXXCPP $CPPFLAGS'
56624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56627
56628       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56629 /* end confdefs.h.  */
56630 #include <stdlib.h>
56631 int
56632 main ()
56633 {
56634  strtof(0, 0);
56635   ;
56636   return 0;
56637 }
56638 _ACEOF
56639 if ac_fn_cxx_try_compile "$LINENO"; then :
56640   glibcxx_cv_func_strtof_use=yes
56641 else
56642   glibcxx_cv_func_strtof_use=no
56643 fi
56644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56645       ac_ext=c
56646 ac_cpp='$CPP $CPPFLAGS'
56647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56650
56651
56652 fi
56653
56654   fi
56655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
56656 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
56657   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
56658     for ac_func in strtof
56659 do :
56660   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
56661 if test "x$ac_cv_func_strtof" = x""yes; then :
56662   cat >>confdefs.h <<_ACEOF
56663 #define HAVE_STRTOF 1
56664 _ACEOF
56665
56666 fi
56667 done
56668
56669   fi
56670
56671
56672
56673
56674   CXXFLAGS="$ac_save_CXXFLAGS"
56675
56676     ;;
56677   *-netbsd*)
56678     SECTION_FLAGS='-ffunction-sections -fdata-sections'
56679
56680
56681   # If we're not using GNU ld, then there's no point in even trying these
56682   # tests.  Check for that first.  We should have already tested for gld
56683   # by now (in libtool), but require it now just to be safe...
56684   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56685   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56686
56687
56688
56689   # The name set by libtool depends on the version of libtool.  Shame on us
56690   # for depending on an impl detail, but c'est la vie.  Older versions used
56691   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56692   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56693   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
56694   # set (hence we're using an older libtool), then set it.
56695   if test x${with_gnu_ld+set} != xset; then
56696     if test x${ac_cv_prog_gnu_ld+set} != xset; then
56697       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
56698       with_gnu_ld=no
56699     else
56700       with_gnu_ld=$ac_cv_prog_gnu_ld
56701     fi
56702   fi
56703
56704   # Start by getting the version number.  I think the libtool test already
56705   # does some of this, but throws away the result.
56706   glibcxx_ld_is_gold=no
56707   if test x"$with_gnu_ld" = x"yes"; then
56708     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56709 $as_echo_n "checking for ld version... " >&6; }
56710
56711     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56712       glibcxx_ld_is_gold=yes
56713     fi
56714     ldver=`$LD --version 2>/dev/null |
56715            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'`
56716
56717     glibcxx_gnu_ld_version=`echo $ldver | \
56718            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56719     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56720 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56721   fi
56722
56723   # Set --gc-sections.
56724   glibcxx_have_gc_sections=no
56725   if test "$glibcxx_ld_is_gold" = "yes"; then
56726     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56727       glibcxx_have_gc_sections=yes
56728     fi
56729   else
56730     glibcxx_gcsections_min_ld=21602
56731     if test x"$with_gnu_ld" = x"yes" &&
56732         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56733       glibcxx_have_gc_sections=yes
56734     fi
56735   fi
56736   if test "$glibcxx_have_gc_sections" = "yes"; then
56737     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
56738     # NB: This flag only works reliably after 2.16.1. Configure tests
56739     # for this are difficult, so hard wire a value that should work.
56740
56741     ac_test_CFLAGS="${CFLAGS+set}"
56742     ac_save_CFLAGS="$CFLAGS"
56743     CFLAGS='-Wl,--gc-sections'
56744
56745     # Check for -Wl,--gc-sections
56746     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56747 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56748     if test x$gcc_no_link = xyes; then
56749   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56750 fi
56751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56752 /* end confdefs.h.  */
56753  int one(void) { return 1; }
56754      int two(void) { return 2; }
56755
56756 int
56757 main ()
56758 {
56759  two();
56760   ;
56761   return 0;
56762 }
56763 _ACEOF
56764 if ac_fn_c_try_link "$LINENO"; then :
56765   ac_gcsections=yes
56766 else
56767   ac_gcsections=no
56768 fi
56769 rm -f core conftest.err conftest.$ac_objext \
56770     conftest$ac_exeext conftest.$ac_ext
56771     if test "$ac_gcsections" = "yes"; then
56772       rm -f conftest.c
56773       touch conftest.c
56774       if $CC -c conftest.c; then
56775         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56776            grep "Warning: gc-sections option ignored" > /dev/null; then
56777           ac_gcsections=no
56778         fi
56779       fi
56780       rm -f conftest.c conftest.o conftest
56781     fi
56782     if test "$ac_gcsections" = "yes"; then
56783       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56784     fi
56785     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56786 $as_echo "$ac_gcsections" >&6; }
56787
56788     if test "$ac_test_CFLAGS" = set; then
56789       CFLAGS="$ac_save_CFLAGS"
56790     else
56791       # this is the suspicious part
56792       CFLAGS=''
56793     fi
56794   fi
56795
56796   # Set -z,relro.
56797   # Note this is only for shared objects.
56798   ac_ld_relro=no
56799   if test x"$with_gnu_ld" = x"yes"; then
56800     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56801 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56802     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56803     if test -n "$cxx_z_relo"; then
56804       OPT_LDFLAGS="-Wl,-z,relro"
56805       ac_ld_relro=yes
56806     fi
56807     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56808 $as_echo "$ac_ld_relro" >&6; }
56809   fi
56810
56811   # Set linker optimization flags.
56812   if test x"$with_gnu_ld" = x"yes"; then
56813     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56814   fi
56815
56816
56817
56818
56819     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
56820
56821     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
56822
56823     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
56824
56825     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
56826
56827     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
56828
56829     $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
56830
56831     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
56832
56833     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
56834
56835     if test x"long_double_math_on_this_cpu" = x"yes"; then
56836       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
56837
56838       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
56839
56840       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
56841
56842     fi
56843     ;;
56844   *-netware)
56845     SECTION_FLAGS='-ffunction-sections -fdata-sections'
56846
56847
56848   # If we're not using GNU ld, then there's no point in even trying these
56849   # tests.  Check for that first.  We should have already tested for gld
56850   # by now (in libtool), but require it now just to be safe...
56851   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56852   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56853
56854
56855
56856   # The name set by libtool depends on the version of libtool.  Shame on us
56857   # for depending on an impl detail, but c'est la vie.  Older versions used
56858   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56859   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56860   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
56861   # set (hence we're using an older libtool), then set it.
56862   if test x${with_gnu_ld+set} != xset; then
56863     if test x${ac_cv_prog_gnu_ld+set} != xset; then
56864       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
56865       with_gnu_ld=no
56866     else
56867       with_gnu_ld=$ac_cv_prog_gnu_ld
56868     fi
56869   fi
56870
56871   # Start by getting the version number.  I think the libtool test already
56872   # does some of this, but throws away the result.
56873   glibcxx_ld_is_gold=no
56874   if test x"$with_gnu_ld" = x"yes"; then
56875     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56876 $as_echo_n "checking for ld version... " >&6; }
56877
56878     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56879       glibcxx_ld_is_gold=yes
56880     fi
56881     ldver=`$LD --version 2>/dev/null |
56882            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'`
56883
56884     glibcxx_gnu_ld_version=`echo $ldver | \
56885            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56886     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56887 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56888   fi
56889
56890   # Set --gc-sections.
56891   glibcxx_have_gc_sections=no
56892   if test "$glibcxx_ld_is_gold" = "yes"; then
56893     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56894       glibcxx_have_gc_sections=yes
56895     fi
56896   else
56897     glibcxx_gcsections_min_ld=21602
56898     if test x"$with_gnu_ld" = x"yes" &&
56899         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56900       glibcxx_have_gc_sections=yes
56901     fi
56902   fi
56903   if test "$glibcxx_have_gc_sections" = "yes"; then
56904     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
56905     # NB: This flag only works reliably after 2.16.1. Configure tests
56906     # for this are difficult, so hard wire a value that should work.
56907
56908     ac_test_CFLAGS="${CFLAGS+set}"
56909     ac_save_CFLAGS="$CFLAGS"
56910     CFLAGS='-Wl,--gc-sections'
56911
56912     # Check for -Wl,--gc-sections
56913     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56914 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56915     if test x$gcc_no_link = xyes; then
56916   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56917 fi
56918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56919 /* end confdefs.h.  */
56920  int one(void) { return 1; }
56921      int two(void) { return 2; }
56922
56923 int
56924 main ()
56925 {
56926  two();
56927   ;
56928   return 0;
56929 }
56930 _ACEOF
56931 if ac_fn_c_try_link "$LINENO"; then :
56932   ac_gcsections=yes
56933 else
56934   ac_gcsections=no
56935 fi
56936 rm -f core conftest.err conftest.$ac_objext \
56937     conftest$ac_exeext conftest.$ac_ext
56938     if test "$ac_gcsections" = "yes"; then
56939       rm -f conftest.c
56940       touch conftest.c
56941       if $CC -c conftest.c; then
56942         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56943            grep "Warning: gc-sections option ignored" > /dev/null; then
56944           ac_gcsections=no
56945         fi
56946       fi
56947       rm -f conftest.c conftest.o conftest
56948     fi
56949     if test "$ac_gcsections" = "yes"; then
56950       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56951     fi
56952     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56953 $as_echo "$ac_gcsections" >&6; }
56954
56955     if test "$ac_test_CFLAGS" = set; then
56956       CFLAGS="$ac_save_CFLAGS"
56957     else
56958       # this is the suspicious part
56959       CFLAGS=''
56960     fi
56961   fi
56962
56963   # Set -z,relro.
56964   # Note this is only for shared objects.
56965   ac_ld_relro=no
56966   if test x"$with_gnu_ld" = x"yes"; then
56967     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56968 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56969     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56970     if test -n "$cxx_z_relo"; then
56971       OPT_LDFLAGS="-Wl,-z,relro"
56972       ac_ld_relro=yes
56973     fi
56974     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56975 $as_echo "$ac_ld_relro" >&6; }
56976   fi
56977
56978   # Set linker optimization flags.
56979   if test x"$with_gnu_ld" = x"yes"; then
56980     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56981   fi
56982
56983
56984
56985
56986     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
56987
56988     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
56989
56990     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
56991
56992     ;;
56993   *-qnx6.1* | *-qnx6.2*)
56994     SECTION_FLAGS='-ffunction-sections -fdata-sections'
56995
56996
56997   # If we're not using GNU ld, then there's no point in even trying these
56998   # tests.  Check for that first.  We should have already tested for gld
56999   # by now (in libtool), but require it now just to be safe...
57000   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57001   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57002
57003
57004
57005   # The name set by libtool depends on the version of libtool.  Shame on us
57006   # for depending on an impl detail, but c'est la vie.  Older versions used
57007   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57008   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57009   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
57010   # set (hence we're using an older libtool), then set it.
57011   if test x${with_gnu_ld+set} != xset; then
57012     if test x${ac_cv_prog_gnu_ld+set} != xset; then
57013       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
57014       with_gnu_ld=no
57015     else
57016       with_gnu_ld=$ac_cv_prog_gnu_ld
57017     fi
57018   fi
57019
57020   # Start by getting the version number.  I think the libtool test already
57021   # does some of this, but throws away the result.
57022   glibcxx_ld_is_gold=no
57023   if test x"$with_gnu_ld" = x"yes"; then
57024     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57025 $as_echo_n "checking for ld version... " >&6; }
57026
57027     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57028       glibcxx_ld_is_gold=yes
57029     fi
57030     ldver=`$LD --version 2>/dev/null |
57031            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'`
57032
57033     glibcxx_gnu_ld_version=`echo $ldver | \
57034            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57035     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57036 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57037   fi
57038
57039   # Set --gc-sections.
57040   glibcxx_have_gc_sections=no
57041   if test "$glibcxx_ld_is_gold" = "yes"; then
57042     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57043       glibcxx_have_gc_sections=yes
57044     fi
57045   else
57046     glibcxx_gcsections_min_ld=21602
57047     if test x"$with_gnu_ld" = x"yes" &&
57048         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57049       glibcxx_have_gc_sections=yes
57050     fi
57051   fi
57052   if test "$glibcxx_have_gc_sections" = "yes"; then
57053     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
57054     # NB: This flag only works reliably after 2.16.1. Configure tests
57055     # for this are difficult, so hard wire a value that should work.
57056
57057     ac_test_CFLAGS="${CFLAGS+set}"
57058     ac_save_CFLAGS="$CFLAGS"
57059     CFLAGS='-Wl,--gc-sections'
57060
57061     # Check for -Wl,--gc-sections
57062     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57063 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57064     if test x$gcc_no_link = xyes; then
57065   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57066 fi
57067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57068 /* end confdefs.h.  */
57069  int one(void) { return 1; }
57070      int two(void) { return 2; }
57071
57072 int
57073 main ()
57074 {
57075  two();
57076   ;
57077   return 0;
57078 }
57079 _ACEOF
57080 if ac_fn_c_try_link "$LINENO"; then :
57081   ac_gcsections=yes
57082 else
57083   ac_gcsections=no
57084 fi
57085 rm -f core conftest.err conftest.$ac_objext \
57086     conftest$ac_exeext conftest.$ac_ext
57087     if test "$ac_gcsections" = "yes"; then
57088       rm -f conftest.c
57089       touch conftest.c
57090       if $CC -c conftest.c; then
57091         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57092            grep "Warning: gc-sections option ignored" > /dev/null; then
57093           ac_gcsections=no
57094         fi
57095       fi
57096       rm -f conftest.c conftest.o conftest
57097     fi
57098     if test "$ac_gcsections" = "yes"; then
57099       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57100     fi
57101     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57102 $as_echo "$ac_gcsections" >&6; }
57103
57104     if test "$ac_test_CFLAGS" = set; then
57105       CFLAGS="$ac_save_CFLAGS"
57106     else
57107       # this is the suspicious part
57108       CFLAGS=''
57109     fi
57110   fi
57111
57112   # Set -z,relro.
57113   # Note this is only for shared objects.
57114   ac_ld_relro=no
57115   if test x"$with_gnu_ld" = x"yes"; then
57116     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57117 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57118     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57119     if test -n "$cxx_z_relo"; then
57120       OPT_LDFLAGS="-Wl,-z,relro"
57121       ac_ld_relro=yes
57122     fi
57123     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57124 $as_echo "$ac_ld_relro" >&6; }
57125   fi
57126
57127   # Set linker optimization flags.
57128   if test x"$with_gnu_ld" = x"yes"; then
57129     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57130   fi
57131
57132
57133
57134
57135     $as_echo "#define HAVE_COSF 1" >>confdefs.h
57136
57137     $as_echo "#define HAVE_COSL 1" >>confdefs.h
57138
57139     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57140
57141     $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57142
57143     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57144
57145     $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57146
57147     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57148
57149     $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57150
57151     $as_echo "#define HAVE_SINF 1" >>confdefs.h
57152
57153     $as_echo "#define HAVE_SINL 1" >>confdefs.h
57154
57155     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57156
57157     $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57158
57159     ;;
57160   *-rtems*)
57161
57162   # All these tests are for C++; save the language and the compiler flags.
57163   # The CXXFLAGS thing is suspicious, but based on similar bits previously
57164   # found in GLIBCXX_CONFIGURE.
57165
57166   ac_ext=cpp
57167 ac_cpp='$CXXCPP $CPPFLAGS'
57168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57171
57172   ac_test_CXXFLAGS="${CXXFLAGS+set}"
57173   ac_save_CXXFLAGS="$CXXFLAGS"
57174
57175   # Check for maintainer-mode bits.
57176   if test x"$USE_MAINTAINER_MODE" = xno; then
57177     WERROR=''
57178   else
57179     WERROR='-Werror'
57180   fi
57181
57182   # Check for -ffunction-sections -fdata-sections
57183   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
57184 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
57185   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
57186   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57187 /* end confdefs.h.  */
57188 int foo; void bar() { };
57189 int
57190 main ()
57191 {
57192
57193   ;
57194   return 0;
57195 }
57196 _ACEOF
57197 if ac_fn_cxx_try_compile "$LINENO"; then :
57198   ac_fdsections=yes
57199 else
57200   ac_fdsections=no
57201 fi
57202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57203   if test "$ac_test_CXXFLAGS" = set; then
57204     CXXFLAGS="$ac_save_CXXFLAGS"
57205   else
57206     # this is the suspicious part
57207     CXXFLAGS=''
57208   fi
57209   if test x"$ac_fdsections" = x"yes"; then
57210     SECTION_FLAGS='-ffunction-sections -fdata-sections'
57211   fi
57212   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
57213 $as_echo "$ac_fdsections" >&6; }
57214
57215   ac_ext=c
57216 ac_cpp='$CPP $CPPFLAGS'
57217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57220
57221
57222
57223
57224
57225   # If we're not using GNU ld, then there's no point in even trying these
57226   # tests.  Check for that first.  We should have already tested for gld
57227   # by now (in libtool), but require it now just to be safe...
57228   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57229   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57230
57231
57232
57233   # The name set by libtool depends on the version of libtool.  Shame on us
57234   # for depending on an impl detail, but c'est la vie.  Older versions used
57235   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57236   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57237   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
57238   # set (hence we're using an older libtool), then set it.
57239   if test x${with_gnu_ld+set} != xset; then
57240     if test x${ac_cv_prog_gnu_ld+set} != xset; then
57241       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
57242       with_gnu_ld=no
57243     else
57244       with_gnu_ld=$ac_cv_prog_gnu_ld
57245     fi
57246   fi
57247
57248   # Start by getting the version number.  I think the libtool test already
57249   # does some of this, but throws away the result.
57250   glibcxx_ld_is_gold=no
57251   if test x"$with_gnu_ld" = x"yes"; then
57252     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57253 $as_echo_n "checking for ld version... " >&6; }
57254
57255     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57256       glibcxx_ld_is_gold=yes
57257     fi
57258     ldver=`$LD --version 2>/dev/null |
57259            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'`
57260
57261     glibcxx_gnu_ld_version=`echo $ldver | \
57262            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57263     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57264 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57265   fi
57266
57267   # Set --gc-sections.
57268   glibcxx_have_gc_sections=no
57269   if test "$glibcxx_ld_is_gold" = "yes"; then
57270     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57271       glibcxx_have_gc_sections=yes
57272     fi
57273   else
57274     glibcxx_gcsections_min_ld=21602
57275     if test x"$with_gnu_ld" = x"yes" &&
57276         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57277       glibcxx_have_gc_sections=yes
57278     fi
57279   fi
57280   if test "$glibcxx_have_gc_sections" = "yes"; then
57281     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
57282     # NB: This flag only works reliably after 2.16.1. Configure tests
57283     # for this are difficult, so hard wire a value that should work.
57284
57285     ac_test_CFLAGS="${CFLAGS+set}"
57286     ac_save_CFLAGS="$CFLAGS"
57287     CFLAGS='-Wl,--gc-sections'
57288
57289     # Check for -Wl,--gc-sections
57290     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57291 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57292     if test x$gcc_no_link = xyes; then
57293   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57294 fi
57295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57296 /* end confdefs.h.  */
57297  int one(void) { return 1; }
57298      int two(void) { return 2; }
57299
57300 int
57301 main ()
57302 {
57303  two();
57304   ;
57305   return 0;
57306 }
57307 _ACEOF
57308 if ac_fn_c_try_link "$LINENO"; then :
57309   ac_gcsections=yes
57310 else
57311   ac_gcsections=no
57312 fi
57313 rm -f core conftest.err conftest.$ac_objext \
57314     conftest$ac_exeext conftest.$ac_ext
57315     if test "$ac_gcsections" = "yes"; then
57316       rm -f conftest.c
57317       touch conftest.c
57318       if $CC -c conftest.c; then
57319         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57320            grep "Warning: gc-sections option ignored" > /dev/null; then
57321           ac_gcsections=no
57322         fi
57323       fi
57324       rm -f conftest.c conftest.o conftest
57325     fi
57326     if test "$ac_gcsections" = "yes"; then
57327       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57328     fi
57329     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57330 $as_echo "$ac_gcsections" >&6; }
57331
57332     if test "$ac_test_CFLAGS" = set; then
57333       CFLAGS="$ac_save_CFLAGS"
57334     else
57335       # this is the suspicious part
57336       CFLAGS=''
57337     fi
57338   fi
57339
57340   # Set -z,relro.
57341   # Note this is only for shared objects.
57342   ac_ld_relro=no
57343   if test x"$with_gnu_ld" = x"yes"; then
57344     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57345 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57346     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57347     if test -n "$cxx_z_relo"; then
57348       OPT_LDFLAGS="-Wl,-z,relro"
57349       ac_ld_relro=yes
57350     fi
57351     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57352 $as_echo "$ac_ld_relro" >&6; }
57353   fi
57354
57355   # Set linker optimization flags.
57356   if test x"$with_gnu_ld" = x"yes"; then
57357     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57358   fi
57359
57360
57361
57362
57363
57364   ac_test_CXXFLAGS="${CXXFLAGS+set}"
57365   ac_save_CXXFLAGS="$CXXFLAGS"
57366   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
57367
57368     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
57369 $as_echo_n "checking for sin in -lm... " >&6; }
57370 if test "${ac_cv_lib_m_sin+set}" = set; then :
57371   $as_echo_n "(cached) " >&6
57372 else
57373   ac_check_lib_save_LIBS=$LIBS
57374 LIBS="-lm  $LIBS"
57375 if test x$gcc_no_link = xyes; then
57376   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57377 fi
57378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57379 /* end confdefs.h.  */
57380
57381 /* Override any GCC internal prototype to avoid an error.
57382    Use char because int might match the return type of a GCC
57383    builtin and then its argument prototype would still apply.  */
57384 #ifdef __cplusplus
57385 extern "C"
57386 #endif
57387 char sin ();
57388 int
57389 main ()
57390 {
57391 return sin ();
57392   ;
57393   return 0;
57394 }
57395 _ACEOF
57396 if ac_fn_c_try_link "$LINENO"; then :
57397   ac_cv_lib_m_sin=yes
57398 else
57399   ac_cv_lib_m_sin=no
57400 fi
57401 rm -f core conftest.err conftest.$ac_objext \
57402     conftest$ac_exeext conftest.$ac_ext
57403 LIBS=$ac_check_lib_save_LIBS
57404 fi
57405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
57406 $as_echo "$ac_cv_lib_m_sin" >&6; }
57407 if test "x$ac_cv_lib_m_sin" = x""yes; then :
57408   libm="-lm"
57409 fi
57410
57411   ac_save_LIBS="$LIBS"
57412   LIBS="$LIBS $libm"
57413
57414
57415
57416   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
57417 $as_echo_n "checking for isinf declaration... " >&6; }
57418   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
57419     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
57420   $as_echo_n "(cached) " >&6
57421 else
57422
57423
57424       ac_ext=cpp
57425 ac_cpp='$CXXCPP $CPPFLAGS'
57426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57429
57430       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57431 /* end confdefs.h.  */
57432 #include <math.h>
57433                       #ifdef HAVE_IEEEFP_H
57434                       #include <ieeefp.h>
57435                       #endif
57436
57437 int
57438 main ()
57439 {
57440  isinf(0);
57441   ;
57442   return 0;
57443 }
57444 _ACEOF
57445 if ac_fn_cxx_try_compile "$LINENO"; then :
57446   glibcxx_cv_func_isinf_use=yes
57447 else
57448   glibcxx_cv_func_isinf_use=no
57449 fi
57450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57451       ac_ext=c
57452 ac_cpp='$CPP $CPPFLAGS'
57453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57456
57457
57458 fi
57459
57460   fi
57461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
57462 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
57463
57464   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
57465     for ac_func in isinf
57466 do :
57467   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
57468 if test "x$ac_cv_func_isinf" = x""yes; then :
57469   cat >>confdefs.h <<_ACEOF
57470 #define HAVE_ISINF 1
57471 _ACEOF
57472
57473 fi
57474 done
57475
57476   else
57477
57478   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
57479 $as_echo_n "checking for _isinf declaration... " >&6; }
57480   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
57481     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
57482   $as_echo_n "(cached) " >&6
57483 else
57484
57485
57486       ac_ext=cpp
57487 ac_cpp='$CXXCPP $CPPFLAGS'
57488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57491
57492       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57493 /* end confdefs.h.  */
57494 #include <math.h>
57495                       #ifdef HAVE_IEEEFP_H
57496                       #include <ieeefp.h>
57497                       #endif
57498
57499 int
57500 main ()
57501 {
57502  _isinf(0);
57503   ;
57504   return 0;
57505 }
57506 _ACEOF
57507 if ac_fn_cxx_try_compile "$LINENO"; then :
57508   glibcxx_cv_func__isinf_use=yes
57509 else
57510   glibcxx_cv_func__isinf_use=no
57511 fi
57512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57513       ac_ext=c
57514 ac_cpp='$CPP $CPPFLAGS'
57515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57518
57519
57520 fi
57521
57522   fi
57523   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
57524 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
57525
57526     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
57527       for ac_func in _isinf
57528 do :
57529   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
57530 if test "x$ac_cv_func__isinf" = x""yes; then :
57531   cat >>confdefs.h <<_ACEOF
57532 #define HAVE__ISINF 1
57533 _ACEOF
57534
57535 fi
57536 done
57537
57538     fi
57539   fi
57540
57541
57542
57543
57544
57545   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
57546 $as_echo_n "checking for isnan declaration... " >&6; }
57547   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
57548     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
57549   $as_echo_n "(cached) " >&6
57550 else
57551
57552
57553       ac_ext=cpp
57554 ac_cpp='$CXXCPP $CPPFLAGS'
57555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57558
57559       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57560 /* end confdefs.h.  */
57561 #include <math.h>
57562                       #ifdef HAVE_IEEEFP_H
57563                       #include <ieeefp.h>
57564                       #endif
57565
57566 int
57567 main ()
57568 {
57569  isnan(0);
57570   ;
57571   return 0;
57572 }
57573 _ACEOF
57574 if ac_fn_cxx_try_compile "$LINENO"; then :
57575   glibcxx_cv_func_isnan_use=yes
57576 else
57577   glibcxx_cv_func_isnan_use=no
57578 fi
57579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57580       ac_ext=c
57581 ac_cpp='$CPP $CPPFLAGS'
57582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57585
57586
57587 fi
57588
57589   fi
57590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
57591 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
57592
57593   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
57594     for ac_func in isnan
57595 do :
57596   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
57597 if test "x$ac_cv_func_isnan" = x""yes; then :
57598   cat >>confdefs.h <<_ACEOF
57599 #define HAVE_ISNAN 1
57600 _ACEOF
57601
57602 fi
57603 done
57604
57605   else
57606
57607   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
57608 $as_echo_n "checking for _isnan declaration... " >&6; }
57609   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
57610     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
57611   $as_echo_n "(cached) " >&6
57612 else
57613
57614
57615       ac_ext=cpp
57616 ac_cpp='$CXXCPP $CPPFLAGS'
57617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57620
57621       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57622 /* end confdefs.h.  */
57623 #include <math.h>
57624                       #ifdef HAVE_IEEEFP_H
57625                       #include <ieeefp.h>
57626                       #endif
57627
57628 int
57629 main ()
57630 {
57631  _isnan(0);
57632   ;
57633   return 0;
57634 }
57635 _ACEOF
57636 if ac_fn_cxx_try_compile "$LINENO"; then :
57637   glibcxx_cv_func__isnan_use=yes
57638 else
57639   glibcxx_cv_func__isnan_use=no
57640 fi
57641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57642       ac_ext=c
57643 ac_cpp='$CPP $CPPFLAGS'
57644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57647
57648
57649 fi
57650
57651   fi
57652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
57653 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
57654
57655     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
57656       for ac_func in _isnan
57657 do :
57658   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
57659 if test "x$ac_cv_func__isnan" = x""yes; then :
57660   cat >>confdefs.h <<_ACEOF
57661 #define HAVE__ISNAN 1
57662 _ACEOF
57663
57664 fi
57665 done
57666
57667     fi
57668   fi
57669
57670
57671
57672
57673
57674   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
57675 $as_echo_n "checking for finite declaration... " >&6; }
57676   if test x${glibcxx_cv_func_finite_use+set} != xset; then
57677     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
57678   $as_echo_n "(cached) " >&6
57679 else
57680
57681
57682       ac_ext=cpp
57683 ac_cpp='$CXXCPP $CPPFLAGS'
57684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57687
57688       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57689 /* end confdefs.h.  */
57690 #include <math.h>
57691                       #ifdef HAVE_IEEEFP_H
57692                       #include <ieeefp.h>
57693                       #endif
57694
57695 int
57696 main ()
57697 {
57698  finite(0);
57699   ;
57700   return 0;
57701 }
57702 _ACEOF
57703 if ac_fn_cxx_try_compile "$LINENO"; then :
57704   glibcxx_cv_func_finite_use=yes
57705 else
57706   glibcxx_cv_func_finite_use=no
57707 fi
57708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57709       ac_ext=c
57710 ac_cpp='$CPP $CPPFLAGS'
57711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57714
57715
57716 fi
57717
57718   fi
57719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
57720 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
57721
57722   if test x$glibcxx_cv_func_finite_use = x"yes"; then
57723     for ac_func in finite
57724 do :
57725   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
57726 if test "x$ac_cv_func_finite" = x""yes; then :
57727   cat >>confdefs.h <<_ACEOF
57728 #define HAVE_FINITE 1
57729 _ACEOF
57730
57731 fi
57732 done
57733
57734   else
57735
57736   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
57737 $as_echo_n "checking for _finite declaration... " >&6; }
57738   if test x${glibcxx_cv_func__finite_use+set} != xset; then
57739     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
57740   $as_echo_n "(cached) " >&6
57741 else
57742
57743
57744       ac_ext=cpp
57745 ac_cpp='$CXXCPP $CPPFLAGS'
57746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57749
57750       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57751 /* end confdefs.h.  */
57752 #include <math.h>
57753                       #ifdef HAVE_IEEEFP_H
57754                       #include <ieeefp.h>
57755                       #endif
57756
57757 int
57758 main ()
57759 {
57760  _finite(0);
57761   ;
57762   return 0;
57763 }
57764 _ACEOF
57765 if ac_fn_cxx_try_compile "$LINENO"; then :
57766   glibcxx_cv_func__finite_use=yes
57767 else
57768   glibcxx_cv_func__finite_use=no
57769 fi
57770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57771       ac_ext=c
57772 ac_cpp='$CPP $CPPFLAGS'
57773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57776
57777
57778 fi
57779
57780   fi
57781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
57782 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
57783
57784     if test x$glibcxx_cv_func__finite_use = x"yes"; then
57785       for ac_func in _finite
57786 do :
57787   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
57788 if test "x$ac_cv_func__finite" = x""yes; then :
57789   cat >>confdefs.h <<_ACEOF
57790 #define HAVE__FINITE 1
57791 _ACEOF
57792
57793 fi
57794 done
57795
57796     fi
57797   fi
57798
57799
57800
57801
57802
57803   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
57804 $as_echo_n "checking for sincos declaration... " >&6; }
57805   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
57806     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
57807   $as_echo_n "(cached) " >&6
57808 else
57809
57810
57811       ac_ext=cpp
57812 ac_cpp='$CXXCPP $CPPFLAGS'
57813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57816
57817       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57818 /* end confdefs.h.  */
57819 #include <math.h>
57820 int
57821 main ()
57822 {
57823  sincos(0, 0, 0);
57824   ;
57825   return 0;
57826 }
57827 _ACEOF
57828 if ac_fn_cxx_try_compile "$LINENO"; then :
57829   glibcxx_cv_func_sincos_use=yes
57830 else
57831   glibcxx_cv_func_sincos_use=no
57832 fi
57833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57834       ac_ext=c
57835 ac_cpp='$CPP $CPPFLAGS'
57836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57839
57840
57841 fi
57842
57843   fi
57844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
57845 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
57846
57847   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
57848     for ac_func in sincos
57849 do :
57850   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
57851 if test "x$ac_cv_func_sincos" = x""yes; then :
57852   cat >>confdefs.h <<_ACEOF
57853 #define HAVE_SINCOS 1
57854 _ACEOF
57855
57856 fi
57857 done
57858
57859   else
57860
57861   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
57862 $as_echo_n "checking for _sincos declaration... " >&6; }
57863   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
57864     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
57865   $as_echo_n "(cached) " >&6
57866 else
57867
57868
57869       ac_ext=cpp
57870 ac_cpp='$CXXCPP $CPPFLAGS'
57871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57874
57875       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57876 /* end confdefs.h.  */
57877 #include <math.h>
57878 int
57879 main ()
57880 {
57881  _sincos(0, 0, 0);
57882   ;
57883   return 0;
57884 }
57885 _ACEOF
57886 if ac_fn_cxx_try_compile "$LINENO"; then :
57887   glibcxx_cv_func__sincos_use=yes
57888 else
57889   glibcxx_cv_func__sincos_use=no
57890 fi
57891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57892       ac_ext=c
57893 ac_cpp='$CPP $CPPFLAGS'
57894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57897
57898
57899 fi
57900
57901   fi
57902   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
57903 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
57904
57905     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
57906       for ac_func in _sincos
57907 do :
57908   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
57909 if test "x$ac_cv_func__sincos" = x""yes; then :
57910   cat >>confdefs.h <<_ACEOF
57911 #define HAVE__SINCOS 1
57912 _ACEOF
57913
57914 fi
57915 done
57916
57917     fi
57918   fi
57919
57920
57921
57922
57923
57924   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
57925 $as_echo_n "checking for fpclass declaration... " >&6; }
57926   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
57927     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
57928   $as_echo_n "(cached) " >&6
57929 else
57930
57931
57932       ac_ext=cpp
57933 ac_cpp='$CXXCPP $CPPFLAGS'
57934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57937
57938       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57939 /* end confdefs.h.  */
57940 #include <math.h>
57941                       #ifdef HAVE_IEEEFP_H
57942                       #include <ieeefp.h>
57943                       #endif
57944
57945 int
57946 main ()
57947 {
57948  fpclass(0);
57949   ;
57950   return 0;
57951 }
57952 _ACEOF
57953 if ac_fn_cxx_try_compile "$LINENO"; then :
57954   glibcxx_cv_func_fpclass_use=yes
57955 else
57956   glibcxx_cv_func_fpclass_use=no
57957 fi
57958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57959       ac_ext=c
57960 ac_cpp='$CPP $CPPFLAGS'
57961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57964
57965
57966 fi
57967
57968   fi
57969   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
57970 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
57971
57972   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
57973     for ac_func in fpclass
57974 do :
57975   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
57976 if test "x$ac_cv_func_fpclass" = x""yes; then :
57977   cat >>confdefs.h <<_ACEOF
57978 #define HAVE_FPCLASS 1
57979 _ACEOF
57980
57981 fi
57982 done
57983
57984   else
57985
57986   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
57987 $as_echo_n "checking for _fpclass declaration... " >&6; }
57988   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
57989     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
57990   $as_echo_n "(cached) " >&6
57991 else
57992
57993
57994       ac_ext=cpp
57995 ac_cpp='$CXXCPP $CPPFLAGS'
57996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57999
58000       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58001 /* end confdefs.h.  */
58002 #include <math.h>
58003                       #ifdef HAVE_IEEEFP_H
58004                       #include <ieeefp.h>
58005                       #endif
58006
58007 int
58008 main ()
58009 {
58010  _fpclass(0);
58011   ;
58012   return 0;
58013 }
58014 _ACEOF
58015 if ac_fn_cxx_try_compile "$LINENO"; then :
58016   glibcxx_cv_func__fpclass_use=yes
58017 else
58018   glibcxx_cv_func__fpclass_use=no
58019 fi
58020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58021       ac_ext=c
58022 ac_cpp='$CPP $CPPFLAGS'
58023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58026
58027
58028 fi
58029
58030   fi
58031   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
58032 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
58033
58034     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
58035       for ac_func in _fpclass
58036 do :
58037   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
58038 if test "x$ac_cv_func__fpclass" = x""yes; then :
58039   cat >>confdefs.h <<_ACEOF
58040 #define HAVE__FPCLASS 1
58041 _ACEOF
58042
58043 fi
58044 done
58045
58046     fi
58047   fi
58048
58049
58050
58051
58052
58053   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
58054 $as_echo_n "checking for qfpclass declaration... " >&6; }
58055   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
58056     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
58057   $as_echo_n "(cached) " >&6
58058 else
58059
58060
58061       ac_ext=cpp
58062 ac_cpp='$CXXCPP $CPPFLAGS'
58063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58066
58067       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58068 /* end confdefs.h.  */
58069 #include <math.h>
58070                       #ifdef HAVE_IEEEFP_H
58071                       #include <ieeefp.h>
58072                       #endif
58073
58074 int
58075 main ()
58076 {
58077  qfpclass(0);
58078   ;
58079   return 0;
58080 }
58081 _ACEOF
58082 if ac_fn_cxx_try_compile "$LINENO"; then :
58083   glibcxx_cv_func_qfpclass_use=yes
58084 else
58085   glibcxx_cv_func_qfpclass_use=no
58086 fi
58087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58088       ac_ext=c
58089 ac_cpp='$CPP $CPPFLAGS'
58090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58093
58094
58095 fi
58096
58097   fi
58098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
58099 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
58100
58101   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
58102     for ac_func in qfpclass
58103 do :
58104   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
58105 if test "x$ac_cv_func_qfpclass" = x""yes; then :
58106   cat >>confdefs.h <<_ACEOF
58107 #define HAVE_QFPCLASS 1
58108 _ACEOF
58109
58110 fi
58111 done
58112
58113   else
58114
58115   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
58116 $as_echo_n "checking for _qfpclass declaration... " >&6; }
58117   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
58118     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
58119   $as_echo_n "(cached) " >&6
58120 else
58121
58122
58123       ac_ext=cpp
58124 ac_cpp='$CXXCPP $CPPFLAGS'
58125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58128
58129       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58130 /* end confdefs.h.  */
58131 #include <math.h>
58132                       #ifdef HAVE_IEEEFP_H
58133                       #include <ieeefp.h>
58134                       #endif
58135
58136 int
58137 main ()
58138 {
58139  _qfpclass(0);
58140   ;
58141   return 0;
58142 }
58143 _ACEOF
58144 if ac_fn_cxx_try_compile "$LINENO"; then :
58145   glibcxx_cv_func__qfpclass_use=yes
58146 else
58147   glibcxx_cv_func__qfpclass_use=no
58148 fi
58149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58150       ac_ext=c
58151 ac_cpp='$CPP $CPPFLAGS'
58152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58155
58156
58157 fi
58158
58159   fi
58160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
58161 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
58162
58163     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
58164       for ac_func in _qfpclass
58165 do :
58166   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
58167 if test "x$ac_cv_func__qfpclass" = x""yes; then :
58168   cat >>confdefs.h <<_ACEOF
58169 #define HAVE__QFPCLASS 1
58170 _ACEOF
58171
58172 fi
58173 done
58174
58175     fi
58176   fi
58177
58178
58179
58180
58181
58182   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
58183 $as_echo_n "checking for hypot declaration... " >&6; }
58184   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
58185     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
58186   $as_echo_n "(cached) " >&6
58187 else
58188
58189
58190       ac_ext=cpp
58191 ac_cpp='$CXXCPP $CPPFLAGS'
58192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58195
58196       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58197 /* end confdefs.h.  */
58198 #include <math.h>
58199 int
58200 main ()
58201 {
58202  hypot(0, 0);
58203   ;
58204   return 0;
58205 }
58206 _ACEOF
58207 if ac_fn_cxx_try_compile "$LINENO"; then :
58208   glibcxx_cv_func_hypot_use=yes
58209 else
58210   glibcxx_cv_func_hypot_use=no
58211 fi
58212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58213       ac_ext=c
58214 ac_cpp='$CPP $CPPFLAGS'
58215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58218
58219
58220 fi
58221
58222   fi
58223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
58224 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
58225
58226   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
58227     for ac_func in hypot
58228 do :
58229   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
58230 if test "x$ac_cv_func_hypot" = x""yes; then :
58231   cat >>confdefs.h <<_ACEOF
58232 #define HAVE_HYPOT 1
58233 _ACEOF
58234
58235 fi
58236 done
58237
58238   else
58239
58240   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
58241 $as_echo_n "checking for _hypot declaration... " >&6; }
58242   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
58243     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
58244   $as_echo_n "(cached) " >&6
58245 else
58246
58247
58248       ac_ext=cpp
58249 ac_cpp='$CXXCPP $CPPFLAGS'
58250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58253
58254       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58255 /* end confdefs.h.  */
58256 #include <math.h>
58257 int
58258 main ()
58259 {
58260  _hypot(0, 0);
58261   ;
58262   return 0;
58263 }
58264 _ACEOF
58265 if ac_fn_cxx_try_compile "$LINENO"; then :
58266   glibcxx_cv_func__hypot_use=yes
58267 else
58268   glibcxx_cv_func__hypot_use=no
58269 fi
58270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58271       ac_ext=c
58272 ac_cpp='$CPP $CPPFLAGS'
58273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58276
58277
58278 fi
58279
58280   fi
58281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
58282 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
58283
58284     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
58285       for ac_func in _hypot
58286 do :
58287   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
58288 if test "x$ac_cv_func__hypot" = x""yes; then :
58289   cat >>confdefs.h <<_ACEOF
58290 #define HAVE__HYPOT 1
58291 _ACEOF
58292
58293 fi
58294 done
58295
58296     fi
58297   fi
58298
58299
58300
58301
58302
58303     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
58304 $as_echo_n "checking for float trig functions... " >&6; }
58305   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
58306   $as_echo_n "(cached) " >&6
58307 else
58308
58309
58310     ac_ext=cpp
58311 ac_cpp='$CXXCPP $CPPFLAGS'
58312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58315
58316     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58317 /* end confdefs.h.  */
58318 #include <math.h>
58319 int
58320 main ()
58321 {
58322 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
58323   ;
58324   return 0;
58325 }
58326 _ACEOF
58327 if ac_fn_cxx_try_compile "$LINENO"; then :
58328   glibcxx_cv_func_float_trig_use=yes
58329 else
58330   glibcxx_cv_func_float_trig_use=no
58331 fi
58332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58333     ac_ext=c
58334 ac_cpp='$CPP $CPPFLAGS'
58335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58338
58339 fi
58340
58341   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
58342 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
58343   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
58344     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
58345 do :
58346   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58347 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58348 eval as_val=\$$as_ac_var
58349    if test "x$as_val" = x""yes; then :
58350   cat >>confdefs.h <<_ACEOF
58351 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58352 _ACEOF
58353
58354 fi
58355 done
58356
58357   else
58358     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
58359 $as_echo_n "checking for _float trig functions... " >&6; }
58360     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
58361   $as_echo_n "(cached) " >&6
58362 else
58363
58364
58365       ac_ext=cpp
58366 ac_cpp='$CXXCPP $CPPFLAGS'
58367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58370
58371       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58372 /* end confdefs.h.  */
58373 #include <math.h>
58374 int
58375 main ()
58376 {
58377 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
58378   ;
58379   return 0;
58380 }
58381 _ACEOF
58382 if ac_fn_cxx_try_compile "$LINENO"; then :
58383   glibcxx_cv_func__float_trig_use=yes
58384 else
58385   glibcxx_cv_func__float_trig_use=no
58386 fi
58387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58388       ac_ext=c
58389 ac_cpp='$CPP $CPPFLAGS'
58390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58393
58394 fi
58395
58396     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
58397 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
58398     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
58399       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
58400 do :
58401   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58402 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58403 eval as_val=\$$as_ac_var
58404    if test "x$as_val" = x""yes; then :
58405   cat >>confdefs.h <<_ACEOF
58406 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58407 _ACEOF
58408
58409 fi
58410 done
58411
58412     fi
58413   fi
58414
58415
58416
58417
58418
58419     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
58420 $as_echo_n "checking for float round functions... " >&6; }
58421   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
58422   $as_echo_n "(cached) " >&6
58423 else
58424
58425
58426     ac_ext=cpp
58427 ac_cpp='$CXXCPP $CPPFLAGS'
58428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58431
58432     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58433 /* end confdefs.h.  */
58434 #include <math.h>
58435 int
58436 main ()
58437 {
58438 ceilf (0); floorf (0);
58439   ;
58440   return 0;
58441 }
58442 _ACEOF
58443 if ac_fn_cxx_try_compile "$LINENO"; then :
58444   glibcxx_cv_func_float_round_use=yes
58445 else
58446   glibcxx_cv_func_float_round_use=no
58447 fi
58448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58449     ac_ext=c
58450 ac_cpp='$CPP $CPPFLAGS'
58451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58454
58455 fi
58456
58457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
58458 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
58459   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
58460     for ac_func in ceilf floorf
58461 do :
58462   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58463 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58464 eval as_val=\$$as_ac_var
58465    if test "x$as_val" = x""yes; then :
58466   cat >>confdefs.h <<_ACEOF
58467 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58468 _ACEOF
58469
58470 fi
58471 done
58472
58473   else
58474     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
58475 $as_echo_n "checking for _float round functions... " >&6; }
58476     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
58477   $as_echo_n "(cached) " >&6
58478 else
58479
58480
58481       ac_ext=cpp
58482 ac_cpp='$CXXCPP $CPPFLAGS'
58483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58486
58487       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58488 /* end confdefs.h.  */
58489 #include <math.h>
58490 int
58491 main ()
58492 {
58493 _ceilf (0); _floorf (0);
58494   ;
58495   return 0;
58496 }
58497 _ACEOF
58498 if ac_fn_cxx_try_compile "$LINENO"; then :
58499   glibcxx_cv_func__float_round_use=yes
58500 else
58501   glibcxx_cv_func__float_round_use=no
58502 fi
58503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58504       ac_ext=c
58505 ac_cpp='$CPP $CPPFLAGS'
58506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58509
58510 fi
58511
58512     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
58513 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
58514     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
58515       for ac_func in _ceilf _floorf
58516 do :
58517   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58518 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58519 eval as_val=\$$as_ac_var
58520    if test "x$as_val" = x""yes; then :
58521   cat >>confdefs.h <<_ACEOF
58522 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58523 _ACEOF
58524
58525 fi
58526 done
58527
58528     fi
58529   fi
58530
58531
58532
58533
58534
58535
58536   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
58537 $as_echo_n "checking for expf declaration... " >&6; }
58538   if test x${glibcxx_cv_func_expf_use+set} != xset; then
58539     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
58540   $as_echo_n "(cached) " >&6
58541 else
58542
58543
58544       ac_ext=cpp
58545 ac_cpp='$CXXCPP $CPPFLAGS'
58546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58549
58550       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58551 /* end confdefs.h.  */
58552 #include <math.h>
58553                       #ifdef HAVE_IEEEFP_H
58554                       #include <ieeefp.h>
58555                       #endif
58556
58557 int
58558 main ()
58559 {
58560  expf(0);
58561   ;
58562   return 0;
58563 }
58564 _ACEOF
58565 if ac_fn_cxx_try_compile "$LINENO"; then :
58566   glibcxx_cv_func_expf_use=yes
58567 else
58568   glibcxx_cv_func_expf_use=no
58569 fi
58570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58571       ac_ext=c
58572 ac_cpp='$CPP $CPPFLAGS'
58573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58576
58577
58578 fi
58579
58580   fi
58581   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
58582 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
58583
58584   if test x$glibcxx_cv_func_expf_use = x"yes"; then
58585     for ac_func in expf
58586 do :
58587   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
58588 if test "x$ac_cv_func_expf" = x""yes; then :
58589   cat >>confdefs.h <<_ACEOF
58590 #define HAVE_EXPF 1
58591 _ACEOF
58592
58593 fi
58594 done
58595
58596   else
58597
58598   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
58599 $as_echo_n "checking for _expf declaration... " >&6; }
58600   if test x${glibcxx_cv_func__expf_use+set} != xset; then
58601     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
58602   $as_echo_n "(cached) " >&6
58603 else
58604
58605
58606       ac_ext=cpp
58607 ac_cpp='$CXXCPP $CPPFLAGS'
58608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58611
58612       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58613 /* end confdefs.h.  */
58614 #include <math.h>
58615                       #ifdef HAVE_IEEEFP_H
58616                       #include <ieeefp.h>
58617                       #endif
58618
58619 int
58620 main ()
58621 {
58622  _expf(0);
58623   ;
58624   return 0;
58625 }
58626 _ACEOF
58627 if ac_fn_cxx_try_compile "$LINENO"; then :
58628   glibcxx_cv_func__expf_use=yes
58629 else
58630   glibcxx_cv_func__expf_use=no
58631 fi
58632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58633       ac_ext=c
58634 ac_cpp='$CPP $CPPFLAGS'
58635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58638
58639
58640 fi
58641
58642   fi
58643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
58644 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
58645
58646     if test x$glibcxx_cv_func__expf_use = x"yes"; then
58647       for ac_func in _expf
58648 do :
58649   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
58650 if test "x$ac_cv_func__expf" = x""yes; then :
58651   cat >>confdefs.h <<_ACEOF
58652 #define HAVE__EXPF 1
58653 _ACEOF
58654
58655 fi
58656 done
58657
58658     fi
58659   fi
58660
58661
58662
58663
58664
58665   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
58666 $as_echo_n "checking for isnanf declaration... " >&6; }
58667   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
58668     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
58669   $as_echo_n "(cached) " >&6
58670 else
58671
58672
58673       ac_ext=cpp
58674 ac_cpp='$CXXCPP $CPPFLAGS'
58675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58678
58679       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58680 /* end confdefs.h.  */
58681 #include <math.h>
58682                       #ifdef HAVE_IEEEFP_H
58683                       #include <ieeefp.h>
58684                       #endif
58685
58686 int
58687 main ()
58688 {
58689  isnanf(0);
58690   ;
58691   return 0;
58692 }
58693 _ACEOF
58694 if ac_fn_cxx_try_compile "$LINENO"; then :
58695   glibcxx_cv_func_isnanf_use=yes
58696 else
58697   glibcxx_cv_func_isnanf_use=no
58698 fi
58699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58700       ac_ext=c
58701 ac_cpp='$CPP $CPPFLAGS'
58702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58705
58706
58707 fi
58708
58709   fi
58710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
58711 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
58712
58713   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
58714     for ac_func in isnanf
58715 do :
58716   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
58717 if test "x$ac_cv_func_isnanf" = x""yes; then :
58718   cat >>confdefs.h <<_ACEOF
58719 #define HAVE_ISNANF 1
58720 _ACEOF
58721
58722 fi
58723 done
58724
58725   else
58726
58727   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
58728 $as_echo_n "checking for _isnanf declaration... " >&6; }
58729   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
58730     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
58731   $as_echo_n "(cached) " >&6
58732 else
58733
58734
58735       ac_ext=cpp
58736 ac_cpp='$CXXCPP $CPPFLAGS'
58737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58740
58741       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58742 /* end confdefs.h.  */
58743 #include <math.h>
58744                       #ifdef HAVE_IEEEFP_H
58745                       #include <ieeefp.h>
58746                       #endif
58747
58748 int
58749 main ()
58750 {
58751  _isnanf(0);
58752   ;
58753   return 0;
58754 }
58755 _ACEOF
58756 if ac_fn_cxx_try_compile "$LINENO"; then :
58757   glibcxx_cv_func__isnanf_use=yes
58758 else
58759   glibcxx_cv_func__isnanf_use=no
58760 fi
58761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58762       ac_ext=c
58763 ac_cpp='$CPP $CPPFLAGS'
58764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58767
58768
58769 fi
58770
58771   fi
58772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
58773 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
58774
58775     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
58776       for ac_func in _isnanf
58777 do :
58778   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
58779 if test "x$ac_cv_func__isnanf" = x""yes; then :
58780   cat >>confdefs.h <<_ACEOF
58781 #define HAVE__ISNANF 1
58782 _ACEOF
58783
58784 fi
58785 done
58786
58787     fi
58788   fi
58789
58790
58791
58792
58793
58794   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
58795 $as_echo_n "checking for isinff declaration... " >&6; }
58796   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
58797     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
58798   $as_echo_n "(cached) " >&6
58799 else
58800
58801
58802       ac_ext=cpp
58803 ac_cpp='$CXXCPP $CPPFLAGS'
58804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58807
58808       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58809 /* end confdefs.h.  */
58810 #include <math.h>
58811                       #ifdef HAVE_IEEEFP_H
58812                       #include <ieeefp.h>
58813                       #endif
58814
58815 int
58816 main ()
58817 {
58818  isinff(0);
58819   ;
58820   return 0;
58821 }
58822 _ACEOF
58823 if ac_fn_cxx_try_compile "$LINENO"; then :
58824   glibcxx_cv_func_isinff_use=yes
58825 else
58826   glibcxx_cv_func_isinff_use=no
58827 fi
58828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58829       ac_ext=c
58830 ac_cpp='$CPP $CPPFLAGS'
58831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58834
58835
58836 fi
58837
58838   fi
58839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
58840 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
58841
58842   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
58843     for ac_func in isinff
58844 do :
58845   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
58846 if test "x$ac_cv_func_isinff" = x""yes; then :
58847   cat >>confdefs.h <<_ACEOF
58848 #define HAVE_ISINFF 1
58849 _ACEOF
58850
58851 fi
58852 done
58853
58854   else
58855
58856   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
58857 $as_echo_n "checking for _isinff declaration... " >&6; }
58858   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
58859     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
58860   $as_echo_n "(cached) " >&6
58861 else
58862
58863
58864       ac_ext=cpp
58865 ac_cpp='$CXXCPP $CPPFLAGS'
58866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58869
58870       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58871 /* end confdefs.h.  */
58872 #include <math.h>
58873                       #ifdef HAVE_IEEEFP_H
58874                       #include <ieeefp.h>
58875                       #endif
58876
58877 int
58878 main ()
58879 {
58880  _isinff(0);
58881   ;
58882   return 0;
58883 }
58884 _ACEOF
58885 if ac_fn_cxx_try_compile "$LINENO"; then :
58886   glibcxx_cv_func__isinff_use=yes
58887 else
58888   glibcxx_cv_func__isinff_use=no
58889 fi
58890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58891       ac_ext=c
58892 ac_cpp='$CPP $CPPFLAGS'
58893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58896
58897
58898 fi
58899
58900   fi
58901   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
58902 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
58903
58904     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
58905       for ac_func in _isinff
58906 do :
58907   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
58908 if test "x$ac_cv_func__isinff" = x""yes; then :
58909   cat >>confdefs.h <<_ACEOF
58910 #define HAVE__ISINFF 1
58911 _ACEOF
58912
58913 fi
58914 done
58915
58916     fi
58917   fi
58918
58919
58920
58921
58922
58923   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
58924 $as_echo_n "checking for atan2f declaration... " >&6; }
58925   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
58926     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
58927   $as_echo_n "(cached) " >&6
58928 else
58929
58930
58931       ac_ext=cpp
58932 ac_cpp='$CXXCPP $CPPFLAGS'
58933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58936
58937       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58938 /* end confdefs.h.  */
58939 #include <math.h>
58940 int
58941 main ()
58942 {
58943  atan2f(0, 0);
58944   ;
58945   return 0;
58946 }
58947 _ACEOF
58948 if ac_fn_cxx_try_compile "$LINENO"; then :
58949   glibcxx_cv_func_atan2f_use=yes
58950 else
58951   glibcxx_cv_func_atan2f_use=no
58952 fi
58953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58954       ac_ext=c
58955 ac_cpp='$CPP $CPPFLAGS'
58956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58959
58960
58961 fi
58962
58963   fi
58964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
58965 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
58966
58967   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
58968     for ac_func in atan2f
58969 do :
58970   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
58971 if test "x$ac_cv_func_atan2f" = x""yes; then :
58972   cat >>confdefs.h <<_ACEOF
58973 #define HAVE_ATAN2F 1
58974 _ACEOF
58975
58976 fi
58977 done
58978
58979   else
58980
58981   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
58982 $as_echo_n "checking for _atan2f declaration... " >&6; }
58983   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
58984     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
58985   $as_echo_n "(cached) " >&6
58986 else
58987
58988
58989       ac_ext=cpp
58990 ac_cpp='$CXXCPP $CPPFLAGS'
58991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58994
58995       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58996 /* end confdefs.h.  */
58997 #include <math.h>
58998 int
58999 main ()
59000 {
59001  _atan2f(0, 0);
59002   ;
59003   return 0;
59004 }
59005 _ACEOF
59006 if ac_fn_cxx_try_compile "$LINENO"; then :
59007   glibcxx_cv_func__atan2f_use=yes
59008 else
59009   glibcxx_cv_func__atan2f_use=no
59010 fi
59011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59012       ac_ext=c
59013 ac_cpp='$CPP $CPPFLAGS'
59014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59017
59018
59019 fi
59020
59021   fi
59022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
59023 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
59024
59025     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
59026       for ac_func in _atan2f
59027 do :
59028   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
59029 if test "x$ac_cv_func__atan2f" = x""yes; then :
59030   cat >>confdefs.h <<_ACEOF
59031 #define HAVE__ATAN2F 1
59032 _ACEOF
59033
59034 fi
59035 done
59036
59037     fi
59038   fi
59039
59040
59041
59042
59043
59044   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
59045 $as_echo_n "checking for fabsf declaration... " >&6; }
59046   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
59047     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
59048   $as_echo_n "(cached) " >&6
59049 else
59050
59051
59052       ac_ext=cpp
59053 ac_cpp='$CXXCPP $CPPFLAGS'
59054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59057
59058       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59059 /* end confdefs.h.  */
59060 #include <math.h>
59061                       #ifdef HAVE_IEEEFP_H
59062                       #include <ieeefp.h>
59063                       #endif
59064
59065 int
59066 main ()
59067 {
59068  fabsf(0);
59069   ;
59070   return 0;
59071 }
59072 _ACEOF
59073 if ac_fn_cxx_try_compile "$LINENO"; then :
59074   glibcxx_cv_func_fabsf_use=yes
59075 else
59076   glibcxx_cv_func_fabsf_use=no
59077 fi
59078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59079       ac_ext=c
59080 ac_cpp='$CPP $CPPFLAGS'
59081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59084
59085
59086 fi
59087
59088   fi
59089   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
59090 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
59091
59092   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
59093     for ac_func in fabsf
59094 do :
59095   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
59096 if test "x$ac_cv_func_fabsf" = x""yes; then :
59097   cat >>confdefs.h <<_ACEOF
59098 #define HAVE_FABSF 1
59099 _ACEOF
59100
59101 fi
59102 done
59103
59104   else
59105
59106   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
59107 $as_echo_n "checking for _fabsf declaration... " >&6; }
59108   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
59109     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
59110   $as_echo_n "(cached) " >&6
59111 else
59112
59113
59114       ac_ext=cpp
59115 ac_cpp='$CXXCPP $CPPFLAGS'
59116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59119
59120       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59121 /* end confdefs.h.  */
59122 #include <math.h>
59123                       #ifdef HAVE_IEEEFP_H
59124                       #include <ieeefp.h>
59125                       #endif
59126
59127 int
59128 main ()
59129 {
59130  _fabsf(0);
59131   ;
59132   return 0;
59133 }
59134 _ACEOF
59135 if ac_fn_cxx_try_compile "$LINENO"; then :
59136   glibcxx_cv_func__fabsf_use=yes
59137 else
59138   glibcxx_cv_func__fabsf_use=no
59139 fi
59140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59141       ac_ext=c
59142 ac_cpp='$CPP $CPPFLAGS'
59143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59146
59147
59148 fi
59149
59150   fi
59151   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
59152 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
59153
59154     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
59155       for ac_func in _fabsf
59156 do :
59157   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
59158 if test "x$ac_cv_func__fabsf" = x""yes; then :
59159   cat >>confdefs.h <<_ACEOF
59160 #define HAVE__FABSF 1
59161 _ACEOF
59162
59163 fi
59164 done
59165
59166     fi
59167   fi
59168
59169
59170
59171
59172
59173   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
59174 $as_echo_n "checking for fmodf declaration... " >&6; }
59175   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
59176     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
59177   $as_echo_n "(cached) " >&6
59178 else
59179
59180
59181       ac_ext=cpp
59182 ac_cpp='$CXXCPP $CPPFLAGS'
59183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59186
59187       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59188 /* end confdefs.h.  */
59189 #include <math.h>
59190 int
59191 main ()
59192 {
59193  fmodf(0, 0);
59194   ;
59195   return 0;
59196 }
59197 _ACEOF
59198 if ac_fn_cxx_try_compile "$LINENO"; then :
59199   glibcxx_cv_func_fmodf_use=yes
59200 else
59201   glibcxx_cv_func_fmodf_use=no
59202 fi
59203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59204       ac_ext=c
59205 ac_cpp='$CPP $CPPFLAGS'
59206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59209
59210
59211 fi
59212
59213   fi
59214   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
59215 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
59216
59217   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
59218     for ac_func in fmodf
59219 do :
59220   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
59221 if test "x$ac_cv_func_fmodf" = x""yes; then :
59222   cat >>confdefs.h <<_ACEOF
59223 #define HAVE_FMODF 1
59224 _ACEOF
59225
59226 fi
59227 done
59228
59229   else
59230
59231   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
59232 $as_echo_n "checking for _fmodf declaration... " >&6; }
59233   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59234     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
59235   $as_echo_n "(cached) " >&6
59236 else
59237
59238
59239       ac_ext=cpp
59240 ac_cpp='$CXXCPP $CPPFLAGS'
59241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59244
59245       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59246 /* end confdefs.h.  */
59247 #include <math.h>
59248 int
59249 main ()
59250 {
59251  _fmodf(0, 0);
59252   ;
59253   return 0;
59254 }
59255 _ACEOF
59256 if ac_fn_cxx_try_compile "$LINENO"; then :
59257   glibcxx_cv_func__fmodf_use=yes
59258 else
59259   glibcxx_cv_func__fmodf_use=no
59260 fi
59261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59262       ac_ext=c
59263 ac_cpp='$CPP $CPPFLAGS'
59264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59267
59268
59269 fi
59270
59271   fi
59272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
59273 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
59274
59275     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59276       for ac_func in _fmodf
59277 do :
59278   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
59279 if test "x$ac_cv_func__fmodf" = x""yes; then :
59280   cat >>confdefs.h <<_ACEOF
59281 #define HAVE__FMODF 1
59282 _ACEOF
59283
59284 fi
59285 done
59286
59287     fi
59288   fi
59289
59290
59291
59292
59293
59294   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
59295 $as_echo_n "checking for frexpf declaration... " >&6; }
59296   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59297     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
59298   $as_echo_n "(cached) " >&6
59299 else
59300
59301
59302       ac_ext=cpp
59303 ac_cpp='$CXXCPP $CPPFLAGS'
59304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59307
59308       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59309 /* end confdefs.h.  */
59310 #include <math.h>
59311 int
59312 main ()
59313 {
59314  frexpf(0, 0);
59315   ;
59316   return 0;
59317 }
59318 _ACEOF
59319 if ac_fn_cxx_try_compile "$LINENO"; then :
59320   glibcxx_cv_func_frexpf_use=yes
59321 else
59322   glibcxx_cv_func_frexpf_use=no
59323 fi
59324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59325       ac_ext=c
59326 ac_cpp='$CPP $CPPFLAGS'
59327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59330
59331
59332 fi
59333
59334   fi
59335   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
59336 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
59337
59338   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
59339     for ac_func in frexpf
59340 do :
59341   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
59342 if test "x$ac_cv_func_frexpf" = x""yes; then :
59343   cat >>confdefs.h <<_ACEOF
59344 #define HAVE_FREXPF 1
59345 _ACEOF
59346
59347 fi
59348 done
59349
59350   else
59351
59352   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
59353 $as_echo_n "checking for _frexpf declaration... " >&6; }
59354   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
59355     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
59356   $as_echo_n "(cached) " >&6
59357 else
59358
59359
59360       ac_ext=cpp
59361 ac_cpp='$CXXCPP $CPPFLAGS'
59362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59365
59366       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59367 /* end confdefs.h.  */
59368 #include <math.h>
59369 int
59370 main ()
59371 {
59372  _frexpf(0, 0);
59373   ;
59374   return 0;
59375 }
59376 _ACEOF
59377 if ac_fn_cxx_try_compile "$LINENO"; then :
59378   glibcxx_cv_func__frexpf_use=yes
59379 else
59380   glibcxx_cv_func__frexpf_use=no
59381 fi
59382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59383       ac_ext=c
59384 ac_cpp='$CPP $CPPFLAGS'
59385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59388
59389
59390 fi
59391
59392   fi
59393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
59394 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
59395
59396     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
59397       for ac_func in _frexpf
59398 do :
59399   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
59400 if test "x$ac_cv_func__frexpf" = x""yes; then :
59401   cat >>confdefs.h <<_ACEOF
59402 #define HAVE__FREXPF 1
59403 _ACEOF
59404
59405 fi
59406 done
59407
59408     fi
59409   fi
59410
59411
59412
59413
59414
59415   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
59416 $as_echo_n "checking for hypotf declaration... " >&6; }
59417   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
59418     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
59419   $as_echo_n "(cached) " >&6
59420 else
59421
59422
59423       ac_ext=cpp
59424 ac_cpp='$CXXCPP $CPPFLAGS'
59425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59428
59429       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59430 /* end confdefs.h.  */
59431 #include <math.h>
59432 int
59433 main ()
59434 {
59435  hypotf(0, 0);
59436   ;
59437   return 0;
59438 }
59439 _ACEOF
59440 if ac_fn_cxx_try_compile "$LINENO"; then :
59441   glibcxx_cv_func_hypotf_use=yes
59442 else
59443   glibcxx_cv_func_hypotf_use=no
59444 fi
59445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59446       ac_ext=c
59447 ac_cpp='$CPP $CPPFLAGS'
59448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59451
59452
59453 fi
59454
59455   fi
59456   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
59457 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
59458
59459   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
59460     for ac_func in hypotf
59461 do :
59462   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
59463 if test "x$ac_cv_func_hypotf" = x""yes; then :
59464   cat >>confdefs.h <<_ACEOF
59465 #define HAVE_HYPOTF 1
59466 _ACEOF
59467
59468 fi
59469 done
59470
59471   else
59472
59473   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
59474 $as_echo_n "checking for _hypotf declaration... " >&6; }
59475   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
59476     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
59477   $as_echo_n "(cached) " >&6
59478 else
59479
59480
59481       ac_ext=cpp
59482 ac_cpp='$CXXCPP $CPPFLAGS'
59483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59486
59487       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59488 /* end confdefs.h.  */
59489 #include <math.h>
59490 int
59491 main ()
59492 {
59493  _hypotf(0, 0);
59494   ;
59495   return 0;
59496 }
59497 _ACEOF
59498 if ac_fn_cxx_try_compile "$LINENO"; then :
59499   glibcxx_cv_func__hypotf_use=yes
59500 else
59501   glibcxx_cv_func__hypotf_use=no
59502 fi
59503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59504       ac_ext=c
59505 ac_cpp='$CPP $CPPFLAGS'
59506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59509
59510
59511 fi
59512
59513   fi
59514   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
59515 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
59516
59517     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
59518       for ac_func in _hypotf
59519 do :
59520   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
59521 if test "x$ac_cv_func__hypotf" = x""yes; then :
59522   cat >>confdefs.h <<_ACEOF
59523 #define HAVE__HYPOTF 1
59524 _ACEOF
59525
59526 fi
59527 done
59528
59529     fi
59530   fi
59531
59532
59533
59534
59535
59536   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
59537 $as_echo_n "checking for ldexpf declaration... " >&6; }
59538   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
59539     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
59540   $as_echo_n "(cached) " >&6
59541 else
59542
59543
59544       ac_ext=cpp
59545 ac_cpp='$CXXCPP $CPPFLAGS'
59546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59549
59550       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59551 /* end confdefs.h.  */
59552 #include <math.h>
59553 int
59554 main ()
59555 {
59556  ldexpf(0, 0);
59557   ;
59558   return 0;
59559 }
59560 _ACEOF
59561 if ac_fn_cxx_try_compile "$LINENO"; then :
59562   glibcxx_cv_func_ldexpf_use=yes
59563 else
59564   glibcxx_cv_func_ldexpf_use=no
59565 fi
59566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59567       ac_ext=c
59568 ac_cpp='$CPP $CPPFLAGS'
59569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59572
59573
59574 fi
59575
59576   fi
59577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
59578 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
59579
59580   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
59581     for ac_func in ldexpf
59582 do :
59583   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
59584 if test "x$ac_cv_func_ldexpf" = x""yes; then :
59585   cat >>confdefs.h <<_ACEOF
59586 #define HAVE_LDEXPF 1
59587 _ACEOF
59588
59589 fi
59590 done
59591
59592   else
59593
59594   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
59595 $as_echo_n "checking for _ldexpf declaration... " >&6; }
59596   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
59597     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
59598   $as_echo_n "(cached) " >&6
59599 else
59600
59601
59602       ac_ext=cpp
59603 ac_cpp='$CXXCPP $CPPFLAGS'
59604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59607
59608       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59609 /* end confdefs.h.  */
59610 #include <math.h>
59611 int
59612 main ()
59613 {
59614  _ldexpf(0, 0);
59615   ;
59616   return 0;
59617 }
59618 _ACEOF
59619 if ac_fn_cxx_try_compile "$LINENO"; then :
59620   glibcxx_cv_func__ldexpf_use=yes
59621 else
59622   glibcxx_cv_func__ldexpf_use=no
59623 fi
59624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59625       ac_ext=c
59626 ac_cpp='$CPP $CPPFLAGS'
59627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59630
59631
59632 fi
59633
59634   fi
59635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
59636 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
59637
59638     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
59639       for ac_func in _ldexpf
59640 do :
59641   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
59642 if test "x$ac_cv_func__ldexpf" = x""yes; then :
59643   cat >>confdefs.h <<_ACEOF
59644 #define HAVE__LDEXPF 1
59645 _ACEOF
59646
59647 fi
59648 done
59649
59650     fi
59651   fi
59652
59653
59654
59655
59656
59657   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
59658 $as_echo_n "checking for logf declaration... " >&6; }
59659   if test x${glibcxx_cv_func_logf_use+set} != xset; then
59660     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
59661   $as_echo_n "(cached) " >&6
59662 else
59663
59664
59665       ac_ext=cpp
59666 ac_cpp='$CXXCPP $CPPFLAGS'
59667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59670
59671       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59672 /* end confdefs.h.  */
59673 #include <math.h>
59674                       #ifdef HAVE_IEEEFP_H
59675                       #include <ieeefp.h>
59676                       #endif
59677
59678 int
59679 main ()
59680 {
59681  logf(0);
59682   ;
59683   return 0;
59684 }
59685 _ACEOF
59686 if ac_fn_cxx_try_compile "$LINENO"; then :
59687   glibcxx_cv_func_logf_use=yes
59688 else
59689   glibcxx_cv_func_logf_use=no
59690 fi
59691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59692       ac_ext=c
59693 ac_cpp='$CPP $CPPFLAGS'
59694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59697
59698
59699 fi
59700
59701   fi
59702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
59703 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
59704
59705   if test x$glibcxx_cv_func_logf_use = x"yes"; then
59706     for ac_func in logf
59707 do :
59708   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
59709 if test "x$ac_cv_func_logf" = x""yes; then :
59710   cat >>confdefs.h <<_ACEOF
59711 #define HAVE_LOGF 1
59712 _ACEOF
59713
59714 fi
59715 done
59716
59717   else
59718
59719   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
59720 $as_echo_n "checking for _logf declaration... " >&6; }
59721   if test x${glibcxx_cv_func__logf_use+set} != xset; then
59722     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
59723   $as_echo_n "(cached) " >&6
59724 else
59725
59726
59727       ac_ext=cpp
59728 ac_cpp='$CXXCPP $CPPFLAGS'
59729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59732
59733       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59734 /* end confdefs.h.  */
59735 #include <math.h>
59736                       #ifdef HAVE_IEEEFP_H
59737                       #include <ieeefp.h>
59738                       #endif
59739
59740 int
59741 main ()
59742 {
59743  _logf(0);
59744   ;
59745   return 0;
59746 }
59747 _ACEOF
59748 if ac_fn_cxx_try_compile "$LINENO"; then :
59749   glibcxx_cv_func__logf_use=yes
59750 else
59751   glibcxx_cv_func__logf_use=no
59752 fi
59753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59754       ac_ext=c
59755 ac_cpp='$CPP $CPPFLAGS'
59756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59759
59760
59761 fi
59762
59763   fi
59764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
59765 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
59766
59767     if test x$glibcxx_cv_func__logf_use = x"yes"; then
59768       for ac_func in _logf
59769 do :
59770   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
59771 if test "x$ac_cv_func__logf" = x""yes; then :
59772   cat >>confdefs.h <<_ACEOF
59773 #define HAVE__LOGF 1
59774 _ACEOF
59775
59776 fi
59777 done
59778
59779     fi
59780   fi
59781
59782
59783
59784
59785
59786   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
59787 $as_echo_n "checking for log10f declaration... " >&6; }
59788   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
59789     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
59790   $as_echo_n "(cached) " >&6
59791 else
59792
59793
59794       ac_ext=cpp
59795 ac_cpp='$CXXCPP $CPPFLAGS'
59796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59799
59800       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59801 /* end confdefs.h.  */
59802 #include <math.h>
59803                       #ifdef HAVE_IEEEFP_H
59804                       #include <ieeefp.h>
59805                       #endif
59806
59807 int
59808 main ()
59809 {
59810  log10f(0);
59811   ;
59812   return 0;
59813 }
59814 _ACEOF
59815 if ac_fn_cxx_try_compile "$LINENO"; then :
59816   glibcxx_cv_func_log10f_use=yes
59817 else
59818   glibcxx_cv_func_log10f_use=no
59819 fi
59820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59821       ac_ext=c
59822 ac_cpp='$CPP $CPPFLAGS'
59823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59826
59827
59828 fi
59829
59830   fi
59831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
59832 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
59833
59834   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
59835     for ac_func in log10f
59836 do :
59837   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
59838 if test "x$ac_cv_func_log10f" = x""yes; then :
59839   cat >>confdefs.h <<_ACEOF
59840 #define HAVE_LOG10F 1
59841 _ACEOF
59842
59843 fi
59844 done
59845
59846   else
59847
59848   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
59849 $as_echo_n "checking for _log10f declaration... " >&6; }
59850   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
59851     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
59852   $as_echo_n "(cached) " >&6
59853 else
59854
59855
59856       ac_ext=cpp
59857 ac_cpp='$CXXCPP $CPPFLAGS'
59858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59861
59862       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59863 /* end confdefs.h.  */
59864 #include <math.h>
59865                       #ifdef HAVE_IEEEFP_H
59866                       #include <ieeefp.h>
59867                       #endif
59868
59869 int
59870 main ()
59871 {
59872  _log10f(0);
59873   ;
59874   return 0;
59875 }
59876 _ACEOF
59877 if ac_fn_cxx_try_compile "$LINENO"; then :
59878   glibcxx_cv_func__log10f_use=yes
59879 else
59880   glibcxx_cv_func__log10f_use=no
59881 fi
59882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59883       ac_ext=c
59884 ac_cpp='$CPP $CPPFLAGS'
59885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59888
59889
59890 fi
59891
59892   fi
59893   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
59894 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
59895
59896     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
59897       for ac_func in _log10f
59898 do :
59899   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
59900 if test "x$ac_cv_func__log10f" = x""yes; then :
59901   cat >>confdefs.h <<_ACEOF
59902 #define HAVE__LOG10F 1
59903 _ACEOF
59904
59905 fi
59906 done
59907
59908     fi
59909   fi
59910
59911
59912
59913
59914
59915   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
59916 $as_echo_n "checking for modff declaration... " >&6; }
59917   if test x${glibcxx_cv_func_modff_use+set} != xset; then
59918     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
59919   $as_echo_n "(cached) " >&6
59920 else
59921
59922
59923       ac_ext=cpp
59924 ac_cpp='$CXXCPP $CPPFLAGS'
59925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59928
59929       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59930 /* end confdefs.h.  */
59931 #include <math.h>
59932 int
59933 main ()
59934 {
59935  modff(0, 0);
59936   ;
59937   return 0;
59938 }
59939 _ACEOF
59940 if ac_fn_cxx_try_compile "$LINENO"; then :
59941   glibcxx_cv_func_modff_use=yes
59942 else
59943   glibcxx_cv_func_modff_use=no
59944 fi
59945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59946       ac_ext=c
59947 ac_cpp='$CPP $CPPFLAGS'
59948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59951
59952
59953 fi
59954
59955   fi
59956   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
59957 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
59958
59959   if test x$glibcxx_cv_func_modff_use = x"yes"; then
59960     for ac_func in modff
59961 do :
59962   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
59963 if test "x$ac_cv_func_modff" = x""yes; then :
59964   cat >>confdefs.h <<_ACEOF
59965 #define HAVE_MODFF 1
59966 _ACEOF
59967
59968 fi
59969 done
59970
59971   else
59972
59973   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
59974 $as_echo_n "checking for _modff declaration... " >&6; }
59975   if test x${glibcxx_cv_func__modff_use+set} != xset; then
59976     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
59977   $as_echo_n "(cached) " >&6
59978 else
59979
59980
59981       ac_ext=cpp
59982 ac_cpp='$CXXCPP $CPPFLAGS'
59983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59986
59987       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59988 /* end confdefs.h.  */
59989 #include <math.h>
59990 int
59991 main ()
59992 {
59993  _modff(0, 0);
59994   ;
59995   return 0;
59996 }
59997 _ACEOF
59998 if ac_fn_cxx_try_compile "$LINENO"; then :
59999   glibcxx_cv_func__modff_use=yes
60000 else
60001   glibcxx_cv_func__modff_use=no
60002 fi
60003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60004       ac_ext=c
60005 ac_cpp='$CPP $CPPFLAGS'
60006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60009
60010
60011 fi
60012
60013   fi
60014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
60015 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
60016
60017     if test x$glibcxx_cv_func__modff_use = x"yes"; then
60018       for ac_func in _modff
60019 do :
60020   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
60021 if test "x$ac_cv_func__modff" = x""yes; then :
60022   cat >>confdefs.h <<_ACEOF
60023 #define HAVE__MODFF 1
60024 _ACEOF
60025
60026 fi
60027 done
60028
60029     fi
60030   fi
60031
60032
60033
60034
60035
60036   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
60037 $as_echo_n "checking for modf declaration... " >&6; }
60038   if test x${glibcxx_cv_func_modf_use+set} != xset; then
60039     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
60040   $as_echo_n "(cached) " >&6
60041 else
60042
60043
60044       ac_ext=cpp
60045 ac_cpp='$CXXCPP $CPPFLAGS'
60046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60049
60050       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60051 /* end confdefs.h.  */
60052 #include <math.h>
60053 int
60054 main ()
60055 {
60056  modf(0, 0);
60057   ;
60058   return 0;
60059 }
60060 _ACEOF
60061 if ac_fn_cxx_try_compile "$LINENO"; then :
60062   glibcxx_cv_func_modf_use=yes
60063 else
60064   glibcxx_cv_func_modf_use=no
60065 fi
60066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60067       ac_ext=c
60068 ac_cpp='$CPP $CPPFLAGS'
60069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60072
60073
60074 fi
60075
60076   fi
60077   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
60078 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
60079
60080   if test x$glibcxx_cv_func_modf_use = x"yes"; then
60081     for ac_func in modf
60082 do :
60083   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
60084 if test "x$ac_cv_func_modf" = x""yes; then :
60085   cat >>confdefs.h <<_ACEOF
60086 #define HAVE_MODF 1
60087 _ACEOF
60088
60089 fi
60090 done
60091
60092   else
60093
60094   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
60095 $as_echo_n "checking for _modf declaration... " >&6; }
60096   if test x${glibcxx_cv_func__modf_use+set} != xset; then
60097     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
60098   $as_echo_n "(cached) " >&6
60099 else
60100
60101
60102       ac_ext=cpp
60103 ac_cpp='$CXXCPP $CPPFLAGS'
60104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60107
60108       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60109 /* end confdefs.h.  */
60110 #include <math.h>
60111 int
60112 main ()
60113 {
60114  _modf(0, 0);
60115   ;
60116   return 0;
60117 }
60118 _ACEOF
60119 if ac_fn_cxx_try_compile "$LINENO"; then :
60120   glibcxx_cv_func__modf_use=yes
60121 else
60122   glibcxx_cv_func__modf_use=no
60123 fi
60124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60125       ac_ext=c
60126 ac_cpp='$CPP $CPPFLAGS'
60127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60130
60131
60132 fi
60133
60134   fi
60135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
60136 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
60137
60138     if test x$glibcxx_cv_func__modf_use = x"yes"; then
60139       for ac_func in _modf
60140 do :
60141   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
60142 if test "x$ac_cv_func__modf" = x""yes; then :
60143   cat >>confdefs.h <<_ACEOF
60144 #define HAVE__MODF 1
60145 _ACEOF
60146
60147 fi
60148 done
60149
60150     fi
60151   fi
60152
60153
60154
60155
60156
60157   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
60158 $as_echo_n "checking for powf declaration... " >&6; }
60159   if test x${glibcxx_cv_func_powf_use+set} != xset; then
60160     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
60161   $as_echo_n "(cached) " >&6
60162 else
60163
60164
60165       ac_ext=cpp
60166 ac_cpp='$CXXCPP $CPPFLAGS'
60167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60170
60171       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60172 /* end confdefs.h.  */
60173 #include <math.h>
60174 int
60175 main ()
60176 {
60177  powf(0, 0);
60178   ;
60179   return 0;
60180 }
60181 _ACEOF
60182 if ac_fn_cxx_try_compile "$LINENO"; then :
60183   glibcxx_cv_func_powf_use=yes
60184 else
60185   glibcxx_cv_func_powf_use=no
60186 fi
60187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60188       ac_ext=c
60189 ac_cpp='$CPP $CPPFLAGS'
60190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60193
60194
60195 fi
60196
60197   fi
60198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
60199 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
60200
60201   if test x$glibcxx_cv_func_powf_use = x"yes"; then
60202     for ac_func in powf
60203 do :
60204   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
60205 if test "x$ac_cv_func_powf" = x""yes; then :
60206   cat >>confdefs.h <<_ACEOF
60207 #define HAVE_POWF 1
60208 _ACEOF
60209
60210 fi
60211 done
60212
60213   else
60214
60215   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
60216 $as_echo_n "checking for _powf declaration... " >&6; }
60217   if test x${glibcxx_cv_func__powf_use+set} != xset; then
60218     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
60219   $as_echo_n "(cached) " >&6
60220 else
60221
60222
60223       ac_ext=cpp
60224 ac_cpp='$CXXCPP $CPPFLAGS'
60225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60228
60229       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60230 /* end confdefs.h.  */
60231 #include <math.h>
60232 int
60233 main ()
60234 {
60235  _powf(0, 0);
60236   ;
60237   return 0;
60238 }
60239 _ACEOF
60240 if ac_fn_cxx_try_compile "$LINENO"; then :
60241   glibcxx_cv_func__powf_use=yes
60242 else
60243   glibcxx_cv_func__powf_use=no
60244 fi
60245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60246       ac_ext=c
60247 ac_cpp='$CPP $CPPFLAGS'
60248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60251
60252
60253 fi
60254
60255   fi
60256   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
60257 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
60258
60259     if test x$glibcxx_cv_func__powf_use = x"yes"; then
60260       for ac_func in _powf
60261 do :
60262   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
60263 if test "x$ac_cv_func__powf" = x""yes; then :
60264   cat >>confdefs.h <<_ACEOF
60265 #define HAVE__POWF 1
60266 _ACEOF
60267
60268 fi
60269 done
60270
60271     fi
60272   fi
60273
60274
60275
60276
60277
60278   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
60279 $as_echo_n "checking for sqrtf declaration... " >&6; }
60280   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
60281     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
60282   $as_echo_n "(cached) " >&6
60283 else
60284
60285
60286       ac_ext=cpp
60287 ac_cpp='$CXXCPP $CPPFLAGS'
60288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60291
60292       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60293 /* end confdefs.h.  */
60294 #include <math.h>
60295                       #ifdef HAVE_IEEEFP_H
60296                       #include <ieeefp.h>
60297                       #endif
60298
60299 int
60300 main ()
60301 {
60302  sqrtf(0);
60303   ;
60304   return 0;
60305 }
60306 _ACEOF
60307 if ac_fn_cxx_try_compile "$LINENO"; then :
60308   glibcxx_cv_func_sqrtf_use=yes
60309 else
60310   glibcxx_cv_func_sqrtf_use=no
60311 fi
60312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60313       ac_ext=c
60314 ac_cpp='$CPP $CPPFLAGS'
60315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60318
60319
60320 fi
60321
60322   fi
60323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
60324 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
60325
60326   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
60327     for ac_func in sqrtf
60328 do :
60329   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
60330 if test "x$ac_cv_func_sqrtf" = x""yes; then :
60331   cat >>confdefs.h <<_ACEOF
60332 #define HAVE_SQRTF 1
60333 _ACEOF
60334
60335 fi
60336 done
60337
60338   else
60339
60340   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
60341 $as_echo_n "checking for _sqrtf declaration... " >&6; }
60342   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
60343     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
60344   $as_echo_n "(cached) " >&6
60345 else
60346
60347
60348       ac_ext=cpp
60349 ac_cpp='$CXXCPP $CPPFLAGS'
60350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60353
60354       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60355 /* end confdefs.h.  */
60356 #include <math.h>
60357                       #ifdef HAVE_IEEEFP_H
60358                       #include <ieeefp.h>
60359                       #endif
60360
60361 int
60362 main ()
60363 {
60364  _sqrtf(0);
60365   ;
60366   return 0;
60367 }
60368 _ACEOF
60369 if ac_fn_cxx_try_compile "$LINENO"; then :
60370   glibcxx_cv_func__sqrtf_use=yes
60371 else
60372   glibcxx_cv_func__sqrtf_use=no
60373 fi
60374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60375       ac_ext=c
60376 ac_cpp='$CPP $CPPFLAGS'
60377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60380
60381
60382 fi
60383
60384   fi
60385   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
60386 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
60387
60388     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
60389       for ac_func in _sqrtf
60390 do :
60391   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
60392 if test "x$ac_cv_func__sqrtf" = x""yes; then :
60393   cat >>confdefs.h <<_ACEOF
60394 #define HAVE__SQRTF 1
60395 _ACEOF
60396
60397 fi
60398 done
60399
60400     fi
60401   fi
60402
60403
60404
60405
60406
60407   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
60408 $as_echo_n "checking for sincosf declaration... " >&6; }
60409   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
60410     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
60411   $as_echo_n "(cached) " >&6
60412 else
60413
60414
60415       ac_ext=cpp
60416 ac_cpp='$CXXCPP $CPPFLAGS'
60417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60420
60421       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60422 /* end confdefs.h.  */
60423 #include <math.h>
60424 int
60425 main ()
60426 {
60427  sincosf(0, 0, 0);
60428   ;
60429   return 0;
60430 }
60431 _ACEOF
60432 if ac_fn_cxx_try_compile "$LINENO"; then :
60433   glibcxx_cv_func_sincosf_use=yes
60434 else
60435   glibcxx_cv_func_sincosf_use=no
60436 fi
60437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60438       ac_ext=c
60439 ac_cpp='$CPP $CPPFLAGS'
60440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60443
60444
60445 fi
60446
60447   fi
60448   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
60449 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
60450
60451   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
60452     for ac_func in sincosf
60453 do :
60454   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
60455 if test "x$ac_cv_func_sincosf" = x""yes; then :
60456   cat >>confdefs.h <<_ACEOF
60457 #define HAVE_SINCOSF 1
60458 _ACEOF
60459
60460 fi
60461 done
60462
60463   else
60464
60465   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
60466 $as_echo_n "checking for _sincosf declaration... " >&6; }
60467   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
60468     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
60469   $as_echo_n "(cached) " >&6
60470 else
60471
60472
60473       ac_ext=cpp
60474 ac_cpp='$CXXCPP $CPPFLAGS'
60475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60478
60479       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60480 /* end confdefs.h.  */
60481 #include <math.h>
60482 int
60483 main ()
60484 {
60485  _sincosf(0, 0, 0);
60486   ;
60487   return 0;
60488 }
60489 _ACEOF
60490 if ac_fn_cxx_try_compile "$LINENO"; then :
60491   glibcxx_cv_func__sincosf_use=yes
60492 else
60493   glibcxx_cv_func__sincosf_use=no
60494 fi
60495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60496       ac_ext=c
60497 ac_cpp='$CPP $CPPFLAGS'
60498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60501
60502
60503 fi
60504
60505   fi
60506   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
60507 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
60508
60509     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
60510       for ac_func in _sincosf
60511 do :
60512   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
60513 if test "x$ac_cv_func__sincosf" = x""yes; then :
60514   cat >>confdefs.h <<_ACEOF
60515 #define HAVE__SINCOSF 1
60516 _ACEOF
60517
60518 fi
60519 done
60520
60521     fi
60522   fi
60523
60524
60525
60526
60527
60528   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
60529 $as_echo_n "checking for finitef declaration... " >&6; }
60530   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
60531     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
60532   $as_echo_n "(cached) " >&6
60533 else
60534
60535
60536       ac_ext=cpp
60537 ac_cpp='$CXXCPP $CPPFLAGS'
60538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60541
60542       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60543 /* end confdefs.h.  */
60544 #include <math.h>
60545                       #ifdef HAVE_IEEEFP_H
60546                       #include <ieeefp.h>
60547                       #endif
60548
60549 int
60550 main ()
60551 {
60552  finitef(0);
60553   ;
60554   return 0;
60555 }
60556 _ACEOF
60557 if ac_fn_cxx_try_compile "$LINENO"; then :
60558   glibcxx_cv_func_finitef_use=yes
60559 else
60560   glibcxx_cv_func_finitef_use=no
60561 fi
60562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60563       ac_ext=c
60564 ac_cpp='$CPP $CPPFLAGS'
60565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60568
60569
60570 fi
60571
60572   fi
60573   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
60574 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
60575
60576   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
60577     for ac_func in finitef
60578 do :
60579   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
60580 if test "x$ac_cv_func_finitef" = x""yes; then :
60581   cat >>confdefs.h <<_ACEOF
60582 #define HAVE_FINITEF 1
60583 _ACEOF
60584
60585 fi
60586 done
60587
60588   else
60589
60590   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
60591 $as_echo_n "checking for _finitef declaration... " >&6; }
60592   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
60593     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
60594   $as_echo_n "(cached) " >&6
60595 else
60596
60597
60598       ac_ext=cpp
60599 ac_cpp='$CXXCPP $CPPFLAGS'
60600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60603
60604       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60605 /* end confdefs.h.  */
60606 #include <math.h>
60607                       #ifdef HAVE_IEEEFP_H
60608                       #include <ieeefp.h>
60609                       #endif
60610
60611 int
60612 main ()
60613 {
60614  _finitef(0);
60615   ;
60616   return 0;
60617 }
60618 _ACEOF
60619 if ac_fn_cxx_try_compile "$LINENO"; then :
60620   glibcxx_cv_func__finitef_use=yes
60621 else
60622   glibcxx_cv_func__finitef_use=no
60623 fi
60624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60625       ac_ext=c
60626 ac_cpp='$CPP $CPPFLAGS'
60627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60630
60631
60632 fi
60633
60634   fi
60635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
60636 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
60637
60638     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
60639       for ac_func in _finitef
60640 do :
60641   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
60642 if test "x$ac_cv_func__finitef" = x""yes; then :
60643   cat >>confdefs.h <<_ACEOF
60644 #define HAVE__FINITEF 1
60645 _ACEOF
60646
60647 fi
60648 done
60649
60650     fi
60651   fi
60652
60653
60654
60655
60656
60657     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
60658 $as_echo_n "checking for long double trig functions... " >&6; }
60659   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
60660   $as_echo_n "(cached) " >&6
60661 else
60662
60663
60664     ac_ext=cpp
60665 ac_cpp='$CXXCPP $CPPFLAGS'
60666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60669
60670     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60671 /* end confdefs.h.  */
60672 #include <math.h>
60673 int
60674 main ()
60675 {
60676 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
60677   ;
60678   return 0;
60679 }
60680 _ACEOF
60681 if ac_fn_cxx_try_compile "$LINENO"; then :
60682   glibcxx_cv_func_long_double_trig_use=yes
60683 else
60684   glibcxx_cv_func_long_double_trig_use=no
60685 fi
60686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60687     ac_ext=c
60688 ac_cpp='$CPP $CPPFLAGS'
60689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60692
60693 fi
60694
60695   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
60696 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
60697   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
60698     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
60699 do :
60700   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60701 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60702 eval as_val=\$$as_ac_var
60703    if test "x$as_val" = x""yes; then :
60704   cat >>confdefs.h <<_ACEOF
60705 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60706 _ACEOF
60707
60708 fi
60709 done
60710
60711   else
60712     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
60713 $as_echo_n "checking for _long double trig functions... " >&6; }
60714     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
60715   $as_echo_n "(cached) " >&6
60716 else
60717
60718
60719       ac_ext=cpp
60720 ac_cpp='$CXXCPP $CPPFLAGS'
60721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60724
60725       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60726 /* end confdefs.h.  */
60727 #include <math.h>
60728 int
60729 main ()
60730 {
60731 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
60732   ;
60733   return 0;
60734 }
60735 _ACEOF
60736 if ac_fn_cxx_try_compile "$LINENO"; then :
60737   glibcxx_cv_func__long_double_trig_use=yes
60738 else
60739   glibcxx_cv_func__long_double_trig_use=no
60740 fi
60741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60742       ac_ext=c
60743 ac_cpp='$CPP $CPPFLAGS'
60744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60747
60748 fi
60749
60750     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
60751 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
60752     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
60753       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
60754 do :
60755   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60756 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60757 eval as_val=\$$as_ac_var
60758    if test "x$as_val" = x""yes; then :
60759   cat >>confdefs.h <<_ACEOF
60760 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60761 _ACEOF
60762
60763 fi
60764 done
60765
60766     fi
60767   fi
60768
60769
60770
60771
60772
60773     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
60774 $as_echo_n "checking for long double round functions... " >&6; }
60775   if test "${glibcxx_cv_func_long_double_round_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 int
60790 main ()
60791 {
60792 ceill (0); floorl (0);
60793   ;
60794   return 0;
60795 }
60796 _ACEOF
60797 if ac_fn_cxx_try_compile "$LINENO"; then :
60798   glibcxx_cv_func_long_double_round_use=yes
60799 else
60800   glibcxx_cv_func_long_double_round_use=no
60801 fi
60802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60803     ac_ext=c
60804 ac_cpp='$CPP $CPPFLAGS'
60805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60808
60809 fi
60810
60811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
60812 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
60813   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
60814     for ac_func in ceill floorl
60815 do :
60816   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60817 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60818 eval as_val=\$$as_ac_var
60819    if test "x$as_val" = x""yes; then :
60820   cat >>confdefs.h <<_ACEOF
60821 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60822 _ACEOF
60823
60824 fi
60825 done
60826
60827   else
60828     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
60829 $as_echo_n "checking for _long double round functions... " >&6; }
60830     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
60831   $as_echo_n "(cached) " >&6
60832 else
60833
60834
60835       ac_ext=cpp
60836 ac_cpp='$CXXCPP $CPPFLAGS'
60837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60840
60841       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60842 /* end confdefs.h.  */
60843 #include <math.h>
60844 int
60845 main ()
60846 {
60847 _ceill (0); _floorl (0);
60848   ;
60849   return 0;
60850 }
60851 _ACEOF
60852 if ac_fn_cxx_try_compile "$LINENO"; then :
60853   glibcxx_cv_func__long_double_round_use=yes
60854 else
60855   glibcxx_cv_func__long_double_round_use=no
60856 fi
60857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60858       ac_ext=c
60859 ac_cpp='$CPP $CPPFLAGS'
60860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60863
60864 fi
60865
60866     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
60867 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
60868     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
60869       for ac_func in _ceill _floorl
60870 do :
60871   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60872 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60873 eval as_val=\$$as_ac_var
60874    if test "x$as_val" = x""yes; then :
60875   cat >>confdefs.h <<_ACEOF
60876 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60877 _ACEOF
60878
60879 fi
60880 done
60881
60882     fi
60883   fi
60884
60885
60886
60887
60888
60889
60890   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
60891 $as_echo_n "checking for isnanl declaration... " >&6; }
60892   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
60893     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
60894   $as_echo_n "(cached) " >&6
60895 else
60896
60897
60898       ac_ext=cpp
60899 ac_cpp='$CXXCPP $CPPFLAGS'
60900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60903
60904       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60905 /* end confdefs.h.  */
60906 #include <math.h>
60907                       #ifdef HAVE_IEEEFP_H
60908                       #include <ieeefp.h>
60909                       #endif
60910
60911 int
60912 main ()
60913 {
60914  isnanl(0);
60915   ;
60916   return 0;
60917 }
60918 _ACEOF
60919 if ac_fn_cxx_try_compile "$LINENO"; then :
60920   glibcxx_cv_func_isnanl_use=yes
60921 else
60922   glibcxx_cv_func_isnanl_use=no
60923 fi
60924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60925       ac_ext=c
60926 ac_cpp='$CPP $CPPFLAGS'
60927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60930
60931
60932 fi
60933
60934   fi
60935   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
60936 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
60937
60938   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
60939     for ac_func in isnanl
60940 do :
60941   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
60942 if test "x$ac_cv_func_isnanl" = x""yes; then :
60943   cat >>confdefs.h <<_ACEOF
60944 #define HAVE_ISNANL 1
60945 _ACEOF
60946
60947 fi
60948 done
60949
60950   else
60951
60952   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
60953 $as_echo_n "checking for _isnanl declaration... " >&6; }
60954   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
60955     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
60956   $as_echo_n "(cached) " >&6
60957 else
60958
60959
60960       ac_ext=cpp
60961 ac_cpp='$CXXCPP $CPPFLAGS'
60962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60965
60966       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60967 /* end confdefs.h.  */
60968 #include <math.h>
60969                       #ifdef HAVE_IEEEFP_H
60970                       #include <ieeefp.h>
60971                       #endif
60972
60973 int
60974 main ()
60975 {
60976  _isnanl(0);
60977   ;
60978   return 0;
60979 }
60980 _ACEOF
60981 if ac_fn_cxx_try_compile "$LINENO"; then :
60982   glibcxx_cv_func__isnanl_use=yes
60983 else
60984   glibcxx_cv_func__isnanl_use=no
60985 fi
60986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60987       ac_ext=c
60988 ac_cpp='$CPP $CPPFLAGS'
60989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60992
60993
60994 fi
60995
60996   fi
60997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
60998 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
60999
61000     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
61001       for ac_func in _isnanl
61002 do :
61003   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
61004 if test "x$ac_cv_func__isnanl" = x""yes; then :
61005   cat >>confdefs.h <<_ACEOF
61006 #define HAVE__ISNANL 1
61007 _ACEOF
61008
61009 fi
61010 done
61011
61012     fi
61013   fi
61014
61015
61016
61017
61018
61019   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
61020 $as_echo_n "checking for isinfl declaration... " >&6; }
61021   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
61022     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
61023   $as_echo_n "(cached) " >&6
61024 else
61025
61026
61027       ac_ext=cpp
61028 ac_cpp='$CXXCPP $CPPFLAGS'
61029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61032
61033       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61034 /* end confdefs.h.  */
61035 #include <math.h>
61036                       #ifdef HAVE_IEEEFP_H
61037                       #include <ieeefp.h>
61038                       #endif
61039
61040 int
61041 main ()
61042 {
61043  isinfl(0);
61044   ;
61045   return 0;
61046 }
61047 _ACEOF
61048 if ac_fn_cxx_try_compile "$LINENO"; then :
61049   glibcxx_cv_func_isinfl_use=yes
61050 else
61051   glibcxx_cv_func_isinfl_use=no
61052 fi
61053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61054       ac_ext=c
61055 ac_cpp='$CPP $CPPFLAGS'
61056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61059
61060
61061 fi
61062
61063   fi
61064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
61065 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
61066
61067   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
61068     for ac_func in isinfl
61069 do :
61070   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
61071 if test "x$ac_cv_func_isinfl" = x""yes; then :
61072   cat >>confdefs.h <<_ACEOF
61073 #define HAVE_ISINFL 1
61074 _ACEOF
61075
61076 fi
61077 done
61078
61079   else
61080
61081   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
61082 $as_echo_n "checking for _isinfl declaration... " >&6; }
61083   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
61084     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
61085   $as_echo_n "(cached) " >&6
61086 else
61087
61088
61089       ac_ext=cpp
61090 ac_cpp='$CXXCPP $CPPFLAGS'
61091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61094
61095       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61096 /* end confdefs.h.  */
61097 #include <math.h>
61098                       #ifdef HAVE_IEEEFP_H
61099                       #include <ieeefp.h>
61100                       #endif
61101
61102 int
61103 main ()
61104 {
61105  _isinfl(0);
61106   ;
61107   return 0;
61108 }
61109 _ACEOF
61110 if ac_fn_cxx_try_compile "$LINENO"; then :
61111   glibcxx_cv_func__isinfl_use=yes
61112 else
61113   glibcxx_cv_func__isinfl_use=no
61114 fi
61115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61116       ac_ext=c
61117 ac_cpp='$CPP $CPPFLAGS'
61118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61121
61122
61123 fi
61124
61125   fi
61126   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
61127 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
61128
61129     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
61130       for ac_func in _isinfl
61131 do :
61132   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
61133 if test "x$ac_cv_func__isinfl" = x""yes; then :
61134   cat >>confdefs.h <<_ACEOF
61135 #define HAVE__ISINFL 1
61136 _ACEOF
61137
61138 fi
61139 done
61140
61141     fi
61142   fi
61143
61144
61145
61146
61147
61148   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
61149 $as_echo_n "checking for atan2l declaration... " >&6; }
61150   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
61151     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
61152   $as_echo_n "(cached) " >&6
61153 else
61154
61155
61156       ac_ext=cpp
61157 ac_cpp='$CXXCPP $CPPFLAGS'
61158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61161
61162       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61163 /* end confdefs.h.  */
61164 #include <math.h>
61165 int
61166 main ()
61167 {
61168  atan2l(0, 0);
61169   ;
61170   return 0;
61171 }
61172 _ACEOF
61173 if ac_fn_cxx_try_compile "$LINENO"; then :
61174   glibcxx_cv_func_atan2l_use=yes
61175 else
61176   glibcxx_cv_func_atan2l_use=no
61177 fi
61178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61179       ac_ext=c
61180 ac_cpp='$CPP $CPPFLAGS'
61181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61184
61185
61186 fi
61187
61188   fi
61189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
61190 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
61191
61192   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
61193     for ac_func in atan2l
61194 do :
61195   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
61196 if test "x$ac_cv_func_atan2l" = x""yes; then :
61197   cat >>confdefs.h <<_ACEOF
61198 #define HAVE_ATAN2L 1
61199 _ACEOF
61200
61201 fi
61202 done
61203
61204   else
61205
61206   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
61207 $as_echo_n "checking for _atan2l declaration... " >&6; }
61208   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
61209     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
61210   $as_echo_n "(cached) " >&6
61211 else
61212
61213
61214       ac_ext=cpp
61215 ac_cpp='$CXXCPP $CPPFLAGS'
61216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61219
61220       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61221 /* end confdefs.h.  */
61222 #include <math.h>
61223 int
61224 main ()
61225 {
61226  _atan2l(0, 0);
61227   ;
61228   return 0;
61229 }
61230 _ACEOF
61231 if ac_fn_cxx_try_compile "$LINENO"; then :
61232   glibcxx_cv_func__atan2l_use=yes
61233 else
61234   glibcxx_cv_func__atan2l_use=no
61235 fi
61236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61237       ac_ext=c
61238 ac_cpp='$CPP $CPPFLAGS'
61239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61242
61243
61244 fi
61245
61246   fi
61247   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
61248 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
61249
61250     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
61251       for ac_func in _atan2l
61252 do :
61253   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
61254 if test "x$ac_cv_func__atan2l" = x""yes; then :
61255   cat >>confdefs.h <<_ACEOF
61256 #define HAVE__ATAN2L 1
61257 _ACEOF
61258
61259 fi
61260 done
61261
61262     fi
61263   fi
61264
61265
61266
61267
61268
61269   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
61270 $as_echo_n "checking for expl declaration... " >&6; }
61271   if test x${glibcxx_cv_func_expl_use+set} != xset; then
61272     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
61273   $as_echo_n "(cached) " >&6
61274 else
61275
61276
61277       ac_ext=cpp
61278 ac_cpp='$CXXCPP $CPPFLAGS'
61279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61282
61283       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61284 /* end confdefs.h.  */
61285 #include <math.h>
61286                       #ifdef HAVE_IEEEFP_H
61287                       #include <ieeefp.h>
61288                       #endif
61289
61290 int
61291 main ()
61292 {
61293  expl(0);
61294   ;
61295   return 0;
61296 }
61297 _ACEOF
61298 if ac_fn_cxx_try_compile "$LINENO"; then :
61299   glibcxx_cv_func_expl_use=yes
61300 else
61301   glibcxx_cv_func_expl_use=no
61302 fi
61303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61304       ac_ext=c
61305 ac_cpp='$CPP $CPPFLAGS'
61306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61309
61310
61311 fi
61312
61313   fi
61314   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
61315 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
61316
61317   if test x$glibcxx_cv_func_expl_use = x"yes"; then
61318     for ac_func in expl
61319 do :
61320   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
61321 if test "x$ac_cv_func_expl" = x""yes; then :
61322   cat >>confdefs.h <<_ACEOF
61323 #define HAVE_EXPL 1
61324 _ACEOF
61325
61326 fi
61327 done
61328
61329   else
61330
61331   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
61332 $as_echo_n "checking for _expl declaration... " >&6; }
61333   if test x${glibcxx_cv_func__expl_use+set} != xset; then
61334     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
61335   $as_echo_n "(cached) " >&6
61336 else
61337
61338
61339       ac_ext=cpp
61340 ac_cpp='$CXXCPP $CPPFLAGS'
61341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61344
61345       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61346 /* end confdefs.h.  */
61347 #include <math.h>
61348                       #ifdef HAVE_IEEEFP_H
61349                       #include <ieeefp.h>
61350                       #endif
61351
61352 int
61353 main ()
61354 {
61355  _expl(0);
61356   ;
61357   return 0;
61358 }
61359 _ACEOF
61360 if ac_fn_cxx_try_compile "$LINENO"; then :
61361   glibcxx_cv_func__expl_use=yes
61362 else
61363   glibcxx_cv_func__expl_use=no
61364 fi
61365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61366       ac_ext=c
61367 ac_cpp='$CPP $CPPFLAGS'
61368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61371
61372
61373 fi
61374
61375   fi
61376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
61377 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
61378
61379     if test x$glibcxx_cv_func__expl_use = x"yes"; then
61380       for ac_func in _expl
61381 do :
61382   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
61383 if test "x$ac_cv_func__expl" = x""yes; then :
61384   cat >>confdefs.h <<_ACEOF
61385 #define HAVE__EXPL 1
61386 _ACEOF
61387
61388 fi
61389 done
61390
61391     fi
61392   fi
61393
61394
61395
61396
61397
61398   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
61399 $as_echo_n "checking for fabsl declaration... " >&6; }
61400   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
61401     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
61402   $as_echo_n "(cached) " >&6
61403 else
61404
61405
61406       ac_ext=cpp
61407 ac_cpp='$CXXCPP $CPPFLAGS'
61408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61411
61412       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61413 /* end confdefs.h.  */
61414 #include <math.h>
61415                       #ifdef HAVE_IEEEFP_H
61416                       #include <ieeefp.h>
61417                       #endif
61418
61419 int
61420 main ()
61421 {
61422  fabsl(0);
61423   ;
61424   return 0;
61425 }
61426 _ACEOF
61427 if ac_fn_cxx_try_compile "$LINENO"; then :
61428   glibcxx_cv_func_fabsl_use=yes
61429 else
61430   glibcxx_cv_func_fabsl_use=no
61431 fi
61432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61433       ac_ext=c
61434 ac_cpp='$CPP $CPPFLAGS'
61435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61438
61439
61440 fi
61441
61442   fi
61443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
61444 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
61445
61446   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
61447     for ac_func in fabsl
61448 do :
61449   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
61450 if test "x$ac_cv_func_fabsl" = x""yes; then :
61451   cat >>confdefs.h <<_ACEOF
61452 #define HAVE_FABSL 1
61453 _ACEOF
61454
61455 fi
61456 done
61457
61458   else
61459
61460   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
61461 $as_echo_n "checking for _fabsl declaration... " >&6; }
61462   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
61463     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
61464   $as_echo_n "(cached) " >&6
61465 else
61466
61467
61468       ac_ext=cpp
61469 ac_cpp='$CXXCPP $CPPFLAGS'
61470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61473
61474       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61475 /* end confdefs.h.  */
61476 #include <math.h>
61477                       #ifdef HAVE_IEEEFP_H
61478                       #include <ieeefp.h>
61479                       #endif
61480
61481 int
61482 main ()
61483 {
61484  _fabsl(0);
61485   ;
61486   return 0;
61487 }
61488 _ACEOF
61489 if ac_fn_cxx_try_compile "$LINENO"; then :
61490   glibcxx_cv_func__fabsl_use=yes
61491 else
61492   glibcxx_cv_func__fabsl_use=no
61493 fi
61494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61495       ac_ext=c
61496 ac_cpp='$CPP $CPPFLAGS'
61497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61500
61501
61502 fi
61503
61504   fi
61505   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
61506 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
61507
61508     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
61509       for ac_func in _fabsl
61510 do :
61511   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
61512 if test "x$ac_cv_func__fabsl" = x""yes; then :
61513   cat >>confdefs.h <<_ACEOF
61514 #define HAVE__FABSL 1
61515 _ACEOF
61516
61517 fi
61518 done
61519
61520     fi
61521   fi
61522
61523
61524
61525
61526
61527   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
61528 $as_echo_n "checking for fmodl declaration... " >&6; }
61529   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
61530     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
61531   $as_echo_n "(cached) " >&6
61532 else
61533
61534
61535       ac_ext=cpp
61536 ac_cpp='$CXXCPP $CPPFLAGS'
61537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61540
61541       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61542 /* end confdefs.h.  */
61543 #include <math.h>
61544 int
61545 main ()
61546 {
61547  fmodl(0, 0);
61548   ;
61549   return 0;
61550 }
61551 _ACEOF
61552 if ac_fn_cxx_try_compile "$LINENO"; then :
61553   glibcxx_cv_func_fmodl_use=yes
61554 else
61555   glibcxx_cv_func_fmodl_use=no
61556 fi
61557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61558       ac_ext=c
61559 ac_cpp='$CPP $CPPFLAGS'
61560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61563
61564
61565 fi
61566
61567   fi
61568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
61569 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
61570
61571   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
61572     for ac_func in fmodl
61573 do :
61574   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
61575 if test "x$ac_cv_func_fmodl" = x""yes; then :
61576   cat >>confdefs.h <<_ACEOF
61577 #define HAVE_FMODL 1
61578 _ACEOF
61579
61580 fi
61581 done
61582
61583   else
61584
61585   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
61586 $as_echo_n "checking for _fmodl declaration... " >&6; }
61587   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
61588     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
61589   $as_echo_n "(cached) " >&6
61590 else
61591
61592
61593       ac_ext=cpp
61594 ac_cpp='$CXXCPP $CPPFLAGS'
61595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61598
61599       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61600 /* end confdefs.h.  */
61601 #include <math.h>
61602 int
61603 main ()
61604 {
61605  _fmodl(0, 0);
61606   ;
61607   return 0;
61608 }
61609 _ACEOF
61610 if ac_fn_cxx_try_compile "$LINENO"; then :
61611   glibcxx_cv_func__fmodl_use=yes
61612 else
61613   glibcxx_cv_func__fmodl_use=no
61614 fi
61615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61616       ac_ext=c
61617 ac_cpp='$CPP $CPPFLAGS'
61618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61621
61622
61623 fi
61624
61625   fi
61626   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
61627 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
61628
61629     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
61630       for ac_func in _fmodl
61631 do :
61632   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
61633 if test "x$ac_cv_func__fmodl" = x""yes; then :
61634   cat >>confdefs.h <<_ACEOF
61635 #define HAVE__FMODL 1
61636 _ACEOF
61637
61638 fi
61639 done
61640
61641     fi
61642   fi
61643
61644
61645
61646
61647
61648   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
61649 $as_echo_n "checking for frexpl declaration... " >&6; }
61650   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
61651     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
61652   $as_echo_n "(cached) " >&6
61653 else
61654
61655
61656       ac_ext=cpp
61657 ac_cpp='$CXXCPP $CPPFLAGS'
61658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61661
61662       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61663 /* end confdefs.h.  */
61664 #include <math.h>
61665 int
61666 main ()
61667 {
61668  frexpl(0, 0);
61669   ;
61670   return 0;
61671 }
61672 _ACEOF
61673 if ac_fn_cxx_try_compile "$LINENO"; then :
61674   glibcxx_cv_func_frexpl_use=yes
61675 else
61676   glibcxx_cv_func_frexpl_use=no
61677 fi
61678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61679       ac_ext=c
61680 ac_cpp='$CPP $CPPFLAGS'
61681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61684
61685
61686 fi
61687
61688   fi
61689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
61690 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
61691
61692   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
61693     for ac_func in frexpl
61694 do :
61695   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
61696 if test "x$ac_cv_func_frexpl" = x""yes; then :
61697   cat >>confdefs.h <<_ACEOF
61698 #define HAVE_FREXPL 1
61699 _ACEOF
61700
61701 fi
61702 done
61703
61704   else
61705
61706   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
61707 $as_echo_n "checking for _frexpl declaration... " >&6; }
61708   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
61709     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
61710   $as_echo_n "(cached) " >&6
61711 else
61712
61713
61714       ac_ext=cpp
61715 ac_cpp='$CXXCPP $CPPFLAGS'
61716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61719
61720       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61721 /* end confdefs.h.  */
61722 #include <math.h>
61723 int
61724 main ()
61725 {
61726  _frexpl(0, 0);
61727   ;
61728   return 0;
61729 }
61730 _ACEOF
61731 if ac_fn_cxx_try_compile "$LINENO"; then :
61732   glibcxx_cv_func__frexpl_use=yes
61733 else
61734   glibcxx_cv_func__frexpl_use=no
61735 fi
61736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61737       ac_ext=c
61738 ac_cpp='$CPP $CPPFLAGS'
61739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61742
61743
61744 fi
61745
61746   fi
61747   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
61748 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
61749
61750     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
61751       for ac_func in _frexpl
61752 do :
61753   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
61754 if test "x$ac_cv_func__frexpl" = x""yes; then :
61755   cat >>confdefs.h <<_ACEOF
61756 #define HAVE__FREXPL 1
61757 _ACEOF
61758
61759 fi
61760 done
61761
61762     fi
61763   fi
61764
61765
61766
61767
61768
61769   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
61770 $as_echo_n "checking for hypotl declaration... " >&6; }
61771   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
61772     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
61773   $as_echo_n "(cached) " >&6
61774 else
61775
61776
61777       ac_ext=cpp
61778 ac_cpp='$CXXCPP $CPPFLAGS'
61779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61782
61783       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61784 /* end confdefs.h.  */
61785 #include <math.h>
61786 int
61787 main ()
61788 {
61789  hypotl(0, 0);
61790   ;
61791   return 0;
61792 }
61793 _ACEOF
61794 if ac_fn_cxx_try_compile "$LINENO"; then :
61795   glibcxx_cv_func_hypotl_use=yes
61796 else
61797   glibcxx_cv_func_hypotl_use=no
61798 fi
61799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61800       ac_ext=c
61801 ac_cpp='$CPP $CPPFLAGS'
61802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61805
61806
61807 fi
61808
61809   fi
61810   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
61811 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
61812
61813   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
61814     for ac_func in hypotl
61815 do :
61816   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
61817 if test "x$ac_cv_func_hypotl" = x""yes; then :
61818   cat >>confdefs.h <<_ACEOF
61819 #define HAVE_HYPOTL 1
61820 _ACEOF
61821
61822 fi
61823 done
61824
61825   else
61826
61827   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
61828 $as_echo_n "checking for _hypotl declaration... " >&6; }
61829   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
61830     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
61831   $as_echo_n "(cached) " >&6
61832 else
61833
61834
61835       ac_ext=cpp
61836 ac_cpp='$CXXCPP $CPPFLAGS'
61837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61840
61841       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61842 /* end confdefs.h.  */
61843 #include <math.h>
61844 int
61845 main ()
61846 {
61847  _hypotl(0, 0);
61848   ;
61849   return 0;
61850 }
61851 _ACEOF
61852 if ac_fn_cxx_try_compile "$LINENO"; then :
61853   glibcxx_cv_func__hypotl_use=yes
61854 else
61855   glibcxx_cv_func__hypotl_use=no
61856 fi
61857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61858       ac_ext=c
61859 ac_cpp='$CPP $CPPFLAGS'
61860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61863
61864
61865 fi
61866
61867   fi
61868   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
61869 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
61870
61871     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
61872       for ac_func in _hypotl
61873 do :
61874   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
61875 if test "x$ac_cv_func__hypotl" = x""yes; then :
61876   cat >>confdefs.h <<_ACEOF
61877 #define HAVE__HYPOTL 1
61878 _ACEOF
61879
61880 fi
61881 done
61882
61883     fi
61884   fi
61885
61886
61887
61888
61889
61890   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
61891 $as_echo_n "checking for ldexpl declaration... " >&6; }
61892   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
61893     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
61894   $as_echo_n "(cached) " >&6
61895 else
61896
61897
61898       ac_ext=cpp
61899 ac_cpp='$CXXCPP $CPPFLAGS'
61900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61903
61904       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61905 /* end confdefs.h.  */
61906 #include <math.h>
61907 int
61908 main ()
61909 {
61910  ldexpl(0, 0);
61911   ;
61912   return 0;
61913 }
61914 _ACEOF
61915 if ac_fn_cxx_try_compile "$LINENO"; then :
61916   glibcxx_cv_func_ldexpl_use=yes
61917 else
61918   glibcxx_cv_func_ldexpl_use=no
61919 fi
61920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61921       ac_ext=c
61922 ac_cpp='$CPP $CPPFLAGS'
61923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61926
61927
61928 fi
61929
61930   fi
61931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
61932 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
61933
61934   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
61935     for ac_func in ldexpl
61936 do :
61937   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
61938 if test "x$ac_cv_func_ldexpl" = x""yes; then :
61939   cat >>confdefs.h <<_ACEOF
61940 #define HAVE_LDEXPL 1
61941 _ACEOF
61942
61943 fi
61944 done
61945
61946   else
61947
61948   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
61949 $as_echo_n "checking for _ldexpl declaration... " >&6; }
61950   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
61951     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
61952   $as_echo_n "(cached) " >&6
61953 else
61954
61955
61956       ac_ext=cpp
61957 ac_cpp='$CXXCPP $CPPFLAGS'
61958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61961
61962       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61963 /* end confdefs.h.  */
61964 #include <math.h>
61965 int
61966 main ()
61967 {
61968  _ldexpl(0, 0);
61969   ;
61970   return 0;
61971 }
61972 _ACEOF
61973 if ac_fn_cxx_try_compile "$LINENO"; then :
61974   glibcxx_cv_func__ldexpl_use=yes
61975 else
61976   glibcxx_cv_func__ldexpl_use=no
61977 fi
61978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61979       ac_ext=c
61980 ac_cpp='$CPP $CPPFLAGS'
61981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61984
61985
61986 fi
61987
61988   fi
61989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
61990 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
61991
61992     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
61993       for ac_func in _ldexpl
61994 do :
61995   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
61996 if test "x$ac_cv_func__ldexpl" = x""yes; then :
61997   cat >>confdefs.h <<_ACEOF
61998 #define HAVE__LDEXPL 1
61999 _ACEOF
62000
62001 fi
62002 done
62003
62004     fi
62005   fi
62006
62007
62008
62009
62010
62011   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
62012 $as_echo_n "checking for logl declaration... " >&6; }
62013   if test x${glibcxx_cv_func_logl_use+set} != xset; then
62014     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
62015   $as_echo_n "(cached) " >&6
62016 else
62017
62018
62019       ac_ext=cpp
62020 ac_cpp='$CXXCPP $CPPFLAGS'
62021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62024
62025       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62026 /* end confdefs.h.  */
62027 #include <math.h>
62028                       #ifdef HAVE_IEEEFP_H
62029                       #include <ieeefp.h>
62030                       #endif
62031
62032 int
62033 main ()
62034 {
62035  logl(0);
62036   ;
62037   return 0;
62038 }
62039 _ACEOF
62040 if ac_fn_cxx_try_compile "$LINENO"; then :
62041   glibcxx_cv_func_logl_use=yes
62042 else
62043   glibcxx_cv_func_logl_use=no
62044 fi
62045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62046       ac_ext=c
62047 ac_cpp='$CPP $CPPFLAGS'
62048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62051
62052
62053 fi
62054
62055   fi
62056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
62057 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
62058
62059   if test x$glibcxx_cv_func_logl_use = x"yes"; then
62060     for ac_func in logl
62061 do :
62062   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
62063 if test "x$ac_cv_func_logl" = x""yes; then :
62064   cat >>confdefs.h <<_ACEOF
62065 #define HAVE_LOGL 1
62066 _ACEOF
62067
62068 fi
62069 done
62070
62071   else
62072
62073   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
62074 $as_echo_n "checking for _logl declaration... " >&6; }
62075   if test x${glibcxx_cv_func__logl_use+set} != xset; then
62076     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
62077   $as_echo_n "(cached) " >&6
62078 else
62079
62080
62081       ac_ext=cpp
62082 ac_cpp='$CXXCPP $CPPFLAGS'
62083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62086
62087       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62088 /* end confdefs.h.  */
62089 #include <math.h>
62090                       #ifdef HAVE_IEEEFP_H
62091                       #include <ieeefp.h>
62092                       #endif
62093
62094 int
62095 main ()
62096 {
62097  _logl(0);
62098   ;
62099   return 0;
62100 }
62101 _ACEOF
62102 if ac_fn_cxx_try_compile "$LINENO"; then :
62103   glibcxx_cv_func__logl_use=yes
62104 else
62105   glibcxx_cv_func__logl_use=no
62106 fi
62107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62108       ac_ext=c
62109 ac_cpp='$CPP $CPPFLAGS'
62110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62113
62114
62115 fi
62116
62117   fi
62118   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
62119 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
62120
62121     if test x$glibcxx_cv_func__logl_use = x"yes"; then
62122       for ac_func in _logl
62123 do :
62124   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
62125 if test "x$ac_cv_func__logl" = x""yes; then :
62126   cat >>confdefs.h <<_ACEOF
62127 #define HAVE__LOGL 1
62128 _ACEOF
62129
62130 fi
62131 done
62132
62133     fi
62134   fi
62135
62136
62137
62138
62139
62140   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
62141 $as_echo_n "checking for log10l declaration... " >&6; }
62142   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
62143     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
62144   $as_echo_n "(cached) " >&6
62145 else
62146
62147
62148       ac_ext=cpp
62149 ac_cpp='$CXXCPP $CPPFLAGS'
62150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62153
62154       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62155 /* end confdefs.h.  */
62156 #include <math.h>
62157                       #ifdef HAVE_IEEEFP_H
62158                       #include <ieeefp.h>
62159                       #endif
62160
62161 int
62162 main ()
62163 {
62164  log10l(0);
62165   ;
62166   return 0;
62167 }
62168 _ACEOF
62169 if ac_fn_cxx_try_compile "$LINENO"; then :
62170   glibcxx_cv_func_log10l_use=yes
62171 else
62172   glibcxx_cv_func_log10l_use=no
62173 fi
62174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62175       ac_ext=c
62176 ac_cpp='$CPP $CPPFLAGS'
62177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62180
62181
62182 fi
62183
62184   fi
62185   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
62186 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
62187
62188   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
62189     for ac_func in log10l
62190 do :
62191   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
62192 if test "x$ac_cv_func_log10l" = x""yes; then :
62193   cat >>confdefs.h <<_ACEOF
62194 #define HAVE_LOG10L 1
62195 _ACEOF
62196
62197 fi
62198 done
62199
62200   else
62201
62202   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
62203 $as_echo_n "checking for _log10l declaration... " >&6; }
62204   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
62205     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
62206   $as_echo_n "(cached) " >&6
62207 else
62208
62209
62210       ac_ext=cpp
62211 ac_cpp='$CXXCPP $CPPFLAGS'
62212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62215
62216       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62217 /* end confdefs.h.  */
62218 #include <math.h>
62219                       #ifdef HAVE_IEEEFP_H
62220                       #include <ieeefp.h>
62221                       #endif
62222
62223 int
62224 main ()
62225 {
62226  _log10l(0);
62227   ;
62228   return 0;
62229 }
62230 _ACEOF
62231 if ac_fn_cxx_try_compile "$LINENO"; then :
62232   glibcxx_cv_func__log10l_use=yes
62233 else
62234   glibcxx_cv_func__log10l_use=no
62235 fi
62236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62237       ac_ext=c
62238 ac_cpp='$CPP $CPPFLAGS'
62239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62242
62243
62244 fi
62245
62246   fi
62247   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
62248 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
62249
62250     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
62251       for ac_func in _log10l
62252 do :
62253   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
62254 if test "x$ac_cv_func__log10l" = x""yes; then :
62255   cat >>confdefs.h <<_ACEOF
62256 #define HAVE__LOG10L 1
62257 _ACEOF
62258
62259 fi
62260 done
62261
62262     fi
62263   fi
62264
62265
62266
62267
62268
62269   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
62270 $as_echo_n "checking for modfl declaration... " >&6; }
62271   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
62272     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
62273   $as_echo_n "(cached) " >&6
62274 else
62275
62276
62277       ac_ext=cpp
62278 ac_cpp='$CXXCPP $CPPFLAGS'
62279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62282
62283       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62284 /* end confdefs.h.  */
62285 #include <math.h>
62286 int
62287 main ()
62288 {
62289  modfl(0, 0);
62290   ;
62291   return 0;
62292 }
62293 _ACEOF
62294 if ac_fn_cxx_try_compile "$LINENO"; then :
62295   glibcxx_cv_func_modfl_use=yes
62296 else
62297   glibcxx_cv_func_modfl_use=no
62298 fi
62299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62300       ac_ext=c
62301 ac_cpp='$CPP $CPPFLAGS'
62302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62305
62306
62307 fi
62308
62309   fi
62310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
62311 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
62312
62313   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
62314     for ac_func in modfl
62315 do :
62316   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
62317 if test "x$ac_cv_func_modfl" = x""yes; then :
62318   cat >>confdefs.h <<_ACEOF
62319 #define HAVE_MODFL 1
62320 _ACEOF
62321
62322 fi
62323 done
62324
62325   else
62326
62327   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
62328 $as_echo_n "checking for _modfl declaration... " >&6; }
62329   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
62330     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
62331   $as_echo_n "(cached) " >&6
62332 else
62333
62334
62335       ac_ext=cpp
62336 ac_cpp='$CXXCPP $CPPFLAGS'
62337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62340
62341       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62342 /* end confdefs.h.  */
62343 #include <math.h>
62344 int
62345 main ()
62346 {
62347  _modfl(0, 0);
62348   ;
62349   return 0;
62350 }
62351 _ACEOF
62352 if ac_fn_cxx_try_compile "$LINENO"; then :
62353   glibcxx_cv_func__modfl_use=yes
62354 else
62355   glibcxx_cv_func__modfl_use=no
62356 fi
62357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62358       ac_ext=c
62359 ac_cpp='$CPP $CPPFLAGS'
62360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62363
62364
62365 fi
62366
62367   fi
62368   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
62369 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
62370
62371     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
62372       for ac_func in _modfl
62373 do :
62374   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
62375 if test "x$ac_cv_func__modfl" = x""yes; then :
62376   cat >>confdefs.h <<_ACEOF
62377 #define HAVE__MODFL 1
62378 _ACEOF
62379
62380 fi
62381 done
62382
62383     fi
62384   fi
62385
62386
62387
62388
62389
62390   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
62391 $as_echo_n "checking for powl declaration... " >&6; }
62392   if test x${glibcxx_cv_func_powl_use+set} != xset; then
62393     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
62394   $as_echo_n "(cached) " >&6
62395 else
62396
62397
62398       ac_ext=cpp
62399 ac_cpp='$CXXCPP $CPPFLAGS'
62400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62403
62404       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62405 /* end confdefs.h.  */
62406 #include <math.h>
62407 int
62408 main ()
62409 {
62410  powl(0, 0);
62411   ;
62412   return 0;
62413 }
62414 _ACEOF
62415 if ac_fn_cxx_try_compile "$LINENO"; then :
62416   glibcxx_cv_func_powl_use=yes
62417 else
62418   glibcxx_cv_func_powl_use=no
62419 fi
62420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62421       ac_ext=c
62422 ac_cpp='$CPP $CPPFLAGS'
62423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62426
62427
62428 fi
62429
62430   fi
62431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
62432 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
62433
62434   if test x$glibcxx_cv_func_powl_use = x"yes"; then
62435     for ac_func in powl
62436 do :
62437   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
62438 if test "x$ac_cv_func_powl" = x""yes; then :
62439   cat >>confdefs.h <<_ACEOF
62440 #define HAVE_POWL 1
62441 _ACEOF
62442
62443 fi
62444 done
62445
62446   else
62447
62448   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
62449 $as_echo_n "checking for _powl declaration... " >&6; }
62450   if test x${glibcxx_cv_func__powl_use+set} != xset; then
62451     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
62452   $as_echo_n "(cached) " >&6
62453 else
62454
62455
62456       ac_ext=cpp
62457 ac_cpp='$CXXCPP $CPPFLAGS'
62458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62461
62462       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62463 /* end confdefs.h.  */
62464 #include <math.h>
62465 int
62466 main ()
62467 {
62468  _powl(0, 0);
62469   ;
62470   return 0;
62471 }
62472 _ACEOF
62473 if ac_fn_cxx_try_compile "$LINENO"; then :
62474   glibcxx_cv_func__powl_use=yes
62475 else
62476   glibcxx_cv_func__powl_use=no
62477 fi
62478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62479       ac_ext=c
62480 ac_cpp='$CPP $CPPFLAGS'
62481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62484
62485
62486 fi
62487
62488   fi
62489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
62490 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
62491
62492     if test x$glibcxx_cv_func__powl_use = x"yes"; then
62493       for ac_func in _powl
62494 do :
62495   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
62496 if test "x$ac_cv_func__powl" = x""yes; then :
62497   cat >>confdefs.h <<_ACEOF
62498 #define HAVE__POWL 1
62499 _ACEOF
62500
62501 fi
62502 done
62503
62504     fi
62505   fi
62506
62507
62508
62509
62510
62511   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
62512 $as_echo_n "checking for sqrtl declaration... " >&6; }
62513   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
62514     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
62515   $as_echo_n "(cached) " >&6
62516 else
62517
62518
62519       ac_ext=cpp
62520 ac_cpp='$CXXCPP $CPPFLAGS'
62521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62524
62525       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62526 /* end confdefs.h.  */
62527 #include <math.h>
62528                       #ifdef HAVE_IEEEFP_H
62529                       #include <ieeefp.h>
62530                       #endif
62531
62532 int
62533 main ()
62534 {
62535  sqrtl(0);
62536   ;
62537   return 0;
62538 }
62539 _ACEOF
62540 if ac_fn_cxx_try_compile "$LINENO"; then :
62541   glibcxx_cv_func_sqrtl_use=yes
62542 else
62543   glibcxx_cv_func_sqrtl_use=no
62544 fi
62545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62546       ac_ext=c
62547 ac_cpp='$CPP $CPPFLAGS'
62548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62551
62552
62553 fi
62554
62555   fi
62556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
62557 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
62558
62559   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
62560     for ac_func in sqrtl
62561 do :
62562   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
62563 if test "x$ac_cv_func_sqrtl" = x""yes; then :
62564   cat >>confdefs.h <<_ACEOF
62565 #define HAVE_SQRTL 1
62566 _ACEOF
62567
62568 fi
62569 done
62570
62571   else
62572
62573   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
62574 $as_echo_n "checking for _sqrtl declaration... " >&6; }
62575   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
62576     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
62577   $as_echo_n "(cached) " >&6
62578 else
62579
62580
62581       ac_ext=cpp
62582 ac_cpp='$CXXCPP $CPPFLAGS'
62583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62586
62587       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62588 /* end confdefs.h.  */
62589 #include <math.h>
62590                       #ifdef HAVE_IEEEFP_H
62591                       #include <ieeefp.h>
62592                       #endif
62593
62594 int
62595 main ()
62596 {
62597  _sqrtl(0);
62598   ;
62599   return 0;
62600 }
62601 _ACEOF
62602 if ac_fn_cxx_try_compile "$LINENO"; then :
62603   glibcxx_cv_func__sqrtl_use=yes
62604 else
62605   glibcxx_cv_func__sqrtl_use=no
62606 fi
62607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62608       ac_ext=c
62609 ac_cpp='$CPP $CPPFLAGS'
62610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62613
62614
62615 fi
62616
62617   fi
62618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
62619 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
62620
62621     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
62622       for ac_func in _sqrtl
62623 do :
62624   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
62625 if test "x$ac_cv_func__sqrtl" = x""yes; then :
62626   cat >>confdefs.h <<_ACEOF
62627 #define HAVE__SQRTL 1
62628 _ACEOF
62629
62630 fi
62631 done
62632
62633     fi
62634   fi
62635
62636
62637
62638
62639
62640   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
62641 $as_echo_n "checking for sincosl declaration... " >&6; }
62642   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
62643     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
62644   $as_echo_n "(cached) " >&6
62645 else
62646
62647
62648       ac_ext=cpp
62649 ac_cpp='$CXXCPP $CPPFLAGS'
62650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62653
62654       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62655 /* end confdefs.h.  */
62656 #include <math.h>
62657 int
62658 main ()
62659 {
62660  sincosl(0, 0, 0);
62661   ;
62662   return 0;
62663 }
62664 _ACEOF
62665 if ac_fn_cxx_try_compile "$LINENO"; then :
62666   glibcxx_cv_func_sincosl_use=yes
62667 else
62668   glibcxx_cv_func_sincosl_use=no
62669 fi
62670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62671       ac_ext=c
62672 ac_cpp='$CPP $CPPFLAGS'
62673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62676
62677
62678 fi
62679
62680   fi
62681   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
62682 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
62683
62684   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
62685     for ac_func in sincosl
62686 do :
62687   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
62688 if test "x$ac_cv_func_sincosl" = x""yes; then :
62689   cat >>confdefs.h <<_ACEOF
62690 #define HAVE_SINCOSL 1
62691 _ACEOF
62692
62693 fi
62694 done
62695
62696   else
62697
62698   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
62699 $as_echo_n "checking for _sincosl declaration... " >&6; }
62700   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
62701     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
62702   $as_echo_n "(cached) " >&6
62703 else
62704
62705
62706       ac_ext=cpp
62707 ac_cpp='$CXXCPP $CPPFLAGS'
62708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62711
62712       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62713 /* end confdefs.h.  */
62714 #include <math.h>
62715 int
62716 main ()
62717 {
62718  _sincosl(0, 0, 0);
62719   ;
62720   return 0;
62721 }
62722 _ACEOF
62723 if ac_fn_cxx_try_compile "$LINENO"; then :
62724   glibcxx_cv_func__sincosl_use=yes
62725 else
62726   glibcxx_cv_func__sincosl_use=no
62727 fi
62728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62729       ac_ext=c
62730 ac_cpp='$CPP $CPPFLAGS'
62731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62734
62735
62736 fi
62737
62738   fi
62739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
62740 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
62741
62742     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
62743       for ac_func in _sincosl
62744 do :
62745   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
62746 if test "x$ac_cv_func__sincosl" = x""yes; then :
62747   cat >>confdefs.h <<_ACEOF
62748 #define HAVE__SINCOSL 1
62749 _ACEOF
62750
62751 fi
62752 done
62753
62754     fi
62755   fi
62756
62757
62758
62759
62760
62761   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
62762 $as_echo_n "checking for finitel declaration... " >&6; }
62763   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
62764     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
62765   $as_echo_n "(cached) " >&6
62766 else
62767
62768
62769       ac_ext=cpp
62770 ac_cpp='$CXXCPP $CPPFLAGS'
62771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62774
62775       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62776 /* end confdefs.h.  */
62777 #include <math.h>
62778                       #ifdef HAVE_IEEEFP_H
62779                       #include <ieeefp.h>
62780                       #endif
62781
62782 int
62783 main ()
62784 {
62785  finitel(0);
62786   ;
62787   return 0;
62788 }
62789 _ACEOF
62790 if ac_fn_cxx_try_compile "$LINENO"; then :
62791   glibcxx_cv_func_finitel_use=yes
62792 else
62793   glibcxx_cv_func_finitel_use=no
62794 fi
62795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62796       ac_ext=c
62797 ac_cpp='$CPP $CPPFLAGS'
62798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62801
62802
62803 fi
62804
62805   fi
62806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
62807 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
62808
62809   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
62810     for ac_func in finitel
62811 do :
62812   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
62813 if test "x$ac_cv_func_finitel" = x""yes; then :
62814   cat >>confdefs.h <<_ACEOF
62815 #define HAVE_FINITEL 1
62816 _ACEOF
62817
62818 fi
62819 done
62820
62821   else
62822
62823   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
62824 $as_echo_n "checking for _finitel declaration... " >&6; }
62825   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
62826     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
62827   $as_echo_n "(cached) " >&6
62828 else
62829
62830
62831       ac_ext=cpp
62832 ac_cpp='$CXXCPP $CPPFLAGS'
62833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62836
62837       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62838 /* end confdefs.h.  */
62839 #include <math.h>
62840                       #ifdef HAVE_IEEEFP_H
62841                       #include <ieeefp.h>
62842                       #endif
62843
62844 int
62845 main ()
62846 {
62847  _finitel(0);
62848   ;
62849   return 0;
62850 }
62851 _ACEOF
62852 if ac_fn_cxx_try_compile "$LINENO"; then :
62853   glibcxx_cv_func__finitel_use=yes
62854 else
62855   glibcxx_cv_func__finitel_use=no
62856 fi
62857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62858       ac_ext=c
62859 ac_cpp='$CPP $CPPFLAGS'
62860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62863
62864
62865 fi
62866
62867   fi
62868   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
62869 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
62870
62871     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
62872       for ac_func in _finitel
62873 do :
62874   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
62875 if test "x$ac_cv_func__finitel" = x""yes; then :
62876   cat >>confdefs.h <<_ACEOF
62877 #define HAVE__FINITEL 1
62878 _ACEOF
62879
62880 fi
62881 done
62882
62883     fi
62884   fi
62885
62886
62887
62888
62889   LIBS="$ac_save_LIBS"
62890   CXXFLAGS="$ac_save_CXXFLAGS"
62891
62892
62893   ac_test_CXXFLAGS="${CXXFLAGS+set}"
62894   ac_save_CXXFLAGS="$CXXFLAGS"
62895   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
62896
62897
62898   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
62899 $as_echo_n "checking for strtold declaration... " >&6; }
62900   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
62901     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
62902   $as_echo_n "(cached) " >&6
62903 else
62904
62905
62906       ac_ext=cpp
62907 ac_cpp='$CXXCPP $CPPFLAGS'
62908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62911
62912       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62913 /* end confdefs.h.  */
62914 #include <stdlib.h>
62915 int
62916 main ()
62917 {
62918  strtold(0, 0);
62919   ;
62920   return 0;
62921 }
62922 _ACEOF
62923 if ac_fn_cxx_try_compile "$LINENO"; then :
62924   glibcxx_cv_func_strtold_use=yes
62925 else
62926   glibcxx_cv_func_strtold_use=no
62927 fi
62928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62929       ac_ext=c
62930 ac_cpp='$CPP $CPPFLAGS'
62931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62934
62935
62936 fi
62937
62938   fi
62939   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
62940 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
62941   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
62942     for ac_func in strtold
62943 do :
62944   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
62945 if test "x$ac_cv_func_strtold" = x""yes; then :
62946   cat >>confdefs.h <<_ACEOF
62947 #define HAVE_STRTOLD 1
62948 _ACEOF
62949
62950 fi
62951 done
62952
62953   fi
62954
62955
62956
62957
62958   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
62959 $as_echo_n "checking for strtof declaration... " >&6; }
62960   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
62961     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
62962   $as_echo_n "(cached) " >&6
62963 else
62964
62965
62966       ac_ext=cpp
62967 ac_cpp='$CXXCPP $CPPFLAGS'
62968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62971
62972       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62973 /* end confdefs.h.  */
62974 #include <stdlib.h>
62975 int
62976 main ()
62977 {
62978  strtof(0, 0);
62979   ;
62980   return 0;
62981 }
62982 _ACEOF
62983 if ac_fn_cxx_try_compile "$LINENO"; then :
62984   glibcxx_cv_func_strtof_use=yes
62985 else
62986   glibcxx_cv_func_strtof_use=no
62987 fi
62988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62989       ac_ext=c
62990 ac_cpp='$CPP $CPPFLAGS'
62991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62994
62995
62996 fi
62997
62998   fi
62999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
63000 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
63001   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
63002     for ac_func in strtof
63003 do :
63004   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
63005 if test "x$ac_cv_func_strtof" = x""yes; then :
63006   cat >>confdefs.h <<_ACEOF
63007 #define HAVE_STRTOF 1
63008 _ACEOF
63009
63010 fi
63011 done
63012
63013   fi
63014
63015
63016
63017
63018   CXXFLAGS="$ac_save_CXXFLAGS"
63019
63020     ;;
63021   *-solaris*)
63022     case "$target" in
63023       *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
63024
63025   # If we're not using GNU ld, then there's no point in even trying these
63026   # tests.  Check for that first.  We should have already tested for gld
63027   # by now (in libtool), but require it now just to be safe...
63028   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63029   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63030
63031
63032
63033   # The name set by libtool depends on the version of libtool.  Shame on us
63034   # for depending on an impl detail, but c'est la vie.  Older versions used
63035   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63036   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63037   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
63038   # set (hence we're using an older libtool), then set it.
63039   if test x${with_gnu_ld+set} != xset; then
63040     if test x${ac_cv_prog_gnu_ld+set} != xset; then
63041       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
63042       with_gnu_ld=no
63043     else
63044       with_gnu_ld=$ac_cv_prog_gnu_ld
63045     fi
63046   fi
63047
63048   # Start by getting the version number.  I think the libtool test already
63049   # does some of this, but throws away the result.
63050   glibcxx_ld_is_gold=no
63051   if test x"$with_gnu_ld" = x"yes"; then
63052     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63053 $as_echo_n "checking for ld version... " >&6; }
63054
63055     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63056       glibcxx_ld_is_gold=yes
63057     fi
63058     ldver=`$LD --version 2>/dev/null |
63059            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'`
63060
63061     glibcxx_gnu_ld_version=`echo $ldver | \
63062            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63063     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63064 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63065   fi
63066
63067   # Set --gc-sections.
63068   glibcxx_have_gc_sections=no
63069   if test "$glibcxx_ld_is_gold" = "yes"; then
63070     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63071       glibcxx_have_gc_sections=yes
63072     fi
63073   else
63074     glibcxx_gcsections_min_ld=21602
63075     if test x"$with_gnu_ld" = x"yes" &&
63076         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63077       glibcxx_have_gc_sections=yes
63078     fi
63079   fi
63080   if test "$glibcxx_have_gc_sections" = "yes"; then
63081     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
63082     # NB: This flag only works reliably after 2.16.1. Configure tests
63083     # for this are difficult, so hard wire a value that should work.
63084
63085     ac_test_CFLAGS="${CFLAGS+set}"
63086     ac_save_CFLAGS="$CFLAGS"
63087     CFLAGS='-Wl,--gc-sections'
63088
63089     # Check for -Wl,--gc-sections
63090     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63091 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63092     if test x$gcc_no_link = xyes; then
63093   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63094 fi
63095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63096 /* end confdefs.h.  */
63097  int one(void) { return 1; }
63098      int two(void) { return 2; }
63099
63100 int
63101 main ()
63102 {
63103  two();
63104   ;
63105   return 0;
63106 }
63107 _ACEOF
63108 if ac_fn_c_try_link "$LINENO"; then :
63109   ac_gcsections=yes
63110 else
63111   ac_gcsections=no
63112 fi
63113 rm -f core conftest.err conftest.$ac_objext \
63114     conftest$ac_exeext conftest.$ac_ext
63115     if test "$ac_gcsections" = "yes"; then
63116       rm -f conftest.c
63117       touch conftest.c
63118       if $CC -c conftest.c; then
63119         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63120            grep "Warning: gc-sections option ignored" > /dev/null; then
63121           ac_gcsections=no
63122         fi
63123       fi
63124       rm -f conftest.c conftest.o conftest
63125     fi
63126     if test "$ac_gcsections" = "yes"; then
63127       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63128     fi
63129     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63130 $as_echo "$ac_gcsections" >&6; }
63131
63132     if test "$ac_test_CFLAGS" = set; then
63133       CFLAGS="$ac_save_CFLAGS"
63134     else
63135       # this is the suspicious part
63136       CFLAGS=''
63137     fi
63138   fi
63139
63140   # Set -z,relro.
63141   # Note this is only for shared objects.
63142   ac_ld_relro=no
63143   if test x"$with_gnu_ld" = x"yes"; then
63144     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63145 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63146     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63147     if test -n "$cxx_z_relo"; then
63148       OPT_LDFLAGS="-Wl,-z,relro"
63149       ac_ld_relro=yes
63150     fi
63151     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63152 $as_echo "$ac_ld_relro" >&6; }
63153   fi
63154
63155   # Set linker optimization flags.
63156   if test x"$with_gnu_ld" = x"yes"; then
63157     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63158   fi
63159
63160
63161
63162
63163          $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
63164
63165          $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63166
63167          $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
63168
63169          # All of the dependencies for wide character support are here, so
63170          # turn it on.
63171          $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
63172
63173         ;;
63174     esac
63175     case "$target" in
63176       *-*-solaris2.10)
63177       # These two C99 functions are present only in Solaris >= 10
63178       $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
63179
63180       $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
63181
63182      ;;
63183     esac
63184     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63185
63186     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63187
63188     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
63189
63190     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63191
63192     ;;
63193   *-tpf)
63194     SECTION_FLAGS='-ffunction-sections -fdata-sections'
63195
63196
63197   # If we're not using GNU ld, then there's no point in even trying these
63198   # tests.  Check for that first.  We should have already tested for gld
63199   # by now (in libtool), but require it now just to be safe...
63200   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63201   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63202
63203
63204
63205   # The name set by libtool depends on the version of libtool.  Shame on us
63206   # for depending on an impl detail, but c'est la vie.  Older versions used
63207   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63208   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63209   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
63210   # set (hence we're using an older libtool), then set it.
63211   if test x${with_gnu_ld+set} != xset; then
63212     if test x${ac_cv_prog_gnu_ld+set} != xset; then
63213       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
63214       with_gnu_ld=no
63215     else
63216       with_gnu_ld=$ac_cv_prog_gnu_ld
63217     fi
63218   fi
63219
63220   # Start by getting the version number.  I think the libtool test already
63221   # does some of this, but throws away the result.
63222   glibcxx_ld_is_gold=no
63223   if test x"$with_gnu_ld" = x"yes"; then
63224     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63225 $as_echo_n "checking for ld version... " >&6; }
63226
63227     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63228       glibcxx_ld_is_gold=yes
63229     fi
63230     ldver=`$LD --version 2>/dev/null |
63231            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'`
63232
63233     glibcxx_gnu_ld_version=`echo $ldver | \
63234            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63235     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63236 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63237   fi
63238
63239   # Set --gc-sections.
63240   glibcxx_have_gc_sections=no
63241   if test "$glibcxx_ld_is_gold" = "yes"; then
63242     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63243       glibcxx_have_gc_sections=yes
63244     fi
63245   else
63246     glibcxx_gcsections_min_ld=21602
63247     if test x"$with_gnu_ld" = x"yes" &&
63248         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63249       glibcxx_have_gc_sections=yes
63250     fi
63251   fi
63252   if test "$glibcxx_have_gc_sections" = "yes"; then
63253     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
63254     # NB: This flag only works reliably after 2.16.1. Configure tests
63255     # for this are difficult, so hard wire a value that should work.
63256
63257     ac_test_CFLAGS="${CFLAGS+set}"
63258     ac_save_CFLAGS="$CFLAGS"
63259     CFLAGS='-Wl,--gc-sections'
63260
63261     # Check for -Wl,--gc-sections
63262     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63263 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63264     if test x$gcc_no_link = xyes; then
63265   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63266 fi
63267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63268 /* end confdefs.h.  */
63269  int one(void) { return 1; }
63270      int two(void) { return 2; }
63271
63272 int
63273 main ()
63274 {
63275  two();
63276   ;
63277   return 0;
63278 }
63279 _ACEOF
63280 if ac_fn_c_try_link "$LINENO"; then :
63281   ac_gcsections=yes
63282 else
63283   ac_gcsections=no
63284 fi
63285 rm -f core conftest.err conftest.$ac_objext \
63286     conftest$ac_exeext conftest.$ac_ext
63287     if test "$ac_gcsections" = "yes"; then
63288       rm -f conftest.c
63289       touch conftest.c
63290       if $CC -c conftest.c; then
63291         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63292            grep "Warning: gc-sections option ignored" > /dev/null; then
63293           ac_gcsections=no
63294         fi
63295       fi
63296       rm -f conftest.c conftest.o conftest
63297     fi
63298     if test "$ac_gcsections" = "yes"; then
63299       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63300     fi
63301     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63302 $as_echo "$ac_gcsections" >&6; }
63303
63304     if test "$ac_test_CFLAGS" = set; then
63305       CFLAGS="$ac_save_CFLAGS"
63306     else
63307       # this is the suspicious part
63308       CFLAGS=''
63309     fi
63310   fi
63311
63312   # Set -z,relro.
63313   # Note this is only for shared objects.
63314   ac_ld_relro=no
63315   if test x"$with_gnu_ld" = x"yes"; then
63316     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63317 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63318     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63319     if test -n "$cxx_z_relo"; then
63320       OPT_LDFLAGS="-Wl,-z,relro"
63321       ac_ld_relro=yes
63322     fi
63323     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63324 $as_echo "$ac_ld_relro" >&6; }
63325   fi
63326
63327   # Set linker optimization flags.
63328   if test x"$with_gnu_ld" = x"yes"; then
63329     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63330   fi
63331
63332
63333
63334
63335     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63336
63337     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
63338
63339     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
63340
63341     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
63342
63343     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
63344
63345     $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
63346
63347     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63348
63349     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63350
63351     $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
63352
63353     $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
63354
63355     if test x"long_double_math_on_this_cpu" = x"yes"; then
63356       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
63357
63358       $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
63359
63360       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
63361
63362       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
63363
63364     fi
63365     ;;
63366   *-vxworks)
63367     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
63368
63369     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
63370
63371     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
63372
63373     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
63374
63375     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
63376
63377     $as_echo "#define HAVE_COSF 1" >>confdefs.h
63378
63379     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
63380
63381     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
63382
63383     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
63384
63385     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
63386
63387     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
63388
63389     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63390
63391     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
63392
63393     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
63394
63395     $as_echo "#define HAVE_POWF 1" >>confdefs.h
63396
63397     $as_echo "#define HAVE_SINF 1" >>confdefs.h
63398
63399     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
63400
63401     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
63402
63403     $as_echo "#define HAVE_TANF 1" >>confdefs.h
63404
63405     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
63406
63407     ;;
63408   *)
63409     as_fn_error "No support for this host/target combination." "$LINENO" 5
63410    ;;
63411 esac
63412
63413   fi
63414
63415   # At some point, we should differentiate between architectures
63416   # like x86, which have long double versions, and alpha/powerpc/etc.,
63417   # which don't. For the time being, punt.
63418   if test x"long_double_math_on_this_cpu" = x"yes"; then
63419     $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
63420
63421     $as_echo "#define HAVE_ASINL 1" >>confdefs.h
63422
63423     $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
63424
63425     $as_echo "#define HAVE_ATANL 1" >>confdefs.h
63426
63427     $as_echo "#define HAVE_CEILL 1" >>confdefs.h
63428
63429     $as_echo "#define HAVE_COSL 1" >>confdefs.h
63430
63431     $as_echo "#define HAVE_COSHL 1" >>confdefs.h
63432
63433     $as_echo "#define HAVE_EXPL 1" >>confdefs.h
63434
63435     $as_echo "#define HAVE_FABSL 1" >>confdefs.h
63436
63437     $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
63438
63439     $as_echo "#define HAVE_FMODL 1" >>confdefs.h
63440
63441     $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
63442
63443     $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
63444
63445     $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
63446
63447     $as_echo "#define HAVE_LOGL 1" >>confdefs.h
63448
63449     $as_echo "#define HAVE_MODFL 1" >>confdefs.h
63450
63451     $as_echo "#define HAVE_POWL 1" >>confdefs.h
63452
63453     $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
63454
63455     $as_echo "#define HAVE_SINL 1" >>confdefs.h
63456
63457     $as_echo "#define HAVE_SINHL 1" >>confdefs.h
63458
63459     $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
63460
63461     $as_echo "#define HAVE_TANL 1" >>confdefs.h
63462
63463     $as_echo "#define HAVE_TANHL 1" >>confdefs.h
63464
63465   fi
63466 fi
63467
63468 # Check for _Unwind_GetIPInfo.
63469
63470
63471 # Check whether --with-system-libunwind was given.
63472 if test "${with_system_libunwind+set}" = set; then :
63473   withval=$with_system_libunwind;
63474 fi
63475
63476   # If system-libunwind was not specifically set, pick a default setting.
63477   if test x$with_system_libunwind = x; then
63478     case ${target} in
63479       ia64-*-hpux*) with_system_libunwind=yes ;;
63480       *) with_system_libunwind=no ;;
63481     esac
63482   fi
63483   # Based on system-libunwind and target, do we have ipinfo?
63484   if  test x$with_system_libunwind = xyes; then
63485     case ${target} in
63486       ia64-*-*) have_unwind_getipinfo=no ;;
63487       *) have_unwind_getipinfo=yes ;;
63488     esac
63489   else
63490     # Darwin before version 9 does not have _Unwind_GetIPInfo.
63491
63492     case ${target} in
63493       *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
63494       *) have_unwind_getipinfo=yes ;;
63495     esac
63496
63497   fi
63498
63499   if test x$have_unwind_getipinfo = xyes; then
63500
63501 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
63502
63503   fi
63504
63505
63506
63507  # Check whether --enable-linux-futex was given.
63508 if test "${enable_linux_futex+set}" = set; then :
63509   enableval=$enable_linux_futex;
63510       case "$enableval" in
63511        yes|no|default) ;;
63512        *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
63513                           esac
63514
63515 else
63516   enable_linux_futex=default
63517 fi
63518
63519
63520 case "$target" in
63521   *-linux*)
63522     case "$enable_linux_futex" in
63523       default)
63524         # If headers don't have gettid/futex syscalls definition, then
63525         # default to no, otherwise there will be compile time failures.
63526         # Otherwise, default to yes.  If we don't detect we are
63527         # compiled/linked against NPTL and not cross-compiling, check
63528         # if programs are run by default against NPTL and if not, issue
63529         # a warning.
63530         enable_linux_futex=no
63531         if test x$gcc_no_link = xyes; then
63532   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63533 fi
63534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63535 /* end confdefs.h.  */
63536 #include <sys/syscall.h>
63537            int lk;
63538 int
63539 main ()
63540 {
63541 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
63542   ;
63543   return 0;
63544 }
63545 _ACEOF
63546 if ac_fn_c_try_link "$LINENO"; then :
63547   save_LIBS="$LIBS"
63548            LIBS="-lpthread $LIBS"
63549            if test x$gcc_no_link = xyes; then
63550   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63551 fi
63552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63553 /* end confdefs.h.  */
63554 #ifndef _GNU_SOURCE
63555              #define _GNU_SOURCE 1
63556              #endif
63557              #include <pthread.h>
63558              pthread_t th; void *status;
63559 int
63560 main ()
63561 {
63562 pthread_tryjoin_np (th, &status);
63563   ;
63564   return 0;
63565 }
63566 _ACEOF
63567 if ac_fn_c_try_link "$LINENO"; then :
63568   enable_linux_futex=yes
63569 else
63570   if test x$cross_compiling = xno; then
63571                if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
63572                   | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
63573                  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
63574 If so, please configure with --disable-linux-futex" >&5
63575 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
63576 If so, please configure with --disable-linux-futex" >&2;}
63577                fi
63578              fi
63579              enable_linux_futex=yes
63580 fi
63581 rm -f core conftest.err conftest.$ac_objext \
63582     conftest$ac_exeext conftest.$ac_ext
63583            LIBS="$save_LIBS"
63584 fi
63585 rm -f core conftest.err conftest.$ac_objext \
63586     conftest$ac_exeext conftest.$ac_ext
63587         ;;
63588       yes)
63589         if test x$gcc_no_link = xyes; then
63590   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63591 fi
63592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63593 /* end confdefs.h.  */
63594 #include <sys/syscall.h>
63595            int lk;
63596 int
63597 main ()
63598 {
63599 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
63600   ;
63601   return 0;
63602 }
63603 _ACEOF
63604 if ac_fn_c_try_link "$LINENO"; then :
63605
63606 else
63607   as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
63608 fi
63609 rm -f core conftest.err conftest.$ac_objext \
63610     conftest$ac_exeext conftest.$ac_ext
63611         ;;
63612     esac
63613     ;;
63614   *)
63615     enable_linux_futex=no
63616     ;;
63617 esac
63618 if test x$enable_linux_futex = xyes; then
63619
63620 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
63621
63622 fi
63623
63624
63625
63626
63627 inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
63628
63629 acx_cv_header_stdint=stddef.h
63630 acx_cv_header_stdint_kind="(already complete)"
63631 for i in stdint.h $inttype_headers; do
63632   unset ac_cv_type_uintptr_t
63633   unset ac_cv_type_uintmax_t
63634   unset ac_cv_type_int_least32_t
63635   unset ac_cv_type_int_fast32_t
63636   unset ac_cv_type_uint64_t
63637   $as_echo_n "looking for a compliant stdint.h in $i, " >&6
63638   ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
63639 #include <$i>
63640 "
63641 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
63642   acx_cv_header_stdint=$i
63643 else
63644   continue
63645 fi
63646
63647   ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
63648 #include <$i>
63649 "
63650 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
63651
63652 else
63653   acx_cv_header_stdint_kind="(mostly complete)"
63654 fi
63655
63656   ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
63657 #include <$i>
63658 "
63659 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
63660
63661 else
63662   acx_cv_header_stdint_kind="(mostly complete)"
63663 fi
63664
63665   ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
63666 #include <$i>
63667 "
63668 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
63669
63670 else
63671   acx_cv_header_stdint_kind="(mostly complete)"
63672 fi
63673
63674   ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
63675 #include <$i>
63676 "
63677 if test "x$ac_cv_type_uint64_t" = x""yes; then :
63678
63679 else
63680   acx_cv_header_stdint_kind="(lacks uint64_t)"
63681 fi
63682
63683   break
63684 done
63685 if test "$acx_cv_header_stdint" = stddef.h; then
63686   acx_cv_header_stdint_kind="(lacks uintmax_t)"
63687   for i in stdint.h $inttype_headers; do
63688     unset ac_cv_type_uintptr_t
63689     unset ac_cv_type_uint32_t
63690     unset ac_cv_type_uint64_t
63691     $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
63692     ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
63693 #include <$i>
63694 "
63695 if test "x$ac_cv_type_uint32_t" = x""yes; then :
63696   acx_cv_header_stdint=$i
63697 else
63698   continue
63699 fi
63700
63701     ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
63702 #include <$i>
63703 "
63704 if test "x$ac_cv_type_uint64_t" = x""yes; then :
63705
63706 fi
63707
63708     ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
63709 #include <$i>
63710 "
63711 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
63712
63713 fi
63714
63715     break
63716   done
63717 fi
63718 if test "$acx_cv_header_stdint" = stddef.h; then
63719   acx_cv_header_stdint_kind="(u_intXX_t style)"
63720   for i in sys/types.h $inttype_headers; do
63721     unset ac_cv_type_u_int32_t
63722     unset ac_cv_type_u_int64_t
63723     $as_echo_n "looking for u_intXX_t types in $i, " >&6
63724     ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
63725 #include <$i>
63726 "
63727 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
63728   acx_cv_header_stdint=$i
63729 else
63730   continue
63731 fi
63732
63733     ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
63734 #include <$i>
63735 "
63736 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
63737
63738 fi
63739
63740     break
63741   done
63742 fi
63743 if test "$acx_cv_header_stdint" = stddef.h; then
63744   acx_cv_header_stdint_kind="(using manual detection)"
63745 fi
63746
63747 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
63748 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
63749 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
63750 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
63751 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
63752
63753 # ----------------- Summarize what we found so far
63754
63755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
63756 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
63757
63758 case `$as_basename -- include/gstdint.h ||
63759 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
63760          Xinclude/gstdint.h : 'X\(//\)$' \| \
63761          Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
63762 $as_echo X/include/gstdint.h |
63763     sed '/^.*\/\([^/][^/]*\)\/*$/{
63764             s//\1/
63765             q
63766           }
63767           /^X\/\(\/\/\)$/{
63768             s//\1/
63769             q
63770           }
63771           /^X\/\(\/\).*/{
63772             s//\1/
63773             q
63774           }
63775           s/.*/./; q'` in
63776   stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
63777 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
63778   inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
63779 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
63780   *) ;;
63781 esac
63782
63783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
63784 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
63785
63786 # ----------------- done included file, check C basic types --------
63787
63788 # Lacking an uintptr_t?  Test size of void *
63789 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
63790   stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
63791 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
63792 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
63793 # This bug is HP SR number 8606223364.
63794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
63795 $as_echo_n "checking size of void *... " >&6; }
63796 if test "${ac_cv_sizeof_void_p+set}" = set; then :
63797   $as_echo_n "(cached) " >&6
63798 else
63799   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
63800
63801 else
63802   if test "$ac_cv_type_void_p" = yes; then
63803      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
63804 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
63805 { as_fn_set_status 77
63806 as_fn_error "cannot compute sizeof (void *)
63807 See \`config.log' for more details." "$LINENO" 5; }; }
63808    else
63809      ac_cv_sizeof_void_p=0
63810    fi
63811 fi
63812
63813 fi
63814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
63815 $as_echo "$ac_cv_sizeof_void_p" >&6; }
63816
63817
63818
63819 cat >>confdefs.h <<_ACEOF
63820 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
63821 _ACEOF
63822
63823  ;;
63824 esac
63825
63826 # Lacking an uint64_t?  Test size of long
63827 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
63828   stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
63829 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
63830 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
63831 # This bug is HP SR number 8606223364.
63832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
63833 $as_echo_n "checking size of long... " >&6; }
63834 if test "${ac_cv_sizeof_long+set}" = set; then :
63835   $as_echo_n "(cached) " >&6
63836 else
63837   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
63838
63839 else
63840   if test "$ac_cv_type_long" = yes; then
63841      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
63842 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
63843 { as_fn_set_status 77
63844 as_fn_error "cannot compute sizeof (long)
63845 See \`config.log' for more details." "$LINENO" 5; }; }
63846    else
63847      ac_cv_sizeof_long=0
63848    fi
63849 fi
63850
63851 fi
63852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
63853 $as_echo "$ac_cv_sizeof_long" >&6; }
63854
63855
63856
63857 cat >>confdefs.h <<_ACEOF
63858 #define SIZEOF_LONG $ac_cv_sizeof_long
63859 _ACEOF
63860
63861  ;;
63862 esac
63863
63864 if test $acx_cv_header_stdint = stddef.h; then
63865   # Lacking a good header?  Test size of everything and deduce all types.
63866   # The cast to long int works around a bug in the HP C Compiler
63867 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
63868 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
63869 # This bug is HP SR number 8606223364.
63870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
63871 $as_echo_n "checking size of int... " >&6; }
63872 if test "${ac_cv_sizeof_int+set}" = set; then :
63873   $as_echo_n "(cached) " >&6
63874 else
63875   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
63876
63877 else
63878   if test "$ac_cv_type_int" = yes; then
63879      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
63880 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
63881 { as_fn_set_status 77
63882 as_fn_error "cannot compute sizeof (int)
63883 See \`config.log' for more details." "$LINENO" 5; }; }
63884    else
63885      ac_cv_sizeof_int=0
63886    fi
63887 fi
63888
63889 fi
63890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
63891 $as_echo "$ac_cv_sizeof_int" >&6; }
63892
63893
63894
63895 cat >>confdefs.h <<_ACEOF
63896 #define SIZEOF_INT $ac_cv_sizeof_int
63897 _ACEOF
63898
63899
63900   # The cast to long int works around a bug in the HP C Compiler
63901 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
63902 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
63903 # This bug is HP SR number 8606223364.
63904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
63905 $as_echo_n "checking size of short... " >&6; }
63906 if test "${ac_cv_sizeof_short+set}" = set; then :
63907   $as_echo_n "(cached) " >&6
63908 else
63909   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
63910
63911 else
63912   if test "$ac_cv_type_short" = yes; then
63913      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
63914 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
63915 { as_fn_set_status 77
63916 as_fn_error "cannot compute sizeof (short)
63917 See \`config.log' for more details." "$LINENO" 5; }; }
63918    else
63919      ac_cv_sizeof_short=0
63920    fi
63921 fi
63922
63923 fi
63924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
63925 $as_echo "$ac_cv_sizeof_short" >&6; }
63926
63927
63928
63929 cat >>confdefs.h <<_ACEOF
63930 #define SIZEOF_SHORT $ac_cv_sizeof_short
63931 _ACEOF
63932
63933
63934   # The cast to long int works around a bug in the HP C Compiler
63935 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
63936 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
63937 # This bug is HP SR number 8606223364.
63938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
63939 $as_echo_n "checking size of char... " >&6; }
63940 if test "${ac_cv_sizeof_char+set}" = set; then :
63941   $as_echo_n "(cached) " >&6
63942 else
63943   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
63944
63945 else
63946   if test "$ac_cv_type_char" = yes; then
63947      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
63948 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
63949 { as_fn_set_status 77
63950 as_fn_error "cannot compute sizeof (char)
63951 See \`config.log' for more details." "$LINENO" 5; }; }
63952    else
63953      ac_cv_sizeof_char=0
63954    fi
63955 fi
63956
63957 fi
63958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
63959 $as_echo "$ac_cv_sizeof_char" >&6; }
63960
63961
63962
63963 cat >>confdefs.h <<_ACEOF
63964 #define SIZEOF_CHAR $ac_cv_sizeof_char
63965 _ACEOF
63966
63967
63968
63969   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
63970 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
63971   case "$ac_cv_sizeof_char" in
63972     1) acx_cv_type_int8_t=char ;;
63973     *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
63974   esac
63975   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
63976 $as_echo "$acx_cv_type_int8_t" >&6; }
63977
63978   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
63979 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
63980   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
63981     2:*) acx_cv_type_int16_t=int ;;
63982     *:2) acx_cv_type_int16_t=short ;;
63983     *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
63984   esac
63985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
63986 $as_echo "$acx_cv_type_int16_t" >&6; }
63987
63988   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
63989 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
63990   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
63991     4:*) acx_cv_type_int32_t=int ;;
63992     *:4) acx_cv_type_int32_t=long ;;
63993     *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
63994   esac
63995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
63996 $as_echo "$acx_cv_type_int32_t" >&6; }
63997 fi
63998
63999 # These tests are here to make the output prettier
64000
64001 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
64002   case "$ac_cv_sizeof_long" in
64003     8) acx_cv_type_int64_t=long ;;
64004   esac
64005   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
64006 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
64007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
64008 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
64009 fi
64010
64011 # Now we can use the above types
64012
64013 if test "$ac_cv_type_uintptr_t" != yes; then
64014   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
64015 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
64016   case $ac_cv_sizeof_void_p in
64017     2) acx_cv_type_intptr_t=int16_t ;;
64018     4) acx_cv_type_intptr_t=int32_t ;;
64019     8) acx_cv_type_intptr_t=int64_t ;;
64020     *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
64021   esac
64022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
64023 $as_echo "$acx_cv_type_intptr_t" >&6; }
64024 fi
64025
64026 # ----------------- done all checks, emit header -------------
64027 ac_config_commands="$ac_config_commands include/gstdint.h"
64028
64029
64030
64031
64032 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
64033
64034   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
64035 $as_echo_n "checking for GNU c++filt... " >&6; }
64036 if test "${ac_cv_path_CXXFILT+set}" = set; then :
64037   $as_echo_n "(cached) " >&6
64038 else
64039   if test -z "$CXXFILT"; then
64040   ac_path_CXXFILT_found=false
64041   # Loop through the user's path and test for each of PROGNAME-LIST
64042   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64043 for as_dir in $PATH
64044 do
64045   IFS=$as_save_IFS
64046   test -z "$as_dir" && as_dir=.
64047     for ac_prog in c++filt gc++filt; do
64048     for ac_exec_ext in '' $ac_executable_extensions; do
64049       ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
64050       { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
64051 # Check for GNU $ac_path_CXXFILT
64052 case `"$ac_path_CXXFILT" --version 2>&1` in
64053 *GNU*)
64054   ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
64055 esac
64056
64057       $ac_path_CXXFILT_found && break 3
64058     done
64059   done
64060   done
64061 IFS=$as_save_IFS
64062   if test -z "$ac_cv_path_CXXFILT"; then
64063     :
64064   fi
64065 else
64066   ac_cv_path_CXXFILT=$CXXFILT
64067 fi
64068
64069 fi
64070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
64071 $as_echo "$ac_cv_path_CXXFILT" >&6; }
64072   CXXFILT=$ac_cv_path_CXXFILT
64073
64074
64075
64076  # Check whether --enable-symvers was given.
64077 if test "${enable_symvers+set}" = set; then :
64078   enableval=$enable_symvers;
64079       case "$enableval" in
64080        yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
64081        *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
64082                         esac
64083
64084 else
64085   enable_symvers=yes
64086 fi
64087
64088
64089
64090 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
64091 # don't know enough about $LD to do tricks...
64092
64093 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
64094 # with extern "C++" in version scripts.
64095
64096
64097 # Turn a 'yes' into a suitable default.
64098 if test x$enable_symvers = xyes ; then
64099   if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
64100     enable_symvers=no
64101   else
64102     if test $with_gnu_ld = yes ; then
64103       case ${target_os} in
64104         hpux*)
64105           enable_symvers=no ;;
64106         *)
64107           enable_symvers=gnu ;;
64108       esac
64109     else
64110       case ${target_os} in
64111         darwin*)
64112           enable_symvers=darwin ;;
64113         # Sun symbol versioning exists since Solaris 2.5.
64114         solaris2.[5-9]* | solaris2.1[0-9]*)
64115           # make_sunver.pl needs GNU c++filt to support extern "C++" in
64116           # version scripts, so disable symbol versioning if none can be
64117           # found.
64118           if test -z "$ac_cv_path_CXXFILT"; then
64119             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
64120 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
64121             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could  be found." >&5
64122 $as_echo "$as_me: WARNING: === no GNU c++filt could  be found." >&2;}
64123             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64124 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64125             enable_symvers=no
64126           else
64127             enable_symvers=sun
64128           fi
64129           ;;
64130         *)
64131           enable_symvers=no ;;
64132       esac
64133     fi
64134   fi
64135 fi
64136
64137 # Check to see if 'darwin' or 'darwin-export' can win.
64138 if test x$enable_symvers = xdarwin-export ; then
64139     enable_symvers=darwin
64140 fi
64141
64142 # Check if 'sun' was requested on non-Solaris 2 platforms.
64143 if test x$enable_symvers = xsun ; then
64144   case ${target_os} in
64145     solaris2*)
64146       # All fine.
64147       ;;
64148     *)
64149       # Unlikely to work.
64150       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
64151 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
64152       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
64153 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
64154       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64155 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64156       enable_symvers=no
64157       ;;
64158   esac
64159 fi
64160
64161 # Check to see if 'gnu' can win.
64162 if test $enable_symvers = gnu ||
64163   test $enable_symvers = gnu-versioned-namespace ||
64164   test $enable_symvers = sun; then
64165   # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
64166   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
64167 $as_echo_n "checking for shared libgcc... " >&6; }
64168   ac_save_CFLAGS="$CFLAGS"
64169   CFLAGS=' -lgcc_s'
64170   if test x$gcc_no_link = xyes; then
64171   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64172 fi
64173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64174 /* end confdefs.h.  */
64175
64176 int
64177 main ()
64178 {
64179 return 0;
64180   ;
64181   return 0;
64182 }
64183 _ACEOF
64184 if ac_fn_c_try_link "$LINENO"; then :
64185   glibcxx_shared_libgcc=yes
64186 else
64187   glibcxx_shared_libgcc=no
64188 fi
64189 rm -f core conftest.err conftest.$ac_objext \
64190     conftest$ac_exeext conftest.$ac_ext
64191   CFLAGS="$ac_save_CFLAGS"
64192   if test $glibcxx_shared_libgcc = no; then
64193     cat > conftest.c <<EOF
64194 int main (void) { return 0; }
64195 EOF
64196     glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
64197                              -shared -shared-libgcc -o conftest.so \
64198                              conftest.c -v 2>&1 >/dev/null \
64199                              | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
64200     rm -f conftest.c conftest.so
64201     if test x${glibcxx_libgcc_s_suffix+set} = xset; then
64202       CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
64203       if test x$gcc_no_link = xyes; then
64204   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64205 fi
64206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64207 /* end confdefs.h.  */
64208
64209 int
64210 main ()
64211 {
64212 return 0;
64213   ;
64214   return 0;
64215 }
64216 _ACEOF
64217 if ac_fn_c_try_link "$LINENO"; then :
64218   glibcxx_shared_libgcc=yes
64219 fi
64220 rm -f core conftest.err conftest.$ac_objext \
64221     conftest$ac_exeext conftest.$ac_ext
64222       CFLAGS="$ac_save_CFLAGS"
64223     fi
64224   fi
64225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
64226 $as_echo "$glibcxx_shared_libgcc" >&6; }
64227
64228   # For GNU ld, we need at least this version.  The format is described in
64229   # GLIBCXX_CHECK_LINKER_FEATURES above.
64230   glibcxx_min_gnu_ld_version=21400
64231
64232   # If no shared libgcc, can't win.
64233   if test $glibcxx_shared_libgcc != yes; then
64234       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
64235 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
64236       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
64237 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
64238       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64239 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64240       enable_symvers=no
64241   elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
64242     : All interesting versions of Sun ld support sun style symbol versioning.
64243   elif test $with_gnu_ld != yes ; then
64244     # just fail for now
64245     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
64246 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
64247     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
64248 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
64249     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64250 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64251     enable_symvers=no
64252   elif test $glibcxx_ld_is_gold = yes ; then
64253     : All versions of gold support symbol versioning.
64254   elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
64255     # The right tools, the right setup, but too old.  Fallbacks?
64256     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
64257 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
64258     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
64259 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
64260     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
64261 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
64262     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
64263 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
64264     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64265 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64266     enable_symvers=no
64267   fi
64268 fi
64269
64270 # Everything parsed; figure out what file to use.
64271 case $enable_symvers in
64272   no)
64273     SYMVER_FILE=config/abi/pre/none.ver
64274     ;;
64275   gnu)
64276     SYMVER_FILE=config/abi/pre/gnu.ver
64277
64278 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
64279
64280     ;;
64281   gnu-versioned-namespace)
64282     SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
64283
64284 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
64285
64286     ;;
64287   darwin)
64288     SYMVER_FILE=config/abi/pre/gnu.ver
64289
64290 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
64291
64292     ;;
64293   sun)
64294     SYMVER_FILE=config/abi/pre/gnu.ver
64295
64296 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
64297
64298     ;;
64299 esac
64300
64301 if test x$enable_symvers != xno ; then
64302
64303 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
64304
64305 fi
64306
64307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
64308 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
64309 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
64310   $as_echo_n "(cached) " >&6
64311 else
64312
64313   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64314 /* end confdefs.h.  */
64315 void foo (void); __asm (".symver foo, bar@SYMVER");
64316 int
64317 main ()
64318 {
64319
64320   ;
64321   return 0;
64322 }
64323 _ACEOF
64324 if ac_fn_c_try_compile "$LINENO"; then :
64325   glibcxx_cv_have_as_symver_directive=yes
64326 else
64327   glibcxx_cv_have_as_symver_directive=no
64328 fi
64329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64330 fi
64331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
64332 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
64333 if test $glibcxx_cv_have_as_symver_directive = yes; then
64334
64335 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
64336
64337 fi
64338
64339
64340
64341
64342
64343
64344
64345
64346 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
64347 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
64348
64349 if test $enable_symvers != no ; then
64350    case ${target_os} in
64351      # The Solaris 2 runtime linker doesn't support the GNU extension of
64352      # binding the same symbol to different versions
64353      solaris2*)
64354        symvers_renaming=no  ;;
64355      # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
64356      *)
64357
64358 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
64359
64360        symvers_renaming=yes  ;;
64361     esac
64362 else
64363     symvers_renaming=no
64364 fi
64365
64366
64367 # Now, set up compatibility support, if any.
64368 # In addition, need this to deal with std::size_t mangling in
64369 # src/compatibility.cc.  In a perfect world, could use
64370 # typeid(std::size_t).name()[0] to do direct substitution.
64371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
64372 $as_echo_n "checking for size_t as unsigned int... " >&6; }
64373 ac_save_CFLAGS="$CFLAGS"
64374 CFLAGS="-Werror"
64375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64376 /* end confdefs.h.  */
64377
64378 int
64379 main ()
64380 {
64381 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
64382   ;
64383   return 0;
64384 }
64385 _ACEOF
64386 if ac_fn_c_try_compile "$LINENO"; then :
64387   glibcxx_size_t_is_i=yes
64388 else
64389   glibcxx_size_t_is_i=no
64390 fi
64391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64392 CFLAGS=$ac_save_CFLAGS
64393 if test "$glibcxx_size_t_is_i" = yes; then
64394
64395 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
64396
64397 fi
64398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
64399 $as_echo "$glibcxx_size_t_is_i" >&6; }
64400
64401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
64402 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
64403 ac_save_CFLAGS="$CFLAGS"
64404 CFLAGS="-Werror"
64405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64406 /* end confdefs.h.  */
64407
64408 int
64409 main ()
64410 {
64411 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
64412   ;
64413   return 0;
64414 }
64415 _ACEOF
64416 if ac_fn_c_try_compile "$LINENO"; then :
64417   glibcxx_ptrdiff_t_is_i=yes
64418 else
64419   glibcxx_ptrdiff_t_is_i=no
64420 fi
64421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64422 CFLAGS=$ac_save_CFLAGS
64423 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
64424
64425 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
64426
64427 fi
64428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
64429 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
64430
64431
64432  # Check whether --enable-visibility was given.
64433 if test "${enable_visibility+set}" = set; then :
64434   enableval=$enable_visibility;
64435       case "$enableval" in
64436        yes|no) ;;
64437        *) as_fn_error "Argument to enable/disable visibility must be yes or no" "$LINENO" 5 ;;
64438       esac
64439
64440 else
64441   enable_visibility=yes
64442 fi
64443
64444
64445
64446 if test x$enable_visibility = xyes ; then
64447       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
64448 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
64449 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
64450   $as_echo_n "(cached) " >&6
64451 else
64452
64453   save_CFLAGS="$CFLAGS"
64454   CFLAGS="$CFLAGS -Werror"
64455   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64456 /* end confdefs.h.  */
64457 void __attribute__((visibility("hidden"))) foo(void) { }
64458 int
64459 main ()
64460 {
64461
64462   ;
64463   return 0;
64464 }
64465 _ACEOF
64466 if ac_fn_c_try_compile "$LINENO"; then :
64467   glibcxx_cv_have_attribute_visibility=yes
64468 else
64469   glibcxx_cv_have_attribute_visibility=no
64470 fi
64471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64472   CFLAGS="$save_CFLAGS"
64473 fi
64474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
64475 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
64476   if test $glibcxx_cv_have_attribute_visibility = no; then
64477     enable_visibility=no
64478   fi
64479 fi
64480
64481
64482 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_visibility" >&5
64483 $as_echo "$as_me: visibility supported: $enable_visibility" >&6;}
64484
64485
64486 ac_ldbl_compat=no
64487 case "$target" in
64488   powerpc*-*-linux* | \
64489   powerpc*-*-gnu* | \
64490   sparc*-*-linux* | \
64491   s390*-*-linux* | \
64492   alpha*-*-linux*)
64493   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64494 /* end confdefs.h.  */
64495
64496 int
64497 main ()
64498 {
64499
64500 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
64501 #error no need for long double compatibility
64502 #endif
64503
64504   ;
64505   return 0;
64506 }
64507 _ACEOF
64508 if ac_fn_c_try_compile "$LINENO"; then :
64509   ac_ldbl_compat=yes
64510 else
64511   ac_ldbl_compat=no
64512 fi
64513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64514   if test "$ac_ldbl_compat" = yes; then
64515
64516 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
64517
64518     port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
64519   fi
64520 esac
64521
64522
64523 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
64524
64525   if $GLIBCXX_IS_NATIVE ; then
64526     # Do checks for resource limit functions.
64527
64528   setrlimit_have_headers=yes
64529   for ac_header in unistd.h sys/time.h sys/resource.h
64530 do :
64531   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
64532 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
64533 eval as_val=\$$as_ac_Header
64534    if test "x$as_val" = x""yes; then :
64535   cat >>confdefs.h <<_ACEOF
64536 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
64537 _ACEOF
64538
64539 else
64540   setrlimit_have_headers=no
64541 fi
64542
64543 done
64544
64545   # If don't have the headers, then we can't run the tests now, and we
64546   # won't be seeing any of these during testsuite compilation.
64547   if test $setrlimit_have_headers = yes; then
64548     # Can't do these in a loop, else the resulting syntax is wrong.
64549
64550   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
64551 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
64552   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64553 /* end confdefs.h.  */
64554 #include <unistd.h>
64555      #include <sys/time.h>
64556      #include <sys/resource.h>
64557
64558 int
64559 main ()
64560 {
64561  int f = RLIMIT_DATA ;
64562   ;
64563   return 0;
64564 }
64565 _ACEOF
64566 if ac_fn_c_try_compile "$LINENO"; then :
64567   glibcxx_mresult=1
64568 else
64569   glibcxx_mresult=0
64570 fi
64571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64572
64573 cat >>confdefs.h <<_ACEOF
64574 #define HAVE_LIMIT_DATA $glibcxx_mresult
64575 _ACEOF
64576
64577   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
64578   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
64579 $as_echo "$res" >&6; }
64580
64581
64582   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
64583 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
64584   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64585 /* end confdefs.h.  */
64586 #include <unistd.h>
64587      #include <sys/time.h>
64588      #include <sys/resource.h>
64589
64590 int
64591 main ()
64592 {
64593  int f = RLIMIT_RSS ;
64594   ;
64595   return 0;
64596 }
64597 _ACEOF
64598 if ac_fn_c_try_compile "$LINENO"; then :
64599   glibcxx_mresult=1
64600 else
64601   glibcxx_mresult=0
64602 fi
64603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64604
64605 cat >>confdefs.h <<_ACEOF
64606 #define HAVE_LIMIT_RSS $glibcxx_mresult
64607 _ACEOF
64608
64609   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
64610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
64611 $as_echo "$res" >&6; }
64612
64613
64614   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
64615 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
64616   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64617 /* end confdefs.h.  */
64618 #include <unistd.h>
64619      #include <sys/time.h>
64620      #include <sys/resource.h>
64621
64622 int
64623 main ()
64624 {
64625  int f = RLIMIT_VMEM ;
64626   ;
64627   return 0;
64628 }
64629 _ACEOF
64630 if ac_fn_c_try_compile "$LINENO"; then :
64631   glibcxx_mresult=1
64632 else
64633   glibcxx_mresult=0
64634 fi
64635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64636
64637 cat >>confdefs.h <<_ACEOF
64638 #define HAVE_LIMIT_VMEM $glibcxx_mresult
64639 _ACEOF
64640
64641   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
64642   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
64643 $as_echo "$res" >&6; }
64644
64645
64646   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
64647 $as_echo_n "checking for RLIMIT_AS... " >&6; }
64648   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64649 /* end confdefs.h.  */
64650 #include <unistd.h>
64651      #include <sys/time.h>
64652      #include <sys/resource.h>
64653
64654 int
64655 main ()
64656 {
64657  int f = RLIMIT_AS ;
64658   ;
64659   return 0;
64660 }
64661 _ACEOF
64662 if ac_fn_c_try_compile "$LINENO"; then :
64663   glibcxx_mresult=1
64664 else
64665   glibcxx_mresult=0
64666 fi
64667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64668
64669 cat >>confdefs.h <<_ACEOF
64670 #define HAVE_LIMIT_AS $glibcxx_mresult
64671 _ACEOF
64672
64673   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
64674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
64675 $as_echo "$res" >&6; }
64676
64677
64678   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
64679 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
64680   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64681 /* end confdefs.h.  */
64682 #include <unistd.h>
64683      #include <sys/time.h>
64684      #include <sys/resource.h>
64685
64686 int
64687 main ()
64688 {
64689  int f = RLIMIT_FSIZE ;
64690   ;
64691   return 0;
64692 }
64693 _ACEOF
64694 if ac_fn_c_try_compile "$LINENO"; then :
64695   glibcxx_mresult=1
64696 else
64697   glibcxx_mresult=0
64698 fi
64699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64700
64701 cat >>confdefs.h <<_ACEOF
64702 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
64703 _ACEOF
64704
64705   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
64706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
64707 $as_echo "$res" >&6; }
64708
64709
64710     # Check for rlimit, setrlimit.
64711     if test "${glibcxx_cv_setrlimit+set}" = set; then :
64712   $as_echo_n "(cached) " >&6
64713 else
64714
64715       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64716 /* end confdefs.h.  */
64717 #include <unistd.h>
64718          #include <sys/time.h>
64719          #include <sys/resource.h>
64720
64721 int
64722 main ()
64723 {
64724 struct rlimit r;
64725          setrlimit(0, &r);
64726   ;
64727   return 0;
64728 }
64729 _ACEOF
64730 if ac_fn_c_try_compile "$LINENO"; then :
64731   glibcxx_cv_setrlimit=yes
64732 else
64733   glibcxx_cv_setrlimit=no
64734 fi
64735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64736
64737 fi
64738
64739   fi
64740
64741   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
64742 $as_echo_n "checking for testsuite resource limits support... " >&6; }
64743   if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
64744     ac_res_limits=yes
64745
64746 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
64747
64748   else
64749     ac_res_limits=no
64750   fi
64751   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
64752 $as_echo "$ac_res_limits" >&6; }
64753
64754
64755     # Look for setenv, so that extended locale tests can be performed.
64756
64757   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
64758 $as_echo_n "checking for setenv declaration... " >&6; }
64759   if test x${glibcxx_cv_func_setenv_use+set} != xset; then
64760     if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
64761   $as_echo_n "(cached) " >&6
64762 else
64763
64764
64765       ac_ext=cpp
64766 ac_cpp='$CXXCPP $CPPFLAGS'
64767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64770
64771       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64772 /* end confdefs.h.  */
64773 #include <stdlib.h>
64774 int
64775 main ()
64776 {
64777  setenv(0, 0, 0);
64778   ;
64779   return 0;
64780 }
64781 _ACEOF
64782 if ac_fn_cxx_try_compile "$LINENO"; then :
64783   glibcxx_cv_func_setenv_use=yes
64784 else
64785   glibcxx_cv_func_setenv_use=no
64786 fi
64787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64788       ac_ext=c
64789 ac_cpp='$CPP $CPPFLAGS'
64790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64793
64794
64795 fi
64796
64797   fi
64798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
64799 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
64800   if test x$glibcxx_cv_func_setenv_use = x"yes"; then
64801     for ac_func in setenv
64802 do :
64803   ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
64804 if test "x$ac_cv_func_setenv" = x""yes; then :
64805   cat >>confdefs.h <<_ACEOF
64806 #define HAVE_SETENV 1
64807 _ACEOF
64808
64809 fi
64810 done
64811
64812   fi
64813
64814   fi
64815
64816   if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
64817      test $enable_symvers != no; then
64818     case "$host" in
64819       *-*-cygwin*)
64820         enable_abi_check=no ;;
64821       *)
64822         enable_abi_check=yes ;;
64823     esac
64824   else
64825     # Only build this as native, since automake does not understand
64826     # CXX_FOR_BUILD.
64827     enable_abi_check=no
64828   fi
64829
64830   # Export file names for ABI checking.
64831   baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
64832
64833
64834
64835 # Define documentation rules conditionally.
64836
64837 # See if makeinfo has been installed and is modern enough
64838 # that we can use it.
64839
64840   # Extract the first word of "makeinfo", so it can be a program name with args.
64841 set dummy makeinfo; ac_word=$2
64842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
64843 $as_echo_n "checking for $ac_word... " >&6; }
64844 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
64845   $as_echo_n "(cached) " >&6
64846 else
64847   if test -n "$MAKEINFO"; then
64848   ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
64849 else
64850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64851 for as_dir in $PATH
64852 do
64853   IFS=$as_save_IFS
64854   test -z "$as_dir" && as_dir=.
64855     for ac_exec_ext in '' $ac_executable_extensions; do
64856   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
64857     ac_cv_prog_MAKEINFO="makeinfo"
64858     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
64859     break 2
64860   fi
64861 done
64862   done
64863 IFS=$as_save_IFS
64864
64865 fi
64866 fi
64867 MAKEINFO=$ac_cv_prog_MAKEINFO
64868 if test -n "$MAKEINFO"; then
64869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
64870 $as_echo "$MAKEINFO" >&6; }
64871 else
64872   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
64873 $as_echo "no" >&6; }
64874 fi
64875
64876
64877   if test -n "$MAKEINFO"; then
64878     # Found it, now check the version.
64879     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
64880 $as_echo_n "checking for modern makeinfo... " >&6; }
64881 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
64882   $as_echo_n "(cached) " >&6
64883 else
64884   ac_prog_version=`eval $MAKEINFO --version 2>&1 |
64885                                      sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
64886
64887                     case $ac_prog_version in
64888                       '')  gcc_cv_prog_makeinfo_modern=no;;
64889                       4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*)  gcc_cv_prog_makeinfo_modern=yes;;
64890                       *)   gcc_cv_prog_makeinfo_modern=no;;
64891                     esac
64892
64893 fi
64894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
64895 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
64896   else
64897     gcc_cv_prog_makeinfo_modern=no
64898   fi
64899   if test $gcc_cv_prog_makeinfo_modern = no; then
64900     MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
64901   fi
64902
64903  if test $gcc_cv_prog_makeinfo_modern = "yes"; then
64904   BUILD_INFO_TRUE=
64905   BUILD_INFO_FALSE='#'
64906 else
64907   BUILD_INFO_TRUE='#'
64908   BUILD_INFO_FALSE=
64909 fi
64910
64911
64912 # Check for doxygen
64913 # Extract the first word of "doxygen", so it can be a program name with args.
64914 set dummy doxygen; ac_word=$2
64915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
64916 $as_echo_n "checking for $ac_word... " >&6; }
64917 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
64918   $as_echo_n "(cached) " >&6
64919 else
64920   if test -n "$DOXYGEN"; then
64921   ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
64922 else
64923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64924 for as_dir in $PATH
64925 do
64926   IFS=$as_save_IFS
64927   test -z "$as_dir" && as_dir=.
64928     for ac_exec_ext in '' $ac_executable_extensions; do
64929   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
64930     ac_cv_prog_DOXYGEN="yes"
64931     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
64932     break 2
64933   fi
64934 done
64935   done
64936 IFS=$as_save_IFS
64937
64938   test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
64939 fi
64940 fi
64941 DOXYGEN=$ac_cv_prog_DOXYGEN
64942 if test -n "$DOXYGEN"; then
64943   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
64944 $as_echo "$DOXYGEN" >&6; }
64945 else
64946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
64947 $as_echo "no" >&6; }
64948 fi
64949
64950
64951 # Extract the first word of "dot", so it can be a program name with args.
64952 set dummy dot; ac_word=$2
64953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
64954 $as_echo_n "checking for $ac_word... " >&6; }
64955 if test "${ac_cv_prog_DOT+set}" = set; then :
64956   $as_echo_n "(cached) " >&6
64957 else
64958   if test -n "$DOT"; then
64959   ac_cv_prog_DOT="$DOT" # Let the user override the test.
64960 else
64961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64962 for as_dir in $PATH
64963 do
64964   IFS=$as_save_IFS
64965   test -z "$as_dir" && as_dir=.
64966     for ac_exec_ext in '' $ac_executable_extensions; do
64967   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
64968     ac_cv_prog_DOT="yes"
64969     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
64970     break 2
64971   fi
64972 done
64973   done
64974 IFS=$as_save_IFS
64975
64976   test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
64977 fi
64978 fi
64979 DOT=$ac_cv_prog_DOT
64980 if test -n "$DOT"; then
64981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
64982 $as_echo "$DOT" >&6; }
64983 else
64984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
64985 $as_echo "no" >&6; }
64986 fi
64987
64988
64989
64990 # Check for docbook
64991 # Extract the first word of "xsltproc", so it can be a program name with args.
64992 set dummy xsltproc; ac_word=$2
64993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
64994 $as_echo_n "checking for $ac_word... " >&6; }
64995 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
64996   $as_echo_n "(cached) " >&6
64997 else
64998   if test -n "$XSLTPROC"; then
64999   ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
65000 else
65001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65002 for as_dir in $PATH
65003 do
65004   IFS=$as_save_IFS
65005   test -z "$as_dir" && as_dir=.
65006     for ac_exec_ext in '' $ac_executable_extensions; do
65007   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65008     ac_cv_prog_XSLTPROC="yes"
65009     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65010     break 2
65011   fi
65012 done
65013   done
65014 IFS=$as_save_IFS
65015
65016   test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
65017 fi
65018 fi
65019 XSLTPROC=$ac_cv_prog_XSLTPROC
65020 if test -n "$XSLTPROC"; then
65021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
65022 $as_echo "$XSLTPROC" >&6; }
65023 else
65024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65025 $as_echo "no" >&6; }
65026 fi
65027
65028
65029 # Extract the first word of "xmllint", so it can be a program name with args.
65030 set dummy xmllint; ac_word=$2
65031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65032 $as_echo_n "checking for $ac_word... " >&6; }
65033 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
65034   $as_echo_n "(cached) " >&6
65035 else
65036   if test -n "$XMLLINT"; then
65037   ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
65038 else
65039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65040 for as_dir in $PATH
65041 do
65042   IFS=$as_save_IFS
65043   test -z "$as_dir" && as_dir=.
65044     for ac_exec_ext in '' $ac_executable_extensions; do
65045   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65046     ac_cv_prog_XMLLINT="yes"
65047     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65048     break 2
65049   fi
65050 done
65051   done
65052 IFS=$as_save_IFS
65053
65054   test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
65055 fi
65056 fi
65057 XMLLINT=$ac_cv_prog_XMLLINT
65058 if test -n "$XMLLINT"; then
65059   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
65060 $as_echo "$XMLLINT" >&6; }
65061 else
65062   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65063 $as_echo "no" >&6; }
65064 fi
65065
65066
65067
65068
65069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stylesheets used in generation of documentation" >&5
65070 $as_echo_n "checking for stylesheets used in generation of documentation... " >&6; }
65071 glibcxx_stylesheets=no
65072 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
65073   glibcxx_stylesheets=yes
65074 fi
65075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
65076 $as_echo "$glibcxx_stylesheets" >&6; }
65077
65078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
65079 $as_echo_n "checking for local stylesheet directory... " >&6; }
65080 glibcxx_local_stylesheets=no
65081 if test x"$glibcxx_stylesheets" = x"yes"; then
65082   if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
65083     glibcxx_local_stylesheets=yes
65084     XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
65085   fi
65086   if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
65087     glibcxx_local_stylesheets=yes
65088     XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
65089   fi
65090 fi
65091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
65092 $as_echo "$glibcxx_local_stylesheets" >&6; }
65093
65094 if test x"$glibcxx_local_stylesheets" = x"yes"; then
65095
65096   { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
65097 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
65098 else
65099   glibcxx_stylesheets=no
65100 fi
65101
65102
65103 # Check for xml/html dependencies.
65104  if test $ac_cv_prog_DOXYGEN = "yes" &&
65105                test $ac_cv_prog_DOT = "yes" &&
65106                test $ac_cv_prog_XSLTPROC = "yes" &&
65107                test $ac_cv_prog_XMLLINT = "yes" &&
65108                test $glibcxx_stylesheets = "yes"; then
65109   BUILD_XML_TRUE=
65110   BUILD_XML_FALSE='#'
65111 else
65112   BUILD_XML_TRUE='#'
65113   BUILD_XML_FALSE=
65114 fi
65115
65116
65117  if test $ac_cv_prog_DOXYGEN = "yes" &&
65118                test $ac_cv_prog_DOT = "yes" &&
65119                test $ac_cv_prog_XSLTPROC = "yes" &&
65120                test $ac_cv_prog_XMLLINT = "yes" &&
65121                test $glibcxx_stylesheets = "yes"; then
65122   BUILD_HTML_TRUE=
65123   BUILD_HTML_FALSE='#'
65124 else
65125   BUILD_HTML_TRUE='#'
65126   BUILD_HTML_FALSE=
65127 fi
65128
65129
65130 # Check for man dependencies.
65131  if test $ac_cv_prog_DOXYGEN = "yes" &&
65132                test $ac_cv_prog_DOT = "yes"; then
65133   BUILD_MAN_TRUE=
65134   BUILD_MAN_FALSE='#'
65135 else
65136   BUILD_MAN_TRUE='#'
65137   BUILD_MAN_FALSE=
65138 fi
65139
65140
65141 # Check for pdf/epub dependencies.
65142 # Extract the first word of "dblatex", so it can be a program name with args.
65143 set dummy dblatex; ac_word=$2
65144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65145 $as_echo_n "checking for $ac_word... " >&6; }
65146 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
65147   $as_echo_n "(cached) " >&6
65148 else
65149   if test -n "$DBLATEX"; then
65150   ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
65151 else
65152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65153 for as_dir in $PATH
65154 do
65155   IFS=$as_save_IFS
65156   test -z "$as_dir" && as_dir=.
65157     for ac_exec_ext in '' $ac_executable_extensions; do
65158   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65159     ac_cv_prog_DBLATEX="yes"
65160     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65161     break 2
65162   fi
65163 done
65164   done
65165 IFS=$as_save_IFS
65166
65167   test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
65168 fi
65169 fi
65170 DBLATEX=$ac_cv_prog_DBLATEX
65171 if test -n "$DBLATEX"; then
65172   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
65173 $as_echo "$DBLATEX" >&6; }
65174 else
65175   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65176 $as_echo "no" >&6; }
65177 fi
65178
65179
65180 # Extract the first word of "pdflatex", so it can be a program name with args.
65181 set dummy pdflatex; ac_word=$2
65182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65183 $as_echo_n "checking for $ac_word... " >&6; }
65184 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
65185   $as_echo_n "(cached) " >&6
65186 else
65187   if test -n "$PDFLATEX"; then
65188   ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
65189 else
65190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65191 for as_dir in $PATH
65192 do
65193   IFS=$as_save_IFS
65194   test -z "$as_dir" && as_dir=.
65195     for ac_exec_ext in '' $ac_executable_extensions; do
65196   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65197     ac_cv_prog_PDFLATEX="yes"
65198     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65199     break 2
65200   fi
65201 done
65202   done
65203 IFS=$as_save_IFS
65204
65205   test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
65206 fi
65207 fi
65208 PDFLATEX=$ac_cv_prog_PDFLATEX
65209 if test -n "$PDFLATEX"; then
65210   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
65211 $as_echo "$PDFLATEX" >&6; }
65212 else
65213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65214 $as_echo "no" >&6; }
65215 fi
65216
65217
65218  if test $ac_cv_prog_DBLATEX = "yes" &&
65219                test $ac_cv_prog_PDFLATEX = "yes"; then
65220   BUILD_PDF_TRUE=
65221   BUILD_PDF_FALSE='#'
65222 else
65223   BUILD_PDF_TRUE='#'
65224   BUILD_PDF_FALSE=
65225 fi
65226
65227
65228 # Extract the first word of "ruby", so it can be a program name with args.
65229 set dummy ruby; ac_word=$2
65230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65231 $as_echo_n "checking for $ac_word... " >&6; }
65232 if test "${ac_cv_prog_RUBY+set}" = set; then :
65233   $as_echo_n "(cached) " >&6
65234 else
65235   if test -n "$RUBY"; then
65236   ac_cv_prog_RUBY="$RUBY" # Let the user override the test.
65237 else
65238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65239 for as_dir in $PATH
65240 do
65241   IFS=$as_save_IFS
65242   test -z "$as_dir" && as_dir=.
65243     for ac_exec_ext in '' $ac_executable_extensions; do
65244   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65245     ac_cv_prog_RUBY="yes"
65246     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65247     break 2
65248   fi
65249 done
65250   done
65251 IFS=$as_save_IFS
65252
65253   test -z "$ac_cv_prog_RUBY" && ac_cv_prog_RUBY="no"
65254 fi
65255 fi
65256 RUBY=$ac_cv_prog_RUBY
65257 if test -n "$RUBY"; then
65258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY" >&5
65259 $as_echo "$RUBY" >&6; }
65260 else
65261   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65262 $as_echo "no" >&6; }
65263 fi
65264
65265
65266 # Extract the first word of "dbtoepub", so it can be a program name with args.
65267 set dummy dbtoepub; ac_word=$2
65268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65269 $as_echo_n "checking for $ac_word... " >&6; }
65270 if test "${ac_cv_prog_DBTOEPUB+set}" = set; then :
65271   $as_echo_n "(cached) " >&6
65272 else
65273   if test -n "$DBTOEPUB"; then
65274   ac_cv_prog_DBTOEPUB="$DBTOEPUB" # Let the user override the test.
65275 else
65276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65277 for as_dir in $PATH
65278 do
65279   IFS=$as_save_IFS
65280   test -z "$as_dir" && as_dir=.
65281     for ac_exec_ext in '' $ac_executable_extensions; do
65282   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65283     ac_cv_prog_DBTOEPUB="yes"
65284     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65285     break 2
65286   fi
65287 done
65288   done
65289 IFS=$as_save_IFS
65290
65291   test -z "$ac_cv_prog_DBTOEPUB" && ac_cv_prog_DBTOEPUB="no"
65292 fi
65293 fi
65294 DBTOEPUB=$ac_cv_prog_DBTOEPUB
65295 if test -n "$DBTOEPUB"; then
65296   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBTOEPUB" >&5
65297 $as_echo "$DBTOEPUB" >&6; }
65298 else
65299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65300 $as_echo "no" >&6; }
65301 fi
65302
65303
65304  if test $ac_cv_prog_RUBY = "yes" &&
65305                test $ac_cv_prog_DBTOEPUB = "yes"; then
65306   BUILD_EPUB_TRUE=
65307   BUILD_EPUB_FALSE='#'
65308 else
65309   BUILD_EPUB_TRUE='#'
65310   BUILD_EPUB_FALSE=
65311 fi
65312
65313
65314
65315 # Propagate the target-specific source directories through the build chain.
65316 ATOMICITY_SRCDIR=config/${atomicity_dir}
65317 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
65318 ATOMIC_FLAGS=${atomic_flags}
65319 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
65320 OS_INC_SRCDIR=config/${os_include_dir}
65321 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
65322 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
65323
65324
65325
65326
65327
65328
65329
65330
65331
65332 # Determine cross-compile flags and AM_CONDITIONALs.
65333 #AC_SUBST(GLIBCXX_IS_NATIVE)
65334 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
65335     if test $is_hosted = yes; then
65336   GLIBCXX_HOSTED_TRUE=
65337   GLIBCXX_HOSTED_FALSE='#'
65338 else
65339   GLIBCXX_HOSTED_TRUE='#'
65340   GLIBCXX_HOSTED_FALSE=
65341 fi
65342
65343
65344     if test $enable_libstdcxx_pch = yes; then
65345   GLIBCXX_BUILD_PCH_TRUE=
65346   GLIBCXX_BUILD_PCH_FALSE='#'
65347 else
65348   GLIBCXX_BUILD_PCH_TRUE='#'
65349   GLIBCXX_BUILD_PCH_FALSE=
65350 fi
65351
65352
65353     if test $enable_cheaders = c; then
65354   GLIBCXX_C_HEADERS_C_TRUE=
65355   GLIBCXX_C_HEADERS_C_FALSE='#'
65356 else
65357   GLIBCXX_C_HEADERS_C_TRUE='#'
65358   GLIBCXX_C_HEADERS_C_FALSE=
65359 fi
65360
65361
65362     if test $enable_cheaders = c_std; then
65363   GLIBCXX_C_HEADERS_C_STD_TRUE=
65364   GLIBCXX_C_HEADERS_C_STD_FALSE='#'
65365 else
65366   GLIBCXX_C_HEADERS_C_STD_TRUE='#'
65367   GLIBCXX_C_HEADERS_C_STD_FALSE=
65368 fi
65369
65370
65371     if test $enable_cheaders = c_global; then
65372   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
65373   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
65374 else
65375   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
65376   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
65377 fi
65378
65379
65380     if test $c_compatibility = yes; then
65381   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
65382   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
65383 else
65384   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
65385   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
65386 fi
65387
65388
65389     if test $enable_libstdcxx_debug = yes; then
65390   GLIBCXX_BUILD_DEBUG_TRUE=
65391   GLIBCXX_BUILD_DEBUG_FALSE='#'
65392 else
65393   GLIBCXX_BUILD_DEBUG_TRUE='#'
65394   GLIBCXX_BUILD_DEBUG_FALSE=
65395 fi
65396
65397
65398     if test $enable_parallel = yes; then
65399   ENABLE_PARALLEL_TRUE=
65400   ENABLE_PARALLEL_FALSE='#'
65401 else
65402   ENABLE_PARALLEL_TRUE='#'
65403   ENABLE_PARALLEL_FALSE=
65404 fi
65405
65406
65407     if test $enable_extern_template = yes; then
65408   ENABLE_EXTERN_TEMPLATE_TRUE=
65409   ENABLE_EXTERN_TEMPLATE_FALSE='#'
65410 else
65411   ENABLE_EXTERN_TEMPLATE_TRUE='#'
65412   ENABLE_EXTERN_TEMPLATE_FALSE=
65413 fi
65414
65415
65416     if test $enable_symvers != no; then
65417   ENABLE_SYMVERS_TRUE=
65418   ENABLE_SYMVERS_FALSE='#'
65419 else
65420   ENABLE_SYMVERS_TRUE='#'
65421   ENABLE_SYMVERS_FALSE=
65422 fi
65423
65424
65425     if test $enable_symvers = gnu; then
65426   ENABLE_SYMVERS_GNU_TRUE=
65427   ENABLE_SYMVERS_GNU_FALSE='#'
65428 else
65429   ENABLE_SYMVERS_GNU_TRUE='#'
65430   ENABLE_SYMVERS_GNU_FALSE=
65431 fi
65432
65433
65434     if test $enable_symvers = gnu-versioned-namespace; then
65435   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
65436   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
65437 else
65438   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
65439   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
65440 fi
65441
65442
65443     if test $enable_symvers = darwin; then
65444   ENABLE_SYMVERS_DARWIN_TRUE=
65445   ENABLE_SYMVERS_DARWIN_FALSE='#'
65446 else
65447   ENABLE_SYMVERS_DARWIN_TRUE='#'
65448   ENABLE_SYMVERS_DARWIN_FALSE=
65449 fi
65450
65451
65452     if test $enable_symvers = sun; then
65453   ENABLE_SYMVERS_SUN_TRUE=
65454   ENABLE_SYMVERS_SUN_FALSE='#'
65455 else
65456   ENABLE_SYMVERS_SUN_TRUE='#'
65457   ENABLE_SYMVERS_SUN_FALSE=
65458 fi
65459
65460
65461     if test $symvers_renaming = no; then
65462   ENABLE_SYMVERS_SOL2_TRUE=
65463   ENABLE_SYMVERS_SOL2_FALSE='#'
65464 else
65465   ENABLE_SYMVERS_SOL2_TRUE='#'
65466   ENABLE_SYMVERS_SOL2_FALSE=
65467 fi
65468
65469
65470     if test $enable_visibility = yes; then
65471   ENABLE_VISIBILITY_TRUE=
65472   ENABLE_VISIBILITY_FALSE='#'
65473 else
65474   ENABLE_VISIBILITY_TRUE='#'
65475   ENABLE_VISIBILITY_FALSE=
65476 fi
65477
65478
65479     if test $ac_ldbl_compat = yes; then
65480   GLIBCXX_LDBL_COMPAT_TRUE=
65481   GLIBCXX_LDBL_COMPAT_FALSE='#'
65482 else
65483   GLIBCXX_LDBL_COMPAT_TRUE='#'
65484   GLIBCXX_LDBL_COMPAT_FALSE=
65485 fi
65486
65487
65488
65489
65490 cat >confcache <<\_ACEOF
65491 # This file is a shell script that caches the results of configure
65492 # tests run on this system so they can be shared between configure
65493 # scripts and configure runs, see configure's option --config-cache.
65494 # It is not useful on other systems.  If it contains results you don't
65495 # want to keep, you may remove or edit it.
65496 #
65497 # config.status only pays attention to the cache file if you give it
65498 # the --recheck option to rerun configure.
65499 #
65500 # `ac_cv_env_foo' variables (set or unset) will be overridden when
65501 # loading this file, other *unset* `ac_cv_foo' will be assigned the
65502 # following values.
65503
65504 _ACEOF
65505
65506 # The following way of writing the cache mishandles newlines in values,
65507 # but we know of no workaround that is simple, portable, and efficient.
65508 # So, we kill variables containing newlines.
65509 # Ultrix sh set writes to stderr and can't be redirected directly,
65510 # and sets the high bit in the cache file unless we assign to the vars.
65511 (
65512   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
65513     eval ac_val=\$$ac_var
65514     case $ac_val in #(
65515     *${as_nl}*)
65516       case $ac_var in #(
65517       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
65518 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
65519       esac
65520       case $ac_var in #(
65521       _ | IFS | as_nl) ;; #(
65522       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
65523       *) { eval $ac_var=; unset $ac_var;} ;;
65524       esac ;;
65525     esac
65526   done
65527
65528   (set) 2>&1 |
65529     case $as_nl`(ac_space=' '; set) 2>&1` in #(
65530     *${as_nl}ac_space=\ *)
65531       # `set' does not quote correctly, so add quotes: double-quote
65532       # substitution turns \\\\ into \\, and sed turns \\ into \.
65533       sed -n \
65534         "s/'/'\\\\''/g;
65535           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
65536       ;; #(
65537     *)
65538       # `set' quotes correctly as required by POSIX, so do not add quotes.
65539       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
65540       ;;
65541     esac |
65542     sort
65543 ) |
65544   sed '
65545      /^ac_cv_env_/b end
65546      t clear
65547      :clear
65548      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
65549      t end
65550      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
65551      :end' >>confcache
65552 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
65553   if test -w "$cache_file"; then
65554     test "x$cache_file" != "x/dev/null" &&
65555       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
65556 $as_echo "$as_me: updating cache $cache_file" >&6;}
65557     cat confcache >$cache_file
65558   else
65559     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
65560 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
65561   fi
65562 fi
65563 rm -f confcache
65564
65565 if test ${multilib} = yes; then
65566   multilib_arg="--enable-multilib"
65567 else
65568   multilib_arg=
65569 fi
65570
65571 # Export all the install information.
65572
65573   glibcxx_toolexecdir=no
65574   glibcxx_toolexeclibdir=no
65575   glibcxx_prefixdir=$prefix
65576
65577   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
65578 $as_echo_n "checking for gxx-include-dir... " >&6; }
65579
65580 # Check whether --with-gxx-include-dir was given.
65581 if test "${with_gxx_include_dir+set}" = set; then :
65582   withval=$with_gxx_include_dir; case "$withval" in
65583       yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
65584       no)  gxx_include_dir=no ;;
65585       *)   gxx_include_dir=$withval ;;
65586      esac
65587 else
65588   gxx_include_dir=no
65589 fi
65590
65591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
65592 $as_echo "$gxx_include_dir" >&6; }
65593
65594   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
65595 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
65596   # Check whether --enable-version-specific-runtime-libs was given.
65597 if test "${enable_version_specific_runtime_libs+set}" = set; then :
65598   enableval=$enable_version_specific_runtime_libs; case "$enableval" in
65599       yes) version_specific_libs=yes ;;
65600       no)  version_specific_libs=no ;;
65601       *)   as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
65602      esac
65603 else
65604   version_specific_libs=no
65605 fi
65606
65607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
65608 $as_echo "$version_specific_libs" >&6; }
65609
65610   # Default case for install directory for include files.
65611   if test $version_specific_libs = no && test $gxx_include_dir = no; then
65612     gxx_include_dir='include/c++/${gcc_version}'
65613     if test -n "$with_cross_host" &&
65614        test x"$with_cross_host" != x"no"; then
65615       gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
65616     else
65617       gxx_include_dir='${prefix}/'"$gxx_include_dir"
65618     fi
65619   fi
65620
65621   # Version-specific runtime libs processing.
65622   if test $version_specific_libs = yes; then
65623     # Need the gcc compiler version to know where to install libraries
65624     # and header files if --enable-version-specific-runtime-libs option
65625     # is selected.  FIXME: these variables are misnamed, there are
65626     # no executables installed in _toolexecdir or _toolexeclibdir.
65627     if test x"$gxx_include_dir" = x"no"; then
65628       gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
65629     fi
65630     glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
65631     glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
65632   fi
65633
65634   # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
65635   # Install a library built with a cross compiler in tooldir, not libdir.
65636   if test x"$glibcxx_toolexecdir" = x"no"; then
65637     if test -n "$with_cross_host" &&
65638        test x"$with_cross_host" != x"no"; then
65639       glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
65640       glibcxx_toolexeclibdir='${toolexecdir}/lib'
65641     else
65642       glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
65643       glibcxx_toolexeclibdir='${libdir}'
65644     fi
65645     multi_os_directory=`$CXX -print-multi-os-directory`
65646     case $multi_os_directory in
65647       .) ;; # Avoid trailing /.
65648       *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
65649     esac
65650   fi
65651
65652   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
65653 $as_echo_n "checking for install location... " >&6; }
65654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
65655 $as_echo "$gxx_include_dir" >&6; }
65656
65657
65658
65659
65660
65661
65662
65663 # Export all the include and flag information to Makefiles.
65664
65665   # Used for every C++ compile we perform.
65666   GLIBCXX_INCLUDES="\
65667 -I$glibcxx_builddir/include/$host_alias \
65668 -I$glibcxx_builddir/include \
65669 -I$glibcxx_srcdir/libsupc++"
65670
65671   # For Canadian crosses, pick this up too.
65672   if test $CANADIAN = yes; then
65673     GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
65674   fi
65675
65676   # Stuff in the actual top level.  Currently only used by libsupc++ to
65677   # get unwind* headers from the gcc dir.
65678   #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
65679   TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
65680
65681   # Now, export this to all the little Makefiles....
65682
65683
65684
65685
65686   # Optimization flags that are probably a good idea for thrill-seekers. Just
65687   # uncomment the lines below and make, everything else is ready to go...
65688   # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
65689   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
65690
65691
65692   WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
65693
65694
65695
65696 if test "$enable_shared" = yes; then
65697   LIBSUPCXX_PICFLAGS="-prefer-pic"
65698 else
65699   LIBSUPCXX_PICFLAGS=
65700 fi
65701
65702
65703 ac_config_files="$ac_config_files Makefile"
65704
65705 ac_config_files="$ac_config_files scripts/testsuite_flags"
65706
65707 ac_config_files="$ac_config_files scripts/extract_symvers"
65708
65709
65710 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
65711 # that multilib installs will end up installed in the correct place.
65712 # The testsuite needs it for multilib-aware ABI baseline files.
65713 # To work around this not being passed down from config-ml.in ->
65714 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
65715 # append it here.  Only modify Makefiles that have just been created.
65716 #
65717 # Also, get rid of this simulated-VPATH thing that automake does.
65718 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
65719
65720
65721 ac_config_commands="$ac_config_commands generate-headers"
65722
65723
65724 cat >confcache <<\_ACEOF
65725 # This file is a shell script that caches the results of configure
65726 # tests run on this system so they can be shared between configure
65727 # scripts and configure runs, see configure's option --config-cache.
65728 # It is not useful on other systems.  If it contains results you don't
65729 # want to keep, you may remove or edit it.
65730 #
65731 # config.status only pays attention to the cache file if you give it
65732 # the --recheck option to rerun configure.
65733 #
65734 # `ac_cv_env_foo' variables (set or unset) will be overridden when
65735 # loading this file, other *unset* `ac_cv_foo' will be assigned the
65736 # following values.
65737
65738 _ACEOF
65739
65740 # The following way of writing the cache mishandles newlines in values,
65741 # but we know of no workaround that is simple, portable, and efficient.
65742 # So, we kill variables containing newlines.
65743 # Ultrix sh set writes to stderr and can't be redirected directly,
65744 # and sets the high bit in the cache file unless we assign to the vars.
65745 (
65746   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
65747     eval ac_val=\$$ac_var
65748     case $ac_val in #(
65749     *${as_nl}*)
65750       case $ac_var in #(
65751       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
65752 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
65753       esac
65754       case $ac_var in #(
65755       _ | IFS | as_nl) ;; #(
65756       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
65757       *) { eval $ac_var=; unset $ac_var;} ;;
65758       esac ;;
65759     esac
65760   done
65761
65762   (set) 2>&1 |
65763     case $as_nl`(ac_space=' '; set) 2>&1` in #(
65764     *${as_nl}ac_space=\ *)
65765       # `set' does not quote correctly, so add quotes: double-quote
65766       # substitution turns \\\\ into \\, and sed turns \\ into \.
65767       sed -n \
65768         "s/'/'\\\\''/g;
65769           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
65770       ;; #(
65771     *)
65772       # `set' quotes correctly as required by POSIX, so do not add quotes.
65773       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
65774       ;;
65775     esac |
65776     sort
65777 ) |
65778   sed '
65779      /^ac_cv_env_/b end
65780      t clear
65781      :clear
65782      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
65783      t end
65784      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
65785      :end' >>confcache
65786 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
65787   if test -w "$cache_file"; then
65788     test "x$cache_file" != "x/dev/null" &&
65789       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
65790 $as_echo "$as_me: updating cache $cache_file" >&6;}
65791     cat confcache >$cache_file
65792   else
65793     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
65794 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
65795   fi
65796 fi
65797 rm -f confcache
65798
65799 test "x$prefix" = xNONE && prefix=$ac_default_prefix
65800 # Let make expand exec_prefix.
65801 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
65802
65803 DEFS=-DHAVE_CONFIG_H
65804
65805 ac_libobjs=
65806 ac_ltlibobjs=
65807 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
65808   # 1. Remove the extension, and $U if already installed.
65809   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
65810   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
65811   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
65812   #    will be set to the directory where LIBOBJS objects are built.
65813   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
65814   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
65815 done
65816 LIBOBJS=$ac_libobjs
65817
65818 LTLIBOBJS=$ac_ltlibobjs
65819
65820
65821  if test -n "$EXEEXT"; then
65822   am__EXEEXT_TRUE=
65823   am__EXEEXT_FALSE='#'
65824 else
65825   am__EXEEXT_TRUE='#'
65826   am__EXEEXT_FALSE=
65827 fi
65828
65829 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
65830   as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
65831 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65832 fi
65833 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
65834   as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
65835 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65836 fi
65837 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
65838   as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
65839 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65840 fi
65841 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
65842   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
65843 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65844 fi
65845 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
65846   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
65847 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65848 fi
65849 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
65850   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
65851 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65852 fi
65853 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
65854   as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
65855 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65856 fi
65857 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
65858   as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
65859 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65860 fi
65861 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
65862   as_fn_error "conditional \"ENABLE_PARALLEL\" was never defined.
65863 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65864 fi
65865 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
65866   as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
65867 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65868 fi
65869 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
65870   as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
65871 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65872 fi
65873 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
65874   as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
65875 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65876 fi
65877 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
65878   as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
65879 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65880 fi
65881 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
65882   as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
65883 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65884 fi
65885 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
65886   as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
65887 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65888 fi
65889 if test -z "${ENABLE_SYMVERS_SOL2_TRUE}" && test -z "${ENABLE_SYMVERS_SOL2_FALSE}"; then
65890   as_fn_error "conditional \"ENABLE_SYMVERS_SOL2\" was never defined.
65891 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65892 fi
65893 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
65894   as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
65895 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65896 fi
65897 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
65898   as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
65899 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65900 fi
65901 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
65902   as_fn_error "conditional \"BUILD_INFO\" was never defined.
65903 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65904 fi
65905 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
65906   as_fn_error "conditional \"BUILD_XML\" was never defined.
65907 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65908 fi
65909 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
65910   as_fn_error "conditional \"BUILD_HTML\" was never defined.
65911 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65912 fi
65913 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
65914   as_fn_error "conditional \"BUILD_MAN\" was never defined.
65915 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65916 fi
65917 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
65918   as_fn_error "conditional \"BUILD_PDF\" was never defined.
65919 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65920 fi
65921 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
65922   as_fn_error "conditional \"BUILD_EPUB\" was never defined.
65923 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65924 fi
65925
65926 : ${CONFIG_STATUS=./config.status}
65927 ac_write_fail=0
65928 ac_clean_files_save=$ac_clean_files
65929 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
65930 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
65931 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
65932 as_write_fail=0
65933 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
65934 #! $SHELL
65935 # Generated by $as_me.
65936 # Run this file to recreate the current configuration.
65937 # Compiler output produced by configure, useful for debugging
65938 # configure, is in config.log if it exists.
65939
65940 debug=false
65941 ac_cs_recheck=false
65942 ac_cs_silent=false
65943
65944 SHELL=\${CONFIG_SHELL-$SHELL}
65945 export SHELL
65946 _ASEOF
65947 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
65948 ## -------------------- ##
65949 ## M4sh Initialization. ##
65950 ## -------------------- ##
65951
65952 # Be more Bourne compatible
65953 DUALCASE=1; export DUALCASE # for MKS sh
65954 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
65955   emulate sh
65956   NULLCMD=:
65957   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
65958   # is contrary to our usage.  Disable this feature.
65959   alias -g '${1+"$@"}'='"$@"'
65960   setopt NO_GLOB_SUBST
65961 else
65962   case `(set -o) 2>/dev/null` in #(
65963   *posix*) :
65964     set -o posix ;; #(
65965   *) :
65966      ;;
65967 esac
65968 fi
65969
65970
65971 as_nl='
65972 '
65973 export as_nl
65974 # Printing a long string crashes Solaris 7 /usr/bin/printf.
65975 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
65976 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
65977 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
65978 # Prefer a ksh shell builtin over an external printf program on Solaris,
65979 # but without wasting forks for bash or zsh.
65980 if test -z "$BASH_VERSION$ZSH_VERSION" \
65981     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
65982   as_echo='print -r --'
65983   as_echo_n='print -rn --'
65984 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
65985   as_echo='printf %s\n'
65986   as_echo_n='printf %s'
65987 else
65988   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
65989     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
65990     as_echo_n='/usr/ucb/echo -n'
65991   else
65992     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
65993     as_echo_n_body='eval
65994       arg=$1;
65995       case $arg in #(
65996       *"$as_nl"*)
65997         expr "X$arg" : "X\\(.*\\)$as_nl";
65998         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65999       esac;
66000       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66001     '
66002     export as_echo_n_body
66003     as_echo_n='sh -c $as_echo_n_body as_echo'
66004   fi
66005   export as_echo_body
66006   as_echo='sh -c $as_echo_body as_echo'
66007 fi
66008
66009 # The user is always right.
66010 if test "${PATH_SEPARATOR+set}" != set; then
66011   PATH_SEPARATOR=:
66012   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
66013     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
66014       PATH_SEPARATOR=';'
66015   }
66016 fi
66017
66018
66019 # IFS
66020 # We need space, tab and new line, in precisely that order.  Quoting is
66021 # there to prevent editors from complaining about space-tab.
66022 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
66023 # splitting by setting IFS to empty value.)
66024 IFS=" ""        $as_nl"
66025
66026 # Find who we are.  Look in the path if we contain no directory separator.
66027 case $0 in #((
66028   *[\\/]* ) as_myself=$0 ;;
66029   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
66030 for as_dir in $PATH
66031 do
66032   IFS=$as_save_IFS
66033   test -z "$as_dir" && as_dir=.
66034     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
66035   done
66036 IFS=$as_save_IFS
66037
66038      ;;
66039 esac
66040 # We did not find ourselves, most probably we were run as `sh COMMAND'
66041 # in which case we are not to be found in the path.
66042 if test "x$as_myself" = x; then
66043   as_myself=$0
66044 fi
66045 if test ! -f "$as_myself"; then
66046   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
66047   exit 1
66048 fi
66049
66050 # Unset variables that we do not need and which cause bugs (e.g. in
66051 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
66052 # suppresses any "Segmentation fault" message there.  '((' could
66053 # trigger a bug in pdksh 5.2.14.
66054 for as_var in BASH_ENV ENV MAIL MAILPATH
66055 do eval test x\${$as_var+set} = xset \
66056   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
66057 done
66058 PS1='$ '
66059 PS2='> '
66060 PS4='+ '
66061
66062 # NLS nuisances.
66063 LC_ALL=C
66064 export LC_ALL
66065 LANGUAGE=C
66066 export LANGUAGE
66067
66068 # CDPATH.
66069 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
66070
66071
66072 # as_fn_error ERROR [LINENO LOG_FD]
66073 # ---------------------------------
66074 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
66075 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
66076 # script with status $?, using 1 if that was 0.
66077 as_fn_error ()
66078 {
66079   as_status=$?; test $as_status -eq 0 && as_status=1
66080   if test "$3"; then
66081     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
66082     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
66083   fi
66084   $as_echo "$as_me: error: $1" >&2
66085   as_fn_exit $as_status
66086 } # as_fn_error
66087
66088
66089 # as_fn_set_status STATUS
66090 # -----------------------
66091 # Set $? to STATUS, without forking.
66092 as_fn_set_status ()
66093 {
66094   return $1
66095 } # as_fn_set_status
66096
66097 # as_fn_exit STATUS
66098 # -----------------
66099 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
66100 as_fn_exit ()
66101 {
66102   set +e
66103   as_fn_set_status $1
66104   exit $1
66105 } # as_fn_exit
66106
66107 # as_fn_unset VAR
66108 # ---------------
66109 # Portably unset VAR.
66110 as_fn_unset ()
66111 {
66112   { eval $1=; unset $1;}
66113 }
66114 as_unset=as_fn_unset
66115 # as_fn_append VAR VALUE
66116 # ----------------------
66117 # Append the text in VALUE to the end of the definition contained in VAR. Take
66118 # advantage of any shell optimizations that allow amortized linear growth over
66119 # repeated appends, instead of the typical quadratic growth present in naive
66120 # implementations.
66121 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
66122   eval 'as_fn_append ()
66123   {
66124     eval $1+=\$2
66125   }'
66126 else
66127   as_fn_append ()
66128   {
66129     eval $1=\$$1\$2
66130   }
66131 fi # as_fn_append
66132
66133 # as_fn_arith ARG...
66134 # ------------------
66135 # Perform arithmetic evaluation on the ARGs, and store the result in the
66136 # global $as_val. Take advantage of shells that can avoid forks. The arguments
66137 # must be portable across $(()) and expr.
66138 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
66139   eval 'as_fn_arith ()
66140   {
66141     as_val=$(( $* ))
66142   }'
66143 else
66144   as_fn_arith ()
66145   {
66146     as_val=`expr "$@" || test $? -eq 1`
66147   }
66148 fi # as_fn_arith
66149
66150
66151 if expr a : '\(a\)' >/dev/null 2>&1 &&
66152    test "X`expr 00001 : '.*\(...\)'`" = X001; then
66153   as_expr=expr
66154 else
66155   as_expr=false
66156 fi
66157
66158 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
66159   as_basename=basename
66160 else
66161   as_basename=false
66162 fi
66163
66164 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
66165   as_dirname=dirname
66166 else
66167   as_dirname=false
66168 fi
66169
66170 as_me=`$as_basename -- "$0" ||
66171 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66172          X"$0" : 'X\(//\)$' \| \
66173          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
66174 $as_echo X/"$0" |
66175     sed '/^.*\/\([^/][^/]*\)\/*$/{
66176             s//\1/
66177             q
66178           }
66179           /^X\/\(\/\/\)$/{
66180             s//\1/
66181             q
66182           }
66183           /^X\/\(\/\).*/{
66184             s//\1/
66185             q
66186           }
66187           s/.*/./; q'`
66188
66189 # Avoid depending upon Character Ranges.
66190 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
66191 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
66192 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
66193 as_cr_digits='0123456789'
66194 as_cr_alnum=$as_cr_Letters$as_cr_digits
66195
66196 ECHO_C= ECHO_N= ECHO_T=
66197 case `echo -n x` in #(((((
66198 -n*)
66199   case `echo 'xy\c'` in
66200   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
66201   xy)  ECHO_C='\c';;
66202   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
66203        ECHO_T=' ';;
66204   esac;;
66205 *)
66206   ECHO_N='-n';;
66207 esac
66208
66209 rm -f conf$$ conf$$.exe conf$$.file
66210 if test -d conf$$.dir; then
66211   rm -f conf$$.dir/conf$$.file
66212 else
66213   rm -f conf$$.dir
66214   mkdir conf$$.dir 2>/dev/null
66215 fi
66216 if (echo >conf$$.file) 2>/dev/null; then
66217   if ln -s conf$$.file conf$$ 2>/dev/null; then
66218     as_ln_s='ln -s'
66219     # ... but there are two gotchas:
66220     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
66221     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
66222     # In both cases, we have to default to `cp -p'.
66223     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
66224       as_ln_s='cp -p'
66225   elif ln conf$$.file conf$$ 2>/dev/null; then
66226     as_ln_s=ln
66227   else
66228     as_ln_s='cp -p'
66229   fi
66230 else
66231   as_ln_s='cp -p'
66232 fi
66233 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
66234 rmdir conf$$.dir 2>/dev/null
66235
66236
66237 # as_fn_mkdir_p
66238 # -------------
66239 # Create "$as_dir" as a directory, including parents if necessary.
66240 as_fn_mkdir_p ()
66241 {
66242
66243   case $as_dir in #(
66244   -*) as_dir=./$as_dir;;
66245   esac
66246   test -d "$as_dir" || eval $as_mkdir_p || {
66247     as_dirs=
66248     while :; do
66249       case $as_dir in #(
66250       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
66251       *) as_qdir=$as_dir;;
66252       esac
66253       as_dirs="'$as_qdir' $as_dirs"
66254       as_dir=`$as_dirname -- "$as_dir" ||
66255 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
66256          X"$as_dir" : 'X\(//\)[^/]' \| \
66257          X"$as_dir" : 'X\(//\)$' \| \
66258          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
66259 $as_echo X"$as_dir" |
66260     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
66261             s//\1/
66262             q
66263           }
66264           /^X\(\/\/\)[^/].*/{
66265             s//\1/
66266             q
66267           }
66268           /^X\(\/\/\)$/{
66269             s//\1/
66270             q
66271           }
66272           /^X\(\/\).*/{
66273             s//\1/
66274             q
66275           }
66276           s/.*/./; q'`
66277       test -d "$as_dir" && break
66278     done
66279     test -z "$as_dirs" || eval "mkdir $as_dirs"
66280   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
66281
66282
66283 } # as_fn_mkdir_p
66284 if mkdir -p . 2>/dev/null; then
66285   as_mkdir_p='mkdir -p "$as_dir"'
66286 else
66287   test -d ./-p && rmdir ./-p
66288   as_mkdir_p=false
66289 fi
66290
66291 if test -x / >/dev/null 2>&1; then
66292   as_test_x='test -x'
66293 else
66294   if ls -dL / >/dev/null 2>&1; then
66295     as_ls_L_option=L
66296   else
66297     as_ls_L_option=
66298   fi
66299   as_test_x='
66300     eval sh -c '\''
66301       if test -d "$1"; then
66302         test -d "$1/.";
66303       else
66304         case $1 in #(
66305         -*)set "./$1";;
66306         esac;
66307         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
66308         ???[sx]*):;;*)false;;esac;fi
66309     '\'' sh
66310   '
66311 fi
66312 as_executable_p=$as_test_x
66313
66314 # Sed expression to map a string onto a valid CPP name.
66315 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
66316
66317 # Sed expression to map a string onto a valid variable name.
66318 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
66319
66320
66321 exec 6>&1
66322 ## ----------------------------------- ##
66323 ## Main body of $CONFIG_STATUS script. ##
66324 ## ----------------------------------- ##
66325 _ASEOF
66326 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
66327
66328 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66329 # Save the log message, to keep $0 and so on meaningful, and to
66330 # report actual input values of CONFIG_FILES etc. instead of their
66331 # values after options handling.
66332 ac_log="
66333 This file was extended by package-unused $as_me version-unused, which was
66334 generated by GNU Autoconf 2.64.  Invocation command line was
66335
66336   CONFIG_FILES    = $CONFIG_FILES
66337   CONFIG_HEADERS  = $CONFIG_HEADERS
66338   CONFIG_LINKS    = $CONFIG_LINKS
66339   CONFIG_COMMANDS = $CONFIG_COMMANDS
66340   $ $0 $@
66341
66342 on `(hostname || uname -n) 2>/dev/null | sed 1q`
66343 "
66344
66345 _ACEOF
66346
66347 case $ac_config_files in *"
66348 "*) set x $ac_config_files; shift; ac_config_files=$*;;
66349 esac
66350
66351 case $ac_config_headers in *"
66352 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
66353 esac
66354
66355
66356 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66357 # Files that config.status was made for.
66358 config_files="$ac_config_files"
66359 config_headers="$ac_config_headers"
66360 config_commands="$ac_config_commands"
66361
66362 _ACEOF
66363
66364 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66365 ac_cs_usage="\
66366 \`$as_me' instantiates files and other configuration actions
66367 from templates according to the current configuration.  Unless the files
66368 and actions are specified as TAGs, all are instantiated by default.
66369
66370 Usage: $0 [OPTION]... [TAG]...
66371
66372   -h, --help       print this help, then exit
66373   -V, --version    print version number and configuration settings, then exit
66374   -q, --quiet, --silent
66375                    do not print progress messages
66376   -d, --debug      don't remove temporary files
66377       --recheck    update $as_me by reconfiguring in the same conditions
66378       --file=FILE[:TEMPLATE]
66379                    instantiate the configuration file FILE
66380       --header=FILE[:TEMPLATE]
66381                    instantiate the configuration header FILE
66382
66383 Configuration files:
66384 $config_files
66385
66386 Configuration headers:
66387 $config_headers
66388
66389 Configuration commands:
66390 $config_commands
66391
66392 Report bugs to the package provider."
66393
66394 _ACEOF
66395 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66396 ac_cs_version="\\
66397 package-unused config.status version-unused
66398 configured by $0, generated by GNU Autoconf 2.64,
66399   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
66400
66401 Copyright (C) 2009 Free Software Foundation, Inc.
66402 This config.status script is free software; the Free Software Foundation
66403 gives unlimited permission to copy, distribute and modify it."
66404
66405 ac_pwd='$ac_pwd'
66406 srcdir='$srcdir'
66407 INSTALL='$INSTALL'
66408 MKDIR_P='$MKDIR_P'
66409 AWK='$AWK'
66410 test -n "\$AWK" || AWK=awk
66411 _ACEOF
66412
66413 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66414 # The default lists apply if the user does not specify any file.
66415 ac_need_defaults=:
66416 while test $# != 0
66417 do
66418   case $1 in
66419   --*=*)
66420     ac_option=`expr "X$1" : 'X\([^=]*\)='`
66421     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
66422     ac_shift=:
66423     ;;
66424   *)
66425     ac_option=$1
66426     ac_optarg=$2
66427     ac_shift=shift
66428     ;;
66429   esac
66430
66431   case $ac_option in
66432   # Handling of the options.
66433   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
66434     ac_cs_recheck=: ;;
66435   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
66436     $as_echo "$ac_cs_version"; exit ;;
66437   --debug | --debu | --deb | --de | --d | -d )
66438     debug=: ;;
66439   --file | --fil | --fi | --f )
66440     $ac_shift
66441     case $ac_optarg in
66442     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
66443     esac
66444     as_fn_append CONFIG_FILES " '$ac_optarg'"
66445     ac_need_defaults=false;;
66446   --header | --heade | --head | --hea )
66447     $ac_shift
66448     case $ac_optarg in
66449     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
66450     esac
66451     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
66452     ac_need_defaults=false;;
66453   --he | --h)
66454     # Conflict between --help and --header
66455     as_fn_error "ambiguous option: \`$1'
66456 Try \`$0 --help' for more information.";;
66457   --help | --hel | -h )
66458     $as_echo "$ac_cs_usage"; exit ;;
66459   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
66460   | -silent | --silent | --silen | --sile | --sil | --si | --s)
66461     ac_cs_silent=: ;;
66462
66463   # This is an error.
66464   -*) as_fn_error "unrecognized option: \`$1'
66465 Try \`$0 --help' for more information." ;;
66466
66467   *) as_fn_append ac_config_targets " $1"
66468      ac_need_defaults=false ;;
66469
66470   esac
66471   shift
66472 done
66473
66474 ac_configure_extra_args=
66475
66476 if $ac_cs_silent; then
66477   exec 6>/dev/null
66478   ac_configure_extra_args="$ac_configure_extra_args --silent"
66479 fi
66480
66481 _ACEOF
66482 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66483 if \$ac_cs_recheck; then
66484   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
66485   shift
66486   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
66487   CONFIG_SHELL='$SHELL'
66488   export CONFIG_SHELL
66489   exec "\$@"
66490 fi
66491
66492 _ACEOF
66493 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66494 exec 5>>config.log
66495 {
66496   echo
66497   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
66498 ## Running $as_me. ##
66499 _ASBOX
66500   $as_echo "$ac_log"
66501 } >&5
66502
66503 _ACEOF
66504 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66505 #
66506 # INIT-COMMANDS
66507 #
66508
66509 srcdir="$srcdir"
66510 host="$host"
66511 target="$target"
66512 with_multisubdir="$with_multisubdir"
66513 with_multisrctop="$with_multisrctop"
66514 with_target_subdir="$with_target_subdir"
66515 ac_configure_args="${multilib_arg} ${ac_configure_args}"
66516 multi_basedir="$multi_basedir"
66517 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
66518 CC="$CC"
66519 CXX="$CXX"
66520 GFORTRAN="$GFORTRAN"
66521 GCJ="$GCJ"
66522
66523
66524 # The HP-UX ksh and POSIX shell print the target directory to stdout
66525 # if CDPATH is set.
66526 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
66527
66528 sed_quote_subst='$sed_quote_subst'
66529 double_quote_subst='$double_quote_subst'
66530 delay_variable_subst='$delay_variable_subst'
66531 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
66532 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
66533 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
66534 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
66535 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
66536 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
66537 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
66538 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
66539 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
66540 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
66541 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
66542 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
66543 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
66544 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
66545 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
66546 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
66547 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
66548 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
66549 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
66550 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
66551 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
66552 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
66553 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
66554 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
66555 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
66556 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
66557 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
66558 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
66559 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
66560 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
66561 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
66562 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
66563 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
66564 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
66565 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
66566 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
66567 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
66568 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
66569 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
66570 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
66571 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
66572 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
66573 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
66574 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
66575 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
66576 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
66577 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
66578 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
66579 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"`'
66580 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
66581 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
66582 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
66583 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
66584 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
66585 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
66586 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
66587 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
66588 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
66589 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
66590 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
66591 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
66592 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
66593 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
66594 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
66595 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
66596 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
66597 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
66598 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
66599 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
66600 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
66601 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
66602 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
66603 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
66604 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
66605 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
66606 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
66607 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
66608 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
66609 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
66610 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
66611 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
66612 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
66613 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
66614 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
66615 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
66616 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
66617 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
66618 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
66619 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
66620 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
66621 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
66622 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
66623 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
66624 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
66625 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
66626 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
66627 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
66628 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
66629 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
66630 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
66631 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
66632 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
66633 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
66634 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
66635 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
66636 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
66637 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
66638 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
66639 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
66640 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
66641 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
66642 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
66643 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
66644 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
66645 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
66646 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
66647 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
66648 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
66649 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
66650 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
66651 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
66652 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
66653 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
66654 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
66655 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
66656 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
66657 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
66658 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
66659 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66660 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66661 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
66662 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
66663 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
66664 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
66665 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
66666 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
66667 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
66668 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
66669 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
66670 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
66671 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
66672 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
66673 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66674 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66675 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66676 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66677 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66678 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66679 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
66680 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
66681 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
66682 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
66683 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
66684 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
66685 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
66686 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
66687 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
66688 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
66689 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
66690 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
66691 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
66692 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
66693 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
66694 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66695 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
66696 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
66697 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66698 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
66699 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
66700 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
66701 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
66702 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
66703 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
66704 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
66705 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
66706
66707 LTCC='$LTCC'
66708 LTCFLAGS='$LTCFLAGS'
66709 compiler='$compiler_DEFAULT'
66710
66711 # A function that is used when there is no print builtin or printf.
66712 func_fallback_echo ()
66713 {
66714   eval 'cat <<_LTECHO_EOF
66715 \$1
66716 _LTECHO_EOF'
66717 }
66718
66719 # Quote evaled strings.
66720 for var in SHELL \
66721 ECHO \
66722 SED \
66723 GREP \
66724 EGREP \
66725 FGREP \
66726 LD \
66727 NM \
66728 LN_S \
66729 lt_SP2NL \
66730 lt_NL2SP \
66731 reload_flag \
66732 OBJDUMP \
66733 deplibs_check_method \
66734 file_magic_cmd \
66735 AR \
66736 AR_FLAGS \
66737 STRIP \
66738 RANLIB \
66739 CC \
66740 CFLAGS \
66741 compiler \
66742 lt_cv_sys_global_symbol_pipe \
66743 lt_cv_sys_global_symbol_to_cdecl \
66744 lt_cv_sys_global_symbol_to_c_name_address \
66745 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
66746 lt_prog_compiler_no_builtin_flag \
66747 lt_prog_compiler_wl \
66748 lt_prog_compiler_pic \
66749 lt_prog_compiler_static \
66750 lt_cv_prog_compiler_c_o \
66751 need_locks \
66752 DSYMUTIL \
66753 NMEDIT \
66754 LIPO \
66755 OTOOL \
66756 OTOOL64 \
66757 shrext_cmds \
66758 export_dynamic_flag_spec \
66759 whole_archive_flag_spec \
66760 compiler_needs_object \
66761 with_gnu_ld \
66762 allow_undefined_flag \
66763 no_undefined_flag \
66764 hardcode_libdir_flag_spec \
66765 hardcode_libdir_flag_spec_ld \
66766 hardcode_libdir_separator \
66767 fix_srcfile_path \
66768 exclude_expsyms \
66769 include_expsyms \
66770 file_list_spec \
66771 variables_saved_for_relink \
66772 libname_spec \
66773 library_names_spec \
66774 soname_spec \
66775 install_override_mode \
66776 finish_eval \
66777 old_striplib \
66778 striplib \
66779 compiler_lib_search_dirs \
66780 predep_objects \
66781 postdep_objects \
66782 predeps \
66783 postdeps \
66784 compiler_lib_search_path \
66785 LD_CXX \
66786 reload_flag_CXX \
66787 compiler_CXX \
66788 lt_prog_compiler_no_builtin_flag_CXX \
66789 lt_prog_compiler_wl_CXX \
66790 lt_prog_compiler_pic_CXX \
66791 lt_prog_compiler_static_CXX \
66792 lt_cv_prog_compiler_c_o_CXX \
66793 export_dynamic_flag_spec_CXX \
66794 whole_archive_flag_spec_CXX \
66795 compiler_needs_object_CXX \
66796 with_gnu_ld_CXX \
66797 allow_undefined_flag_CXX \
66798 no_undefined_flag_CXX \
66799 hardcode_libdir_flag_spec_CXX \
66800 hardcode_libdir_flag_spec_ld_CXX \
66801 hardcode_libdir_separator_CXX \
66802 fix_srcfile_path_CXX \
66803 exclude_expsyms_CXX \
66804 include_expsyms_CXX \
66805 file_list_spec_CXX \
66806 compiler_lib_search_dirs_CXX \
66807 predep_objects_CXX \
66808 postdep_objects_CXX \
66809 predeps_CXX \
66810 postdeps_CXX \
66811 compiler_lib_search_path_CXX; do
66812     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
66813     *[\\\\\\\`\\"\\\$]*)
66814       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
66815       ;;
66816     *)
66817       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
66818       ;;
66819     esac
66820 done
66821
66822 # Double-quote double-evaled strings.
66823 for var in reload_cmds \
66824 old_postinstall_cmds \
66825 old_postuninstall_cmds \
66826 old_archive_cmds \
66827 extract_expsyms_cmds \
66828 old_archive_from_new_cmds \
66829 old_archive_from_expsyms_cmds \
66830 archive_cmds \
66831 archive_expsym_cmds \
66832 module_cmds \
66833 module_expsym_cmds \
66834 export_symbols_cmds \
66835 prelink_cmds \
66836 postinstall_cmds \
66837 postuninstall_cmds \
66838 finish_cmds \
66839 sys_lib_search_path_spec \
66840 sys_lib_dlsearch_path_spec \
66841 reload_cmds_CXX \
66842 old_archive_cmds_CXX \
66843 old_archive_from_new_cmds_CXX \
66844 old_archive_from_expsyms_cmds_CXX \
66845 archive_cmds_CXX \
66846 archive_expsym_cmds_CXX \
66847 module_cmds_CXX \
66848 module_expsym_cmds_CXX \
66849 export_symbols_cmds_CXX \
66850 prelink_cmds_CXX; do
66851     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
66852     *[\\\\\\\`\\"\\\$]*)
66853       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
66854       ;;
66855     *)
66856       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
66857       ;;
66858     esac
66859 done
66860
66861 ac_aux_dir='$ac_aux_dir'
66862 xsi_shell='$xsi_shell'
66863 lt_shell_append='$lt_shell_append'
66864
66865 # See if we are running on zsh, and set the options which allow our
66866 # commands through without removal of \ escapes INIT.
66867 if test -n "\${ZSH_VERSION+set}" ; then
66868    setopt NO_GLOB_SUBST
66869 fi
66870
66871
66872     PACKAGE='$PACKAGE'
66873     VERSION='$VERSION'
66874     TIMESTAMP='$TIMESTAMP'
66875     RM='$RM'
66876     ofile='$ofile'
66877
66878
66879
66880
66881
66882
66883 GCC="$GCC"
66884 CC="$CC"
66885 acx_cv_header_stdint="$acx_cv_header_stdint"
66886 acx_cv_type_int8_t="$acx_cv_type_int8_t"
66887 acx_cv_type_int16_t="$acx_cv_type_int16_t"
66888 acx_cv_type_int32_t="$acx_cv_type_int32_t"
66889 acx_cv_type_int64_t="$acx_cv_type_int64_t"
66890 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
66891 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
66892 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
66893 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
66894 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
66895 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
66896 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
66897 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
66898 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
66899
66900
66901 _ACEOF
66902
66903 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66904
66905 # Handling of arguments.
66906 for ac_config_target in $ac_config_targets
66907 do
66908   case $ac_config_target in
66909     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
66910     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
66911     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
66912     "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
66913     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
66914     "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
66915     "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
66916     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
66917     "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
66918     "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
66919     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
66920     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
66921     "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
66922     "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
66923     "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
66924
66925   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
66926   esac
66927 done
66928
66929
66930 # If the user did not use the arguments to specify the items to instantiate,
66931 # then the envvar interface is used.  Set only those that are not.
66932 # We use the long form for the default assignment because of an extremely
66933 # bizarre bug on SunOS 4.1.3.
66934 if $ac_need_defaults; then
66935   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
66936   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
66937   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
66938 fi
66939
66940 # Have a temporary directory for convenience.  Make it in the build tree
66941 # simply because there is no reason against having it here, and in addition,
66942 # creating and moving files from /tmp can sometimes cause problems.
66943 # Hook for its removal unless debugging.
66944 # Note that there is a small window in which the directory will not be cleaned:
66945 # after its creation but before its name has been assigned to `$tmp'.
66946 $debug ||
66947 {
66948   tmp=
66949   trap 'exit_status=$?
66950   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
66951 ' 0
66952   trap 'as_fn_exit 1' 1 2 13 15
66953 }
66954 # Create a (secure) tmp directory for tmp files.
66955
66956 {
66957   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
66958   test -n "$tmp" && test -d "$tmp"
66959 }  ||
66960 {
66961   tmp=./conf$$-$RANDOM
66962   (umask 077 && mkdir "$tmp")
66963 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
66964
66965 # Set up the scripts for CONFIG_FILES section.
66966 # No need to generate them if there are no CONFIG_FILES.
66967 # This happens for instance with `./config.status config.h'.
66968 if test -n "$CONFIG_FILES"; then
66969
66970
66971 ac_cr=`echo X | tr X '\015'`
66972 # On cygwin, bash can eat \r inside `` if the user requested igncr.
66973 # But we know of no other shell where ac_cr would be empty at this
66974 # point, so we can use a bashism as a fallback.
66975 if test "x$ac_cr" = x; then
66976   eval ac_cr=\$\'\\r\'
66977 fi
66978 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
66979 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
66980   ac_cs_awk_cr='\r'
66981 else
66982   ac_cs_awk_cr=$ac_cr
66983 fi
66984
66985 echo 'BEGIN {' >"$tmp/subs1.awk" &&
66986 _ACEOF
66987
66988
66989 {
66990   echo "cat >conf$$subs.awk <<_ACEOF" &&
66991   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
66992   echo "_ACEOF"
66993 } >conf$$subs.sh ||
66994   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
66995 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
66996 ac_delim='%!_!# '
66997 for ac_last_try in false false false false false :; do
66998   . ./conf$$subs.sh ||
66999     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67000
67001   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
67002   if test $ac_delim_n = $ac_delim_num; then
67003     break
67004   elif $ac_last_try; then
67005     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67006   else
67007     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
67008   fi
67009 done
67010 rm -f conf$$subs.sh
67011
67012 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67013 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
67014 _ACEOF
67015 sed -n '
67016 h
67017 s/^/S["/; s/!.*/"]=/
67018 p
67019 g
67020 s/^[^!]*!//
67021 :repl
67022 t repl
67023 s/'"$ac_delim"'$//
67024 t delim
67025 :nl
67026 h
67027 s/\(.\{148\}\).*/\1/
67028 t more1
67029 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
67030 p
67031 n
67032 b repl
67033 :more1
67034 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
67035 p
67036 g
67037 s/.\{148\}//
67038 t nl
67039 :delim
67040 h
67041 s/\(.\{148\}\).*/\1/
67042 t more2
67043 s/["\\]/\\&/g; s/^/"/; s/$/"/
67044 p
67045 b
67046 :more2
67047 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
67048 p
67049 g
67050 s/.\{148\}//
67051 t delim
67052 ' <conf$$subs.awk | sed '
67053 /^[^""]/{
67054   N
67055   s/\n//
67056 }
67057 ' >>$CONFIG_STATUS || ac_write_fail=1
67058 rm -f conf$$subs.awk
67059 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67060 _ACAWK
67061 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
67062   for (key in S) S_is_set[key] = 1
67063   FS = "\a"
67064
67065 }
67066 {
67067   line = $ 0
67068   nfields = split(line, field, "@")
67069   substed = 0
67070   len = length(field[1])
67071   for (i = 2; i < nfields; i++) {
67072     key = field[i]
67073     keylen = length(key)
67074     if (S_is_set[key]) {
67075       value = S[key]
67076       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
67077       len += length(value) + length(field[++i])
67078       substed = 1
67079     } else
67080       len += 1 + keylen
67081   }
67082
67083   print line
67084 }
67085
67086 _ACAWK
67087 _ACEOF
67088 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67089 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
67090   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
67091 else
67092   cat
67093 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
67094   || as_fn_error "could not setup config files machinery" "$LINENO" 5
67095 _ACEOF
67096
67097 # VPATH may cause trouble with some makes, so we remove $(srcdir),
67098 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
67099 # trailing colons and then remove the whole line if VPATH becomes empty
67100 # (actually we leave an empty line to preserve line numbers).
67101 if test "x$srcdir" = x.; then
67102   ac_vpsub='/^[  ]*VPATH[        ]*=/{
67103 s/:*\$(srcdir):*/:/
67104 s/:*\${srcdir}:*/:/
67105 s/:*@srcdir@:*/:/
67106 s/^\([^=]*=[     ]*\):*/\1/
67107 s/:*$//
67108 s/^[^=]*=[       ]*$//
67109 }'
67110 fi
67111
67112 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67113 fi # test -n "$CONFIG_FILES"
67114
67115 # Set up the scripts for CONFIG_HEADERS section.
67116 # No need to generate them if there are no CONFIG_HEADERS.
67117 # This happens for instance with `./config.status Makefile'.
67118 if test -n "$CONFIG_HEADERS"; then
67119 cat >"$tmp/defines.awk" <<\_ACAWK ||
67120 BEGIN {
67121 _ACEOF
67122
67123 # Transform confdefs.h into an awk script `defines.awk', embedded as
67124 # here-document in config.status, that substitutes the proper values into
67125 # config.h.in to produce config.h.
67126
67127 # Create a delimiter string that does not exist in confdefs.h, to ease
67128 # handling of long lines.
67129 ac_delim='%!_!# '
67130 for ac_last_try in false false :; do
67131   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
67132   if test -z "$ac_t"; then
67133     break
67134   elif $ac_last_try; then
67135     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
67136   else
67137     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
67138   fi
67139 done
67140
67141 # For the awk script, D is an array of macro values keyed by name,
67142 # likewise P contains macro parameters if any.  Preserve backslash
67143 # newline sequences.
67144
67145 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
67146 sed -n '
67147 s/.\{148\}/&'"$ac_delim"'/g
67148 t rset
67149 :rset
67150 s/^[     ]*#[    ]*define[       ][      ]*/ /
67151 t def
67152 d
67153 :def
67154 s/\\$//
67155 t bsnl
67156 s/["\\]/\\&/g
67157 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
67158 D["\1"]=" \3"/p
67159 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
67160 d
67161 :bsnl
67162 s/["\\]/\\&/g
67163 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
67164 D["\1"]=" \3\\\\\\n"\\/p
67165 t cont
67166 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
67167 t cont
67168 d
67169 :cont
67170 n
67171 s/.\{148\}/&'"$ac_delim"'/g
67172 t clear
67173 :clear
67174 s/\\$//
67175 t bsnlc
67176 s/["\\]/\\&/g; s/^/"/; s/$/"/p
67177 d
67178 :bsnlc
67179 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
67180 b cont
67181 ' <confdefs.h | sed '
67182 s/'"$ac_delim"'/"\\\
67183 "/g' >>$CONFIG_STATUS || ac_write_fail=1
67184
67185 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67186   for (key in D) D_is_set[key] = 1
67187   FS = "\a"
67188 }
67189 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
67190   line = \$ 0
67191   split(line, arg, " ")
67192   if (arg[1] == "#") {
67193     defundef = arg[2]
67194     mac1 = arg[3]
67195   } else {
67196     defundef = substr(arg[1], 2)
67197     mac1 = arg[2]
67198   }
67199   split(mac1, mac2, "(") #)
67200   macro = mac2[1]
67201   prefix = substr(line, 1, index(line, defundef) - 1)
67202   if (D_is_set[macro]) {
67203     # Preserve the white space surrounding the "#".
67204     print prefix "define", macro P[macro] D[macro]
67205     next
67206   } else {
67207     # Replace #undef with comments.  This is necessary, for example,
67208     # in the case of _POSIX_SOURCE, which is predefined and required
67209     # on some systems where configure will not decide to define it.
67210     if (defundef == "undef") {
67211       print "/*", prefix defundef, macro, "*/"
67212       next
67213     }
67214   }
67215 }
67216 { print }
67217 _ACAWK
67218 _ACEOF
67219 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67220   as_fn_error "could not setup config headers machinery" "$LINENO" 5
67221 fi # test -n "$CONFIG_HEADERS"
67222
67223
67224 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
67225 shift
67226 for ac_tag
67227 do
67228   case $ac_tag in
67229   :[FHLC]) ac_mode=$ac_tag; continue;;
67230   esac
67231   case $ac_mode$ac_tag in
67232   :[FHL]*:*);;
67233   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
67234   :[FH]-) ac_tag=-:-;;
67235   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
67236   esac
67237   ac_save_IFS=$IFS
67238   IFS=:
67239   set x $ac_tag
67240   IFS=$ac_save_IFS
67241   shift
67242   ac_file=$1
67243   shift
67244
67245   case $ac_mode in
67246   :L) ac_source=$1;;
67247   :[FH])
67248     ac_file_inputs=
67249     for ac_f
67250     do
67251       case $ac_f in
67252       -) ac_f="$tmp/stdin";;
67253       *) # Look for the file first in the build tree, then in the source tree
67254          # (if the path is not absolute).  The absolute path cannot be DOS-style,
67255          # because $ac_f cannot contain `:'.
67256          test -f "$ac_f" ||
67257            case $ac_f in
67258            [\\/$]*) false;;
67259            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
67260            esac ||
67261            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
67262       esac
67263       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
67264       as_fn_append ac_file_inputs " '$ac_f'"
67265     done
67266
67267     # Let's still pretend it is `configure' which instantiates (i.e., don't
67268     # use $as_me), people would be surprised to read:
67269     #    /* config.h.  Generated by config.status.  */
67270     configure_input='Generated from '`
67271           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
67272         `' by configure.'
67273     if test x"$ac_file" != x-; then
67274       configure_input="$ac_file.  $configure_input"
67275       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
67276 $as_echo "$as_me: creating $ac_file" >&6;}
67277     fi
67278     # Neutralize special characters interpreted by sed in replacement strings.
67279     case $configure_input in #(
67280     *\&* | *\|* | *\\* )
67281        ac_sed_conf_input=`$as_echo "$configure_input" |
67282        sed 's/[\\\\&|]/\\\\&/g'`;; #(
67283     *) ac_sed_conf_input=$configure_input;;
67284     esac
67285
67286     case $ac_tag in
67287     *:-:* | *:-) cat >"$tmp/stdin" \
67288       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
67289     esac
67290     ;;
67291   esac
67292
67293   ac_dir=`$as_dirname -- "$ac_file" ||
67294 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67295          X"$ac_file" : 'X\(//\)[^/]' \| \
67296          X"$ac_file" : 'X\(//\)$' \| \
67297          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
67298 $as_echo X"$ac_file" |
67299     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
67300             s//\1/
67301             q
67302           }
67303           /^X\(\/\/\)[^/].*/{
67304             s//\1/
67305             q
67306           }
67307           /^X\(\/\/\)$/{
67308             s//\1/
67309             q
67310           }
67311           /^X\(\/\).*/{
67312             s//\1/
67313             q
67314           }
67315           s/.*/./; q'`
67316   as_dir="$ac_dir"; as_fn_mkdir_p
67317   ac_builddir=.
67318
67319 case "$ac_dir" in
67320 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
67321 *)
67322   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
67323   # A ".." for each directory in $ac_dir_suffix.
67324   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
67325   case $ac_top_builddir_sub in
67326   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
67327   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
67328   esac ;;
67329 esac
67330 ac_abs_top_builddir=$ac_pwd
67331 ac_abs_builddir=$ac_pwd$ac_dir_suffix
67332 # for backward compatibility:
67333 ac_top_builddir=$ac_top_build_prefix
67334
67335 case $srcdir in
67336   .)  # We are building in place.
67337     ac_srcdir=.
67338     ac_top_srcdir=$ac_top_builddir_sub
67339     ac_abs_top_srcdir=$ac_pwd ;;
67340   [\\/]* | ?:[\\/]* )  # Absolute name.
67341     ac_srcdir=$srcdir$ac_dir_suffix;
67342     ac_top_srcdir=$srcdir
67343     ac_abs_top_srcdir=$srcdir ;;
67344   *) # Relative name.
67345     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
67346     ac_top_srcdir=$ac_top_build_prefix$srcdir
67347     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
67348 esac
67349 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
67350
67351
67352   case $ac_mode in
67353   :F)
67354   #
67355   # CONFIG_FILE
67356   #
67357
67358   case $INSTALL in
67359   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
67360   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
67361   esac
67362   ac_MKDIR_P=$MKDIR_P
67363   case $MKDIR_P in
67364   [\\/$]* | ?:[\\/]* ) ;;
67365   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
67366   esac
67367 _ACEOF
67368
67369 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67370 # If the template does not know about datarootdir, expand it.
67371 # FIXME: This hack should be removed a few years after 2.60.
67372 ac_datarootdir_hack=; ac_datarootdir_seen=
67373 ac_sed_dataroot='
67374 /datarootdir/ {
67375   p
67376   q
67377 }
67378 /@datadir@/p
67379 /@docdir@/p
67380 /@infodir@/p
67381 /@localedir@/p
67382 /@mandir@/p'
67383 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
67384 *datarootdir*) ac_datarootdir_seen=yes;;
67385 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
67386   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
67387 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
67388 _ACEOF
67389 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67390   ac_datarootdir_hack='
67391   s&@datadir@&$datadir&g
67392   s&@docdir@&$docdir&g
67393   s&@infodir@&$infodir&g
67394   s&@localedir@&$localedir&g
67395   s&@mandir@&$mandir&g
67396   s&\\\${datarootdir}&$datarootdir&g' ;;
67397 esac
67398 _ACEOF
67399
67400 # Neutralize VPATH when `$srcdir' = `.'.
67401 # Shell code in configure.ac might set extrasub.
67402 # FIXME: do we really want to maintain this feature?
67403 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67404 ac_sed_extra="$ac_vpsub
67405 $extrasub
67406 _ACEOF
67407 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67408 :t
67409 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
67410 s|@configure_input@|$ac_sed_conf_input|;t t
67411 s&@top_builddir@&$ac_top_builddir_sub&;t t
67412 s&@top_build_prefix@&$ac_top_build_prefix&;t t
67413 s&@srcdir@&$ac_srcdir&;t t
67414 s&@abs_srcdir@&$ac_abs_srcdir&;t t
67415 s&@top_srcdir@&$ac_top_srcdir&;t t
67416 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
67417 s&@builddir@&$ac_builddir&;t t
67418 s&@abs_builddir@&$ac_abs_builddir&;t t
67419 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
67420 s&@INSTALL@&$ac_INSTALL&;t t
67421 s&@MKDIR_P@&$ac_MKDIR_P&;t t
67422 $ac_datarootdir_hack
67423 "
67424 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
67425   || as_fn_error "could not create $ac_file" "$LINENO" 5
67426
67427 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
67428   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
67429   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
67430   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
67431 which seems to be undefined.  Please make sure it is defined." >&5
67432 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
67433 which seems to be undefined.  Please make sure it is defined." >&2;}
67434
67435   rm -f "$tmp/stdin"
67436   case $ac_file in
67437   -) cat "$tmp/out" && rm -f "$tmp/out";;
67438   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
67439   esac \
67440   || as_fn_error "could not create $ac_file" "$LINENO" 5
67441  ;;
67442   :H)
67443   #
67444   # CONFIG_HEADER
67445   #
67446   if test x"$ac_file" != x-; then
67447     {
67448       $as_echo "/* $configure_input  */" \
67449       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
67450     } >"$tmp/config.h" \
67451       || as_fn_error "could not create $ac_file" "$LINENO" 5
67452     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
67453       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
67454 $as_echo "$as_me: $ac_file is unchanged" >&6;}
67455     else
67456       rm -f "$ac_file"
67457       mv "$tmp/config.h" "$ac_file" \
67458         || as_fn_error "could not create $ac_file" "$LINENO" 5
67459     fi
67460   else
67461     $as_echo "/* $configure_input  */" \
67462       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
67463       || as_fn_error "could not create -" "$LINENO" 5
67464   fi
67465 # Compute "$ac_file"'s index in $config_headers.
67466 _am_arg="$ac_file"
67467 _am_stamp_count=1
67468 for _am_header in $config_headers :; do
67469   case $_am_header in
67470     $_am_arg | $_am_arg:* )
67471       break ;;
67472     * )
67473       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
67474   esac
67475 done
67476 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
67477 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67478          X"$_am_arg" : 'X\(//\)[^/]' \| \
67479          X"$_am_arg" : 'X\(//\)$' \| \
67480          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
67481 $as_echo X"$_am_arg" |
67482     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
67483             s//\1/
67484             q
67485           }
67486           /^X\(\/\/\)[^/].*/{
67487             s//\1/
67488             q
67489           }
67490           /^X\(\/\/\)$/{
67491             s//\1/
67492             q
67493           }
67494           /^X\(\/\).*/{
67495             s//\1/
67496             q
67497           }
67498           s/.*/./; q'`/stamp-h$_am_stamp_count
67499  ;;
67500
67501   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
67502 $as_echo "$as_me: executing $ac_file commands" >&6;}
67503  ;;
67504   esac
67505
67506
67507   case $ac_file$ac_mode in
67508     "default-1":C)
67509 # Only add multilib support code if we just rebuilt the top-level
67510 # Makefile.
67511 case " $CONFIG_FILES " in
67512  *" Makefile "*)
67513    ac_file=Makefile . ${multi_basedir}/config-ml.in
67514    ;;
67515 esac ;;
67516     "libtool":C)
67517
67518     # See if we are running on zsh, and set the options which allow our
67519     # commands through without removal of \ escapes.
67520     if test -n "${ZSH_VERSION+set}" ; then
67521       setopt NO_GLOB_SUBST
67522     fi
67523
67524     cfgfile="${ofile}T"
67525     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
67526     $RM "$cfgfile"
67527
67528     cat <<_LT_EOF >> "$cfgfile"
67529 #! $SHELL
67530
67531 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
67532 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
67533 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
67534 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
67535 #
67536 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
67537 #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
67538 #   Written by Gordon Matzigkeit, 1996
67539 #
67540 #   This file is part of GNU Libtool.
67541 #
67542 # GNU Libtool is free software; you can redistribute it and/or
67543 # modify it under the terms of the GNU General Public License as
67544 # published by the Free Software Foundation; either version 2 of
67545 # the License, or (at your option) any later version.
67546 #
67547 # As a special exception to the GNU General Public License,
67548 # if you distribute this file as part of a program or library that
67549 # is built using GNU Libtool, you may include this file under the
67550 # same distribution terms that you use for the rest of that program.
67551 #
67552 # GNU Libtool is distributed in the hope that it will be useful,
67553 # but WITHOUT ANY WARRANTY; without even the implied warranty of
67554 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
67555 # GNU General Public License for more details.
67556 #
67557 # You should have received a copy of the GNU General Public License
67558 # along with GNU Libtool; see the file COPYING.  If not, a copy
67559 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
67560 # obtained by writing to the Free Software Foundation, Inc.,
67561 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
67562
67563
67564 # The names of the tagged configurations supported by this script.
67565 available_tags="CXX "
67566
67567 # ### BEGIN LIBTOOL CONFIG
67568
67569 # Which release of libtool.m4 was used?
67570 macro_version=$macro_version
67571 macro_revision=$macro_revision
67572
67573 # Whether or not to build shared libraries.
67574 build_libtool_libs=$enable_shared
67575
67576 # Whether or not to build static libraries.
67577 build_old_libs=$enable_static
67578
67579 # What type of objects to build.
67580 pic_mode=$pic_mode
67581
67582 # Whether or not to optimize for fast installation.
67583 fast_install=$enable_fast_install
67584
67585 # Shell to use when invoking shell scripts.
67586 SHELL=$lt_SHELL
67587
67588 # An echo program that protects backslashes.
67589 ECHO=$lt_ECHO
67590
67591 # The host system.
67592 host_alias=$host_alias
67593 host=$host
67594 host_os=$host_os
67595
67596 # The build system.
67597 build_alias=$build_alias
67598 build=$build
67599 build_os=$build_os
67600
67601 # A sed program that does not truncate output.
67602 SED=$lt_SED
67603
67604 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
67605 Xsed="\$SED -e 1s/^X//"
67606
67607 # A grep program that handles long lines.
67608 GREP=$lt_GREP
67609
67610 # An ERE matcher.
67611 EGREP=$lt_EGREP
67612
67613 # A literal string matcher.
67614 FGREP=$lt_FGREP
67615
67616 # A BSD- or MS-compatible name lister.
67617 NM=$lt_NM
67618
67619 # Whether we need soft or hard links.
67620 LN_S=$lt_LN_S
67621
67622 # What is the maximum length of a command?
67623 max_cmd_len=$max_cmd_len
67624
67625 # Object file suffix (normally "o").
67626 objext=$ac_objext
67627
67628 # Executable file suffix (normally "").
67629 exeext=$exeext
67630
67631 # whether the shell understands "unset".
67632 lt_unset=$lt_unset
67633
67634 # turn spaces into newlines.
67635 SP2NL=$lt_lt_SP2NL
67636
67637 # turn newlines into spaces.
67638 NL2SP=$lt_lt_NL2SP
67639
67640 # An object symbol dumper.
67641 OBJDUMP=$lt_OBJDUMP
67642
67643 # Method to check whether dependent libraries are shared objects.
67644 deplibs_check_method=$lt_deplibs_check_method
67645
67646 # Command to use when deplibs_check_method == "file_magic".
67647 file_magic_cmd=$lt_file_magic_cmd
67648
67649 # The archiver.
67650 AR=$lt_AR
67651 AR_FLAGS=$lt_AR_FLAGS
67652
67653 # A symbol stripping program.
67654 STRIP=$lt_STRIP
67655
67656 # Commands used to install an old-style archive.
67657 RANLIB=$lt_RANLIB
67658 old_postinstall_cmds=$lt_old_postinstall_cmds
67659 old_postuninstall_cmds=$lt_old_postuninstall_cmds
67660
67661 # Whether to use a lock for old archive extraction.
67662 lock_old_archive_extraction=$lock_old_archive_extraction
67663
67664 # A C compiler.
67665 LTCC=$lt_CC
67666
67667 # LTCC compiler flags.
67668 LTCFLAGS=$lt_CFLAGS
67669
67670 # Take the output of nm and produce a listing of raw symbols and C names.
67671 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
67672
67673 # Transform the output of nm in a proper C declaration.
67674 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
67675
67676 # Transform the output of nm in a C name address pair.
67677 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
67678
67679 # Transform the output of nm in a C name address pair when lib prefix is needed.
67680 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
67681
67682 # The name of the directory that contains temporary libtool files.
67683 objdir=$objdir
67684
67685 # Used to examine libraries when file_magic_cmd begins with "file".
67686 MAGIC_CMD=$MAGIC_CMD
67687
67688 # Must we lock files when doing compilation?
67689 need_locks=$lt_need_locks
67690
67691 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
67692 DSYMUTIL=$lt_DSYMUTIL
67693
67694 # Tool to change global to local symbols on Mac OS X.
67695 NMEDIT=$lt_NMEDIT
67696
67697 # Tool to manipulate fat objects and archives on Mac OS X.
67698 LIPO=$lt_LIPO
67699
67700 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
67701 OTOOL=$lt_OTOOL
67702
67703 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
67704 OTOOL64=$lt_OTOOL64
67705
67706 # Old archive suffix (normally "a").
67707 libext=$libext
67708
67709 # Shared library suffix (normally ".so").
67710 shrext_cmds=$lt_shrext_cmds
67711
67712 # The commands to extract the exported symbol list from a shared archive.
67713 extract_expsyms_cmds=$lt_extract_expsyms_cmds
67714
67715 # Variables whose values should be saved in libtool wrapper scripts and
67716 # restored at link time.
67717 variables_saved_for_relink=$lt_variables_saved_for_relink
67718
67719 # Do we need the "lib" prefix for modules?
67720 need_lib_prefix=$need_lib_prefix
67721
67722 # Do we need a version for libraries?
67723 need_version=$need_version
67724
67725 # Library versioning type.
67726 version_type=$version_type
67727
67728 # Shared library runtime path variable.
67729 runpath_var=$runpath_var
67730
67731 # Shared library path variable.
67732 shlibpath_var=$shlibpath_var
67733
67734 # Is shlibpath searched before the hard-coded library search path?
67735 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
67736
67737 # Format of library name prefix.
67738 libname_spec=$lt_libname_spec
67739
67740 # List of archive names.  First name is the real one, the rest are links.
67741 # The last name is the one that the linker finds with -lNAME
67742 library_names_spec=$lt_library_names_spec
67743
67744 # The coded name of the library, if different from the real name.
67745 soname_spec=$lt_soname_spec
67746
67747 # Permission mode override for installation of shared libraries.
67748 install_override_mode=$lt_install_override_mode
67749
67750 # Command to use after installation of a shared archive.
67751 postinstall_cmds=$lt_postinstall_cmds
67752
67753 # Command to use after uninstallation of a shared archive.
67754 postuninstall_cmds=$lt_postuninstall_cmds
67755
67756 # Commands used to finish a libtool library installation in a directory.
67757 finish_cmds=$lt_finish_cmds
67758
67759 # As "finish_cmds", except a single script fragment to be evaled but
67760 # not shown.
67761 finish_eval=$lt_finish_eval
67762
67763 # Whether we should hardcode library paths into libraries.
67764 hardcode_into_libs=$hardcode_into_libs
67765
67766 # Compile-time system search path for libraries.
67767 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
67768
67769 # Run-time system search path for libraries.
67770 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
67771
67772 # Whether dlopen is supported.
67773 dlopen_support=$enable_dlopen
67774
67775 # Whether dlopen of programs is supported.
67776 dlopen_self=$enable_dlopen_self
67777
67778 # Whether dlopen of statically linked programs is supported.
67779 dlopen_self_static=$enable_dlopen_self_static
67780
67781 # Commands to strip libraries.
67782 old_striplib=$lt_old_striplib
67783 striplib=$lt_striplib
67784
67785
67786 # The linker used to build libraries.
67787 LD=$lt_LD
67788
67789 # How to create reloadable object files.
67790 reload_flag=$lt_reload_flag
67791 reload_cmds=$lt_reload_cmds
67792
67793 # Commands used to build an old-style archive.
67794 old_archive_cmds=$lt_old_archive_cmds
67795
67796 # A language specific compiler.
67797 CC=$lt_compiler
67798
67799 # Is the compiler the GNU compiler?
67800 with_gcc=$GCC
67801
67802 # Compiler flag to turn off builtin functions.
67803 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
67804
67805 # How to pass a linker flag through the compiler.
67806 wl=$lt_lt_prog_compiler_wl
67807
67808 # Additional compiler flags for building library objects.
67809 pic_flag=$lt_lt_prog_compiler_pic
67810
67811 # Compiler flag to prevent dynamic linking.
67812 link_static_flag=$lt_lt_prog_compiler_static
67813
67814 # Does compiler simultaneously support -c and -o options?
67815 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
67816
67817 # Whether or not to add -lc for building shared libraries.
67818 build_libtool_need_lc=$archive_cmds_need_lc
67819
67820 # Whether or not to disallow shared libs when runtime libs are static.
67821 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
67822
67823 # Compiler flag to allow reflexive dlopens.
67824 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
67825
67826 # Compiler flag to generate shared objects directly from archives.
67827 whole_archive_flag_spec=$lt_whole_archive_flag_spec
67828
67829 # Whether the compiler copes with passing no objects directly.
67830 compiler_needs_object=$lt_compiler_needs_object
67831
67832 # Create an old-style archive from a shared archive.
67833 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
67834
67835 # Create a temporary old-style archive to link instead of a shared archive.
67836 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
67837
67838 # Commands used to build a shared archive.
67839 archive_cmds=$lt_archive_cmds
67840 archive_expsym_cmds=$lt_archive_expsym_cmds
67841
67842 # Commands used to build a loadable module if different from building
67843 # a shared archive.
67844 module_cmds=$lt_module_cmds
67845 module_expsym_cmds=$lt_module_expsym_cmds
67846
67847 # Whether we are building with GNU ld or not.
67848 with_gnu_ld=$lt_with_gnu_ld
67849
67850 # Flag that allows shared libraries with undefined symbols to be built.
67851 allow_undefined_flag=$lt_allow_undefined_flag
67852
67853 # Flag that enforces no undefined symbols.
67854 no_undefined_flag=$lt_no_undefined_flag
67855
67856 # Flag to hardcode \$libdir into a binary during linking.
67857 # This must work even if \$libdir does not exist
67858 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
67859
67860 # If ld is used when linking, flag to hardcode \$libdir into a binary
67861 # during linking.  This must work even if \$libdir does not exist.
67862 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
67863
67864 # Whether we need a single "-rpath" flag with a separated argument.
67865 hardcode_libdir_separator=$lt_hardcode_libdir_separator
67866
67867 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
67868 # DIR into the resulting binary.
67869 hardcode_direct=$hardcode_direct
67870
67871 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
67872 # DIR into the resulting binary and the resulting library dependency is
67873 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
67874 # library is relocated.
67875 hardcode_direct_absolute=$hardcode_direct_absolute
67876
67877 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
67878 # into the resulting binary.
67879 hardcode_minus_L=$hardcode_minus_L
67880
67881 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
67882 # into the resulting binary.
67883 hardcode_shlibpath_var=$hardcode_shlibpath_var
67884
67885 # Set to "yes" if building a shared library automatically hardcodes DIR
67886 # into the library and all subsequent libraries and executables linked
67887 # against it.
67888 hardcode_automatic=$hardcode_automatic
67889
67890 # Set to yes if linker adds runtime paths of dependent libraries
67891 # to runtime path list.
67892 inherit_rpath=$inherit_rpath
67893
67894 # Whether libtool must link a program against all its dependency libraries.
67895 link_all_deplibs=$link_all_deplibs
67896
67897 # Fix the shell variable \$srcfile for the compiler.
67898 fix_srcfile_path=$lt_fix_srcfile_path
67899
67900 # Set to "yes" if exported symbols are required.
67901 always_export_symbols=$always_export_symbols
67902
67903 # The commands to list exported symbols.
67904 export_symbols_cmds=$lt_export_symbols_cmds
67905
67906 # Symbols that should not be listed in the preloaded symbols.
67907 exclude_expsyms=$lt_exclude_expsyms
67908
67909 # Symbols that must always be exported.
67910 include_expsyms=$lt_include_expsyms
67911
67912 # Commands necessary for linking programs (against libraries) with templates.
67913 prelink_cmds=$lt_prelink_cmds
67914
67915 # Specify filename containing input files.
67916 file_list_spec=$lt_file_list_spec
67917
67918 # How to hardcode a shared library path into an executable.
67919 hardcode_action=$hardcode_action
67920
67921 # The directories searched by this compiler when creating a shared library.
67922 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
67923
67924 # Dependencies to place before and after the objects being linked to
67925 # create a shared library.
67926 predep_objects=$lt_predep_objects
67927 postdep_objects=$lt_postdep_objects
67928 predeps=$lt_predeps
67929 postdeps=$lt_postdeps
67930
67931 # The library search path used internally by the compiler when linking
67932 # a shared library.
67933 compiler_lib_search_path=$lt_compiler_lib_search_path
67934
67935 # ### END LIBTOOL CONFIG
67936
67937 _LT_EOF
67938
67939   case $host_os in
67940   aix3*)
67941     cat <<\_LT_EOF >> "$cfgfile"
67942 # AIX sometimes has problems with the GCC collect2 program.  For some
67943 # reason, if we set the COLLECT_NAMES environment variable, the problems
67944 # vanish in a puff of smoke.
67945 if test "X${COLLECT_NAMES+set}" != Xset; then
67946   COLLECT_NAMES=
67947   export COLLECT_NAMES
67948 fi
67949 _LT_EOF
67950     ;;
67951   esac
67952
67953
67954 ltmain="$ac_aux_dir/ltmain.sh"
67955
67956
67957   # We use sed instead of cat because bash on DJGPP gets confused if
67958   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
67959   # text mode, it properly converts lines to CR/LF.  This bash problem
67960   # is reportedly fixed, but why not run on old versions too?
67961   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
67962     || (rm -f "$cfgfile"; exit 1)
67963
67964   case $xsi_shell in
67965   yes)
67966     cat << \_LT_EOF >> "$cfgfile"
67967
67968 # func_dirname file append nondir_replacement
67969 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
67970 # otherwise set result to NONDIR_REPLACEMENT.
67971 func_dirname ()
67972 {
67973   case ${1} in
67974     */*) func_dirname_result="${1%/*}${2}" ;;
67975     *  ) func_dirname_result="${3}" ;;
67976   esac
67977 }
67978
67979 # func_basename file
67980 func_basename ()
67981 {
67982   func_basename_result="${1##*/}"
67983 }
67984
67985 # func_dirname_and_basename file append nondir_replacement
67986 # perform func_basename and func_dirname in a single function
67987 # call:
67988 #   dirname:  Compute the dirname of FILE.  If nonempty,
67989 #             add APPEND to the result, otherwise set result
67990 #             to NONDIR_REPLACEMENT.
67991 #             value returned in "$func_dirname_result"
67992 #   basename: Compute filename of FILE.
67993 #             value retuned in "$func_basename_result"
67994 # Implementation must be kept synchronized with func_dirname
67995 # and func_basename. For efficiency, we do not delegate to
67996 # those functions but instead duplicate the functionality here.
67997 func_dirname_and_basename ()
67998 {
67999   case ${1} in
68000     */*) func_dirname_result="${1%/*}${2}" ;;
68001     *  ) func_dirname_result="${3}" ;;
68002   esac
68003   func_basename_result="${1##*/}"
68004 }
68005
68006 # func_stripname prefix suffix name
68007 # strip PREFIX and SUFFIX off of NAME.
68008 # PREFIX and SUFFIX must not contain globbing or regex special
68009 # characters, hashes, percent signs, but SUFFIX may contain a leading
68010 # dot (in which case that matches only a dot).
68011 func_stripname ()
68012 {
68013   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
68014   # positional parameters, so assign one to ordinary parameter first.
68015   func_stripname_result=${3}
68016   func_stripname_result=${func_stripname_result#"${1}"}
68017   func_stripname_result=${func_stripname_result%"${2}"}
68018 }
68019
68020 # func_opt_split
68021 func_opt_split ()
68022 {
68023   func_opt_split_opt=${1%%=*}
68024   func_opt_split_arg=${1#*=}
68025 }
68026
68027 # func_lo2o object
68028 func_lo2o ()
68029 {
68030   case ${1} in
68031     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
68032     *)    func_lo2o_result=${1} ;;
68033   esac
68034 }
68035
68036 # func_xform libobj-or-source
68037 func_xform ()
68038 {
68039   func_xform_result=${1%.*}.lo
68040 }
68041
68042 # func_arith arithmetic-term...
68043 func_arith ()
68044 {
68045   func_arith_result=$(( $* ))
68046 }
68047
68048 # func_len string
68049 # STRING may not start with a hyphen.
68050 func_len ()
68051 {
68052   func_len_result=${#1}
68053 }
68054
68055 _LT_EOF
68056     ;;
68057   *) # Bourne compatible functions.
68058     cat << \_LT_EOF >> "$cfgfile"
68059
68060 # func_dirname file append nondir_replacement
68061 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
68062 # otherwise set result to NONDIR_REPLACEMENT.
68063 func_dirname ()
68064 {
68065   # Extract subdirectory from the argument.
68066   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
68067   if test "X$func_dirname_result" = "X${1}"; then
68068     func_dirname_result="${3}"
68069   else
68070     func_dirname_result="$func_dirname_result${2}"
68071   fi
68072 }
68073
68074 # func_basename file
68075 func_basename ()
68076 {
68077   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
68078 }
68079
68080
68081 # func_stripname prefix suffix name
68082 # strip PREFIX and SUFFIX off of NAME.
68083 # PREFIX and SUFFIX must not contain globbing or regex special
68084 # characters, hashes, percent signs, but SUFFIX may contain a leading
68085 # dot (in which case that matches only a dot).
68086 # func_strip_suffix prefix name
68087 func_stripname ()
68088 {
68089   case ${2} in
68090     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
68091     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
68092   esac
68093 }
68094
68095 # sed scripts:
68096 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
68097 my_sed_long_arg='1s/^-[^=]*=//'
68098
68099 # func_opt_split
68100 func_opt_split ()
68101 {
68102   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
68103   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
68104 }
68105
68106 # func_lo2o object
68107 func_lo2o ()
68108 {
68109   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
68110 }
68111
68112 # func_xform libobj-or-source
68113 func_xform ()
68114 {
68115   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
68116 }
68117
68118 # func_arith arithmetic-term...
68119 func_arith ()
68120 {
68121   func_arith_result=`expr "$@"`
68122 }
68123
68124 # func_len string
68125 # STRING may not start with a hyphen.
68126 func_len ()
68127 {
68128   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
68129 }
68130
68131 _LT_EOF
68132 esac
68133
68134 case $lt_shell_append in
68135   yes)
68136     cat << \_LT_EOF >> "$cfgfile"
68137
68138 # func_append var value
68139 # Append VALUE to the end of shell variable VAR.
68140 func_append ()
68141 {
68142   eval "$1+=\$2"
68143 }
68144 _LT_EOF
68145     ;;
68146   *)
68147     cat << \_LT_EOF >> "$cfgfile"
68148
68149 # func_append var value
68150 # Append VALUE to the end of shell variable VAR.
68151 func_append ()
68152 {
68153   eval "$1=\$$1\$2"
68154 }
68155
68156 _LT_EOF
68157     ;;
68158   esac
68159
68160
68161   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
68162     || (rm -f "$cfgfile"; exit 1)
68163
68164   mv -f "$cfgfile" "$ofile" ||
68165     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
68166   chmod +x "$ofile"
68167
68168
68169     cat <<_LT_EOF >> "$ofile"
68170
68171 # ### BEGIN LIBTOOL TAG CONFIG: CXX
68172
68173 # The linker used to build libraries.
68174 LD=$lt_LD_CXX
68175
68176 # How to create reloadable object files.
68177 reload_flag=$lt_reload_flag_CXX
68178 reload_cmds=$lt_reload_cmds_CXX
68179
68180 # Commands used to build an old-style archive.
68181 old_archive_cmds=$lt_old_archive_cmds_CXX
68182
68183 # A language specific compiler.
68184 CC=$lt_compiler_CXX
68185
68186 # Is the compiler the GNU compiler?
68187 with_gcc=$GCC_CXX
68188
68189 # Compiler flag to turn off builtin functions.
68190 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
68191
68192 # How to pass a linker flag through the compiler.
68193 wl=$lt_lt_prog_compiler_wl_CXX
68194
68195 # Additional compiler flags for building library objects.
68196 pic_flag=$lt_lt_prog_compiler_pic_CXX
68197
68198 # Compiler flag to prevent dynamic linking.
68199 link_static_flag=$lt_lt_prog_compiler_static_CXX
68200
68201 # Does compiler simultaneously support -c and -o options?
68202 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
68203
68204 # Whether or not to add -lc for building shared libraries.
68205 build_libtool_need_lc=$archive_cmds_need_lc_CXX
68206
68207 # Whether or not to disallow shared libs when runtime libs are static.
68208 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
68209
68210 # Compiler flag to allow reflexive dlopens.
68211 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
68212
68213 # Compiler flag to generate shared objects directly from archives.
68214 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
68215
68216 # Whether the compiler copes with passing no objects directly.
68217 compiler_needs_object=$lt_compiler_needs_object_CXX
68218
68219 # Create an old-style archive from a shared archive.
68220 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
68221
68222 # Create a temporary old-style archive to link instead of a shared archive.
68223 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
68224
68225 # Commands used to build a shared archive.
68226 archive_cmds=$lt_archive_cmds_CXX
68227 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
68228
68229 # Commands used to build a loadable module if different from building
68230 # a shared archive.
68231 module_cmds=$lt_module_cmds_CXX
68232 module_expsym_cmds=$lt_module_expsym_cmds_CXX
68233
68234 # Whether we are building with GNU ld or not.
68235 with_gnu_ld=$lt_with_gnu_ld_CXX
68236
68237 # Flag that allows shared libraries with undefined symbols to be built.
68238 allow_undefined_flag=$lt_allow_undefined_flag_CXX
68239
68240 # Flag that enforces no undefined symbols.
68241 no_undefined_flag=$lt_no_undefined_flag_CXX
68242
68243 # Flag to hardcode \$libdir into a binary during linking.
68244 # This must work even if \$libdir does not exist
68245 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
68246
68247 # If ld is used when linking, flag to hardcode \$libdir into a binary
68248 # during linking.  This must work even if \$libdir does not exist.
68249 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
68250
68251 # Whether we need a single "-rpath" flag with a separated argument.
68252 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
68253
68254 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68255 # DIR into the resulting binary.
68256 hardcode_direct=$hardcode_direct_CXX
68257
68258 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68259 # DIR into the resulting binary and the resulting library dependency is
68260 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
68261 # library is relocated.
68262 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
68263
68264 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
68265 # into the resulting binary.
68266 hardcode_minus_L=$hardcode_minus_L_CXX
68267
68268 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
68269 # into the resulting binary.
68270 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
68271
68272 # Set to "yes" if building a shared library automatically hardcodes DIR
68273 # into the library and all subsequent libraries and executables linked
68274 # against it.
68275 hardcode_automatic=$hardcode_automatic_CXX
68276
68277 # Set to yes if linker adds runtime paths of dependent libraries
68278 # to runtime path list.
68279 inherit_rpath=$inherit_rpath_CXX
68280
68281 # Whether libtool must link a program against all its dependency libraries.
68282 link_all_deplibs=$link_all_deplibs_CXX
68283
68284 # Fix the shell variable \$srcfile for the compiler.
68285 fix_srcfile_path=$lt_fix_srcfile_path_CXX
68286
68287 # Set to "yes" if exported symbols are required.
68288 always_export_symbols=$always_export_symbols_CXX
68289
68290 # The commands to list exported symbols.
68291 export_symbols_cmds=$lt_export_symbols_cmds_CXX
68292
68293 # Symbols that should not be listed in the preloaded symbols.
68294 exclude_expsyms=$lt_exclude_expsyms_CXX
68295
68296 # Symbols that must always be exported.
68297 include_expsyms=$lt_include_expsyms_CXX
68298
68299 # Commands necessary for linking programs (against libraries) with templates.
68300 prelink_cmds=$lt_prelink_cmds_CXX
68301
68302 # Specify filename containing input files.
68303 file_list_spec=$lt_file_list_spec_CXX
68304
68305 # How to hardcode a shared library path into an executable.
68306 hardcode_action=$hardcode_action_CXX
68307
68308 # The directories searched by this compiler when creating a shared library.
68309 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
68310
68311 # Dependencies to place before and after the objects being linked to
68312 # create a shared library.
68313 predep_objects=$lt_predep_objects_CXX
68314 postdep_objects=$lt_postdep_objects_CXX
68315 predeps=$lt_predeps_CXX
68316 postdeps=$lt_postdeps_CXX
68317
68318 # The library search path used internally by the compiler when linking
68319 # a shared library.
68320 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
68321
68322 # ### END LIBTOOL TAG CONFIG: CXX
68323 _LT_EOF
68324
68325  ;;
68326     "include/gstdint.h":C)
68327 if test "$GCC" = yes; then
68328   echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
68329 else
68330   echo "/* generated for $CC */" > tmp-stdint.h
68331 fi
68332
68333 sed 's/^ *//' >> tmp-stdint.h <<EOF
68334
68335   #ifndef GCC_GENERATED_STDINT_H
68336   #define GCC_GENERATED_STDINT_H 1
68337
68338   #include <sys/types.h>
68339 EOF
68340
68341 if test "$acx_cv_header_stdint" != stdint.h; then
68342   echo "#include <stddef.h>" >> tmp-stdint.h
68343 fi
68344 if test "$acx_cv_header_stdint" != stddef.h; then
68345   echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
68346 fi
68347
68348 sed 's/^ *//' >> tmp-stdint.h <<EOF
68349   /* glibc uses these symbols as guards to prevent redefinitions.  */
68350   #ifdef __int8_t_defined
68351   #define _INT8_T
68352   #define _INT16_T
68353   #define _INT32_T
68354   #endif
68355   #ifdef __uint32_t_defined
68356   #define _UINT32_T
68357   #endif
68358
68359 EOF
68360
68361 # ----------------- done header, emit basic int types -------------
68362 if test "$acx_cv_header_stdint" = stddef.h; then
68363   sed 's/^ *//' >> tmp-stdint.h <<EOF
68364
68365     #ifndef _UINT8_T
68366     #define _UINT8_T
68367     #ifndef __uint8_t_defined
68368     #define __uint8_t_defined
68369     #ifndef uint8_t
68370     typedef unsigned $acx_cv_type_int8_t uint8_t;
68371     #endif
68372     #endif
68373     #endif
68374
68375     #ifndef _UINT16_T
68376     #define _UINT16_T
68377     #ifndef __uint16_t_defined
68378     #define __uint16_t_defined
68379     #ifndef uint16_t
68380     typedef unsigned $acx_cv_type_int16_t uint16_t;
68381     #endif
68382     #endif
68383     #endif
68384
68385     #ifndef _UINT32_T
68386     #define _UINT32_T
68387     #ifndef __uint32_t_defined
68388     #define __uint32_t_defined
68389     #ifndef uint32_t
68390     typedef unsigned $acx_cv_type_int32_t uint32_t;
68391     #endif
68392     #endif
68393     #endif
68394
68395     #ifndef _INT8_T
68396     #define _INT8_T
68397     #ifndef __int8_t_defined
68398     #define __int8_t_defined
68399     #ifndef int8_t
68400     typedef $acx_cv_type_int8_t int8_t;
68401     #endif
68402     #endif
68403     #endif
68404
68405     #ifndef _INT16_T
68406     #define _INT16_T
68407     #ifndef __int16_t_defined
68408     #define __int16_t_defined
68409     #ifndef int16_t
68410     typedef $acx_cv_type_int16_t int16_t;
68411     #endif
68412     #endif
68413     #endif
68414
68415     #ifndef _INT32_T
68416     #define _INT32_T
68417     #ifndef __int32_t_defined
68418     #define __int32_t_defined
68419     #ifndef int32_t
68420     typedef $acx_cv_type_int32_t int32_t;
68421     #endif
68422     #endif
68423     #endif
68424 EOF
68425 elif test "$ac_cv_type_u_int32_t" = yes; then
68426   sed 's/^ *//' >> tmp-stdint.h <<EOF
68427
68428     /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
68429     #ifndef _INT8_T
68430     #define _INT8_T
68431     #endif
68432     #ifndef _INT16_T
68433     #define _INT16_T
68434     #endif
68435     #ifndef _INT32_T
68436     #define _INT32_T
68437     #endif
68438
68439     #ifndef _UINT8_T
68440     #define _UINT8_T
68441     #ifndef __uint8_t_defined
68442     #define __uint8_t_defined
68443     #ifndef uint8_t
68444     typedef u_int8_t uint8_t;
68445     #endif
68446     #endif
68447     #endif
68448
68449     #ifndef _UINT16_T
68450     #define _UINT16_T
68451     #ifndef __uint16_t_defined
68452     #define __uint16_t_defined
68453     #ifndef uint16_t
68454     typedef u_int16_t uint16_t;
68455     #endif
68456     #endif
68457     #endif
68458
68459     #ifndef _UINT32_T
68460     #define _UINT32_T
68461     #ifndef __uint32_t_defined
68462     #define __uint32_t_defined
68463     #ifndef uint32_t
68464     typedef u_int32_t uint32_t;
68465     #endif
68466     #endif
68467     #endif
68468 EOF
68469 else
68470   sed 's/^ *//' >> tmp-stdint.h <<EOF
68471
68472     /* Some systems have guard macros to prevent redefinitions, define them.  */
68473     #ifndef _INT8_T
68474     #define _INT8_T
68475     #endif
68476     #ifndef _INT16_T
68477     #define _INT16_T
68478     #endif
68479     #ifndef _INT32_T
68480     #define _INT32_T
68481     #endif
68482     #ifndef _UINT8_T
68483     #define _UINT8_T
68484     #endif
68485     #ifndef _UINT16_T
68486     #define _UINT16_T
68487     #endif
68488     #ifndef _UINT32_T
68489     #define _UINT32_T
68490     #endif
68491 EOF
68492 fi
68493
68494 # ------------- done basic int types, emit int64_t types ------------
68495 if test "$ac_cv_type_uint64_t" = yes; then
68496   sed 's/^ *//' >> tmp-stdint.h <<EOF
68497
68498     /* system headers have good uint64_t and int64_t */
68499     #ifndef _INT64_T
68500     #define _INT64_T
68501     #endif
68502     #ifndef _UINT64_T
68503     #define _UINT64_T
68504     #endif
68505 EOF
68506 elif test "$ac_cv_type_u_int64_t" = yes; then
68507   sed 's/^ *//' >> tmp-stdint.h <<EOF
68508
68509     /* system headers have an u_int64_t (and int64_t) */
68510     #ifndef _INT64_T
68511     #define _INT64_T
68512     #endif
68513     #ifndef _UINT64_T
68514     #define _UINT64_T
68515     #ifndef __uint64_t_defined
68516     #define __uint64_t_defined
68517     #ifndef uint64_t
68518     typedef u_int64_t uint64_t;
68519     #endif
68520     #endif
68521     #endif
68522 EOF
68523 elif test -n "$acx_cv_type_int64_t"; then
68524   sed 's/^ *//' >> tmp-stdint.h <<EOF
68525
68526     /* architecture has a 64-bit type, $acx_cv_type_int64_t */
68527     #ifndef _INT64_T
68528     #define _INT64_T
68529     #ifndef int64_t
68530     typedef $acx_cv_type_int64_t int64_t;
68531     #endif
68532     #endif
68533     #ifndef _UINT64_T
68534     #define _UINT64_T
68535     #ifndef __uint64_t_defined
68536     #define __uint64_t_defined
68537     #ifndef uint64_t
68538     typedef unsigned $acx_cv_type_int64_t uint64_t;
68539     #endif
68540     #endif
68541     #endif
68542 EOF
68543 else
68544   sed 's/^ *//' >> tmp-stdint.h <<EOF
68545
68546     /* some common heuristics for int64_t, using compiler-specific tests */
68547     #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
68548     #ifndef _INT64_T
68549     #define _INT64_T
68550     #ifndef __int64_t_defined
68551     #ifndef int64_t
68552     typedef long long int64_t;
68553     #endif
68554     #endif
68555     #endif
68556     #ifndef _UINT64_T
68557     #define _UINT64_T
68558     #ifndef uint64_t
68559     typedef unsigned long long uint64_t;
68560     #endif
68561     #endif
68562
68563     #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
68564     /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
68565        does not implement __extension__.  But that compiler doesn't define
68566        __GNUC_MINOR__.  */
68567     # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
68568     # define __extension__
68569     # endif
68570
68571     # ifndef _INT64_T
68572     # define _INT64_T
68573     # ifndef int64_t
68574     __extension__ typedef long long int64_t;
68575     # endif
68576     # endif
68577     # ifndef _UINT64_T
68578     # define _UINT64_T
68579     # ifndef uint64_t
68580     __extension__ typedef unsigned long long uint64_t;
68581     # endif
68582     # endif
68583
68584     #elif !defined __STRICT_ANSI__
68585     # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
68586
68587     #  ifndef _INT64_T
68588     #  define _INT64_T
68589     #  ifndef int64_t
68590     typedef __int64 int64_t;
68591     #  endif
68592     #  endif
68593     #  ifndef _UINT64_T
68594     #  define _UINT64_T
68595     #  ifndef uint64_t
68596     typedef unsigned __int64 uint64_t;
68597     #  endif
68598     #  endif
68599     # endif /* compiler */
68600
68601     #endif /* ANSI version */
68602 EOF
68603 fi
68604
68605 # ------------- done int64_t types, emit intptr types ------------
68606 if test "$ac_cv_type_uintptr_t" != yes; then
68607   sed 's/^ *//' >> tmp-stdint.h <<EOF
68608
68609     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
68610     #ifndef __uintptr_t_defined
68611     #ifndef uintptr_t
68612     typedef u$acx_cv_type_intptr_t uintptr_t;
68613     #endif
68614     #endif
68615     #ifndef __intptr_t_defined
68616     #ifndef intptr_t
68617     typedef $acx_cv_type_intptr_t  intptr_t;
68618     #endif
68619     #endif
68620 EOF
68621 fi
68622
68623 # ------------- done intptr types, emit int_least types ------------
68624 if test "$ac_cv_type_int_least32_t" != yes; then
68625   sed 's/^ *//' >> tmp-stdint.h <<EOF
68626
68627     /* Define int_least types */
68628     typedef int8_t     int_least8_t;
68629     typedef int16_t    int_least16_t;
68630     typedef int32_t    int_least32_t;
68631     #ifdef _INT64_T
68632     typedef int64_t    int_least64_t;
68633     #endif
68634
68635     typedef uint8_t    uint_least8_t;
68636     typedef uint16_t   uint_least16_t;
68637     typedef uint32_t   uint_least32_t;
68638     #ifdef _UINT64_T
68639     typedef uint64_t   uint_least64_t;
68640     #endif
68641 EOF
68642 fi
68643
68644 # ------------- done intptr types, emit int_fast types ------------
68645 if test "$ac_cv_type_int_fast32_t" != yes; then
68646       sed 's/^ *//' >> tmp-stdint.h <<EOF
68647
68648     /* Define int_fast types.  short is often slow */
68649     typedef int8_t       int_fast8_t;
68650     typedef int          int_fast16_t;
68651     typedef int32_t      int_fast32_t;
68652     #ifdef _INT64_T
68653     typedef int64_t      int_fast64_t;
68654     #endif
68655
68656     typedef uint8_t      uint_fast8_t;
68657     typedef unsigned int uint_fast16_t;
68658     typedef uint32_t     uint_fast32_t;
68659     #ifdef _UINT64_T
68660     typedef uint64_t     uint_fast64_t;
68661     #endif
68662 EOF
68663 fi
68664
68665 if test "$ac_cv_type_uintmax_t" != yes; then
68666   sed 's/^ *//' >> tmp-stdint.h <<EOF
68667
68668     /* Define intmax based on what we found */
68669     #ifndef intmax_t
68670     #ifdef _INT64_T
68671     typedef int64_t       intmax_t;
68672     #else
68673     typedef long          intmax_t;
68674     #endif
68675     #endif
68676     #ifndef uintmax_t
68677     #ifdef _UINT64_T
68678     typedef uint64_t      uintmax_t;
68679     #else
68680     typedef unsigned long uintmax_t;
68681     #endif
68682     #endif
68683 EOF
68684 fi
68685
68686 sed 's/^ *//' >> tmp-stdint.h <<EOF
68687
68688   #endif /* GCC_GENERATED_STDINT_H */
68689 EOF
68690
68691 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
68692   rm -f tmp-stdint.h
68693 else
68694   mv -f tmp-stdint.h include/gstdint.h
68695 fi
68696
68697  ;;
68698     "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
68699     "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
68700     "include/Makefile":F) cat > vpsed$$ << \_EOF
68701 s!`test -f '$<' || echo '$(srcdir)/'`!!
68702 _EOF
68703    sed -f vpsed$$ $ac_file > tmp$$
68704    mv tmp$$ $ac_file
68705    rm vpsed$$
68706    echo 'MULTISUBDIR =' >> $ac_file
68707    ml_norecursion=yes
68708    . ${multi_basedir}/config-ml.in
68709    { ml_norecursion=; unset ml_norecursion;}
68710  ;;
68711     "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
68712 s!`test -f '$<' || echo '$(srcdir)/'`!!
68713 _EOF
68714    sed -f vpsed$$ $ac_file > tmp$$
68715    mv tmp$$ $ac_file
68716    rm vpsed$$
68717    echo 'MULTISUBDIR =' >> $ac_file
68718    ml_norecursion=yes
68719    . ${multi_basedir}/config-ml.in
68720    { ml_norecursion=; unset ml_norecursion;}
68721  ;;
68722     "python/Makefile":F) cat > vpsed$$ << \_EOF
68723 s!`test -f '$<' || echo '$(srcdir)/'`!!
68724 _EOF
68725    sed -f vpsed$$ $ac_file > tmp$$
68726    mv tmp$$ $ac_file
68727    rm vpsed$$
68728    echo 'MULTISUBDIR =' >> $ac_file
68729    ml_norecursion=yes
68730    . ${multi_basedir}/config-ml.in
68731    { ml_norecursion=; unset ml_norecursion;}
68732  ;;
68733     "src/Makefile":F) cat > vpsed$$ << \_EOF
68734 s!`test -f '$<' || echo '$(srcdir)/'`!!
68735 _EOF
68736    sed -f vpsed$$ $ac_file > tmp$$
68737    mv tmp$$ $ac_file
68738    rm vpsed$$
68739    echo 'MULTISUBDIR =' >> $ac_file
68740    ml_norecursion=yes
68741    . ${multi_basedir}/config-ml.in
68742    { ml_norecursion=; unset ml_norecursion;}
68743  ;;
68744     "doc/Makefile":F) cat > vpsed$$ << \_EOF
68745 s!`test -f '$<' || echo '$(srcdir)/'`!!
68746 _EOF
68747    sed -f vpsed$$ $ac_file > tmp$$
68748    mv tmp$$ $ac_file
68749    rm vpsed$$
68750    echo 'MULTISUBDIR =' >> $ac_file
68751    ml_norecursion=yes
68752    . ${multi_basedir}/config-ml.in
68753    { ml_norecursion=; unset ml_norecursion;}
68754  ;;
68755     "po/Makefile":F) cat > vpsed$$ << \_EOF
68756 s!`test -f '$<' || echo '$(srcdir)/'`!!
68757 _EOF
68758    sed -f vpsed$$ $ac_file > tmp$$
68759    mv tmp$$ $ac_file
68760    rm vpsed$$
68761    echo 'MULTISUBDIR =' >> $ac_file
68762    ml_norecursion=yes
68763    . ${multi_basedir}/config-ml.in
68764    { ml_norecursion=; unset ml_norecursion;}
68765  ;;
68766     "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
68767 s!`test -f '$<' || echo '$(srcdir)/'`!!
68768 _EOF
68769    sed -f vpsed$$ $ac_file > tmp$$
68770    mv tmp$$ $ac_file
68771    rm vpsed$$
68772    echo 'MULTISUBDIR =' >> $ac_file
68773    ml_norecursion=yes
68774    . ${multi_basedir}/config-ml.in
68775    { ml_norecursion=; unset ml_norecursion;}
68776  ;;
68777     "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
68778
68779   esac
68780 done # for ac_tag
68781
68782
68783 as_fn_exit 0
68784 _ACEOF
68785 ac_clean_files=$ac_clean_files_save
68786
68787 test $ac_write_fail = 0 ||
68788   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
68789
68790
68791 # configure is writing to config.log, and then calls config.status.
68792 # config.status does its own redirection, appending to config.log.
68793 # Unfortunately, on DOS this fails, as config.log is still kept open
68794 # by configure, so config.status won't be able to write to it; its
68795 # output is simply discarded.  So we exec the FD to /dev/null,
68796 # effectively closing config.log, so it can be properly (re)opened and
68797 # appended to by config.status.  When coming back to configure, we
68798 # need to make the FD available again.
68799 if test "$no_create" != yes; then
68800   ac_cs_success=:
68801   ac_config_status_args=
68802   test "$silent" = yes &&
68803     ac_config_status_args="$ac_config_status_args --quiet"
68804   exec 5>/dev/null
68805   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
68806   exec 5>>config.log
68807   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
68808   # would make configure fail if this is the last instruction.
68809   $ac_cs_success || as_fn_exit $?
68810 fi
68811 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
68812   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
68813 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
68814 fi
68815