OSDN Git Service

* configure: Regenerated.
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
4 #
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
8 #
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18   emulate sh
19   NULLCMD=:
20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21   # is contrary to our usage.  Disable this feature.
22   alias -g '${1+"$@"}'='"$@"'
23   setopt NO_GLOB_SUBST
24 else
25   case `(set -o) 2>/dev/null` in #(
26   *posix*) :
27     set -o posix ;; #(
28   *) :
29      ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45   as_echo='print -r --'
46   as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48   as_echo='printf %s\n'
49   as_echo_n='printf %s'
50 else
51   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53     as_echo_n='/usr/ucb/echo -n'
54   else
55     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56     as_echo_n_body='eval
57       arg=$1;
58       case $arg in #(
59       *"$as_nl"*)
60         expr "X$arg" : "X\\(.*\\)$as_nl";
61         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62       esac;
63       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64     '
65     export as_echo_n_body
66     as_echo_n='sh -c $as_echo_n_body as_echo'
67   fi
68   export as_echo_body
69   as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74   PATH_SEPARATOR=:
75   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77       PATH_SEPARATOR=';'
78   }
79 fi
80
81
82 # IFS
83 # We need space, tab and new line, in precisely that order.  Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" ""        $as_nl"
88
89 # Find who we are.  Look in the path if we contain no directory separator.
90 case $0 in #((
91   *[\\/]* ) as_myself=$0 ;;
92   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
94 do
95   IFS=$as_save_IFS
96   test -z "$as_dir" && as_dir=.
97     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98   done
99 IFS=$as_save_IFS
100
101      ;;
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106   as_myself=$0
107 fi
108 if test ! -f "$as_myself"; then
109   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110   exit 1
111 fi
112
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there.  '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
124
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
130
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
134 if test "x$CONFIG_SHELL" = x; then
135   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136   emulate sh
137   NULLCMD=:
138   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139   # is contrary to our usage.  Disable this feature.
140   alias -g '\${1+\"\$@\"}'='\"\$@\"'
141   setopt NO_GLOB_SUBST
142 else
143   case \`(set -o) 2>/dev/null\` in #(
144   *posix*) :
145     set -o posix ;; #(
146   *) :
147      ;;
148 esac
149 fi
150 "
151   as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
156
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
163
164 else
165   exitcode=1; echo positional parameters were not saved.
166 fi
167 test x\$exitcode = x0 || exit 1"
168   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
173
174   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178     PATH=/empty FPATH=/empty; export PATH FPATH
179     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181   if (eval "$as_required") 2>/dev/null; then :
182   as_have_required=yes
183 else
184   as_have_required=no
185 fi
186   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
187
188 else
189   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
192 do
193   IFS=$as_save_IFS
194   test -z "$as_dir" && as_dir=.
195   as_found=:
196   case $as_dir in #(
197          /*)
198            for as_base in sh bash ksh sh5; do
199              # Try only shells that exist, to save several forks.
200              as_shell=$as_dir/$as_base
201              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203   CONFIG_SHELL=$as_shell as_have_required=yes
204                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205   break 2
206 fi
207 fi
208            done;;
209        esac
210   as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214   CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
217
218
219       if test "x$CONFIG_SHELL" != x; then :
220   # We cannot yet assume a decent shell, so we have to provide a
221         # neutralization value for shells without unset; and this also
222         # works around shells that cannot unset nonexistent variables.
223         BASH_ENV=/dev/null
224         ENV=/dev/null
225         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226         export CONFIG_SHELL
227         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
228 fi
229
230     if test x$as_have_required = xno; then :
231   $as_echo "$0: This script requires a shell more modern than all"
232   $as_echo "$0: the shells that I found on your system."
233   if test x${ZSH_VERSION+set} = xset ; then
234     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236   else
237     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
241   fi
242   exit 1
243 fi
244 fi
245 fi
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
251
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
259 {
260   { eval $1=; unset $1;}
261 }
262 as_unset=as_fn_unset
263
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
268 {
269   return $1
270 } # as_fn_set_status
271
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
276 {
277   set +e
278   as_fn_set_status $1
279   exit $1
280 } # as_fn_exit
281
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
286 {
287
288   case $as_dir in #(
289   -*) as_dir=./$as_dir;;
290   esac
291   test -d "$as_dir" || eval $as_mkdir_p || {
292     as_dirs=
293     while :; do
294       case $as_dir in #(
295       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296       *) as_qdir=$as_dir;;
297       esac
298       as_dirs="'$as_qdir' $as_dirs"
299       as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301          X"$as_dir" : 'X\(//\)[^/]' \| \
302          X"$as_dir" : 'X\(//\)$' \| \
303          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306             s//\1/
307             q
308           }
309           /^X\(\/\/\)[^/].*/{
310             s//\1/
311             q
312           }
313           /^X\(\/\/\)$/{
314             s//\1/
315             q
316           }
317           /^X\(\/\).*/{
318             s//\1/
319             q
320           }
321           s/.*/./; q'`
322       test -d "$as_dir" && break
323     done
324     test -z "$as_dirs" || eval "mkdir $as_dirs"
325   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
326
327
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336   eval 'as_fn_append ()
337   {
338     eval $1+=\$2
339   }'
340 else
341   as_fn_append ()
342   {
343     eval $1=\$$1\$2
344   }
345 fi # as_fn_append
346
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353   eval 'as_fn_arith ()
354   {
355     as_val=$(( $* ))
356   }'
357 else
358   as_fn_arith ()
359   {
360     as_val=`expr "$@" || test $? -eq 1`
361   }
362 fi # as_fn_arith
363
364
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
371 {
372   as_status=$?; test $as_status -eq 0 && as_status=1
373   if test "$3"; then
374     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
376   fi
377   $as_echo "$as_me: error: $1" >&2
378   as_fn_exit $as_status
379 } # as_fn_error
380
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382    test "X`expr 00001 : '.*\(...\)'`" = X001; then
383   as_expr=expr
384 else
385   as_expr=false
386 fi
387
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389   as_basename=basename
390 else
391   as_basename=false
392 fi
393
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395   as_dirname=dirname
396 else
397   as_dirname=false
398 fi
399
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402          X"$0" : 'X\(//\)$' \| \
403          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405     sed '/^.*\/\([^/][^/]*\)\/*$/{
406             s//\1/
407             q
408           }
409           /^X\/\(\/\/\)$/{
410             s//\1/
411             q
412           }
413           /^X\/\(\/\).*/{
414             s//\1/
415             q
416           }
417           s/.*/./; q'`
418
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
425
426
427   as_lineno_1=$LINENO as_lineno_1a=$LINENO
428   as_lineno_2=$LINENO as_lineno_2a=$LINENO
429   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
432   sed -n '
433     p
434     /[$]LINENO/=
435   ' <$as_myself |
436     sed '
437       s/[$]LINENO.*/&-/
438       t lineno
439       b
440       :lineno
441       N
442       :loop
443       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444       t loop
445       s/-\n.*//
446     ' >$as_me.lineno &&
447   chmod +x "$as_me.lineno" ||
448     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
449
450   # Don't try to exec as it changes $[0], causing all sort of problems
451   # (the dirname of $[0] is not the place where we might find the
452   # original and so on.  Autoconf is especially sensitive to this).
453   . "./$as_me.lineno"
454   # Exit status is that of the last command.
455   exit
456 }
457
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461   case `echo 'xy\c'` in
462   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
463   xy)  ECHO_C='\c';;
464   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
465        ECHO_T=' ';;
466   esac;;
467 *)
468   ECHO_N='-n';;
469 esac
470
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473   rm -f conf$$.dir/conf$$.file
474 else
475   rm -f conf$$.dir
476   mkdir conf$$.dir 2>/dev/null
477 fi
478 if (echo >conf$$.file) 2>/dev/null; then
479   if ln -s conf$$.file conf$$ 2>/dev/null; then
480     as_ln_s='ln -s'
481     # ... but there are two gotchas:
482     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484     # In both cases, we have to default to `cp -p'.
485     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486       as_ln_s='cp -p'
487   elif ln conf$$.file conf$$ 2>/dev/null; then
488     as_ln_s=ln
489   else
490     as_ln_s='cp -p'
491   fi
492 else
493   as_ln_s='cp -p'
494 fi
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
497
498 if mkdir -p . 2>/dev/null; then
499   as_mkdir_p='mkdir -p "$as_dir"'
500 else
501   test -d ./-p && rmdir ./-p
502   as_mkdir_p=false
503 fi
504
505 if test -x / >/dev/null 2>&1; then
506   as_test_x='test -x'
507 else
508   if ls -dL / >/dev/null 2>&1; then
509     as_ls_L_option=L
510   else
511     as_ls_L_option=
512   fi
513   as_test_x='
514     eval sh -c '\''
515       if test -d "$1"; then
516         test -d "$1/.";
517       else
518         case $1 in #(
519         -*)set "./$1";;
520         esac;
521         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522         ???[sx]*):;;*)false;;esac;fi
523     '\'' sh
524   '
525 fi
526 as_executable_p=$as_test_x
527
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
530
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533
534 SHELL=${CONFIG_SHELL-/bin/sh}
535
536
537 exec 7<&0 </dev/null 6>&1
538
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
543
544 #
545 # Initializations.
546 #
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
555
556 # Identity of this package.
557 PACKAGE_NAME='package-unused'
558 PACKAGE_TARNAME='libstdc++'
559 PACKAGE_VERSION='version-unused'
560 PACKAGE_STRING='package-unused version-unused'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL=''
563
564 ac_unique_file="src/ios.cc"
565 # Factoring default headers for most tests.
566 ac_includes_default="\
567 #include <stdio.h>
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
570 #endif
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
573 #endif
574 #ifdef STDC_HEADERS
575 # include <stdlib.h>
576 # include <stddef.h>
577 #else
578 # ifdef HAVE_STDLIB_H
579 #  include <stdlib.h>
580 # endif
581 #endif
582 #ifdef HAVE_STRING_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 #  include <memory.h>
585 # endif
586 # include <string.h>
587 #endif
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
590 #endif
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
593 #endif
594 #ifdef HAVE_STDINT_H
595 # include <stdint.h>
596 #endif
597 #ifdef HAVE_UNISTD_H
598 # include <unistd.h>
599 #endif"
600
601 ac_subst_vars='am__EXEEXT_FALSE
602 am__EXEEXT_TRUE
603 LTLIBOBJS
604 LIBOBJS
605 LIBSUPCXX_PICFLAGS
606 WARN_FLAGS
607 OPTIMIZE_CXXFLAGS
608 TOPLEVEL_INCLUDES
609 GLIBCXX_INCLUDES
610 glibcxx_toolexeclibdir
611 glibcxx_toolexecdir
612 gxx_include_dir
613 glibcxx_prefixdir
614 ERROR_CONSTANTS_SRCDIR
615 OS_INC_SRCDIR
616 ABI_TWEAKS_SRCDIR
617 CPU_DEFINES_SRCDIR
618 ATOMIC_FLAGS
619 ATOMIC_WORD_SRCDIR
620 ATOMICITY_SRCDIR
621 BUILD_EPUB_FALSE
622 BUILD_EPUB_TRUE
623 DBTOEPUB
624 RUBY
625 BUILD_PDF_FALSE
626 BUILD_PDF_TRUE
627 PDFLATEX
628 DBLATEX
629 BUILD_MAN_FALSE
630 BUILD_MAN_TRUE
631 BUILD_HTML_FALSE
632 BUILD_HTML_TRUE
633 BUILD_XML_FALSE
634 BUILD_XML_TRUE
635 XSL_STYLE_DIR
636 XMLLINT
637 XSLTPROC
638 DOT
639 DOXYGEN
640 BUILD_INFO_FALSE
641 BUILD_INFO_TRUE
642 baseline_subdir_switch
643 baseline_dir
644 GLIBCXX_LDBL_COMPAT_FALSE
645 GLIBCXX_LDBL_COMPAT_TRUE
646 ENABLE_VISIBILITY_FALSE
647 ENABLE_VISIBILITY_TRUE
648 ENABLE_SYMVERS_SOL2_FALSE
649 ENABLE_SYMVERS_SOL2_TRUE
650 ENABLE_SYMVERS_SUN_FALSE
651 ENABLE_SYMVERS_SUN_TRUE
652 ENABLE_SYMVERS_DARWIN_FALSE
653 ENABLE_SYMVERS_DARWIN_TRUE
654 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
655 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
656 ENABLE_SYMVERS_GNU_FALSE
657 ENABLE_SYMVERS_GNU_TRUE
658 ENABLE_SYMVERS_FALSE
659 ENABLE_SYMVERS_TRUE
660 port_specific_symbol_files
661 SYMVER_FILE
662 CXXFILT
663 LTLIBICONV
664 LIBICONV
665 OPT_LDFLAGS
666 SECTION_LDFLAGS
667 GLIBCXX_LIBS
668 ENABLE_EXTERN_TEMPLATE_FALSE
669 ENABLE_EXTERN_TEMPLATE_TRUE
670 EXTRA_CXX_FLAGS
671 ENABLE_PARALLEL_FALSE
672 ENABLE_PARALLEL_TRUE
673 GLIBCXX_BUILD_DEBUG_FALSE
674 GLIBCXX_BUILD_DEBUG_TRUE
675 DEBUG_FLAGS
676 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
677 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
678 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
679 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
680 GLIBCXX_C_HEADERS_C_STD_FALSE
681 GLIBCXX_C_HEADERS_C_STD_TRUE
682 GLIBCXX_C_HEADERS_C_FALSE
683 GLIBCXX_C_HEADERS_C_TRUE
684 C_INCLUDE_DIR
685 ALLOCATOR_NAME
686 ALLOCATOR_H
687 CLOCALE_INTERNAL_H
688 CLOCALE_CC
689 CTIME_CC
690 CTIME_H
691 CNUMERIC_CC
692 CMONEY_CC
693 CMESSAGES_CC
694 CCTYPE_CC
695 CCOLLATE_CC
696 CCODECVT_CC
697 CMESSAGES_H
698 CLOCALE_H
699 USE_NLS
700 glibcxx_localedir
701 glibcxx_POFILES
702 glibcxx_MOFILES
703 check_msgfmt
704 BASIC_FILE_CC
705 BASIC_FILE_H
706 CSTDIO_H
707 SECTION_FLAGS
708 WERROR
709 glibcxx_thread_h
710 glibcxx_PCHFLAGS
711 GLIBCXX_BUILD_PCH_FALSE
712 GLIBCXX_BUILD_PCH_TRUE
713 GLIBCXX_HOSTED_FALSE
714 GLIBCXX_HOSTED_TRUE
715 enable_static
716 enable_shared
717 lt_host_flags
718 CXXCPP
719 OTOOL64
720 OTOOL
721 LIPO
722 NMEDIT
723 DSYMUTIL
724 OBJDUMP
725 NM
726 ac_ct_DUMPBIN
727 DUMPBIN
728 LD
729 FGREP
730 SED
731 LIBTOOL
732 EGREP
733 GREP
734 CPP
735 MAINT
736 MAINTAINER_MODE_FALSE
737 MAINTAINER_MODE_TRUE
738 RANLIB
739 AR
740 AS
741 LN_S
742 toplevel_srcdir
743 glibcxx_srcdir
744 glibcxx_builddir
745 ac_ct_CXX
746 CXXFLAGS
747 CXX
748 OBJEXT
749 EXEEXT
750 ac_ct_CC
751 CPPFLAGS
752 LDFLAGS
753 CFLAGS
754 CC
755 am__untar
756 am__tar
757 AMTAR
758 am__leading_dot
759 SET_MAKE
760 AWK
761 mkdir_p
762 MKDIR_P
763 INSTALL_STRIP_PROGRAM
764 STRIP
765 install_sh
766 MAKEINFO
767 AUTOHEADER
768 AUTOMAKE
769 AUTOCONF
770 ACLOCAL
771 VERSION
772 PACKAGE
773 CYGPATH_W
774 am__isrc
775 INSTALL_DATA
776 INSTALL_SCRIPT
777 INSTALL_PROGRAM
778 target_os
779 target_vendor
780 target_cpu
781 target
782 host_os
783 host_vendor
784 host_cpu
785 host
786 build_os
787 build_vendor
788 build_cpu
789 build
790 multi_basedir
791 libtool_VERSION
792 target_alias
793 host_alias
794 build_alias
795 LIBS
796 ECHO_T
797 ECHO_N
798 ECHO_C
799 DEFS
800 mandir
801 localedir
802 libdir
803 psdir
804 pdfdir
805 dvidir
806 htmldir
807 infodir
808 docdir
809 oldincludedir
810 includedir
811 localstatedir
812 sharedstatedir
813 sysconfdir
814 datadir
815 datarootdir
816 libexecdir
817 sbindir
818 bindir
819 program_transform_name
820 prefix
821 exec_prefix
822 PACKAGE_URL
823 PACKAGE_BUGREPORT
824 PACKAGE_STRING
825 PACKAGE_VERSION
826 PACKAGE_TARNAME
827 PACKAGE_NAME
828 PATH_SEPARATOR
829 SHELL'
830 ac_subst_files=''
831 ac_user_opts='
832 enable_option_checking
833 enable_multilib
834 with_target_subdir
835 with_cross_host
836 with_newlib
837 enable_maintainer_mode
838 enable_shared
839 enable_static
840 with_pic
841 enable_fast_install
842 with_gnu_ld
843 enable_libtool_lock
844 enable_hosted_libstdcxx
845 enable_sjlj_exceptions
846 enable_libstdcxx_pch
847 enable_cstdio
848 enable_clocale
849 enable_nls
850 enable_libstdcxx_allocator
851 enable_cheaders
852 enable_long_long
853 enable_wchar_t
854 enable_c99
855 enable_concept_checks
856 enable_libstdcxx_debug_flags
857 enable_libstdcxx_debug
858 enable_cxx_flags
859 enable_fully_dynamic_string
860 enable_extern_template
861 enable_libstdcxx_time
862 enable_tls
863 enable_rpath
864 with_libiconv_prefix
865 with_system_libunwind
866 enable_linux_futex
867 enable_symvers
868 enable_visibility
869 with_gxx_include_dir
870 enable_version_specific_runtime_libs
871 '
872       ac_precious_vars='build_alias
873 host_alias
874 target_alias
875 CC
876 CFLAGS
877 LDFLAGS
878 LIBS
879 CPPFLAGS
880 CXX
881 CXXFLAGS
882 CCC
883 CPP
884 CXXCPP
885 CXXFILT'
886
887
888 # Initialize some variables set by options.
889 ac_init_help=
890 ac_init_version=false
891 ac_unrecognized_opts=
892 ac_unrecognized_sep=
893 # The variables have the same names as the options, with
894 # dashes changed to underlines.
895 cache_file=/dev/null
896 exec_prefix=NONE
897 no_create=
898 no_recursion=
899 prefix=NONE
900 program_prefix=NONE
901 program_suffix=NONE
902 program_transform_name=s,x,x,
903 silent=
904 site=
905 srcdir=
906 verbose=
907 x_includes=NONE
908 x_libraries=NONE
909
910 # Installation directory options.
911 # These are left unexpanded so users can "make install exec_prefix=/foo"
912 # and all the variables that are supposed to be based on exec_prefix
913 # by default will actually change.
914 # Use braces instead of parens because sh, perl, etc. also accept them.
915 # (The list follows the same order as the GNU Coding Standards.)
916 bindir='${exec_prefix}/bin'
917 sbindir='${exec_prefix}/sbin'
918 libexecdir='${exec_prefix}/libexec'
919 datarootdir='${prefix}/share'
920 datadir='${datarootdir}'
921 sysconfdir='${prefix}/etc'
922 sharedstatedir='${prefix}/com'
923 localstatedir='${prefix}/var'
924 includedir='${prefix}/include'
925 oldincludedir='/usr/include'
926 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
927 infodir='${datarootdir}/info'
928 htmldir='${docdir}'
929 dvidir='${docdir}'
930 pdfdir='${docdir}'
931 psdir='${docdir}'
932 libdir='${exec_prefix}/lib'
933 localedir='${datarootdir}/locale'
934 mandir='${datarootdir}/man'
935
936 ac_prev=
937 ac_dashdash=
938 for ac_option
939 do
940   # If the previous option needs an argument, assign it.
941   if test -n "$ac_prev"; then
942     eval $ac_prev=\$ac_option
943     ac_prev=
944     continue
945   fi
946
947   case $ac_option in
948   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
949   *)    ac_optarg=yes ;;
950   esac
951
952   # Accept the important Cygnus configure options, so we can diagnose typos.
953
954   case $ac_dashdash$ac_option in
955   --)
956     ac_dashdash=yes ;;
957
958   -bindir | --bindir | --bindi | --bind | --bin | --bi)
959     ac_prev=bindir ;;
960   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
961     bindir=$ac_optarg ;;
962
963   -build | --build | --buil | --bui | --bu)
964     ac_prev=build_alias ;;
965   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
966     build_alias=$ac_optarg ;;
967
968   -cache-file | --cache-file | --cache-fil | --cache-fi \
969   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
970     ac_prev=cache_file ;;
971   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
972   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
973     cache_file=$ac_optarg ;;
974
975   --config-cache | -C)
976     cache_file=config.cache ;;
977
978   -datadir | --datadir | --datadi | --datad)
979     ac_prev=datadir ;;
980   -datadir=* | --datadir=* | --datadi=* | --datad=*)
981     datadir=$ac_optarg ;;
982
983   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
984   | --dataroo | --dataro | --datar)
985     ac_prev=datarootdir ;;
986   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
987   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
988     datarootdir=$ac_optarg ;;
989
990   -disable-* | --disable-*)
991     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
992     # Reject names that are not valid shell variable names.
993     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
994       as_fn_error "invalid feature name: $ac_useropt"
995     ac_useropt_orig=$ac_useropt
996     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
997     case $ac_user_opts in
998       *"
999 "enable_$ac_useropt"
1000 "*) ;;
1001       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1002          ac_unrecognized_sep=', ';;
1003     esac
1004     eval enable_$ac_useropt=no ;;
1005
1006   -docdir | --docdir | --docdi | --doc | --do)
1007     ac_prev=docdir ;;
1008   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1009     docdir=$ac_optarg ;;
1010
1011   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1012     ac_prev=dvidir ;;
1013   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1014     dvidir=$ac_optarg ;;
1015
1016   -enable-* | --enable-*)
1017     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1018     # Reject names that are not valid shell variable names.
1019     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1020       as_fn_error "invalid feature name: $ac_useropt"
1021     ac_useropt_orig=$ac_useropt
1022     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1023     case $ac_user_opts in
1024       *"
1025 "enable_$ac_useropt"
1026 "*) ;;
1027       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1028          ac_unrecognized_sep=', ';;
1029     esac
1030     eval enable_$ac_useropt=\$ac_optarg ;;
1031
1032   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1033   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1034   | --exec | --exe | --ex)
1035     ac_prev=exec_prefix ;;
1036   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1037   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1038   | --exec=* | --exe=* | --ex=*)
1039     exec_prefix=$ac_optarg ;;
1040
1041   -gas | --gas | --ga | --g)
1042     # Obsolete; use --with-gas.
1043     with_gas=yes ;;
1044
1045   -help | --help | --hel | --he | -h)
1046     ac_init_help=long ;;
1047   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1048     ac_init_help=recursive ;;
1049   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1050     ac_init_help=short ;;
1051
1052   -host | --host | --hos | --ho)
1053     ac_prev=host_alias ;;
1054   -host=* | --host=* | --hos=* | --ho=*)
1055     host_alias=$ac_optarg ;;
1056
1057   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1058     ac_prev=htmldir ;;
1059   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1060   | --ht=*)
1061     htmldir=$ac_optarg ;;
1062
1063   -includedir | --includedir | --includedi | --included | --include \
1064   | --includ | --inclu | --incl | --inc)
1065     ac_prev=includedir ;;
1066   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1067   | --includ=* | --inclu=* | --incl=* | --inc=*)
1068     includedir=$ac_optarg ;;
1069
1070   -infodir | --infodir | --infodi | --infod | --info | --inf)
1071     ac_prev=infodir ;;
1072   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1073     infodir=$ac_optarg ;;
1074
1075   -libdir | --libdir | --libdi | --libd)
1076     ac_prev=libdir ;;
1077   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1078     libdir=$ac_optarg ;;
1079
1080   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1081   | --libexe | --libex | --libe)
1082     ac_prev=libexecdir ;;
1083   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1084   | --libexe=* | --libex=* | --libe=*)
1085     libexecdir=$ac_optarg ;;
1086
1087   -localedir | --localedir | --localedi | --localed | --locale)
1088     ac_prev=localedir ;;
1089   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1090     localedir=$ac_optarg ;;
1091
1092   -localstatedir | --localstatedir | --localstatedi | --localstated \
1093   | --localstate | --localstat | --localsta | --localst | --locals)
1094     ac_prev=localstatedir ;;
1095   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1096   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1097     localstatedir=$ac_optarg ;;
1098
1099   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1100     ac_prev=mandir ;;
1101   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1102     mandir=$ac_optarg ;;
1103
1104   -nfp | --nfp | --nf)
1105     # Obsolete; use --without-fp.
1106     with_fp=no ;;
1107
1108   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1109   | --no-cr | --no-c | -n)
1110     no_create=yes ;;
1111
1112   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1113   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1114     no_recursion=yes ;;
1115
1116   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1117   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1118   | --oldin | --oldi | --old | --ol | --o)
1119     ac_prev=oldincludedir ;;
1120   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1121   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1122   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1123     oldincludedir=$ac_optarg ;;
1124
1125   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1126     ac_prev=prefix ;;
1127   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1128     prefix=$ac_optarg ;;
1129
1130   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1131   | --program-pre | --program-pr | --program-p)
1132     ac_prev=program_prefix ;;
1133   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1134   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1135     program_prefix=$ac_optarg ;;
1136
1137   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1138   | --program-suf | --program-su | --program-s)
1139     ac_prev=program_suffix ;;
1140   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1141   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1142     program_suffix=$ac_optarg ;;
1143
1144   -program-transform-name | --program-transform-name \
1145   | --program-transform-nam | --program-transform-na \
1146   | --program-transform-n | --program-transform- \
1147   | --program-transform | --program-transfor \
1148   | --program-transfo | --program-transf \
1149   | --program-trans | --program-tran \
1150   | --progr-tra | --program-tr | --program-t)
1151     ac_prev=program_transform_name ;;
1152   -program-transform-name=* | --program-transform-name=* \
1153   | --program-transform-nam=* | --program-transform-na=* \
1154   | --program-transform-n=* | --program-transform-=* \
1155   | --program-transform=* | --program-transfor=* \
1156   | --program-transfo=* | --program-transf=* \
1157   | --program-trans=* | --program-tran=* \
1158   | --progr-tra=* | --program-tr=* | --program-t=*)
1159     program_transform_name=$ac_optarg ;;
1160
1161   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1162     ac_prev=pdfdir ;;
1163   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1164     pdfdir=$ac_optarg ;;
1165
1166   -psdir | --psdir | --psdi | --psd | --ps)
1167     ac_prev=psdir ;;
1168   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1169     psdir=$ac_optarg ;;
1170
1171   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1172   | -silent | --silent | --silen | --sile | --sil)
1173     silent=yes ;;
1174
1175   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1176     ac_prev=sbindir ;;
1177   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1178   | --sbi=* | --sb=*)
1179     sbindir=$ac_optarg ;;
1180
1181   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1182   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1183   | --sharedst | --shareds | --shared | --share | --shar \
1184   | --sha | --sh)
1185     ac_prev=sharedstatedir ;;
1186   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1187   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1188   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1189   | --sha=* | --sh=*)
1190     sharedstatedir=$ac_optarg ;;
1191
1192   -site | --site | --sit)
1193     ac_prev=site ;;
1194   -site=* | --site=* | --sit=*)
1195     site=$ac_optarg ;;
1196
1197   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1198     ac_prev=srcdir ;;
1199   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1200     srcdir=$ac_optarg ;;
1201
1202   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1203   | --syscon | --sysco | --sysc | --sys | --sy)
1204     ac_prev=sysconfdir ;;
1205   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1206   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1207     sysconfdir=$ac_optarg ;;
1208
1209   -target | --target | --targe | --targ | --tar | --ta | --t)
1210     ac_prev=target_alias ;;
1211   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1212     target_alias=$ac_optarg ;;
1213
1214   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1215     verbose=yes ;;
1216
1217   -version | --version | --versio | --versi | --vers | -V)
1218     ac_init_version=: ;;
1219
1220   -with-* | --with-*)
1221     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1222     # Reject names that are not valid shell variable names.
1223     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1224       as_fn_error "invalid package name: $ac_useropt"
1225     ac_useropt_orig=$ac_useropt
1226     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1227     case $ac_user_opts in
1228       *"
1229 "with_$ac_useropt"
1230 "*) ;;
1231       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1232          ac_unrecognized_sep=', ';;
1233     esac
1234     eval with_$ac_useropt=\$ac_optarg ;;
1235
1236   -without-* | --without-*)
1237     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1238     # Reject names that are not valid shell variable names.
1239     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1240       as_fn_error "invalid package name: $ac_useropt"
1241     ac_useropt_orig=$ac_useropt
1242     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1243     case $ac_user_opts in
1244       *"
1245 "with_$ac_useropt"
1246 "*) ;;
1247       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1248          ac_unrecognized_sep=', ';;
1249     esac
1250     eval with_$ac_useropt=no ;;
1251
1252   --x)
1253     # Obsolete; use --with-x.
1254     with_x=yes ;;
1255
1256   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1257   | --x-incl | --x-inc | --x-in | --x-i)
1258     ac_prev=x_includes ;;
1259   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1260   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1261     x_includes=$ac_optarg ;;
1262
1263   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1264   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1265     ac_prev=x_libraries ;;
1266   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1267   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1268     x_libraries=$ac_optarg ;;
1269
1270   -*) as_fn_error "unrecognized option: \`$ac_option'
1271 Try \`$0 --help' for more information."
1272     ;;
1273
1274   *=*)
1275     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1276     # Reject names that are not valid shell variable names.
1277     case $ac_envvar in #(
1278       '' | [0-9]* | *[!_$as_cr_alnum]* )
1279       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1280     esac
1281     eval $ac_envvar=\$ac_optarg
1282     export $ac_envvar ;;
1283
1284   *)
1285     # FIXME: should be removed in autoconf 3.0.
1286     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1287     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1288       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1289     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1290     ;;
1291
1292   esac
1293 done
1294
1295 if test -n "$ac_prev"; then
1296   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1297   as_fn_error "missing argument to $ac_option"
1298 fi
1299
1300 if test -n "$ac_unrecognized_opts"; then
1301   case $enable_option_checking in
1302     no) ;;
1303     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1304     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1305   esac
1306 fi
1307
1308 # Check all directory arguments for consistency.
1309 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1310                 datadir sysconfdir sharedstatedir localstatedir includedir \
1311                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1312                 libdir localedir mandir
1313 do
1314   eval ac_val=\$$ac_var
1315   # Remove trailing slashes.
1316   case $ac_val in
1317     */ )
1318       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1319       eval $ac_var=\$ac_val;;
1320   esac
1321   # Be sure to have absolute directory names.
1322   case $ac_val in
1323     [\\/$]* | ?:[\\/]* )  continue;;
1324     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1325   esac
1326   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1327 done
1328
1329 # There might be people who depend on the old broken behavior: `$host'
1330 # used to hold the argument of --host etc.
1331 # FIXME: To remove some day.
1332 build=$build_alias
1333 host=$host_alias
1334 target=$target_alias
1335
1336 # FIXME: To remove some day.
1337 if test "x$host_alias" != x; then
1338   if test "x$build_alias" = x; then
1339     cross_compiling=maybe
1340     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1341     If a cross compiler is detected then cross compile mode will be used." >&2
1342   elif test "x$build_alias" != "x$host_alias"; then
1343     cross_compiling=yes
1344   fi
1345 fi
1346
1347 ac_tool_prefix=
1348 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1349
1350 test "$silent" = yes && exec 6>/dev/null
1351
1352
1353 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1354 ac_ls_di=`ls -di .` &&
1355 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1356   as_fn_error "working directory cannot be determined"
1357 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1358   as_fn_error "pwd does not report name of working directory"
1359
1360
1361 # Find the source files, if location was not specified.
1362 if test -z "$srcdir"; then
1363   ac_srcdir_defaulted=yes
1364   # Try the directory containing this script, then the parent directory.
1365   ac_confdir=`$as_dirname -- "$as_myself" ||
1366 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1367          X"$as_myself" : 'X\(//\)[^/]' \| \
1368          X"$as_myself" : 'X\(//\)$' \| \
1369          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1370 $as_echo X"$as_myself" |
1371     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1372             s//\1/
1373             q
1374           }
1375           /^X\(\/\/\)[^/].*/{
1376             s//\1/
1377             q
1378           }
1379           /^X\(\/\/\)$/{
1380             s//\1/
1381             q
1382           }
1383           /^X\(\/\).*/{
1384             s//\1/
1385             q
1386           }
1387           s/.*/./; q'`
1388   srcdir=$ac_confdir
1389   if test ! -r "$srcdir/$ac_unique_file"; then
1390     srcdir=..
1391   fi
1392 else
1393   ac_srcdir_defaulted=no
1394 fi
1395 if test ! -r "$srcdir/$ac_unique_file"; then
1396   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1397   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1398 fi
1399 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1400 ac_abs_confdir=`(
1401         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1402         pwd)`
1403 # When building in place, set srcdir=.
1404 if test "$ac_abs_confdir" = "$ac_pwd"; then
1405   srcdir=.
1406 fi
1407 # Remove unnecessary trailing slashes from srcdir.
1408 # Double slashes in file names in object file debugging info
1409 # mess up M-x gdb in Emacs.
1410 case $srcdir in
1411 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1412 esac
1413 for ac_var in $ac_precious_vars; do
1414   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1415   eval ac_env_${ac_var}_value=\$${ac_var}
1416   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1417   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1418 done
1419
1420 #
1421 # Report the --help message.
1422 #
1423 if test "$ac_init_help" = "long"; then
1424   # Omit some internal or obsolete options to make the list less imposing.
1425   # This message is too long to be a string in the A/UX 3.1 sh.
1426   cat <<_ACEOF
1427 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1428
1429 Usage: $0 [OPTION]... [VAR=VALUE]...
1430
1431 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1432 VAR=VALUE.  See below for descriptions of some of the useful variables.
1433
1434 Defaults for the options are specified in brackets.
1435
1436 Configuration:
1437   -h, --help              display this help and exit
1438       --help=short        display options specific to this package
1439       --help=recursive    display the short help of all the included packages
1440   -V, --version           display version information and exit
1441   -q, --quiet, --silent   do not print \`checking...' messages
1442       --cache-file=FILE   cache test results in FILE [disabled]
1443   -C, --config-cache      alias for \`--cache-file=config.cache'
1444   -n, --no-create         do not create output files
1445       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1446
1447 Installation directories:
1448   --prefix=PREFIX         install architecture-independent files in PREFIX
1449                           [$ac_default_prefix]
1450   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1451                           [PREFIX]
1452
1453 By default, \`make install' will install all the files in
1454 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1455 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1456 for instance \`--prefix=\$HOME'.
1457
1458 For better control, use the options below.
1459
1460 Fine tuning of the installation directories:
1461   --bindir=DIR            user executables [EPREFIX/bin]
1462   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1463   --libexecdir=DIR        program executables [EPREFIX/libexec]
1464   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1465   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1466   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1467   --libdir=DIR            object code libraries [EPREFIX/lib]
1468   --includedir=DIR        C header files [PREFIX/include]
1469   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1470   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1471   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1472   --infodir=DIR           info documentation [DATAROOTDIR/info]
1473   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1474   --mandir=DIR            man documentation [DATAROOTDIR/man]
1475   --docdir=DIR            documentation root [DATAROOTDIR/doc/libstdc++]
1476   --htmldir=DIR           html documentation [DOCDIR]
1477   --dvidir=DIR            dvi documentation [DOCDIR]
1478   --pdfdir=DIR            pdf documentation [DOCDIR]
1479   --psdir=DIR             ps documentation [DOCDIR]
1480 _ACEOF
1481
1482   cat <<\_ACEOF
1483
1484 Program names:
1485   --program-prefix=PREFIX            prepend PREFIX to installed program names
1486   --program-suffix=SUFFIX            append SUFFIX to installed program names
1487   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1488
1489 System types:
1490   --build=BUILD     configure for building on BUILD [guessed]
1491   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1492   --target=TARGET   configure for building compilers for TARGET [HOST]
1493 _ACEOF
1494 fi
1495
1496 if test -n "$ac_init_help"; then
1497   case $ac_init_help in
1498      short | recursive ) echo "Configuration of package-unused version-unused:";;
1499    esac
1500   cat <<\_ACEOF
1501
1502 Optional Features:
1503   --disable-option-checking  ignore unrecognized --enable/--with options
1504   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1505   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1506   --enable-multilib       build many library versions (default)
1507   --enable-maintainer-mode  enable make rules and dependencies not useful
1508                           (and sometimes confusing) to the casual installer
1509   --enable-shared[=PKGS]  build shared libraries [default=yes]
1510   --enable-static[=PKGS]  build static libraries [default=yes]
1511   --enable-fast-install[=PKGS]
1512                           optimize for fast installation [default=yes]
1513   --disable-libtool-lock  avoid locking (might break parallel builds)
1514   --disable-hosted-libstdcxx
1515                           only build freestanding C++ runtime support
1516   --enable-sjlj-exceptions
1517                           force use of builtin_setjmp for exceptions
1518                           [default=auto]
1519   --enable-libstdcxx-pch  build pre-compiled libstdc++ headers
1520                           [default=$is_hosted]
1521   --enable-cstdio[=PACKAGE]
1522                           use target-specific I/O package [default=stdio]
1523   --enable-clocale[=MODEL]
1524                           use MODEL for target locale package [default=auto]
1525   --enable-nls            use Native Language Support (default)
1526   --enable-libstdcxx-allocator[=KIND]
1527                           use KIND for target std::allocator base
1528                           [default=auto]
1529   --enable-cheaders[=KIND]
1530                           construct "C" headers for g++ [default=$c_model]
1531   --enable-long-long      enable template specializations for 'long long'
1532                           [default=yes]
1533   --enable-wchar_t        enable template specializations for 'wchar_t'
1534                           [default=yes]
1535   --enable-c99            turns on ISO/IEC 9899:1999 support [default=yes]
1536   --enable-concept-checks use Boost-derived template checks [default=no]
1537   --enable-libstdcxx-debug-flags=FLAGS
1538                           pass compiler FLAGS when building debug library
1539                           [default="-g3 -O0"]
1540   --enable-libstdcxx-debug
1541                           build extra debug library [default=no]
1542   --enable-cxx-flags=FLAGS
1543                           pass compiler FLAGS when building library [default=]
1544   --enable-fully-dynamic-string
1545                           do not put empty strings in per-process static
1546                           memory [default=no]
1547   --enable-extern-template
1548                           enable extern template [default=yes]
1549   --enable-libstdcxx-time[=KIND]
1550                           use KIND for check type [default=no]
1551   --enable-tls            Use thread-local storage [default=yes]
1552   --disable-rpath         do not hardcode runtime library paths
1553   --enable-linux-futex    use the Linux futex system call [default=default]
1554   --enable-symvers[=STYLE]
1555                           enables symbol versioning of the shared library
1556                           [default=yes]
1557   --enable-visibility     enables visibility safe usage [default=yes]
1558   --enable-version-specific-runtime-libs
1559                           Specify that runtime libraries should be installed
1560                           in a compiler-specific directory
1561
1562 Optional Packages:
1563   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1564   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1565   --with-target-subdir=SUBDIR
1566                           configuring in a subdirectory
1567   --with-cross-host=HOST  configuring with a cross compiler
1568   --with-newlib           assume newlib as a system C library
1569   --with-pic              try to use only PIC/non-PIC objects [default=use
1570                           both]
1571   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1572   --with-gnu-ld           assume the C compiler uses GNU ld default=no
1573   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1574   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1575   --with-system-libunwind use installed libunwind
1576   --with-gxx-include-dir=DIR
1577                           installation directory for include files
1578
1579 Some influential environment variables:
1580   CC          C compiler command
1581   CFLAGS      C compiler flags
1582   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1583               nonstandard directory <lib dir>
1584   LIBS        libraries to pass to the linker, e.g. -l<library>
1585   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1586               you have headers in a nonstandard directory <include dir>
1587   CXX         C++ compiler command
1588   CXXFLAGS    C++ compiler flags
1589   CPP         C preprocessor
1590   CXXCPP      C++ preprocessor
1591   CXXFILT     Location of GNU c++filt. Defaults to the first GNU version of
1592               `c++filt', `gc++filt' on PATH.
1593
1594 Use these variables to override the choices made by `configure' or to help
1595 it to find libraries and programs with nonstandard names/locations.
1596
1597 Report bugs to the package provider.
1598 _ACEOF
1599 ac_status=$?
1600 fi
1601
1602 if test "$ac_init_help" = "recursive"; then
1603   # If there are subdirs, report their specific --help.
1604   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1605     test -d "$ac_dir" ||
1606       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1607       continue
1608     ac_builddir=.
1609
1610 case "$ac_dir" in
1611 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1612 *)
1613   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1614   # A ".." for each directory in $ac_dir_suffix.
1615   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1616   case $ac_top_builddir_sub in
1617   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1618   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1619   esac ;;
1620 esac
1621 ac_abs_top_builddir=$ac_pwd
1622 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1623 # for backward compatibility:
1624 ac_top_builddir=$ac_top_build_prefix
1625
1626 case $srcdir in
1627   .)  # We are building in place.
1628     ac_srcdir=.
1629     ac_top_srcdir=$ac_top_builddir_sub
1630     ac_abs_top_srcdir=$ac_pwd ;;
1631   [\\/]* | ?:[\\/]* )  # Absolute name.
1632     ac_srcdir=$srcdir$ac_dir_suffix;
1633     ac_top_srcdir=$srcdir
1634     ac_abs_top_srcdir=$srcdir ;;
1635   *) # Relative name.
1636     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1637     ac_top_srcdir=$ac_top_build_prefix$srcdir
1638     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1639 esac
1640 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1641
1642     cd "$ac_dir" || { ac_status=$?; continue; }
1643     # Check for guested configure.
1644     if test -f "$ac_srcdir/configure.gnu"; then
1645       echo &&
1646       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1647     elif test -f "$ac_srcdir/configure"; then
1648       echo &&
1649       $SHELL "$ac_srcdir/configure" --help=recursive
1650     else
1651       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1652     fi || ac_status=$?
1653     cd "$ac_pwd" || { ac_status=$?; break; }
1654   done
1655 fi
1656
1657 test -n "$ac_init_help" && exit $ac_status
1658 if $ac_init_version; then
1659   cat <<\_ACEOF
1660 package-unused configure version-unused
1661 generated by GNU Autoconf 2.64
1662
1663 Copyright (C) 2009 Free Software Foundation, Inc.
1664 This configure script is free software; the Free Software Foundation
1665 gives unlimited permission to copy, distribute and modify it.
1666 _ACEOF
1667   exit
1668 fi
1669
1670 ## ------------------------ ##
1671 ## Autoconf initialization. ##
1672 ## ------------------------ ##
1673
1674 # ac_fn_c_try_compile LINENO
1675 # --------------------------
1676 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1677 ac_fn_c_try_compile ()
1678 {
1679   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1680   rm -f conftest.$ac_objext
1681   if { { ac_try="$ac_compile"
1682 case "(($ac_try" in
1683   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1684   *) ac_try_echo=$ac_try;;
1685 esac
1686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1687 $as_echo "$ac_try_echo"; } >&5
1688   (eval "$ac_compile") 2>conftest.err
1689   ac_status=$?
1690   if test -s conftest.err; then
1691     grep -v '^ *+' conftest.err >conftest.er1
1692     cat conftest.er1 >&5
1693     mv -f conftest.er1 conftest.err
1694   fi
1695   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1696   test $ac_status = 0; } && {
1697          test -z "$ac_c_werror_flag" ||
1698          test ! -s conftest.err
1699        } && test -s conftest.$ac_objext; then :
1700   ac_retval=0
1701 else
1702   $as_echo "$as_me: failed program was:" >&5
1703 sed 's/^/| /' conftest.$ac_ext >&5
1704
1705         ac_retval=1
1706 fi
1707   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1708   return $ac_retval
1709
1710 } # ac_fn_c_try_compile
1711
1712 # ac_fn_cxx_try_compile LINENO
1713 # ----------------------------
1714 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1715 ac_fn_cxx_try_compile ()
1716 {
1717   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1718   rm -f conftest.$ac_objext
1719   if { { ac_try="$ac_compile"
1720 case "(($ac_try" in
1721   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1722   *) ac_try_echo=$ac_try;;
1723 esac
1724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1725 $as_echo "$ac_try_echo"; } >&5
1726   (eval "$ac_compile") 2>conftest.err
1727   ac_status=$?
1728   if test -s conftest.err; then
1729     grep -v '^ *+' conftest.err >conftest.er1
1730     cat conftest.er1 >&5
1731     mv -f conftest.er1 conftest.err
1732   fi
1733   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1734   test $ac_status = 0; } && {
1735          test -z "$ac_cxx_werror_flag" ||
1736          test ! -s conftest.err
1737        } && test -s conftest.$ac_objext; then :
1738   ac_retval=0
1739 else
1740   $as_echo "$as_me: failed program was:" >&5
1741 sed 's/^/| /' conftest.$ac_ext >&5
1742
1743         ac_retval=1
1744 fi
1745   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1746   return $ac_retval
1747
1748 } # ac_fn_cxx_try_compile
1749
1750 # ac_fn_c_try_cpp LINENO
1751 # ----------------------
1752 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1753 ac_fn_c_try_cpp ()
1754 {
1755   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1756   if { { ac_try="$ac_cpp conftest.$ac_ext"
1757 case "(($ac_try" in
1758   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1759   *) ac_try_echo=$ac_try;;
1760 esac
1761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1762 $as_echo "$ac_try_echo"; } >&5
1763   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1764   ac_status=$?
1765   if test -s conftest.err; then
1766     grep -v '^ *+' conftest.err >conftest.er1
1767     cat conftest.er1 >&5
1768     mv -f conftest.er1 conftest.err
1769   fi
1770   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1771   test $ac_status = 0; } >/dev/null && {
1772          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1773          test ! -s conftest.err
1774        }; then :
1775   ac_retval=0
1776 else
1777   $as_echo "$as_me: failed program was:" >&5
1778 sed 's/^/| /' conftest.$ac_ext >&5
1779
1780     ac_retval=1
1781 fi
1782   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1783   return $ac_retval
1784
1785 } # ac_fn_c_try_cpp
1786
1787 # ac_fn_c_try_link LINENO
1788 # -----------------------
1789 # Try to link conftest.$ac_ext, and return whether this succeeded.
1790 ac_fn_c_try_link ()
1791 {
1792   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1793   rm -f conftest.$ac_objext conftest$ac_exeext
1794   if { { ac_try="$ac_link"
1795 case "(($ac_try" in
1796   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1797   *) ac_try_echo=$ac_try;;
1798 esac
1799 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1800 $as_echo "$ac_try_echo"; } >&5
1801   (eval "$ac_link") 2>conftest.err
1802   ac_status=$?
1803   if test -s conftest.err; then
1804     grep -v '^ *+' conftest.err >conftest.er1
1805     cat conftest.er1 >&5
1806     mv -f conftest.er1 conftest.err
1807   fi
1808   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1809   test $ac_status = 0; } && {
1810          test -z "$ac_c_werror_flag" ||
1811          test ! -s conftest.err
1812        } && test -s conftest$ac_exeext && {
1813          test "$cross_compiling" = yes ||
1814          $as_test_x conftest$ac_exeext
1815        }; then :
1816   ac_retval=0
1817 else
1818   $as_echo "$as_me: failed program was:" >&5
1819 sed 's/^/| /' conftest.$ac_ext >&5
1820
1821         ac_retval=1
1822 fi
1823   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1824   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1825   # interfere with the next link command; also delete a directory that is
1826   # left behind by Apple's compiler.  We do this before executing the actions.
1827   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1828   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1829   return $ac_retval
1830
1831 } # ac_fn_c_try_link
1832
1833 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1834 # -------------------------------------------------------
1835 # Tests whether HEADER exists and can be compiled using the include files in
1836 # INCLUDES, setting the cache variable VAR accordingly.
1837 ac_fn_c_check_header_compile ()
1838 {
1839   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1840   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1841 $as_echo_n "checking for $2... " >&6; }
1842 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1843   $as_echo_n "(cached) " >&6
1844 else
1845   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1846 /* end confdefs.h.  */
1847 $4
1848 #include <$2>
1849 _ACEOF
1850 if ac_fn_c_try_compile "$LINENO"; then :
1851   eval "$3=yes"
1852 else
1853   eval "$3=no"
1854 fi
1855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1856 fi
1857 eval ac_res=\$$3
1858                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1859 $as_echo "$ac_res" >&6; }
1860   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1861
1862 } # ac_fn_c_check_header_compile
1863
1864 # ac_fn_c_try_run LINENO
1865 # ----------------------
1866 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1867 # that executables *can* be run.
1868 ac_fn_c_try_run ()
1869 {
1870   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1871   if { { ac_try="$ac_link"
1872 case "(($ac_try" in
1873   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1874   *) ac_try_echo=$ac_try;;
1875 esac
1876 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1877 $as_echo "$ac_try_echo"; } >&5
1878   (eval "$ac_link") 2>&5
1879   ac_status=$?
1880   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1881   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1882   { { case "(($ac_try" in
1883   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1884   *) ac_try_echo=$ac_try;;
1885 esac
1886 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1887 $as_echo "$ac_try_echo"; } >&5
1888   (eval "$ac_try") 2>&5
1889   ac_status=$?
1890   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1891   test $ac_status = 0; }; }; then :
1892   ac_retval=0
1893 else
1894   $as_echo "$as_me: program exited with status $ac_status" >&5
1895        $as_echo "$as_me: failed program was:" >&5
1896 sed 's/^/| /' conftest.$ac_ext >&5
1897
1898        ac_retval=$ac_status
1899 fi
1900   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1901   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1902   return $ac_retval
1903
1904 } # ac_fn_c_try_run
1905
1906 # ac_fn_c_check_func LINENO FUNC VAR
1907 # ----------------------------------
1908 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1909 ac_fn_c_check_func ()
1910 {
1911   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1912   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1913 $as_echo_n "checking for $2... " >&6; }
1914 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1915   $as_echo_n "(cached) " >&6
1916 else
1917   if test x$gcc_no_link = xyes; then
1918   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1919 fi
1920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1921 /* end confdefs.h.  */
1922 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1923    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1924 #define $2 innocuous_$2
1925
1926 /* System header to define __stub macros and hopefully few prototypes,
1927     which can conflict with char $2 (); below.
1928     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1929     <limits.h> exists even on freestanding compilers.  */
1930
1931 #ifdef __STDC__
1932 # include <limits.h>
1933 #else
1934 # include <assert.h>
1935 #endif
1936
1937 #undef $2
1938
1939 /* Override any GCC internal prototype to avoid an error.
1940    Use char because int might match the return type of a GCC
1941    builtin and then its argument prototype would still apply.  */
1942 #ifdef __cplusplus
1943 extern "C"
1944 #endif
1945 char $2 ();
1946 /* The GNU C library defines this for functions which it implements
1947     to always fail with ENOSYS.  Some functions are actually named
1948     something starting with __ and the normal name is an alias.  */
1949 #if defined __stub_$2 || defined __stub___$2
1950 choke me
1951 #endif
1952
1953 int
1954 main ()
1955 {
1956 return $2 ();
1957   ;
1958   return 0;
1959 }
1960 _ACEOF
1961 if ac_fn_c_try_link "$LINENO"; then :
1962   eval "$3=yes"
1963 else
1964   eval "$3=no"
1965 fi
1966 rm -f core conftest.err conftest.$ac_objext \
1967     conftest$ac_exeext conftest.$ac_ext
1968 fi
1969 eval ac_res=\$$3
1970                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1971 $as_echo "$ac_res" >&6; }
1972   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1973
1974 } # ac_fn_c_check_func
1975
1976 # ac_fn_cxx_try_cpp LINENO
1977 # ------------------------
1978 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1979 ac_fn_cxx_try_cpp ()
1980 {
1981   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1982   if { { ac_try="$ac_cpp conftest.$ac_ext"
1983 case "(($ac_try" in
1984   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1985   *) ac_try_echo=$ac_try;;
1986 esac
1987 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1988 $as_echo "$ac_try_echo"; } >&5
1989   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1990   ac_status=$?
1991   if test -s conftest.err; then
1992     grep -v '^ *+' conftest.err >conftest.er1
1993     cat conftest.er1 >&5
1994     mv -f conftest.er1 conftest.err
1995   fi
1996   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1997   test $ac_status = 0; } >/dev/null && {
1998          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1999          test ! -s conftest.err
2000        }; then :
2001   ac_retval=0
2002 else
2003   $as_echo "$as_me: failed program was:" >&5
2004 sed 's/^/| /' conftest.$ac_ext >&5
2005
2006     ac_retval=1
2007 fi
2008   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2009   return $ac_retval
2010
2011 } # ac_fn_cxx_try_cpp
2012
2013 # ac_fn_cxx_try_link LINENO
2014 # -------------------------
2015 # Try to link conftest.$ac_ext, and return whether this succeeded.
2016 ac_fn_cxx_try_link ()
2017 {
2018   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2019   rm -f conftest.$ac_objext conftest$ac_exeext
2020   if { { ac_try="$ac_link"
2021 case "(($ac_try" in
2022   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2023   *) ac_try_echo=$ac_try;;
2024 esac
2025 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2026 $as_echo "$ac_try_echo"; } >&5
2027   (eval "$ac_link") 2>conftest.err
2028   ac_status=$?
2029   if test -s conftest.err; then
2030     grep -v '^ *+' conftest.err >conftest.er1
2031     cat conftest.er1 >&5
2032     mv -f conftest.er1 conftest.err
2033   fi
2034   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2035   test $ac_status = 0; } && {
2036          test -z "$ac_cxx_werror_flag" ||
2037          test ! -s conftest.err
2038        } && test -s conftest$ac_exeext && {
2039          test "$cross_compiling" = yes ||
2040          $as_test_x conftest$ac_exeext
2041        }; then :
2042   ac_retval=0
2043 else
2044   $as_echo "$as_me: failed program was:" >&5
2045 sed 's/^/| /' conftest.$ac_ext >&5
2046
2047         ac_retval=1
2048 fi
2049   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2050   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2051   # interfere with the next link command; also delete a directory that is
2052   # left behind by Apple's compiler.  We do this before executing the actions.
2053   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2054   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2055   return $ac_retval
2056
2057 } # ac_fn_cxx_try_link
2058
2059 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2060 # -------------------------------------------------------
2061 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2062 # the include files in INCLUDES and setting the cache variable VAR
2063 # accordingly.
2064 ac_fn_c_check_header_mongrel ()
2065 {
2066   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2067   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2068   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2069 $as_echo_n "checking for $2... " >&6; }
2070 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2071   $as_echo_n "(cached) " >&6
2072 fi
2073 eval ac_res=\$$3
2074                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2075 $as_echo "$ac_res" >&6; }
2076 else
2077   # Is the header compilable?
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2079 $as_echo_n "checking $2 usability... " >&6; }
2080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2081 /* end confdefs.h.  */
2082 $4
2083 #include <$2>
2084 _ACEOF
2085 if ac_fn_c_try_compile "$LINENO"; then :
2086   ac_header_compiler=yes
2087 else
2088   ac_header_compiler=no
2089 fi
2090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2092 $as_echo "$ac_header_compiler" >&6; }
2093
2094 # Is the header present?
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2096 $as_echo_n "checking $2 presence... " >&6; }
2097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2098 /* end confdefs.h.  */
2099 #include <$2>
2100 _ACEOF
2101 if ac_fn_c_try_cpp "$LINENO"; then :
2102   ac_header_preproc=yes
2103 else
2104   ac_header_preproc=no
2105 fi
2106 rm -f conftest.err conftest.$ac_ext
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2108 $as_echo "$ac_header_preproc" >&6; }
2109
2110 # So?  What about this header?
2111 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2112   yes:no: )
2113     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2114 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2115     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2116 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2117     ;;
2118   no:yes:* )
2119     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2120 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2121     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2122 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2123     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2124 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2125     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2126 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2127     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2128 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2129     ;;
2130 esac
2131   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2132 $as_echo_n "checking for $2... " >&6; }
2133 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2134   $as_echo_n "(cached) " >&6
2135 else
2136   eval "$3=\$ac_header_compiler"
2137 fi
2138 eval ac_res=\$$3
2139                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2140 $as_echo "$ac_res" >&6; }
2141 fi
2142   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2143
2144 } # ac_fn_c_check_header_mongrel
2145
2146 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2147 # ---------------------------------------------------------
2148 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2149 # the include files in INCLUDES and setting the cache variable VAR
2150 # accordingly.
2151 ac_fn_cxx_check_header_mongrel ()
2152 {
2153   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2154   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2155   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2156 $as_echo_n "checking for $2... " >&6; }
2157 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2158   $as_echo_n "(cached) " >&6
2159 fi
2160 eval ac_res=\$$3
2161                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2162 $as_echo "$ac_res" >&6; }
2163 else
2164   # Is the header compilable?
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2166 $as_echo_n "checking $2 usability... " >&6; }
2167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2168 /* end confdefs.h.  */
2169 $4
2170 #include <$2>
2171 _ACEOF
2172 if ac_fn_cxx_try_compile "$LINENO"; then :
2173   ac_header_compiler=yes
2174 else
2175   ac_header_compiler=no
2176 fi
2177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2179 $as_echo "$ac_header_compiler" >&6; }
2180
2181 # Is the header present?
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2183 $as_echo_n "checking $2 presence... " >&6; }
2184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2185 /* end confdefs.h.  */
2186 #include <$2>
2187 _ACEOF
2188 if ac_fn_cxx_try_cpp "$LINENO"; then :
2189   ac_header_preproc=yes
2190 else
2191   ac_header_preproc=no
2192 fi
2193 rm -f conftest.err conftest.$ac_ext
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2195 $as_echo "$ac_header_preproc" >&6; }
2196
2197 # So?  What about this header?
2198 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2199   yes:no: )
2200     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2201 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2202     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2203 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2204     ;;
2205   no:yes:* )
2206     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2207 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2208     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2209 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2210     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2211 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2212     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2213 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2214     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2215 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2216     ;;
2217 esac
2218   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2219 $as_echo_n "checking for $2... " >&6; }
2220 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2221   $as_echo_n "(cached) " >&6
2222 else
2223   eval "$3=\$ac_header_compiler"
2224 fi
2225 eval ac_res=\$$3
2226                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2227 $as_echo "$ac_res" >&6; }
2228 fi
2229   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2230
2231 } # ac_fn_cxx_check_header_mongrel
2232
2233 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2234 # --------------------------------------------
2235 # Tries to find the compile-time value of EXPR in a program that includes
2236 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2237 # computed
2238 ac_fn_c_compute_int ()
2239 {
2240   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2241   if test "$cross_compiling" = yes; then
2242     # Depending upon the size, compute the lo and hi bounds.
2243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2244 /* end confdefs.h.  */
2245 $4
2246 int
2247 main ()
2248 {
2249 static int test_array [1 - 2 * !(($2) >= 0)];
2250 test_array [0] = 0
2251
2252   ;
2253   return 0;
2254 }
2255 _ACEOF
2256 if ac_fn_c_try_compile "$LINENO"; then :
2257   ac_lo=0 ac_mid=0
2258   while :; do
2259     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2260 /* end confdefs.h.  */
2261 $4
2262 int
2263 main ()
2264 {
2265 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2266 test_array [0] = 0
2267
2268   ;
2269   return 0;
2270 }
2271 _ACEOF
2272 if ac_fn_c_try_compile "$LINENO"; then :
2273   ac_hi=$ac_mid; break
2274 else
2275   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2276                         if test $ac_lo -le $ac_mid; then
2277                           ac_lo= ac_hi=
2278                           break
2279                         fi
2280                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2281 fi
2282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2283   done
2284 else
2285   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2286 /* end confdefs.h.  */
2287 $4
2288 int
2289 main ()
2290 {
2291 static int test_array [1 - 2 * !(($2) < 0)];
2292 test_array [0] = 0
2293
2294   ;
2295   return 0;
2296 }
2297 _ACEOF
2298 if ac_fn_c_try_compile "$LINENO"; then :
2299   ac_hi=-1 ac_mid=-1
2300   while :; do
2301     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2302 /* end confdefs.h.  */
2303 $4
2304 int
2305 main ()
2306 {
2307 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2308 test_array [0] = 0
2309
2310   ;
2311   return 0;
2312 }
2313 _ACEOF
2314 if ac_fn_c_try_compile "$LINENO"; then :
2315   ac_lo=$ac_mid; break
2316 else
2317   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2318                         if test $ac_mid -le $ac_hi; then
2319                           ac_lo= ac_hi=
2320                           break
2321                         fi
2322                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2323 fi
2324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2325   done
2326 else
2327   ac_lo= ac_hi=
2328 fi
2329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2330 fi
2331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2332 # Binary search between lo and hi bounds.
2333 while test "x$ac_lo" != "x$ac_hi"; do
2334   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2335   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2336 /* end confdefs.h.  */
2337 $4
2338 int
2339 main ()
2340 {
2341 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2342 test_array [0] = 0
2343
2344   ;
2345   return 0;
2346 }
2347 _ACEOF
2348 if ac_fn_c_try_compile "$LINENO"; then :
2349   ac_hi=$ac_mid
2350 else
2351   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2352 fi
2353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2354 done
2355 case $ac_lo in #((
2356 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2357 '') ac_retval=1 ;;
2358 esac
2359   else
2360     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2361 /* end confdefs.h.  */
2362 $4
2363 static long int longval () { return $2; }
2364 static unsigned long int ulongval () { return $2; }
2365 #include <stdio.h>
2366 #include <stdlib.h>
2367 int
2368 main ()
2369 {
2370
2371   FILE *f = fopen ("conftest.val", "w");
2372   if (! f)
2373     return 1;
2374   if (($2) < 0)
2375     {
2376       long int i = longval ();
2377       if (i != ($2))
2378         return 1;
2379       fprintf (f, "%ld", i);
2380     }
2381   else
2382     {
2383       unsigned long int i = ulongval ();
2384       if (i != ($2))
2385         return 1;
2386       fprintf (f, "%lu", i);
2387     }
2388   /* Do not output a trailing newline, as this causes \r\n confusion
2389      on some platforms.  */
2390   return ferror (f) || fclose (f) != 0;
2391
2392   ;
2393   return 0;
2394 }
2395 _ACEOF
2396 if ac_fn_c_try_run "$LINENO"; then :
2397   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2398 else
2399   ac_retval=1
2400 fi
2401 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2402   conftest.$ac_objext conftest.beam conftest.$ac_ext
2403 rm -f conftest.val
2404
2405   fi
2406   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2407   return $ac_retval
2408
2409 } # ac_fn_c_compute_int
2410
2411 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2412 # -------------------------------------------
2413 # Tests whether TYPE exists after having included INCLUDES, setting cache
2414 # variable VAR accordingly.
2415 ac_fn_c_check_type ()
2416 {
2417   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2418   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2419 $as_echo_n "checking for $2... " >&6; }
2420 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2421   $as_echo_n "(cached) " >&6
2422 else
2423   eval "$3=no"
2424   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2425 /* end confdefs.h.  */
2426 $4
2427 int
2428 main ()
2429 {
2430 if (sizeof ($2))
2431          return 0;
2432   ;
2433   return 0;
2434 }
2435 _ACEOF
2436 if ac_fn_c_try_compile "$LINENO"; then :
2437   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2438 /* end confdefs.h.  */
2439 $4
2440 int
2441 main ()
2442 {
2443 if (sizeof (($2)))
2444             return 0;
2445   ;
2446   return 0;
2447 }
2448 _ACEOF
2449 if ac_fn_c_try_compile "$LINENO"; then :
2450
2451 else
2452   eval "$3=yes"
2453 fi
2454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2455 fi
2456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2457 fi
2458 eval ac_res=\$$3
2459                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2460 $as_echo "$ac_res" >&6; }
2461   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2462
2463 } # ac_fn_c_check_type
2464 cat >config.log <<_ACEOF
2465 This file contains any messages produced by compilers while
2466 running configure, to aid debugging if configure makes a mistake.
2467
2468 It was created by package-unused $as_me version-unused, which was
2469 generated by GNU Autoconf 2.64.  Invocation command line was
2470
2471   $ $0 $@
2472
2473 _ACEOF
2474 exec 5>>config.log
2475 {
2476 cat <<_ASUNAME
2477 ## --------- ##
2478 ## Platform. ##
2479 ## --------- ##
2480
2481 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2482 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2483 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2484 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2485 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2486
2487 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2488 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2489
2490 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2491 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2492 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2493 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2494 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2495 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2496 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2497
2498 _ASUNAME
2499
2500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2501 for as_dir in $PATH
2502 do
2503   IFS=$as_save_IFS
2504   test -z "$as_dir" && as_dir=.
2505     $as_echo "PATH: $as_dir"
2506   done
2507 IFS=$as_save_IFS
2508
2509 } >&5
2510
2511 cat >&5 <<_ACEOF
2512
2513
2514 ## ----------- ##
2515 ## Core tests. ##
2516 ## ----------- ##
2517
2518 _ACEOF
2519
2520
2521 # Keep a trace of the command line.
2522 # Strip out --no-create and --no-recursion so they do not pile up.
2523 # Strip out --silent because we don't want to record it for future runs.
2524 # Also quote any args containing shell meta-characters.
2525 # Make two passes to allow for proper duplicate-argument suppression.
2526 ac_configure_args=
2527 ac_configure_args0=
2528 ac_configure_args1=
2529 ac_must_keep_next=false
2530 for ac_pass in 1 2
2531 do
2532   for ac_arg
2533   do
2534     case $ac_arg in
2535     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2536     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2537     | -silent | --silent | --silen | --sile | --sil)
2538       continue ;;
2539     *\'*)
2540       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2541     esac
2542     case $ac_pass in
2543     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2544     2)
2545       as_fn_append ac_configure_args1 " '$ac_arg'"
2546       if test $ac_must_keep_next = true; then
2547         ac_must_keep_next=false # Got value, back to normal.
2548       else
2549         case $ac_arg in
2550           *=* | --config-cache | -C | -disable-* | --disable-* \
2551           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2552           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2553           | -with-* | --with-* | -without-* | --without-* | --x)
2554             case "$ac_configure_args0 " in
2555               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2556             esac
2557             ;;
2558           -* ) ac_must_keep_next=true ;;
2559         esac
2560       fi
2561       as_fn_append ac_configure_args " '$ac_arg'"
2562       ;;
2563     esac
2564   done
2565 done
2566 { ac_configure_args0=; unset ac_configure_args0;}
2567 { ac_configure_args1=; unset ac_configure_args1;}
2568
2569 # When interrupted or exit'd, cleanup temporary files, and complete
2570 # config.log.  We remove comments because anyway the quotes in there
2571 # would cause problems or look ugly.
2572 # WARNING: Use '\'' to represent an apostrophe within the trap.
2573 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2574 trap 'exit_status=$?
2575   # Save into config.log some information that might help in debugging.
2576   {
2577     echo
2578
2579     cat <<\_ASBOX
2580 ## ---------------- ##
2581 ## Cache variables. ##
2582 ## ---------------- ##
2583 _ASBOX
2584     echo
2585     # The following way of writing the cache mishandles newlines in values,
2586 (
2587   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2588     eval ac_val=\$$ac_var
2589     case $ac_val in #(
2590     *${as_nl}*)
2591       case $ac_var in #(
2592       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2593 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2594       esac
2595       case $ac_var in #(
2596       _ | IFS | as_nl) ;; #(
2597       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2598       *) { eval $ac_var=; unset $ac_var;} ;;
2599       esac ;;
2600     esac
2601   done
2602   (set) 2>&1 |
2603     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2604     *${as_nl}ac_space=\ *)
2605       sed -n \
2606         "s/'\''/'\''\\\\'\'''\''/g;
2607           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2608       ;; #(
2609     *)
2610       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2611       ;;
2612     esac |
2613     sort
2614 )
2615     echo
2616
2617     cat <<\_ASBOX
2618 ## ----------------- ##
2619 ## Output variables. ##
2620 ## ----------------- ##
2621 _ASBOX
2622     echo
2623     for ac_var in $ac_subst_vars
2624     do
2625       eval ac_val=\$$ac_var
2626       case $ac_val in
2627       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2628       esac
2629       $as_echo "$ac_var='\''$ac_val'\''"
2630     done | sort
2631     echo
2632
2633     if test -n "$ac_subst_files"; then
2634       cat <<\_ASBOX
2635 ## ------------------- ##
2636 ## File substitutions. ##
2637 ## ------------------- ##
2638 _ASBOX
2639       echo
2640       for ac_var in $ac_subst_files
2641       do
2642         eval ac_val=\$$ac_var
2643         case $ac_val in
2644         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2645         esac
2646         $as_echo "$ac_var='\''$ac_val'\''"
2647       done | sort
2648       echo
2649     fi
2650
2651     if test -s confdefs.h; then
2652       cat <<\_ASBOX
2653 ## ----------- ##
2654 ## confdefs.h. ##
2655 ## ----------- ##
2656 _ASBOX
2657       echo
2658       cat confdefs.h
2659       echo
2660     fi
2661     test "$ac_signal" != 0 &&
2662       $as_echo "$as_me: caught signal $ac_signal"
2663     $as_echo "$as_me: exit $exit_status"
2664   } >&5
2665   rm -f core *.core core.conftest.* &&
2666     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2667     exit $exit_status
2668 ' 0
2669 for ac_signal in 1 2 13 15; do
2670   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2671 done
2672 ac_signal=0
2673
2674 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2675 rm -f -r conftest* confdefs.h
2676
2677 $as_echo "/* confdefs.h */" > confdefs.h
2678
2679 # Predefined preprocessor variables.
2680
2681 cat >>confdefs.h <<_ACEOF
2682 #define PACKAGE_NAME "$PACKAGE_NAME"
2683 _ACEOF
2684
2685 cat >>confdefs.h <<_ACEOF
2686 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2687 _ACEOF
2688
2689 cat >>confdefs.h <<_ACEOF
2690 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2691 _ACEOF
2692
2693 cat >>confdefs.h <<_ACEOF
2694 #define PACKAGE_STRING "$PACKAGE_STRING"
2695 _ACEOF
2696
2697 cat >>confdefs.h <<_ACEOF
2698 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2699 _ACEOF
2700
2701 cat >>confdefs.h <<_ACEOF
2702 #define PACKAGE_URL "$PACKAGE_URL"
2703 _ACEOF
2704
2705
2706 # Let the site file select an alternate cache file if it wants to.
2707 # Prefer an explicitly selected file to automatically selected ones.
2708 ac_site_file1=NONE
2709 ac_site_file2=NONE
2710 if test -n "$CONFIG_SITE"; then
2711   ac_site_file1=$CONFIG_SITE
2712 elif test "x$prefix" != xNONE; then
2713   ac_site_file1=$prefix/share/config.site
2714   ac_site_file2=$prefix/etc/config.site
2715 else
2716   ac_site_file1=$ac_default_prefix/share/config.site
2717   ac_site_file2=$ac_default_prefix/etc/config.site
2718 fi
2719 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2720 do
2721   test "x$ac_site_file" = xNONE && continue
2722   if test -r "$ac_site_file"; then
2723     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2724 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2725     sed 's/^/| /' "$ac_site_file" >&5
2726     . "$ac_site_file"
2727   fi
2728 done
2729
2730 if test -r "$cache_file"; then
2731   # Some versions of bash will fail to source /dev/null (special
2732   # files actually), so we avoid doing that.
2733   if test -f "$cache_file"; then
2734     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2735 $as_echo "$as_me: loading cache $cache_file" >&6;}
2736     case $cache_file in
2737       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2738       *)                      . "./$cache_file";;
2739     esac
2740   fi
2741 else
2742   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2743 $as_echo "$as_me: creating cache $cache_file" >&6;}
2744   >$cache_file
2745 fi
2746
2747 # Check that the precious variables saved in the cache have kept the same
2748 # value.
2749 ac_cache_corrupted=false
2750 for ac_var in $ac_precious_vars; do
2751   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2752   eval ac_new_set=\$ac_env_${ac_var}_set
2753   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2754   eval ac_new_val=\$ac_env_${ac_var}_value
2755   case $ac_old_set,$ac_new_set in
2756     set,)
2757       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2758 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2759       ac_cache_corrupted=: ;;
2760     ,set)
2761       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2762 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2763       ac_cache_corrupted=: ;;
2764     ,);;
2765     *)
2766       if test "x$ac_old_val" != "x$ac_new_val"; then
2767         # differences in whitespace do not lead to failure.
2768         ac_old_val_w=`echo x $ac_old_val`
2769         ac_new_val_w=`echo x $ac_new_val`
2770         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2771           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2772 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2773           ac_cache_corrupted=:
2774         else
2775           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2776 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2777           eval $ac_var=\$ac_old_val
2778         fi
2779         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2780 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2781         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2782 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2783       fi;;
2784   esac
2785   # Pass precious variables to config.status.
2786   if test "$ac_new_set" = set; then
2787     case $ac_new_val in
2788     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2789     *) ac_arg=$ac_var=$ac_new_val ;;
2790     esac
2791     case " $ac_configure_args " in
2792       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2793       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2794     esac
2795   fi
2796 done
2797 if $ac_cache_corrupted; then
2798   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2799 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2800   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2801 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2802   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2803 fi
2804 ## -------------------- ##
2805 ## Main body of script. ##
2806 ## -------------------- ##
2807
2808 ac_ext=c
2809 ac_cpp='$CPP $CPPFLAGS'
2810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2813
2814
2815
2816
2817
2818
2819 ac_config_headers="$ac_config_headers config.h"
2820
2821
2822 # This works around the fact that libtool configuration may change LD
2823 # for this particular configuration, but some shells, instead of
2824 # keeping the changes in LD private, export them just because LD is
2825 # exported.  Only used at the end of this file.
2826 ### am handles this now?  ORIGINAL_LD_FOR_MULTILIBS=$LD
2827
2828 # For libtool versioning info, format is CURRENT:REVISION:AGE
2829 libtool_VERSION=6:17:0
2830
2831
2832 # Find the rest of the source tree framework.
2833 # Default to --enable-multilib
2834 # Check whether --enable-multilib was given.
2835 if test "${enable_multilib+set}" = set; then :
2836   enableval=$enable_multilib; case "$enableval" in
2837   yes) multilib=yes ;;
2838   no)  multilib=no ;;
2839   *)   as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2840  esac
2841 else
2842   multilib=yes
2843 fi
2844
2845
2846 # We may get other options which we leave undocumented:
2847 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2848 # See config-ml.in if you want the gory details.
2849
2850 if test "$srcdir" = "."; then
2851   if test "$with_target_subdir" != "."; then
2852     multi_basedir="$srcdir/$with_multisrctop../.."
2853   else
2854     multi_basedir="$srcdir/$with_multisrctop.."
2855   fi
2856 else
2857   multi_basedir="$srcdir/.."
2858 fi
2859
2860
2861 # Even if the default multilib is not a cross compilation,
2862 # it may be that some of the other multilibs are.
2863 if test $cross_compiling = no && test $multilib = yes \
2864    && test "x${with_multisubdir}" != x ; then
2865    cross_compiling=maybe
2866 fi
2867
2868 ac_config_commands="$ac_config_commands default-1"
2869
2870
2871 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2872 #
2873 # You will slowly go insane if you do not grok the following fact:  when
2874 # building v3 as part of the compiler, the top-level /target/ becomes the
2875 # library's /host/.  configure then causes --target to default to --host,
2876 # exactly like any other package using autoconf.  Therefore, 'target' and
2877 # 'host' will always be the same.  This makes sense both for native and
2878 # cross compilers, just think about it for a little while.  :-)
2879 #
2880 # Also, if v3 is being configured as part of a cross compiler, the top-level
2881 # configure script will pass the "real" host as $with_cross_host.
2882 #
2883 # Do not delete or change the following two lines.  For why, see
2884 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2885 ac_aux_dir=
2886 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2887   for ac_t in install-sh install.sh shtool; do
2888     if test -f "$ac_dir/$ac_t"; then
2889       ac_aux_dir=$ac_dir
2890       ac_install_sh="$ac_aux_dir/$ac_t -c"
2891       break 2
2892     fi
2893   done
2894 done
2895 if test -z "$ac_aux_dir"; then
2896   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2897 fi
2898
2899 # These three variables are undocumented and unsupported,
2900 # and are intended to be withdrawn in a future Autoconf release.
2901 # They can cause serious problems if a builder's source tree is in a directory
2902 # whose full name contains unusual characters.
2903 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2904 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2905 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2906
2907
2908 # Make sure we can run config.sub.
2909 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2910   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2911
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2913 $as_echo_n "checking build system type... " >&6; }
2914 if test "${ac_cv_build+set}" = set; then :
2915   $as_echo_n "(cached) " >&6
2916 else
2917   ac_build_alias=$build_alias
2918 test "x$ac_build_alias" = x &&
2919   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2920 test "x$ac_build_alias" = x &&
2921   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2922 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2923   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2924
2925 fi
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2927 $as_echo "$ac_cv_build" >&6; }
2928 case $ac_cv_build in
2929 *-*-*) ;;
2930 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2931 esac
2932 build=$ac_cv_build
2933 ac_save_IFS=$IFS; IFS='-'
2934 set x $ac_cv_build
2935 shift
2936 build_cpu=$1
2937 build_vendor=$2
2938 shift; shift
2939 # Remember, the first character of IFS is used to create $*,
2940 # except with old shells:
2941 build_os=$*
2942 IFS=$ac_save_IFS
2943 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2944
2945
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2947 $as_echo_n "checking host system type... " >&6; }
2948 if test "${ac_cv_host+set}" = set; then :
2949   $as_echo_n "(cached) " >&6
2950 else
2951   if test "x$host_alias" = x; then
2952   ac_cv_host=$ac_cv_build
2953 else
2954   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2955     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2956 fi
2957
2958 fi
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2960 $as_echo "$ac_cv_host" >&6; }
2961 case $ac_cv_host in
2962 *-*-*) ;;
2963 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2964 esac
2965 host=$ac_cv_host
2966 ac_save_IFS=$IFS; IFS='-'
2967 set x $ac_cv_host
2968 shift
2969 host_cpu=$1
2970 host_vendor=$2
2971 shift; shift
2972 # Remember, the first character of IFS is used to create $*,
2973 # except with old shells:
2974 host_os=$*
2975 IFS=$ac_save_IFS
2976 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2977
2978
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2980 $as_echo_n "checking target system type... " >&6; }
2981 if test "${ac_cv_target+set}" = set; then :
2982   $as_echo_n "(cached) " >&6
2983 else
2984   if test "x$target_alias" = x; then
2985   ac_cv_target=$ac_cv_host
2986 else
2987   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2988     as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2989 fi
2990
2991 fi
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2993 $as_echo "$ac_cv_target" >&6; }
2994 case $ac_cv_target in
2995 *-*-*) ;;
2996 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2997 esac
2998 target=$ac_cv_target
2999 ac_save_IFS=$IFS; IFS='-'
3000 set x $ac_cv_target
3001 shift
3002 target_cpu=$1
3003 target_vendor=$2
3004 shift; shift
3005 # Remember, the first character of IFS is used to create $*,
3006 # except with old shells:
3007 target_os=$*
3008 IFS=$ac_save_IFS
3009 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3010
3011
3012 # The aliases save the names the user supplied, while $host etc.
3013 # will get canonicalized.
3014 test -n "$target_alias" &&
3015   test "$program_prefix$program_suffix$program_transform_name" = \
3016     NONENONEs,x,x, &&
3017   program_prefix=${target_alias}-
3018
3019 target_alias=${target_alias-$host_alias}
3020
3021 # Handy for debugging:
3022 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3023
3024 if test "$build" != "$host"; then
3025   # We are being configured with some form of cross compiler.
3026   GLIBCXX_IS_NATIVE=false
3027   case "$host","$target" in
3028     # Darwin crosses can use the host system's libraries and headers,
3029     # because of the fat library support.  Of course, it must be the
3030     # same version of Darwin on both sides.  Allow the user to
3031     # just say --target=foo-darwin without a version number to mean
3032     # "the version on this system".
3033       *-*-darwin*,*-*-darwin*)
3034         hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3035         targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3036         if test $hostos = $targetos -o $targetos = darwin ; then
3037           GLIBCXX_IS_NATIVE=true
3038         fi
3039         ;;
3040
3041       *)
3042
3043         ;;
3044   esac
3045 else
3046   GLIBCXX_IS_NATIVE=true
3047 fi
3048
3049 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
3050 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3051 #  1.x:  minimum required version
3052 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
3053 #              of other PACKAGE_* variables will, however, and there's nothing
3054 #              we can do about that; they come from AC_INIT).
3055 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
3056 #            file in the top srcdir, etc, etc), so stop complaining.
3057 #  no-dependencies:  turns off auto dependency generation (just for now)
3058 #  no-dist:  we don't want 'dist' and related rules.
3059 #  -Wall:  turns on all automake warnings...
3060 #  -Wno-portability:  ...except this one, since GNU make is now required.
3061 am__api_version='1.11'
3062
3063 # Find a good install program.  We prefer a C program (faster),
3064 # so one script is as good as another.  But avoid the broken or
3065 # incompatible versions:
3066 # SysV /etc/install, /usr/sbin/install
3067 # SunOS /usr/etc/install
3068 # IRIX /sbin/install
3069 # AIX /bin/install
3070 # AmigaOS /C/install, which installs bootblocks on floppy discs
3071 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3072 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3073 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3074 # OS/2's system install, which has a completely different semantic
3075 # ./install, which can be erroneously created by make from ./install.sh.
3076 # Reject install programs that cannot install multiple files.
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3078 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3079 if test -z "$INSTALL"; then
3080 if test "${ac_cv_path_install+set}" = set; then :
3081   $as_echo_n "(cached) " >&6
3082 else
3083   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3084 for as_dir in $PATH
3085 do
3086   IFS=$as_save_IFS
3087   test -z "$as_dir" && as_dir=.
3088     # Account for people who put trailing slashes in PATH elements.
3089 case $as_dir/ in #((
3090   ./ | .// | /[cC]/* | \
3091   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3092   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3093   /usr/ucb/* ) ;;
3094   *)
3095     # OSF1 and SCO ODT 3.0 have their own names for install.
3096     # Don't use installbsd from OSF since it installs stuff as root
3097     # by default.
3098     for ac_prog in ginstall scoinst install; do
3099       for ac_exec_ext in '' $ac_executable_extensions; do
3100         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3101           if test $ac_prog = install &&
3102             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3103             # AIX install.  It has an incompatible calling convention.
3104             :
3105           elif test $ac_prog = install &&
3106             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3107             # program-specific install script used by HP pwplus--don't use.
3108             :
3109           else
3110             rm -rf conftest.one conftest.two conftest.dir
3111             echo one > conftest.one
3112             echo two > conftest.two
3113             mkdir conftest.dir
3114             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3115               test -s conftest.one && test -s conftest.two &&
3116               test -s conftest.dir/conftest.one &&
3117               test -s conftest.dir/conftest.two
3118             then
3119               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3120               break 3
3121             fi
3122           fi
3123         fi
3124       done
3125     done
3126     ;;
3127 esac
3128
3129   done
3130 IFS=$as_save_IFS
3131
3132 rm -rf conftest.one conftest.two conftest.dir
3133
3134 fi
3135   if test "${ac_cv_path_install+set}" = set; then
3136     INSTALL=$ac_cv_path_install
3137   else
3138     # As a last resort, use the slow shell script.  Don't cache a
3139     # value for INSTALL within a source directory, because that will
3140     # break other packages using the cache if that directory is
3141     # removed, or if the value is a relative name.
3142     INSTALL=$ac_install_sh
3143   fi
3144 fi
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3146 $as_echo "$INSTALL" >&6; }
3147
3148 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3149 # It thinks the first close brace ends the variable substitution.
3150 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3151
3152 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3153
3154 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3155
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3157 $as_echo_n "checking whether build environment is sane... " >&6; }
3158 # Just in case
3159 sleep 1
3160 echo timestamp > conftest.file
3161 # Reject unsafe characters in $srcdir or the absolute working directory
3162 # name.  Accept space and tab only in the latter.
3163 am_lf='
3164 '
3165 case `pwd` in
3166   *[\\\"\#\$\&\'\`$am_lf]*)
3167     as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3168 esac
3169 case $srcdir in
3170   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3171     as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3172 esac
3173
3174 # Do `set' in a subshell so we don't clobber the current shell's
3175 # arguments.  Must try -L first in case configure is actually a
3176 # symlink; some systems play weird games with the mod time of symlinks
3177 # (eg FreeBSD returns the mod time of the symlink's containing
3178 # directory).
3179 if (
3180    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3181    if test "$*" = "X"; then
3182       # -L didn't work.
3183       set X `ls -t "$srcdir/configure" conftest.file`
3184    fi
3185    rm -f conftest.file
3186    if test "$*" != "X $srcdir/configure conftest.file" \
3187       && test "$*" != "X conftest.file $srcdir/configure"; then
3188
3189       # If neither matched, then we have a broken ls.  This can happen
3190       # if, for instance, CONFIG_SHELL is bash and it inherits a
3191       # broken ls alias from the environment.  This has actually
3192       # happened.  Such a system could not be considered "sane".
3193       as_fn_error "ls -t appears to fail.  Make sure there is not a broken
3194 alias in your environment" "$LINENO" 5
3195    fi
3196
3197    test "$2" = conftest.file
3198    )
3199 then
3200    # Ok.
3201    :
3202 else
3203    as_fn_error "newly created file is older than distributed files!
3204 Check your system clock" "$LINENO" 5
3205 fi
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3207 $as_echo "yes" >&6; }
3208 test "$program_prefix" != NONE &&
3209   program_transform_name="s&^&$program_prefix&;$program_transform_name"
3210 # Use a double $ so make ignores it.
3211 test "$program_suffix" != NONE &&
3212   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3213 # Double any \ or $.
3214 # By default was `s,x,x', remove it if useless.
3215 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3216 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3217
3218 # expand $ac_aux_dir to an absolute path
3219 am_aux_dir=`cd $ac_aux_dir && pwd`
3220
3221 if test x"${MISSING+set}" != xset; then
3222   case $am_aux_dir in
3223   *\ * | *\     *)
3224     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3225   *)
3226     MISSING="\${SHELL} $am_aux_dir/missing" ;;
3227   esac
3228 fi
3229 # Use eval to expand $SHELL
3230 if eval "$MISSING --run true"; then
3231   am_missing_run="$MISSING --run "
3232 else
3233   am_missing_run=
3234   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3235 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3236 fi
3237
3238 if test x"${install_sh}" != xset; then
3239   case $am_aux_dir in
3240   *\ * | *\     *)
3241     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3242   *)
3243     install_sh="\${SHELL} $am_aux_dir/install-sh"
3244   esac
3245 fi
3246
3247 # Installed binaries are usually stripped using `strip' when the user
3248 # run `make install-strip'.  However `strip' might not be the right
3249 # tool to use in cross-compilation environments, therefore Automake
3250 # will honor the `STRIP' environment variable to overrule this program.
3251 if test "$cross_compiling" != no; then
3252   if test -n "$ac_tool_prefix"; then
3253   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3254 set dummy ${ac_tool_prefix}strip; ac_word=$2
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3256 $as_echo_n "checking for $ac_word... " >&6; }
3257 if test "${ac_cv_prog_STRIP+set}" = set; then :
3258   $as_echo_n "(cached) " >&6
3259 else
3260   if test -n "$STRIP"; then
3261   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3262 else
3263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3264 for as_dir in $PATH
3265 do
3266   IFS=$as_save_IFS
3267   test -z "$as_dir" && as_dir=.
3268     for ac_exec_ext in '' $ac_executable_extensions; do
3269   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3270     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3271     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3272     break 2
3273   fi
3274 done
3275   done
3276 IFS=$as_save_IFS
3277
3278 fi
3279 fi
3280 STRIP=$ac_cv_prog_STRIP
3281 if test -n "$STRIP"; then
3282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3283 $as_echo "$STRIP" >&6; }
3284 else
3285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3286 $as_echo "no" >&6; }
3287 fi
3288
3289
3290 fi
3291 if test -z "$ac_cv_prog_STRIP"; then
3292   ac_ct_STRIP=$STRIP
3293   # Extract the first word of "strip", so it can be a program name with args.
3294 set dummy strip; ac_word=$2
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3296 $as_echo_n "checking for $ac_word... " >&6; }
3297 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3298   $as_echo_n "(cached) " >&6
3299 else
3300   if test -n "$ac_ct_STRIP"; then
3301   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3302 else
3303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3304 for as_dir in $PATH
3305 do
3306   IFS=$as_save_IFS
3307   test -z "$as_dir" && as_dir=.
3308     for ac_exec_ext in '' $ac_executable_extensions; do
3309   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3310     ac_cv_prog_ac_ct_STRIP="strip"
3311     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3312     break 2
3313   fi
3314 done
3315   done
3316 IFS=$as_save_IFS
3317
3318 fi
3319 fi
3320 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3321 if test -n "$ac_ct_STRIP"; then
3322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3323 $as_echo "$ac_ct_STRIP" >&6; }
3324 else
3325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3326 $as_echo "no" >&6; }
3327 fi
3328
3329   if test "x$ac_ct_STRIP" = x; then
3330     STRIP=":"
3331   else
3332     case $cross_compiling:$ac_tool_warned in
3333 yes:)
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3335 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3336 ac_tool_warned=yes ;;
3337 esac
3338     STRIP=$ac_ct_STRIP
3339   fi
3340 else
3341   STRIP="$ac_cv_prog_STRIP"
3342 fi
3343
3344 fi
3345 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3346
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3348 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3349 if test -z "$MKDIR_P"; then
3350   if test "${ac_cv_path_mkdir+set}" = set; then :
3351   $as_echo_n "(cached) " >&6
3352 else
3353   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3354 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3355 do
3356   IFS=$as_save_IFS
3357   test -z "$as_dir" && as_dir=.
3358     for ac_prog in mkdir gmkdir; do
3359          for ac_exec_ext in '' $ac_executable_extensions; do
3360            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3361            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3362              'mkdir (GNU coreutils) '* | \
3363              'mkdir (coreutils) '* | \
3364              'mkdir (fileutils) '4.1*)
3365                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3366                break 3;;
3367            esac
3368          done
3369        done
3370   done
3371 IFS=$as_save_IFS
3372
3373 fi
3374
3375   if test "${ac_cv_path_mkdir+set}" = set; then
3376     MKDIR_P="$ac_cv_path_mkdir -p"
3377   else
3378     # As a last resort, use the slow shell script.  Don't cache a
3379     # value for MKDIR_P within a source directory, because that will
3380     # break other packages using the cache if that directory is
3381     # removed, or if the value is a relative name.
3382     test -d ./--version && rmdir ./--version
3383     MKDIR_P="$ac_install_sh -d"
3384   fi
3385 fi
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3387 $as_echo "$MKDIR_P" >&6; }
3388
3389 mkdir_p="$MKDIR_P"
3390 case $mkdir_p in
3391   [\\/$]* | ?:[\\/]*) ;;
3392   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3393 esac
3394
3395 for ac_prog in gawk mawk nawk awk
3396 do
3397   # Extract the first word of "$ac_prog", so it can be a program name with args.
3398 set dummy $ac_prog; ac_word=$2
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3400 $as_echo_n "checking for $ac_word... " >&6; }
3401 if test "${ac_cv_prog_AWK+set}" = set; then :
3402   $as_echo_n "(cached) " >&6
3403 else
3404   if test -n "$AWK"; then
3405   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3406 else
3407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3408 for as_dir in $PATH
3409 do
3410   IFS=$as_save_IFS
3411   test -z "$as_dir" && as_dir=.
3412     for ac_exec_ext in '' $ac_executable_extensions; do
3413   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3414     ac_cv_prog_AWK="$ac_prog"
3415     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3416     break 2
3417   fi
3418 done
3419   done
3420 IFS=$as_save_IFS
3421
3422 fi
3423 fi
3424 AWK=$ac_cv_prog_AWK
3425 if test -n "$AWK"; then
3426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3427 $as_echo "$AWK" >&6; }
3428 else
3429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3430 $as_echo "no" >&6; }
3431 fi
3432
3433
3434   test -n "$AWK" && break
3435 done
3436
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3438 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3439 set x ${MAKE-make}
3440 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3441 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3442   $as_echo_n "(cached) " >&6
3443 else
3444   cat >conftest.make <<\_ACEOF
3445 SHELL = /bin/sh
3446 all:
3447         @echo '@@@%%%=$(MAKE)=@@@%%%'
3448 _ACEOF
3449 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3450 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3451   *@@@%%%=?*=@@@%%%*)
3452     eval ac_cv_prog_make_${ac_make}_set=yes;;
3453   *)
3454     eval ac_cv_prog_make_${ac_make}_set=no;;
3455 esac
3456 rm -f conftest.make
3457 fi
3458 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3459   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3460 $as_echo "yes" >&6; }
3461   SET_MAKE=
3462 else
3463   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3464 $as_echo "no" >&6; }
3465   SET_MAKE="MAKE=${MAKE-make}"
3466 fi
3467
3468 rm -rf .tst 2>/dev/null
3469 mkdir .tst 2>/dev/null
3470 if test -d .tst; then
3471   am__leading_dot=.
3472 else
3473   am__leading_dot=_
3474 fi
3475 rmdir .tst 2>/dev/null
3476
3477 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3478   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3479   # is not polluted with repeated "-I."
3480   am__isrc=' -I$(srcdir)'
3481   # test to see if srcdir already configured
3482   if test -f $srcdir/config.status; then
3483     as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3484   fi
3485 fi
3486
3487 # test whether we have cygpath
3488 if test -z "$CYGPATH_W"; then
3489   if (cygpath --version) >/dev/null 2>/dev/null; then
3490     CYGPATH_W='cygpath -w'
3491   else
3492     CYGPATH_W=echo
3493   fi
3494 fi
3495
3496
3497 # Define the identity of the package.
3498  PACKAGE='libstdc++'
3499  VERSION='version-unused'
3500
3501
3502 # Some tools Automake needs.
3503
3504 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3505
3506
3507 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3508
3509
3510 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3511
3512
3513 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3514
3515
3516 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3517
3518 # We need awk for the "check" target.  The system "awk" is bad on
3519 # some platforms.
3520 # Always define AMTAR for backward compatibility.
3521
3522 AMTAR=${AMTAR-"${am_missing_run}tar"}
3523
3524 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3525
3526
3527
3528
3529
3530
3531
3532
3533 # -fno-builtin must be present here so that a non-conflicting form of
3534 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3535
3536 save_CXXFLAGS="$CXXFLAGS"
3537 CXXFLAGS="$CXXFLAGS -fno-builtin"
3538 ac_ext=c
3539 ac_cpp='$CPP $CPPFLAGS'
3540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3543 if test -n "$ac_tool_prefix"; then
3544   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3545 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3547 $as_echo_n "checking for $ac_word... " >&6; }
3548 if test "${ac_cv_prog_CC+set}" = set; then :
3549   $as_echo_n "(cached) " >&6
3550 else
3551   if test -n "$CC"; then
3552   ac_cv_prog_CC="$CC" # Let the user override the test.
3553 else
3554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3555 for as_dir in $PATH
3556 do
3557   IFS=$as_save_IFS
3558   test -z "$as_dir" && as_dir=.
3559     for ac_exec_ext in '' $ac_executable_extensions; do
3560   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3561     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3562     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3563     break 2
3564   fi
3565 done
3566   done
3567 IFS=$as_save_IFS
3568
3569 fi
3570 fi
3571 CC=$ac_cv_prog_CC
3572 if test -n "$CC"; then
3573   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3574 $as_echo "$CC" >&6; }
3575 else
3576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3577 $as_echo "no" >&6; }
3578 fi
3579
3580
3581 fi
3582 if test -z "$ac_cv_prog_CC"; then
3583   ac_ct_CC=$CC
3584   # Extract the first word of "gcc", so it can be a program name with args.
3585 set dummy gcc; ac_word=$2
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3587 $as_echo_n "checking for $ac_word... " >&6; }
3588 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3589   $as_echo_n "(cached) " >&6
3590 else
3591   if test -n "$ac_ct_CC"; then
3592   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3593 else
3594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3595 for as_dir in $PATH
3596 do
3597   IFS=$as_save_IFS
3598   test -z "$as_dir" && as_dir=.
3599     for ac_exec_ext in '' $ac_executable_extensions; do
3600   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3601     ac_cv_prog_ac_ct_CC="gcc"
3602     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3603     break 2
3604   fi
3605 done
3606   done
3607 IFS=$as_save_IFS
3608
3609 fi
3610 fi
3611 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3612 if test -n "$ac_ct_CC"; then
3613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3614 $as_echo "$ac_ct_CC" >&6; }
3615 else
3616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3617 $as_echo "no" >&6; }
3618 fi
3619
3620   if test "x$ac_ct_CC" = x; then
3621     CC=""
3622   else
3623     case $cross_compiling:$ac_tool_warned in
3624 yes:)
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3626 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3627 ac_tool_warned=yes ;;
3628 esac
3629     CC=$ac_ct_CC
3630   fi
3631 else
3632   CC="$ac_cv_prog_CC"
3633 fi
3634
3635 if test -z "$CC"; then
3636           if test -n "$ac_tool_prefix"; then
3637     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3638 set dummy ${ac_tool_prefix}cc; ac_word=$2
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3640 $as_echo_n "checking for $ac_word... " >&6; }
3641 if test "${ac_cv_prog_CC+set}" = set; then :
3642   $as_echo_n "(cached) " >&6
3643 else
3644   if test -n "$CC"; then
3645   ac_cv_prog_CC="$CC" # Let the user override the test.
3646 else
3647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3648 for as_dir in $PATH
3649 do
3650   IFS=$as_save_IFS
3651   test -z "$as_dir" && as_dir=.
3652     for ac_exec_ext in '' $ac_executable_extensions; do
3653   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3654     ac_cv_prog_CC="${ac_tool_prefix}cc"
3655     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3656     break 2
3657   fi
3658 done
3659   done
3660 IFS=$as_save_IFS
3661
3662 fi
3663 fi
3664 CC=$ac_cv_prog_CC
3665 if test -n "$CC"; then
3666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3667 $as_echo "$CC" >&6; }
3668 else
3669   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3670 $as_echo "no" >&6; }
3671 fi
3672
3673
3674   fi
3675 fi
3676 if test -z "$CC"; then
3677   # Extract the first word of "cc", so it can be a program name with args.
3678 set dummy cc; ac_word=$2
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3680 $as_echo_n "checking for $ac_word... " >&6; }
3681 if test "${ac_cv_prog_CC+set}" = set; then :
3682   $as_echo_n "(cached) " >&6
3683 else
3684   if test -n "$CC"; then
3685   ac_cv_prog_CC="$CC" # Let the user override the test.
3686 else
3687   ac_prog_rejected=no
3688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3689 for as_dir in $PATH
3690 do
3691   IFS=$as_save_IFS
3692   test -z "$as_dir" && as_dir=.
3693     for ac_exec_ext in '' $ac_executable_extensions; do
3694   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3695     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3696        ac_prog_rejected=yes
3697        continue
3698      fi
3699     ac_cv_prog_CC="cc"
3700     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3701     break 2
3702   fi
3703 done
3704   done
3705 IFS=$as_save_IFS
3706
3707 if test $ac_prog_rejected = yes; then
3708   # We found a bogon in the path, so make sure we never use it.
3709   set dummy $ac_cv_prog_CC
3710   shift
3711   if test $# != 0; then
3712     # We chose a different compiler from the bogus one.
3713     # However, it has the same basename, so the bogon will be chosen
3714     # first if we set CC to just the basename; use the full file name.
3715     shift
3716     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3717   fi
3718 fi
3719 fi
3720 fi
3721 CC=$ac_cv_prog_CC
3722 if test -n "$CC"; then
3723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3724 $as_echo "$CC" >&6; }
3725 else
3726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3727 $as_echo "no" >&6; }
3728 fi
3729
3730
3731 fi
3732 if test -z "$CC"; then
3733   if test -n "$ac_tool_prefix"; then
3734   for ac_prog in cl.exe
3735   do
3736     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3737 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3739 $as_echo_n "checking for $ac_word... " >&6; }
3740 if test "${ac_cv_prog_CC+set}" = set; then :
3741   $as_echo_n "(cached) " >&6
3742 else
3743   if test -n "$CC"; then
3744   ac_cv_prog_CC="$CC" # Let the user override the test.
3745 else
3746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3747 for as_dir in $PATH
3748 do
3749   IFS=$as_save_IFS
3750   test -z "$as_dir" && as_dir=.
3751     for ac_exec_ext in '' $ac_executable_extensions; do
3752   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3753     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3754     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3755     break 2
3756   fi
3757 done
3758   done
3759 IFS=$as_save_IFS
3760
3761 fi
3762 fi
3763 CC=$ac_cv_prog_CC
3764 if test -n "$CC"; then
3765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3766 $as_echo "$CC" >&6; }
3767 else
3768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3769 $as_echo "no" >&6; }
3770 fi
3771
3772
3773     test -n "$CC" && break
3774   done
3775 fi
3776 if test -z "$CC"; then
3777   ac_ct_CC=$CC
3778   for ac_prog in cl.exe
3779 do
3780   # Extract the first word of "$ac_prog", so it can be a program name with args.
3781 set dummy $ac_prog; ac_word=$2
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3783 $as_echo_n "checking for $ac_word... " >&6; }
3784 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3785   $as_echo_n "(cached) " >&6
3786 else
3787   if test -n "$ac_ct_CC"; then
3788   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3789 else
3790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3791 for as_dir in $PATH
3792 do
3793   IFS=$as_save_IFS
3794   test -z "$as_dir" && as_dir=.
3795     for ac_exec_ext in '' $ac_executable_extensions; do
3796   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3797     ac_cv_prog_ac_ct_CC="$ac_prog"
3798     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3799     break 2
3800   fi
3801 done
3802   done
3803 IFS=$as_save_IFS
3804
3805 fi
3806 fi
3807 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3808 if test -n "$ac_ct_CC"; then
3809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3810 $as_echo "$ac_ct_CC" >&6; }
3811 else
3812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3813 $as_echo "no" >&6; }
3814 fi
3815
3816
3817   test -n "$ac_ct_CC" && break
3818 done
3819
3820   if test "x$ac_ct_CC" = x; then
3821     CC=""
3822   else
3823     case $cross_compiling:$ac_tool_warned in
3824 yes:)
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3826 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3827 ac_tool_warned=yes ;;
3828 esac
3829     CC=$ac_ct_CC
3830   fi
3831 fi
3832
3833 fi
3834
3835
3836 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3837 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3838 as_fn_error "no acceptable C compiler found in \$PATH
3839 See \`config.log' for more details." "$LINENO" 5; }
3840
3841 # Provide some information about the compiler.
3842 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3843 set X $ac_compile
3844 ac_compiler=$2
3845 for ac_option in --version -v -V -qversion; do
3846   { { ac_try="$ac_compiler $ac_option >&5"
3847 case "(($ac_try" in
3848   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3849   *) ac_try_echo=$ac_try;;
3850 esac
3851 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3852 $as_echo "$ac_try_echo"; } >&5
3853   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3854   ac_status=$?
3855   if test -s conftest.err; then
3856     sed '10a\
3857 ... rest of stderr output deleted ...
3858          10q' conftest.err >conftest.er1
3859     cat conftest.er1 >&5
3860     rm -f conftest.er1 conftest.err
3861   fi
3862   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3863   test $ac_status = 0; }
3864 done
3865
3866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3867 /* end confdefs.h.  */
3868
3869 int
3870 main ()
3871 {
3872
3873   ;
3874   return 0;
3875 }
3876 _ACEOF
3877 # FIXME: Cleanup?
3878 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3879   (eval $ac_link) 2>&5
3880   ac_status=$?
3881   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3882   test $ac_status = 0; }; then :
3883   gcc_no_link=no
3884 else
3885   gcc_no_link=yes
3886 fi
3887 if test x$gcc_no_link = xyes; then
3888   # Setting cross_compile will disable run tests; it will
3889   # also disable AC_CHECK_FILE but that's generally
3890   # correct if we can't link.
3891   cross_compiling=yes
3892   EXEEXT=
3893 else
3894   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3895 /* end confdefs.h.  */
3896
3897 int
3898 main ()
3899 {
3900
3901   ;
3902   return 0;
3903 }
3904 _ACEOF
3905 ac_clean_files_save=$ac_clean_files
3906 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3907 # Try to create an executable without -o first, disregard a.out.
3908 # It will help us diagnose broken compilers, and finding out an intuition
3909 # of exeext.
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3911 $as_echo_n "checking for C compiler default output file name... " >&6; }
3912 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3913
3914 # The possible output files:
3915 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3916
3917 ac_rmfiles=
3918 for ac_file in $ac_files
3919 do
3920   case $ac_file in
3921     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3922     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3923   esac
3924 done
3925 rm -f $ac_rmfiles
3926
3927 if { { ac_try="$ac_link_default"
3928 case "(($ac_try" in
3929   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3930   *) ac_try_echo=$ac_try;;
3931 esac
3932 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3933 $as_echo "$ac_try_echo"; } >&5
3934   (eval "$ac_link_default") 2>&5
3935   ac_status=$?
3936   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3937   test $ac_status = 0; }; then :
3938   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3939 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3940 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3941 # so that the user can short-circuit this test for compilers unknown to
3942 # Autoconf.
3943 for ac_file in $ac_files ''
3944 do
3945   test -f "$ac_file" || continue
3946   case $ac_file in
3947     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3948         ;;
3949     [ab].out )
3950         # We found the default executable, but exeext='' is most
3951         # certainly right.
3952         break;;
3953     *.* )
3954         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3955         then :; else
3956            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3957         fi
3958         # We set ac_cv_exeext here because the later test for it is not
3959         # safe: cross compilers may not add the suffix if given an `-o'
3960         # argument, so we may need to know it at that point already.
3961         # Even if this section looks crufty: it has the advantage of
3962         # actually working.
3963         break;;
3964     * )
3965         break;;
3966   esac
3967 done
3968 test "$ac_cv_exeext" = no && ac_cv_exeext=
3969
3970 else
3971   ac_file=''
3972 fi
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3974 $as_echo "$ac_file" >&6; }
3975 if test -z "$ac_file"; then :
3976   $as_echo "$as_me: failed program was:" >&5
3977 sed 's/^/| /' conftest.$ac_ext >&5
3978
3979 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3980 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3981 { as_fn_set_status 77
3982 as_fn_error "C compiler cannot create executables
3983 See \`config.log' for more details." "$LINENO" 5; }; }
3984 fi
3985 ac_exeext=$ac_cv_exeext
3986
3987 # Check that the compiler produces executables we can run.  If not, either
3988 # the compiler is broken, or we cross compile.
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3990 $as_echo_n "checking whether the C compiler works... " >&6; }
3991 # If not cross compiling, check that we can run a simple program.
3992 if test "$cross_compiling" != yes; then
3993   if { ac_try='./$ac_file'
3994   { { case "(($ac_try" in
3995   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3996   *) ac_try_echo=$ac_try;;
3997 esac
3998 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3999 $as_echo "$ac_try_echo"; } >&5
4000   (eval "$ac_try") 2>&5
4001   ac_status=$?
4002   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4003   test $ac_status = 0; }; }; then
4004     cross_compiling=no
4005   else
4006     if test "$cross_compiling" = maybe; then
4007         cross_compiling=yes
4008     else
4009         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4010 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4011 as_fn_error "cannot run C compiled programs.
4012 If you meant to cross compile, use \`--host'.
4013 See \`config.log' for more details." "$LINENO" 5; }
4014     fi
4015   fi
4016 fi
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4018 $as_echo "yes" >&6; }
4019
4020 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4021 ac_clean_files=$ac_clean_files_save
4022 # Check that the compiler produces executables we can run.  If not, either
4023 # the compiler is broken, or we cross compile.
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4025 $as_echo_n "checking whether we are cross compiling... " >&6; }
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4027 $as_echo "$cross_compiling" >&6; }
4028
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4030 $as_echo_n "checking for suffix of executables... " >&6; }
4031 if { { ac_try="$ac_link"
4032 case "(($ac_try" in
4033   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4034   *) ac_try_echo=$ac_try;;
4035 esac
4036 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4037 $as_echo "$ac_try_echo"; } >&5
4038   (eval "$ac_link") 2>&5
4039   ac_status=$?
4040   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4041   test $ac_status = 0; }; then :
4042   # If both `conftest.exe' and `conftest' are `present' (well, observable)
4043 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4044 # work properly (i.e., refer to `conftest.exe'), while it won't with
4045 # `rm'.
4046 for ac_file in conftest.exe conftest conftest.*; do
4047   test -f "$ac_file" || continue
4048   case $ac_file in
4049     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4050     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4051           break;;
4052     * ) break;;
4053   esac
4054 done
4055 else
4056   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4057 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4058 as_fn_error "cannot compute suffix of executables: cannot compile and link
4059 See \`config.log' for more details." "$LINENO" 5; }
4060 fi
4061 rm -f conftest$ac_cv_exeext
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4063 $as_echo "$ac_cv_exeext" >&6; }
4064
4065 rm -f conftest.$ac_ext
4066 EXEEXT=$ac_cv_exeext
4067 ac_exeext=$EXEEXT
4068 fi
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4070 $as_echo_n "checking for suffix of object files... " >&6; }
4071 if test "${ac_cv_objext+set}" = set; then :
4072   $as_echo_n "(cached) " >&6
4073 else
4074   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4075 /* end confdefs.h.  */
4076
4077 int
4078 main ()
4079 {
4080
4081   ;
4082   return 0;
4083 }
4084 _ACEOF
4085 rm -f conftest.o conftest.obj
4086 if { { ac_try="$ac_compile"
4087 case "(($ac_try" in
4088   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4089   *) ac_try_echo=$ac_try;;
4090 esac
4091 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4092 $as_echo "$ac_try_echo"; } >&5
4093   (eval "$ac_compile") 2>&5
4094   ac_status=$?
4095   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4096   test $ac_status = 0; }; then :
4097   for ac_file in conftest.o conftest.obj conftest.*; do
4098   test -f "$ac_file" || continue;
4099   case $ac_file in
4100     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4101     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4102        break;;
4103   esac
4104 done
4105 else
4106   $as_echo "$as_me: failed program was:" >&5
4107 sed 's/^/| /' conftest.$ac_ext >&5
4108
4109 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4110 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4111 as_fn_error "cannot compute suffix of object files: cannot compile
4112 See \`config.log' for more details." "$LINENO" 5; }
4113 fi
4114 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4115 fi
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4117 $as_echo "$ac_cv_objext" >&6; }
4118 OBJEXT=$ac_cv_objext
4119 ac_objext=$OBJEXT
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4121 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4122 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4123   $as_echo_n "(cached) " >&6
4124 else
4125   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4126 /* end confdefs.h.  */
4127
4128 int
4129 main ()
4130 {
4131 #ifndef __GNUC__
4132        choke me
4133 #endif
4134
4135   ;
4136   return 0;
4137 }
4138 _ACEOF
4139 if ac_fn_c_try_compile "$LINENO"; then :
4140   ac_compiler_gnu=yes
4141 else
4142   ac_compiler_gnu=no
4143 fi
4144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4145 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4146
4147 fi
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4149 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4150 if test $ac_compiler_gnu = yes; then
4151   GCC=yes
4152 else
4153   GCC=
4154 fi
4155 ac_test_CFLAGS=${CFLAGS+set}
4156 ac_save_CFLAGS=$CFLAGS
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4158 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4159 if test "${ac_cv_prog_cc_g+set}" = set; then :
4160   $as_echo_n "(cached) " >&6
4161 else
4162   ac_save_c_werror_flag=$ac_c_werror_flag
4163    ac_c_werror_flag=yes
4164    ac_cv_prog_cc_g=no
4165    CFLAGS="-g"
4166    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4167 /* end confdefs.h.  */
4168
4169 int
4170 main ()
4171 {
4172
4173   ;
4174   return 0;
4175 }
4176 _ACEOF
4177 if ac_fn_c_try_compile "$LINENO"; then :
4178   ac_cv_prog_cc_g=yes
4179 else
4180   CFLAGS=""
4181       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4182 /* end confdefs.h.  */
4183
4184 int
4185 main ()
4186 {
4187
4188   ;
4189   return 0;
4190 }
4191 _ACEOF
4192 if ac_fn_c_try_compile "$LINENO"; then :
4193
4194 else
4195   ac_c_werror_flag=$ac_save_c_werror_flag
4196          CFLAGS="-g"
4197          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4198 /* end confdefs.h.  */
4199
4200 int
4201 main ()
4202 {
4203
4204   ;
4205   return 0;
4206 }
4207 _ACEOF
4208 if ac_fn_c_try_compile "$LINENO"; then :
4209   ac_cv_prog_cc_g=yes
4210 fi
4211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4212 fi
4213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4214 fi
4215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4216    ac_c_werror_flag=$ac_save_c_werror_flag
4217 fi
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4219 $as_echo "$ac_cv_prog_cc_g" >&6; }
4220 if test "$ac_test_CFLAGS" = set; then
4221   CFLAGS=$ac_save_CFLAGS
4222 elif test $ac_cv_prog_cc_g = yes; then
4223   if test "$GCC" = yes; then
4224     CFLAGS="-g -O2"
4225   else
4226     CFLAGS="-g"
4227   fi
4228 else
4229   if test "$GCC" = yes; then
4230     CFLAGS="-O2"
4231   else
4232     CFLAGS=
4233   fi
4234 fi
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4236 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4237 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4238   $as_echo_n "(cached) " >&6
4239 else
4240   ac_cv_prog_cc_c89=no
4241 ac_save_CC=$CC
4242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4243 /* end confdefs.h.  */
4244 #include <stdarg.h>
4245 #include <stdio.h>
4246 #include <sys/types.h>
4247 #include <sys/stat.h>
4248 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4249 struct buf { int x; };
4250 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4251 static char *e (p, i)
4252      char **p;
4253      int i;
4254 {
4255   return p[i];
4256 }
4257 static char *f (char * (*g) (char **, int), char **p, ...)
4258 {
4259   char *s;
4260   va_list v;
4261   va_start (v,p);
4262   s = g (p, va_arg (v,int));
4263   va_end (v);
4264   return s;
4265 }
4266
4267 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4268    function prototypes and stuff, but not '\xHH' hex character constants.
4269    These don't provoke an error unfortunately, instead are silently treated
4270    as 'x'.  The following induces an error, until -std is added to get
4271    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4272    array size at least.  It's necessary to write '\x00'==0 to get something
4273    that's true only with -std.  */
4274 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4275
4276 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4277    inside strings and character constants.  */
4278 #define FOO(x) 'x'
4279 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4280
4281 int test (int i, double x);
4282 struct s1 {int (*f) (int a);};
4283 struct s2 {int (*f) (double a);};
4284 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4285 int argc;
4286 char **argv;
4287 int
4288 main ()
4289 {
4290 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4291   ;
4292   return 0;
4293 }
4294 _ACEOF
4295 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4296         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4297 do
4298   CC="$ac_save_CC $ac_arg"
4299   if ac_fn_c_try_compile "$LINENO"; then :
4300   ac_cv_prog_cc_c89=$ac_arg
4301 fi
4302 rm -f core conftest.err conftest.$ac_objext
4303   test "x$ac_cv_prog_cc_c89" != "xno" && break
4304 done
4305 rm -f conftest.$ac_ext
4306 CC=$ac_save_CC
4307
4308 fi
4309 # AC_CACHE_VAL
4310 case "x$ac_cv_prog_cc_c89" in
4311   x)
4312     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4313 $as_echo "none needed" >&6; } ;;
4314   xno)
4315     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4316 $as_echo "unsupported" >&6; } ;;
4317   *)
4318     CC="$CC $ac_cv_prog_cc_c89"
4319     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4320 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4321 esac
4322 if test "x$ac_cv_prog_cc_c89" != xno; then :
4323
4324 fi
4325
4326 ac_ext=c
4327 ac_cpp='$CPP $CPPFLAGS'
4328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4331
4332 ac_ext=cpp
4333 ac_cpp='$CXXCPP $CPPFLAGS'
4334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4337 if test -z "$CXX"; then
4338   if test -n "$CCC"; then
4339     CXX=$CCC
4340   else
4341     if test -n "$ac_tool_prefix"; then
4342   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4343   do
4344     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4345 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4347 $as_echo_n "checking for $ac_word... " >&6; }
4348 if test "${ac_cv_prog_CXX+set}" = set; then :
4349   $as_echo_n "(cached) " >&6
4350 else
4351   if test -n "$CXX"; then
4352   ac_cv_prog_CXX="$CXX" # Let the user override the test.
4353 else
4354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4355 for as_dir in $PATH
4356 do
4357   IFS=$as_save_IFS
4358   test -z "$as_dir" && as_dir=.
4359     for ac_exec_ext in '' $ac_executable_extensions; do
4360   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4361     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4362     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4363     break 2
4364   fi
4365 done
4366   done
4367 IFS=$as_save_IFS
4368
4369 fi
4370 fi
4371 CXX=$ac_cv_prog_CXX
4372 if test -n "$CXX"; then
4373   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4374 $as_echo "$CXX" >&6; }
4375 else
4376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4377 $as_echo "no" >&6; }
4378 fi
4379
4380
4381     test -n "$CXX" && break
4382   done
4383 fi
4384 if test -z "$CXX"; then
4385   ac_ct_CXX=$CXX
4386   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4387 do
4388   # Extract the first word of "$ac_prog", so it can be a program name with args.
4389 set dummy $ac_prog; ac_word=$2
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4391 $as_echo_n "checking for $ac_word... " >&6; }
4392 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4393   $as_echo_n "(cached) " >&6
4394 else
4395   if test -n "$ac_ct_CXX"; then
4396   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4397 else
4398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4399 for as_dir in $PATH
4400 do
4401   IFS=$as_save_IFS
4402   test -z "$as_dir" && as_dir=.
4403     for ac_exec_ext in '' $ac_executable_extensions; do
4404   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4405     ac_cv_prog_ac_ct_CXX="$ac_prog"
4406     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4407     break 2
4408   fi
4409 done
4410   done
4411 IFS=$as_save_IFS
4412
4413 fi
4414 fi
4415 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4416 if test -n "$ac_ct_CXX"; then
4417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4418 $as_echo "$ac_ct_CXX" >&6; }
4419 else
4420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4421 $as_echo "no" >&6; }
4422 fi
4423
4424
4425   test -n "$ac_ct_CXX" && break
4426 done
4427
4428   if test "x$ac_ct_CXX" = x; then
4429     CXX="g++"
4430   else
4431     case $cross_compiling:$ac_tool_warned in
4432 yes:)
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4434 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4435 ac_tool_warned=yes ;;
4436 esac
4437     CXX=$ac_ct_CXX
4438   fi
4439 fi
4440
4441   fi
4442 fi
4443 # Provide some information about the compiler.
4444 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4445 set X $ac_compile
4446 ac_compiler=$2
4447 for ac_option in --version -v -V -qversion; do
4448   { { ac_try="$ac_compiler $ac_option >&5"
4449 case "(($ac_try" in
4450   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4451   *) ac_try_echo=$ac_try;;
4452 esac
4453 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4454 $as_echo "$ac_try_echo"; } >&5
4455   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4456   ac_status=$?
4457   if test -s conftest.err; then
4458     sed '10a\
4459 ... rest of stderr output deleted ...
4460          10q' conftest.err >conftest.er1
4461     cat conftest.er1 >&5
4462     rm -f conftest.er1 conftest.err
4463   fi
4464   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4465   test $ac_status = 0; }
4466 done
4467
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4469 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4470 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4471   $as_echo_n "(cached) " >&6
4472 else
4473   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4474 /* end confdefs.h.  */
4475
4476 int
4477 main ()
4478 {
4479 #ifndef __GNUC__
4480        choke me
4481 #endif
4482
4483   ;
4484   return 0;
4485 }
4486 _ACEOF
4487 if ac_fn_cxx_try_compile "$LINENO"; then :
4488   ac_compiler_gnu=yes
4489 else
4490   ac_compiler_gnu=no
4491 fi
4492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4493 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4494
4495 fi
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4497 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4498 if test $ac_compiler_gnu = yes; then
4499   GXX=yes
4500 else
4501   GXX=
4502 fi
4503 ac_test_CXXFLAGS=${CXXFLAGS+set}
4504 ac_save_CXXFLAGS=$CXXFLAGS
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4506 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4507 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4508   $as_echo_n "(cached) " >&6
4509 else
4510   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4511    ac_cxx_werror_flag=yes
4512    ac_cv_prog_cxx_g=no
4513    CXXFLAGS="-g"
4514    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4515 /* end confdefs.h.  */
4516
4517 int
4518 main ()
4519 {
4520
4521   ;
4522   return 0;
4523 }
4524 _ACEOF
4525 if ac_fn_cxx_try_compile "$LINENO"; then :
4526   ac_cv_prog_cxx_g=yes
4527 else
4528   CXXFLAGS=""
4529       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4530 /* end confdefs.h.  */
4531
4532 int
4533 main ()
4534 {
4535
4536   ;
4537   return 0;
4538 }
4539 _ACEOF
4540 if ac_fn_cxx_try_compile "$LINENO"; then :
4541
4542 else
4543   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4544          CXXFLAGS="-g"
4545          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4546 /* end confdefs.h.  */
4547
4548 int
4549 main ()
4550 {
4551
4552   ;
4553   return 0;
4554 }
4555 _ACEOF
4556 if ac_fn_cxx_try_compile "$LINENO"; then :
4557   ac_cv_prog_cxx_g=yes
4558 fi
4559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4560 fi
4561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4562 fi
4563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4564    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4565 fi
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4567 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4568 if test "$ac_test_CXXFLAGS" = set; then
4569   CXXFLAGS=$ac_save_CXXFLAGS
4570 elif test $ac_cv_prog_cxx_g = yes; then
4571   if test "$GXX" = yes; then
4572     CXXFLAGS="-g -O2"
4573   else
4574     CXXFLAGS="-g"
4575   fi
4576 else
4577   if test "$GXX" = yes; then
4578     CXXFLAGS="-O2"
4579   else
4580     CXXFLAGS=
4581   fi
4582 fi
4583 ac_ext=c
4584 ac_cpp='$CPP $CPPFLAGS'
4585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4588
4589 CXXFLAGS="$save_CXXFLAGS"
4590
4591 # Runs configure.host, and assorted other critical bits.  Sets
4592 # up critical shell variables.
4593
4594 ac_ext=c
4595 ac_cpp='$CPP $CPPFLAGS'
4596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4600 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4601 # On Suns, sometimes $CPP names a directory.
4602 if test -n "$CPP" && test -d "$CPP"; then
4603   CPP=
4604 fi
4605 if test -z "$CPP"; then
4606   if test "${ac_cv_prog_CPP+set}" = set; then :
4607   $as_echo_n "(cached) " >&6
4608 else
4609       # Double quotes because CPP needs to be expanded
4610     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4611     do
4612       ac_preproc_ok=false
4613 for ac_c_preproc_warn_flag in '' yes
4614 do
4615   # Use a header file that comes with gcc, so configuring glibc
4616   # with a fresh cross-compiler works.
4617   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4618   # <limits.h> exists even on freestanding compilers.
4619   # On the NeXT, cc -E runs the code through the compiler's parser,
4620   # not just through cpp. "Syntax error" is here to catch this case.
4621   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4622 /* end confdefs.h.  */
4623 #ifdef __STDC__
4624 # include <limits.h>
4625 #else
4626 # include <assert.h>
4627 #endif
4628                      Syntax error
4629 _ACEOF
4630 if ac_fn_c_try_cpp "$LINENO"; then :
4631
4632 else
4633   # Broken: fails on valid input.
4634 continue
4635 fi
4636 rm -f conftest.err conftest.$ac_ext
4637
4638   # OK, works on sane cases.  Now check whether nonexistent headers
4639   # can be detected and how.
4640   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4641 /* end confdefs.h.  */
4642 #include <ac_nonexistent.h>
4643 _ACEOF
4644 if ac_fn_c_try_cpp "$LINENO"; then :
4645   # Broken: success on invalid input.
4646 continue
4647 else
4648   # Passes both tests.
4649 ac_preproc_ok=:
4650 break
4651 fi
4652 rm -f conftest.err conftest.$ac_ext
4653
4654 done
4655 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4656 rm -f conftest.err conftest.$ac_ext
4657 if $ac_preproc_ok; then :
4658   break
4659 fi
4660
4661     done
4662     ac_cv_prog_CPP=$CPP
4663
4664 fi
4665   CPP=$ac_cv_prog_CPP
4666 else
4667   ac_cv_prog_CPP=$CPP
4668 fi
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4670 $as_echo "$CPP" >&6; }
4671 ac_preproc_ok=false
4672 for ac_c_preproc_warn_flag in '' yes
4673 do
4674   # Use a header file that comes with gcc, so configuring glibc
4675   # with a fresh cross-compiler works.
4676   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4677   # <limits.h> exists even on freestanding compilers.
4678   # On the NeXT, cc -E runs the code through the compiler's parser,
4679   # not just through cpp. "Syntax error" is here to catch this case.
4680   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4681 /* end confdefs.h.  */
4682 #ifdef __STDC__
4683 # include <limits.h>
4684 #else
4685 # include <assert.h>
4686 #endif
4687                      Syntax error
4688 _ACEOF
4689 if ac_fn_c_try_cpp "$LINENO"; then :
4690
4691 else
4692   # Broken: fails on valid input.
4693 continue
4694 fi
4695 rm -f conftest.err conftest.$ac_ext
4696
4697   # OK, works on sane cases.  Now check whether nonexistent headers
4698   # can be detected and how.
4699   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4700 /* end confdefs.h.  */
4701 #include <ac_nonexistent.h>
4702 _ACEOF
4703 if ac_fn_c_try_cpp "$LINENO"; then :
4704   # Broken: success on invalid input.
4705 continue
4706 else
4707   # Passes both tests.
4708 ac_preproc_ok=:
4709 break
4710 fi
4711 rm -f conftest.err conftest.$ac_ext
4712
4713 done
4714 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4715 rm -f conftest.err conftest.$ac_ext
4716 if $ac_preproc_ok; then :
4717
4718 else
4719   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4720 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4721 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4722 See \`config.log' for more details." "$LINENO" 5; }
4723 fi
4724
4725 ac_ext=c
4726 ac_cpp='$CPP $CPPFLAGS'
4727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4730
4731
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4733 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4734 if test "${ac_cv_path_GREP+set}" = set; then :
4735   $as_echo_n "(cached) " >&6
4736 else
4737   if test -z "$GREP"; then
4738   ac_path_GREP_found=false
4739   # Loop through the user's path and test for each of PROGNAME-LIST
4740   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4741 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4742 do
4743   IFS=$as_save_IFS
4744   test -z "$as_dir" && as_dir=.
4745     for ac_prog in grep ggrep; do
4746     for ac_exec_ext in '' $ac_executable_extensions; do
4747       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4748       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4749 # Check for GNU ac_path_GREP and select it if it is found.
4750   # Check for GNU $ac_path_GREP
4751 case `"$ac_path_GREP" --version 2>&1` in
4752 *GNU*)
4753   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4754 *)
4755   ac_count=0
4756   $as_echo_n 0123456789 >"conftest.in"
4757   while :
4758   do
4759     cat "conftest.in" "conftest.in" >"conftest.tmp"
4760     mv "conftest.tmp" "conftest.in"
4761     cp "conftest.in" "conftest.nl"
4762     $as_echo 'GREP' >> "conftest.nl"
4763     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4764     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4765     as_fn_arith $ac_count + 1 && ac_count=$as_val
4766     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4767       # Best one so far, save it but keep looking for a better one
4768       ac_cv_path_GREP="$ac_path_GREP"
4769       ac_path_GREP_max=$ac_count
4770     fi
4771     # 10*(2^10) chars as input seems more than enough
4772     test $ac_count -gt 10 && break
4773   done
4774   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4775 esac
4776
4777       $ac_path_GREP_found && break 3
4778     done
4779   done
4780   done
4781 IFS=$as_save_IFS
4782   if test -z "$ac_cv_path_GREP"; then
4783     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4784   fi
4785 else
4786   ac_cv_path_GREP=$GREP
4787 fi
4788
4789 fi
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4791 $as_echo "$ac_cv_path_GREP" >&6; }
4792  GREP="$ac_cv_path_GREP"
4793
4794
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4796 $as_echo_n "checking for egrep... " >&6; }
4797 if test "${ac_cv_path_EGREP+set}" = set; then :
4798   $as_echo_n "(cached) " >&6
4799 else
4800   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4801    then ac_cv_path_EGREP="$GREP -E"
4802    else
4803      if test -z "$EGREP"; then
4804   ac_path_EGREP_found=false
4805   # Loop through the user's path and test for each of PROGNAME-LIST
4806   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4807 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4808 do
4809   IFS=$as_save_IFS
4810   test -z "$as_dir" && as_dir=.
4811     for ac_prog in egrep; do
4812     for ac_exec_ext in '' $ac_executable_extensions; do
4813       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4814       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4815 # Check for GNU ac_path_EGREP and select it if it is found.
4816   # Check for GNU $ac_path_EGREP
4817 case `"$ac_path_EGREP" --version 2>&1` in
4818 *GNU*)
4819   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4820 *)
4821   ac_count=0
4822   $as_echo_n 0123456789 >"conftest.in"
4823   while :
4824   do
4825     cat "conftest.in" "conftest.in" >"conftest.tmp"
4826     mv "conftest.tmp" "conftest.in"
4827     cp "conftest.in" "conftest.nl"
4828     $as_echo 'EGREP' >> "conftest.nl"
4829     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4830     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4831     as_fn_arith $ac_count + 1 && ac_count=$as_val
4832     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4833       # Best one so far, save it but keep looking for a better one
4834       ac_cv_path_EGREP="$ac_path_EGREP"
4835       ac_path_EGREP_max=$ac_count
4836     fi
4837     # 10*(2^10) chars as input seems more than enough
4838     test $ac_count -gt 10 && break
4839   done
4840   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4841 esac
4842
4843       $ac_path_EGREP_found && break 3
4844     done
4845   done
4846   done
4847 IFS=$as_save_IFS
4848   if test -z "$ac_cv_path_EGREP"; then
4849     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4850   fi
4851 else
4852   ac_cv_path_EGREP=$EGREP
4853 fi
4854
4855    fi
4856 fi
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4858 $as_echo "$ac_cv_path_EGREP" >&6; }
4859  EGREP="$ac_cv_path_EGREP"
4860
4861
4862
4863   # Keep these sync'd with the list in Makefile.am.  The first provides an
4864   # expandable list at autoconf time; the second provides an expandable list
4865   # (i.e., shell variable) at configure time.
4866
4867   SUBDIRS='include libsupc++ python src doc po testsuite'
4868
4869   # These need to be absolute paths, yet at the same time need to
4870   # canonicalize only relative paths, because then amd will not unmount
4871   # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4872   glibcxx_builddir=`${PWDCMD-pwd}`
4873   case $srcdir in
4874     \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4875     *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4876   esac
4877   toplevel_srcdir=${glibcxx_srcdir}/..
4878
4879
4880
4881
4882   # We use these options to decide which functions to include.  They are
4883   # set from the top level.
4884
4885 # Check whether --with-target-subdir was given.
4886 if test "${with_target_subdir+set}" = set; then :
4887   withval=$with_target_subdir;
4888 fi
4889
4890
4891
4892 # Check whether --with-cross-host was given.
4893 if test "${with_cross_host+set}" = set; then :
4894   withval=$with_cross_host;
4895 fi
4896
4897
4898
4899 # Check whether --with-newlib was given.
4900 if test "${with_newlib+set}" = set; then :
4901   withval=$with_newlib;
4902 fi
4903
4904
4905   # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4906   # available).  Uncomment the next line to force a particular method.
4907   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4908 $as_echo_n "checking whether ln -s works... " >&6; }
4909 LN_S=$as_ln_s
4910 if test "$LN_S" = "ln -s"; then
4911   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4912 $as_echo "yes" >&6; }
4913 else
4914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4915 $as_echo "no, using $LN_S" >&6; }
4916 fi
4917
4918   #LN_S='cp -p'
4919
4920   if test -n "$ac_tool_prefix"; then
4921   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4922 set dummy ${ac_tool_prefix}as; ac_word=$2
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4924 $as_echo_n "checking for $ac_word... " >&6; }
4925 if test "${ac_cv_prog_AS+set}" = set; then :
4926   $as_echo_n "(cached) " >&6
4927 else
4928   if test -n "$AS"; then
4929   ac_cv_prog_AS="$AS" # Let the user override the test.
4930 else
4931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4932 for as_dir in $PATH
4933 do
4934   IFS=$as_save_IFS
4935   test -z "$as_dir" && as_dir=.
4936     for ac_exec_ext in '' $ac_executable_extensions; do
4937   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4938     ac_cv_prog_AS="${ac_tool_prefix}as"
4939     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4940     break 2
4941   fi
4942 done
4943   done
4944 IFS=$as_save_IFS
4945
4946 fi
4947 fi
4948 AS=$ac_cv_prog_AS
4949 if test -n "$AS"; then
4950   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4951 $as_echo "$AS" >&6; }
4952 else
4953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4954 $as_echo "no" >&6; }
4955 fi
4956
4957
4958 fi
4959 if test -z "$ac_cv_prog_AS"; then
4960   ac_ct_AS=$AS
4961   # Extract the first word of "as", so it can be a program name with args.
4962 set dummy as; ac_word=$2
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4964 $as_echo_n "checking for $ac_word... " >&6; }
4965 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4966   $as_echo_n "(cached) " >&6
4967 else
4968   if test -n "$ac_ct_AS"; then
4969   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4970 else
4971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4972 for as_dir in $PATH
4973 do
4974   IFS=$as_save_IFS
4975   test -z "$as_dir" && as_dir=.
4976     for ac_exec_ext in '' $ac_executable_extensions; do
4977   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4978     ac_cv_prog_ac_ct_AS="as"
4979     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4980     break 2
4981   fi
4982 done
4983   done
4984 IFS=$as_save_IFS
4985
4986 fi
4987 fi
4988 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4989 if test -n "$ac_ct_AS"; then
4990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4991 $as_echo "$ac_ct_AS" >&6; }
4992 else
4993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4994 $as_echo "no" >&6; }
4995 fi
4996
4997   if test "x$ac_ct_AS" = x; then
4998     AS=""
4999   else
5000     case $cross_compiling:$ac_tool_warned in
5001 yes:)
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5003 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5004 ac_tool_warned=yes ;;
5005 esac
5006     AS=$ac_ct_AS
5007   fi
5008 else
5009   AS="$ac_cv_prog_AS"
5010 fi
5011
5012   if test -n "$ac_tool_prefix"; then
5013   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5014 set dummy ${ac_tool_prefix}ar; ac_word=$2
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5016 $as_echo_n "checking for $ac_word... " >&6; }
5017 if test "${ac_cv_prog_AR+set}" = set; then :
5018   $as_echo_n "(cached) " >&6
5019 else
5020   if test -n "$AR"; then
5021   ac_cv_prog_AR="$AR" # Let the user override the test.
5022 else
5023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5024 for as_dir in $PATH
5025 do
5026   IFS=$as_save_IFS
5027   test -z "$as_dir" && as_dir=.
5028     for ac_exec_ext in '' $ac_executable_extensions; do
5029   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5030     ac_cv_prog_AR="${ac_tool_prefix}ar"
5031     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5032     break 2
5033   fi
5034 done
5035   done
5036 IFS=$as_save_IFS
5037
5038 fi
5039 fi
5040 AR=$ac_cv_prog_AR
5041 if test -n "$AR"; then
5042   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5043 $as_echo "$AR" >&6; }
5044 else
5045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5046 $as_echo "no" >&6; }
5047 fi
5048
5049
5050 fi
5051 if test -z "$ac_cv_prog_AR"; then
5052   ac_ct_AR=$AR
5053   # Extract the first word of "ar", so it can be a program name with args.
5054 set dummy ar; ac_word=$2
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5056 $as_echo_n "checking for $ac_word... " >&6; }
5057 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5058   $as_echo_n "(cached) " >&6
5059 else
5060   if test -n "$ac_ct_AR"; then
5061   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5062 else
5063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5064 for as_dir in $PATH
5065 do
5066   IFS=$as_save_IFS
5067   test -z "$as_dir" && as_dir=.
5068     for ac_exec_ext in '' $ac_executable_extensions; do
5069   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5070     ac_cv_prog_ac_ct_AR="ar"
5071     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5072     break 2
5073   fi
5074 done
5075   done
5076 IFS=$as_save_IFS
5077
5078 fi
5079 fi
5080 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5081 if test -n "$ac_ct_AR"; then
5082   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5083 $as_echo "$ac_ct_AR" >&6; }
5084 else
5085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5086 $as_echo "no" >&6; }
5087 fi
5088
5089   if test "x$ac_ct_AR" = x; then
5090     AR=""
5091   else
5092     case $cross_compiling:$ac_tool_warned in
5093 yes:)
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5095 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5096 ac_tool_warned=yes ;;
5097 esac
5098     AR=$ac_ct_AR
5099   fi
5100 else
5101   AR="$ac_cv_prog_AR"
5102 fi
5103
5104   if test -n "$ac_tool_prefix"; then
5105   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5106 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5108 $as_echo_n "checking for $ac_word... " >&6; }
5109 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5110   $as_echo_n "(cached) " >&6
5111 else
5112   if test -n "$RANLIB"; then
5113   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5114 else
5115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5116 for as_dir in $PATH
5117 do
5118   IFS=$as_save_IFS
5119   test -z "$as_dir" && as_dir=.
5120     for ac_exec_ext in '' $ac_executable_extensions; do
5121   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5122     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5123     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5124     break 2
5125   fi
5126 done
5127   done
5128 IFS=$as_save_IFS
5129
5130 fi
5131 fi
5132 RANLIB=$ac_cv_prog_RANLIB
5133 if test -n "$RANLIB"; then
5134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5135 $as_echo "$RANLIB" >&6; }
5136 else
5137   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5138 $as_echo "no" >&6; }
5139 fi
5140
5141
5142 fi
5143 if test -z "$ac_cv_prog_RANLIB"; then
5144   ac_ct_RANLIB=$RANLIB
5145   # Extract the first word of "ranlib", so it can be a program name with args.
5146 set dummy ranlib; ac_word=$2
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5148 $as_echo_n "checking for $ac_word... " >&6; }
5149 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5150   $as_echo_n "(cached) " >&6
5151 else
5152   if test -n "$ac_ct_RANLIB"; then
5153   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5154 else
5155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5156 for as_dir in $PATH
5157 do
5158   IFS=$as_save_IFS
5159   test -z "$as_dir" && as_dir=.
5160     for ac_exec_ext in '' $ac_executable_extensions; do
5161   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5162     ac_cv_prog_ac_ct_RANLIB="ranlib"
5163     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5164     break 2
5165   fi
5166 done
5167   done
5168 IFS=$as_save_IFS
5169
5170 fi
5171 fi
5172 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5173 if test -n "$ac_ct_RANLIB"; then
5174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5175 $as_echo "$ac_ct_RANLIB" >&6; }
5176 else
5177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5178 $as_echo "no" >&6; }
5179 fi
5180
5181   if test "x$ac_ct_RANLIB" = x; then
5182     RANLIB="ranlib-not-found-in-path-error"
5183   else
5184     case $cross_compiling:$ac_tool_warned in
5185 yes:)
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5187 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5188 ac_tool_warned=yes ;;
5189 esac
5190     RANLIB=$ac_ct_RANLIB
5191   fi
5192 else
5193   RANLIB="$ac_cv_prog_RANLIB"
5194 fi
5195
5196
5197
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5199 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5200     # Check whether --enable-maintainer-mode was given.
5201 if test "${enable_maintainer_mode+set}" = set; then :
5202   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5203 else
5204   USE_MAINTAINER_MODE=no
5205 fi
5206
5207   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5208 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5209    if test $USE_MAINTAINER_MODE = yes; then
5210   MAINTAINER_MODE_TRUE=
5211   MAINTAINER_MODE_FALSE='#'
5212 else
5213   MAINTAINER_MODE_TRUE='#'
5214   MAINTAINER_MODE_FALSE=
5215 fi
5216
5217   MAINT=$MAINTAINER_MODE_TRUE
5218
5219
5220
5221   # Set up safe default values for all subsequent AM_CONDITIONAL tests
5222   # which are themselves conditionally expanded.
5223   ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5224   ## other macros from doing the same.  This should be automated.)  -pme
5225
5226   # Check for C library flavor since Linux platforms use different configuration
5227   # directories depending on the C library in use.
5228   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5229 /* end confdefs.h.  */
5230
5231   #include <stdio.h>
5232   #if __UCLIBC__
5233     _using_uclibc
5234   #endif
5235
5236 _ACEOF
5237 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5238   $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5239   uclibc=yes
5240 else
5241   uclibc=no
5242 fi
5243 rm -f conftest*
5244
5245
5246   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5247 /* end confdefs.h.  */
5248
5249   #include <stdio.h>
5250   #if __BIONIC__
5251     _using_bionic
5252   #endif
5253
5254 _ACEOF
5255 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5256   $EGREP "_using_bionic" >/dev/null 2>&1; then :
5257   bionic=yes
5258 else
5259   bionic=no
5260 fi
5261 rm -f conftest*
5262
5263
5264   # Find platform-specific directories containing configuration info.
5265   # Also possibly modify flags used elsewhere, as needed by the platform.
5266
5267   . $glibcxx_srcdir/configure.host
5268   { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5269 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5270   { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5271 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5272
5273
5274
5275 if test "x${with_newlib}" != "xyes"; then
5276   enable_dlopen=yes
5277
5278
5279
5280 fi
5281 case `pwd` in
5282   *\ * | *\     *)
5283     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5284 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5285 esac
5286
5287
5288
5289 macro_version='2.2.7a'
5290 macro_revision='1.3134'
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304 ltmain="$ac_aux_dir/ltmain.sh"
5305
5306 # Backslashify metacharacters that are still active within
5307 # double-quoted strings.
5308 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5309
5310 # Same as above, but do not quote variable references.
5311 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5312
5313 # Sed substitution to delay expansion of an escaped shell variable in a
5314 # double_quote_subst'ed string.
5315 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5316
5317 # Sed substitution to delay expansion of an escaped single quote.
5318 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5319
5320 # Sed substitution to avoid accidental globbing in evaled expressions
5321 no_glob_subst='s/\*/\\\*/g'
5322
5323 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5324 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5325 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5326
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5328 $as_echo_n "checking how to print strings... " >&6; }
5329 # Test print first, because it will be a builtin if present.
5330 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5331    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5332   ECHO='print -r --'
5333 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5334   ECHO='printf %s\n'
5335 else
5336   # Use this function as a fallback that always works.
5337   func_fallback_echo ()
5338   {
5339     eval 'cat <<_LTECHO_EOF
5340 $1
5341 _LTECHO_EOF'
5342   }
5343   ECHO='func_fallback_echo'
5344 fi
5345
5346 # func_echo_all arg...
5347 # Invoke $ECHO with all args, space-separated.
5348 func_echo_all ()
5349 {
5350     $ECHO ""
5351 }
5352
5353 case "$ECHO" in
5354   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5355 $as_echo "printf" >&6; } ;;
5356   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5357 $as_echo "print -r" >&6; } ;;
5358   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5359 $as_echo "cat" >&6; } ;;
5360 esac
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5376 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5377 if test "${ac_cv_path_SED+set}" = set; then :
5378   $as_echo_n "(cached) " >&6
5379 else
5380             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5381      for ac_i in 1 2 3 4 5 6 7; do
5382        ac_script="$ac_script$as_nl$ac_script"
5383      done
5384      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5385      { ac_script=; unset ac_script;}
5386      if test -z "$SED"; then
5387   ac_path_SED_found=false
5388   # Loop through the user's path and test for each of PROGNAME-LIST
5389   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5390 for as_dir in $PATH
5391 do
5392   IFS=$as_save_IFS
5393   test -z "$as_dir" && as_dir=.
5394     for ac_prog in sed gsed; do
5395     for ac_exec_ext in '' $ac_executable_extensions; do
5396       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5397       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5398 # Check for GNU ac_path_SED and select it if it is found.
5399   # Check for GNU $ac_path_SED
5400 case `"$ac_path_SED" --version 2>&1` in
5401 *GNU*)
5402   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5403 *)
5404   ac_count=0
5405   $as_echo_n 0123456789 >"conftest.in"
5406   while :
5407   do
5408     cat "conftest.in" "conftest.in" >"conftest.tmp"
5409     mv "conftest.tmp" "conftest.in"
5410     cp "conftest.in" "conftest.nl"
5411     $as_echo '' >> "conftest.nl"
5412     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5413     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5414     as_fn_arith $ac_count + 1 && ac_count=$as_val
5415     if test $ac_count -gt ${ac_path_SED_max-0}; then
5416       # Best one so far, save it but keep looking for a better one
5417       ac_cv_path_SED="$ac_path_SED"
5418       ac_path_SED_max=$ac_count
5419     fi
5420     # 10*(2^10) chars as input seems more than enough
5421     test $ac_count -gt 10 && break
5422   done
5423   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5424 esac
5425
5426       $ac_path_SED_found && break 3
5427     done
5428   done
5429   done
5430 IFS=$as_save_IFS
5431   if test -z "$ac_cv_path_SED"; then
5432     as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5433   fi
5434 else
5435   ac_cv_path_SED=$SED
5436 fi
5437
5438 fi
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5440 $as_echo "$ac_cv_path_SED" >&6; }
5441  SED="$ac_cv_path_SED"
5442   rm -f conftest.sed
5443
5444 test -z "$SED" && SED=sed
5445 Xsed="$SED -e 1s/^X//"
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5458 $as_echo_n "checking for fgrep... " >&6; }
5459 if test "${ac_cv_path_FGREP+set}" = set; then :
5460   $as_echo_n "(cached) " >&6
5461 else
5462   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5463    then ac_cv_path_FGREP="$GREP -F"
5464    else
5465      if test -z "$FGREP"; then
5466   ac_path_FGREP_found=false
5467   # Loop through the user's path and test for each of PROGNAME-LIST
5468   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5469 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5470 do
5471   IFS=$as_save_IFS
5472   test -z "$as_dir" && as_dir=.
5473     for ac_prog in fgrep; do
5474     for ac_exec_ext in '' $ac_executable_extensions; do
5475       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5476       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5477 # Check for GNU ac_path_FGREP and select it if it is found.
5478   # Check for GNU $ac_path_FGREP
5479 case `"$ac_path_FGREP" --version 2>&1` in
5480 *GNU*)
5481   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5482 *)
5483   ac_count=0
5484   $as_echo_n 0123456789 >"conftest.in"
5485   while :
5486   do
5487     cat "conftest.in" "conftest.in" >"conftest.tmp"
5488     mv "conftest.tmp" "conftest.in"
5489     cp "conftest.in" "conftest.nl"
5490     $as_echo 'FGREP' >> "conftest.nl"
5491     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5492     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5493     as_fn_arith $ac_count + 1 && ac_count=$as_val
5494     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5495       # Best one so far, save it but keep looking for a better one
5496       ac_cv_path_FGREP="$ac_path_FGREP"
5497       ac_path_FGREP_max=$ac_count
5498     fi
5499     # 10*(2^10) chars as input seems more than enough
5500     test $ac_count -gt 10 && break
5501   done
5502   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5503 esac
5504
5505       $ac_path_FGREP_found && break 3
5506     done
5507   done
5508   done
5509 IFS=$as_save_IFS
5510   if test -z "$ac_cv_path_FGREP"; then
5511     as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5512   fi
5513 else
5514   ac_cv_path_FGREP=$FGREP
5515 fi
5516
5517    fi
5518 fi
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5520 $as_echo "$ac_cv_path_FGREP" >&6; }
5521  FGREP="$ac_cv_path_FGREP"
5522
5523
5524 test -z "$GREP" && GREP=grep
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544 # Check whether --with-gnu-ld was given.
5545 if test "${with_gnu_ld+set}" = set; then :
5546   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5547 else
5548   with_gnu_ld=no
5549 fi
5550
5551 ac_prog=ld
5552 if test "$GCC" = yes; then
5553   # Check if gcc -print-prog-name=ld gives a path.
5554   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5555 $as_echo_n "checking for ld used by $CC... " >&6; }
5556   case $host in
5557   *-*-mingw*)
5558     # gcc leaves a trailing carriage return which upsets mingw
5559     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5560   *)
5561     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5562   esac
5563   case $ac_prog in
5564     # Accept absolute paths.
5565     [\\/]* | ?:[\\/]*)
5566       re_direlt='/[^/][^/]*/\.\./'
5567       # Canonicalize the pathname of ld
5568       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5569       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5570         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5571       done
5572       test -z "$LD" && LD="$ac_prog"
5573       ;;
5574   "")
5575     # If it fails, then pretend we aren't using GCC.
5576     ac_prog=ld
5577     ;;
5578   *)
5579     # If it is relative, then search for the first ld in PATH.
5580     with_gnu_ld=unknown
5581     ;;
5582   esac
5583 elif test "$with_gnu_ld" = yes; then
5584   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5585 $as_echo_n "checking for GNU ld... " >&6; }
5586 else
5587   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5588 $as_echo_n "checking for non-GNU ld... " >&6; }
5589 fi
5590 if test "${lt_cv_path_LD+set}" = set; then :
5591   $as_echo_n "(cached) " >&6
5592 else
5593   if test -z "$LD"; then
5594   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5595   for ac_dir in $PATH; do
5596     IFS="$lt_save_ifs"
5597     test -z "$ac_dir" && ac_dir=.
5598     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5599       lt_cv_path_LD="$ac_dir/$ac_prog"
5600       # Check to see if the program is GNU ld.  I'd rather use --version,
5601       # but apparently some variants of GNU ld only accept -v.
5602       # Break only if it was the GNU/non-GNU ld that we prefer.
5603       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5604       *GNU* | *'with BFD'*)
5605         test "$with_gnu_ld" != no && break
5606         ;;
5607       *)
5608         test "$with_gnu_ld" != yes && break
5609         ;;
5610       esac
5611     fi
5612   done
5613   IFS="$lt_save_ifs"
5614 else
5615   lt_cv_path_LD="$LD" # Let the user override the test with a path.
5616 fi
5617 fi
5618
5619 LD="$lt_cv_path_LD"
5620 if test -n "$LD"; then
5621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5622 $as_echo "$LD" >&6; }
5623 else
5624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5625 $as_echo "no" >&6; }
5626 fi
5627 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5629 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5630 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5631   $as_echo_n "(cached) " >&6
5632 else
5633   # I'd rather use --version here, but apparently some GNU lds only accept -v.
5634 case `$LD -v 2>&1 </dev/null` in
5635 *GNU* | *'with BFD'*)
5636   lt_cv_prog_gnu_ld=yes
5637   ;;
5638 *)
5639   lt_cv_prog_gnu_ld=no
5640   ;;
5641 esac
5642 fi
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5644 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5645 with_gnu_ld=$lt_cv_prog_gnu_ld
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5656 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5657 if test "${lt_cv_path_NM+set}" = set; then :
5658   $as_echo_n "(cached) " >&6
5659 else
5660   if test -n "$NM"; then
5661   # Let the user override the test.
5662   lt_cv_path_NM="$NM"
5663 else
5664   lt_nm_to_check="${ac_tool_prefix}nm"
5665   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5666     lt_nm_to_check="$lt_nm_to_check nm"
5667   fi
5668   for lt_tmp_nm in $lt_nm_to_check; do
5669     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5670     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5671       IFS="$lt_save_ifs"
5672       test -z "$ac_dir" && ac_dir=.
5673       tmp_nm="$ac_dir/$lt_tmp_nm"
5674       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5675         # Check to see if the nm accepts a BSD-compat flag.
5676         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5677         #   nm: unknown option "B" ignored
5678         # Tru64's nm complains that /dev/null is an invalid object file
5679         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5680         */dev/null* | *'Invalid file or object type'*)
5681           lt_cv_path_NM="$tmp_nm -B"
5682           break
5683           ;;
5684         *)
5685           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5686           */dev/null*)
5687             lt_cv_path_NM="$tmp_nm -p"
5688             break
5689             ;;
5690           *)
5691             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5692             continue # so that we can try to find one that supports BSD flags
5693             ;;
5694           esac
5695           ;;
5696         esac
5697       fi
5698     done
5699     IFS="$lt_save_ifs"
5700   done
5701   : ${lt_cv_path_NM=no}
5702 fi
5703 fi
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5705 $as_echo "$lt_cv_path_NM" >&6; }
5706 if test "$lt_cv_path_NM" != "no"; then
5707   NM="$lt_cv_path_NM"
5708 else
5709   # Didn't find any BSD compatible name lister, look for dumpbin.
5710   if test -n "$DUMPBIN"; then :
5711     # Let the user override the test.
5712   else
5713     if test -n "$ac_tool_prefix"; then
5714   for ac_prog in dumpbin "link -dump"
5715   do
5716     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5717 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5719 $as_echo_n "checking for $ac_word... " >&6; }
5720 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5721   $as_echo_n "(cached) " >&6
5722 else
5723   if test -n "$DUMPBIN"; then
5724   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5725 else
5726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5727 for as_dir in $PATH
5728 do
5729   IFS=$as_save_IFS
5730   test -z "$as_dir" && as_dir=.
5731     for ac_exec_ext in '' $ac_executable_extensions; do
5732   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5733     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5734     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5735     break 2
5736   fi
5737 done
5738   done
5739 IFS=$as_save_IFS
5740
5741 fi
5742 fi
5743 DUMPBIN=$ac_cv_prog_DUMPBIN
5744 if test -n "$DUMPBIN"; then
5745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5746 $as_echo "$DUMPBIN" >&6; }
5747 else
5748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5749 $as_echo "no" >&6; }
5750 fi
5751
5752
5753     test -n "$DUMPBIN" && break
5754   done
5755 fi
5756 if test -z "$DUMPBIN"; then
5757   ac_ct_DUMPBIN=$DUMPBIN
5758   for ac_prog in dumpbin "link -dump"
5759 do
5760   # Extract the first word of "$ac_prog", so it can be a program name with args.
5761 set dummy $ac_prog; ac_word=$2
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5763 $as_echo_n "checking for $ac_word... " >&6; }
5764 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5765   $as_echo_n "(cached) " >&6
5766 else
5767   if test -n "$ac_ct_DUMPBIN"; then
5768   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5769 else
5770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5771 for as_dir in $PATH
5772 do
5773   IFS=$as_save_IFS
5774   test -z "$as_dir" && as_dir=.
5775     for ac_exec_ext in '' $ac_executable_extensions; do
5776   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5777     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5778     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5779     break 2
5780   fi
5781 done
5782   done
5783 IFS=$as_save_IFS
5784
5785 fi
5786 fi
5787 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5788 if test -n "$ac_ct_DUMPBIN"; then
5789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5790 $as_echo "$ac_ct_DUMPBIN" >&6; }
5791 else
5792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5793 $as_echo "no" >&6; }
5794 fi
5795
5796
5797   test -n "$ac_ct_DUMPBIN" && break
5798 done
5799
5800   if test "x$ac_ct_DUMPBIN" = x; then
5801     DUMPBIN=":"
5802   else
5803     case $cross_compiling:$ac_tool_warned in
5804 yes:)
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5806 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5807 ac_tool_warned=yes ;;
5808 esac
5809     DUMPBIN=$ac_ct_DUMPBIN
5810   fi
5811 fi
5812
5813     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5814     *COFF*)
5815       DUMPBIN="$DUMPBIN -symbols"
5816       ;;
5817     *)
5818       DUMPBIN=:
5819       ;;
5820     esac
5821   fi
5822
5823   if test "$DUMPBIN" != ":"; then
5824     NM="$DUMPBIN"
5825   fi
5826 fi
5827 test -z "$NM" && NM=nm
5828
5829
5830
5831
5832
5833
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5835 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5836 if test "${lt_cv_nm_interface+set}" = set; then :
5837   $as_echo_n "(cached) " >&6
5838 else
5839   lt_cv_nm_interface="BSD nm"
5840   echo "int some_variable = 0;" > conftest.$ac_ext
5841   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5842   (eval "$ac_compile" 2>conftest.err)
5843   cat conftest.err >&5
5844   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5845   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5846   cat conftest.err >&5
5847   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5848   cat conftest.out >&5
5849   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5850     lt_cv_nm_interface="MS dumpbin"
5851   fi
5852   rm -f conftest*
5853 fi
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5855 $as_echo "$lt_cv_nm_interface" >&6; }
5856
5857 # find the maximum length of command line arguments
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5859 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5860 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5861   $as_echo_n "(cached) " >&6
5862 else
5863     i=0
5864   teststring="ABCD"
5865
5866   case $build_os in
5867   msdosdjgpp*)
5868     # On DJGPP, this test can blow up pretty badly due to problems in libc
5869     # (any single argument exceeding 2000 bytes causes a buffer overrun
5870     # during glob expansion).  Even if it were fixed, the result of this
5871     # check would be larger than it should be.
5872     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5873     ;;
5874
5875   gnu*)
5876     # Under GNU Hurd, this test is not required because there is
5877     # no limit to the length of command line arguments.
5878     # Libtool will interpret -1 as no limit whatsoever
5879     lt_cv_sys_max_cmd_len=-1;
5880     ;;
5881
5882   cygwin* | mingw* | cegcc*)
5883     # On Win9x/ME, this test blows up -- it succeeds, but takes
5884     # about 5 minutes as the teststring grows exponentially.
5885     # Worse, since 9x/ME are not pre-emptively multitasking,
5886     # you end up with a "frozen" computer, even though with patience
5887     # the test eventually succeeds (with a max line length of 256k).
5888     # Instead, let's just punt: use the minimum linelength reported by
5889     # all of the supported platforms: 8192 (on NT/2K/XP).
5890     lt_cv_sys_max_cmd_len=8192;
5891     ;;
5892
5893   mint*)
5894     # On MiNT this can take a long time and run out of memory.
5895     lt_cv_sys_max_cmd_len=8192;
5896     ;;
5897
5898   amigaos*)
5899     # On AmigaOS with pdksh, this test takes hours, literally.
5900     # So we just punt and use a minimum line length of 8192.
5901     lt_cv_sys_max_cmd_len=8192;
5902     ;;
5903
5904   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5905     # This has been around since 386BSD, at least.  Likely further.
5906     if test -x /sbin/sysctl; then
5907       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5908     elif test -x /usr/sbin/sysctl; then
5909       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5910     else
5911       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5912     fi
5913     # And add a safety zone
5914     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5915     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5916     ;;
5917
5918   interix*)
5919     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5920     lt_cv_sys_max_cmd_len=196608
5921     ;;
5922
5923   osf*)
5924     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5925     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5926     # nice to cause kernel panics so lets avoid the loop below.
5927     # First set a reasonable default.
5928     lt_cv_sys_max_cmd_len=16384
5929     #
5930     if test -x /sbin/sysconfig; then
5931       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5932         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5933       esac
5934     fi
5935     ;;
5936   sco3.2v5*)
5937     lt_cv_sys_max_cmd_len=102400
5938     ;;
5939   sysv5* | sco5v6* | sysv4.2uw2*)
5940     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5941     if test -n "$kargmax"; then
5942       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5943     else
5944       lt_cv_sys_max_cmd_len=32768
5945     fi
5946     ;;
5947   *)
5948     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5949     if test -n "$lt_cv_sys_max_cmd_len"; then
5950       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5951       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5952     else
5953       # Make teststring a little bigger before we do anything with it.
5954       # a 1K string should be a reasonable start.
5955       for i in 1 2 3 4 5 6 7 8 ; do
5956         teststring=$teststring$teststring
5957       done
5958       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5959       # If test is not a shell built-in, we'll probably end up computing a
5960       # maximum length that is only half of the actual maximum length, but
5961       # we can't tell.
5962       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5963                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5964               test $i != 17 # 1/2 MB should be enough
5965       do
5966         i=`expr $i + 1`
5967         teststring=$teststring$teststring
5968       done
5969       # Only check the string length outside the loop.
5970       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5971       teststring=
5972       # Add a significant safety factor because C++ compilers can tack on
5973       # massive amounts of additional arguments before passing them to the
5974       # linker.  It appears as though 1/2 is a usable value.
5975       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5976     fi
5977     ;;
5978   esac
5979
5980 fi
5981
5982 if test -n $lt_cv_sys_max_cmd_len ; then
5983   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5984 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5985 else
5986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5987 $as_echo "none" >&6; }
5988 fi
5989 max_cmd_len=$lt_cv_sys_max_cmd_len
5990
5991
5992
5993
5994
5995
5996 : ${CP="cp -f"}
5997 : ${MV="mv -f"}
5998 : ${RM="rm -f"}
5999
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6001 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6002 # Try some XSI features
6003 xsi_shell=no
6004 ( _lt_dummy="a/b/c"
6005   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6006       = c,a/b,, \
6007     && eval 'test $(( 1 + 1 )) -eq 2 \
6008     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6009   && xsi_shell=yes
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6011 $as_echo "$xsi_shell" >&6; }
6012
6013
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6015 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6016 lt_shell_append=no
6017 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6018     >/dev/null 2>&1 \
6019   && lt_shell_append=yes
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6021 $as_echo "$lt_shell_append" >&6; }
6022
6023
6024 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6025   lt_unset=unset
6026 else
6027   lt_unset=false
6028 fi
6029
6030
6031
6032
6033
6034 # test EBCDIC or ASCII
6035 case `echo X|tr X '\101'` in
6036  A) # ASCII based system
6037     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6038   lt_SP2NL='tr \040 \012'
6039   lt_NL2SP='tr \015\012 \040\040'
6040   ;;
6041  *) # EBCDIC based system
6042   lt_SP2NL='tr \100 \n'
6043   lt_NL2SP='tr \r\n \100\100'
6044   ;;
6045 esac
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6056 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6057 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6058   $as_echo_n "(cached) " >&6
6059 else
6060   lt_cv_ld_reload_flag='-r'
6061 fi
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6063 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6064 reload_flag=$lt_cv_ld_reload_flag
6065 case $reload_flag in
6066 "" | " "*) ;;
6067 *) reload_flag=" $reload_flag" ;;
6068 esac
6069 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6070 case $host_os in
6071   darwin*)
6072     if test "$GCC" = yes; then
6073       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6074     else
6075       reload_cmds='$LD$reload_flag -o $output$reload_objs'
6076     fi
6077     ;;
6078 esac
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088 if test -n "$ac_tool_prefix"; then
6089   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6090 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6092 $as_echo_n "checking for $ac_word... " >&6; }
6093 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6094   $as_echo_n "(cached) " >&6
6095 else
6096   if test -n "$OBJDUMP"; then
6097   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6098 else
6099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6100 for as_dir in $PATH
6101 do
6102   IFS=$as_save_IFS
6103   test -z "$as_dir" && as_dir=.
6104     for ac_exec_ext in '' $ac_executable_extensions; do
6105   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6106     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6107     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6108     break 2
6109   fi
6110 done
6111   done
6112 IFS=$as_save_IFS
6113
6114 fi
6115 fi
6116 OBJDUMP=$ac_cv_prog_OBJDUMP
6117 if test -n "$OBJDUMP"; then
6118   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6119 $as_echo "$OBJDUMP" >&6; }
6120 else
6121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6122 $as_echo "no" >&6; }
6123 fi
6124
6125
6126 fi
6127 if test -z "$ac_cv_prog_OBJDUMP"; then
6128   ac_ct_OBJDUMP=$OBJDUMP
6129   # Extract the first word of "objdump", so it can be a program name with args.
6130 set dummy objdump; ac_word=$2
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6132 $as_echo_n "checking for $ac_word... " >&6; }
6133 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6134   $as_echo_n "(cached) " >&6
6135 else
6136   if test -n "$ac_ct_OBJDUMP"; then
6137   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6138 else
6139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6140 for as_dir in $PATH
6141 do
6142   IFS=$as_save_IFS
6143   test -z "$as_dir" && as_dir=.
6144     for ac_exec_ext in '' $ac_executable_extensions; do
6145   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6146     ac_cv_prog_ac_ct_OBJDUMP="objdump"
6147     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6148     break 2
6149   fi
6150 done
6151   done
6152 IFS=$as_save_IFS
6153
6154 fi
6155 fi
6156 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6157 if test -n "$ac_ct_OBJDUMP"; then
6158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6159 $as_echo "$ac_ct_OBJDUMP" >&6; }
6160 else
6161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6162 $as_echo "no" >&6; }
6163 fi
6164
6165   if test "x$ac_ct_OBJDUMP" = x; then
6166     OBJDUMP="false"
6167   else
6168     case $cross_compiling:$ac_tool_warned in
6169 yes:)
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6171 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6172 ac_tool_warned=yes ;;
6173 esac
6174     OBJDUMP=$ac_ct_OBJDUMP
6175   fi
6176 else
6177   OBJDUMP="$ac_cv_prog_OBJDUMP"
6178 fi
6179
6180 test -z "$OBJDUMP" && OBJDUMP=objdump
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6191 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6192 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6193   $as_echo_n "(cached) " >&6
6194 else
6195   lt_cv_file_magic_cmd='$MAGIC_CMD'
6196 lt_cv_file_magic_test_file=
6197 lt_cv_deplibs_check_method='unknown'
6198 # Need to set the preceding variable on all platforms that support
6199 # interlibrary dependencies.
6200 # 'none' -- dependencies not supported.
6201 # `unknown' -- same as none, but documents that we really don't know.
6202 # 'pass_all' -- all dependencies passed with no checks.
6203 # 'test_compile' -- check by making test program.
6204 # 'file_magic [[regex]]' -- check by looking for files in library path
6205 # which responds to the $file_magic_cmd with a given extended regex.
6206 # If you have `file' or equivalent on your system and you're not sure
6207 # whether `pass_all' will *always* work, you probably want this one.
6208
6209 case $host_os in
6210 aix[4-9]*)
6211   lt_cv_deplibs_check_method=pass_all
6212   ;;
6213
6214 beos*)
6215   lt_cv_deplibs_check_method=pass_all
6216   ;;
6217
6218 bsdi[45]*)
6219   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6220   lt_cv_file_magic_cmd='/usr/bin/file -L'
6221   lt_cv_file_magic_test_file=/shlib/libc.so
6222   ;;
6223
6224 cygwin*)
6225   # func_win32_libid is a shell function defined in ltmain.sh
6226   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6227   lt_cv_file_magic_cmd='func_win32_libid'
6228   ;;
6229
6230 mingw* | pw32*)
6231   # Base MSYS/MinGW do not provide the 'file' command needed by
6232   # func_win32_libid shell function, so use a weaker test based on 'objdump',
6233   # unless we find 'file', for example because we are cross-compiling.
6234   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6235   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6236     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6237     lt_cv_file_magic_cmd='func_win32_libid'
6238   else
6239     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6240     lt_cv_file_magic_cmd='$OBJDUMP -f'
6241   fi
6242   ;;
6243
6244 cegcc*)
6245   # use the weaker test based on 'objdump'. See mingw*.
6246   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6247   lt_cv_file_magic_cmd='$OBJDUMP -f'
6248   ;;
6249
6250 darwin* | rhapsody*)
6251   lt_cv_deplibs_check_method=pass_all
6252   ;;
6253
6254 freebsd* | dragonfly*)
6255   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6256     case $host_cpu in
6257     i*86 )
6258       # Not sure whether the presence of OpenBSD here was a mistake.
6259       # Let's accept both of them until this is cleared up.
6260       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6261       lt_cv_file_magic_cmd=/usr/bin/file
6262       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6263       ;;
6264     esac
6265   else
6266     lt_cv_deplibs_check_method=pass_all
6267   fi
6268   ;;
6269
6270 gnu*)
6271   lt_cv_deplibs_check_method=pass_all
6272   ;;
6273
6274 haiku*)
6275   lt_cv_deplibs_check_method=pass_all
6276   ;;
6277
6278 hpux10.20* | hpux11*)
6279   lt_cv_file_magic_cmd=/usr/bin/file
6280   case $host_cpu in
6281   ia64*)
6282     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6283     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6284     ;;
6285   hppa*64*)
6286     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]'
6287     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6288     ;;
6289   *)
6290     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6291     lt_cv_file_magic_test_file=/usr/lib/libc.sl
6292     ;;
6293   esac
6294   ;;
6295
6296 interix[3-9]*)
6297   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6298   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6299   ;;
6300
6301 irix5* | irix6* | nonstopux*)
6302   case $LD in
6303   *-32|*"-32 ") libmagic=32-bit;;
6304   *-n32|*"-n32 ") libmagic=N32;;
6305   *-64|*"-64 ") libmagic=64-bit;;
6306   *) libmagic=never-match;;
6307   esac
6308   lt_cv_deplibs_check_method=pass_all
6309   ;;
6310
6311 # This must be Linux ELF.
6312 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6313   lt_cv_deplibs_check_method=pass_all
6314   ;;
6315
6316 netbsd*)
6317   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6318     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6319   else
6320     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6321   fi
6322   ;;
6323
6324 newos6*)
6325   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6326   lt_cv_file_magic_cmd=/usr/bin/file
6327   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6328   ;;
6329
6330 *nto* | *qnx*)
6331   lt_cv_deplibs_check_method=pass_all
6332   ;;
6333
6334 openbsd*)
6335   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6336     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6337   else
6338     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6339   fi
6340   ;;
6341
6342 osf3* | osf4* | osf5*)
6343   lt_cv_deplibs_check_method=pass_all
6344   ;;
6345
6346 rdos*)
6347   lt_cv_deplibs_check_method=pass_all
6348   ;;
6349
6350 solaris*)
6351   lt_cv_deplibs_check_method=pass_all
6352   ;;
6353
6354 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6355   lt_cv_deplibs_check_method=pass_all
6356   ;;
6357
6358 sysv4 | sysv4.3*)
6359   case $host_vendor in
6360   motorola)
6361     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]'
6362     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6363     ;;
6364   ncr)
6365     lt_cv_deplibs_check_method=pass_all
6366     ;;
6367   sequent)
6368     lt_cv_file_magic_cmd='/bin/file'
6369     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6370     ;;
6371   sni)
6372     lt_cv_file_magic_cmd='/bin/file'
6373     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6374     lt_cv_file_magic_test_file=/lib/libc.so
6375     ;;
6376   siemens)
6377     lt_cv_deplibs_check_method=pass_all
6378     ;;
6379   pc)
6380     lt_cv_deplibs_check_method=pass_all
6381     ;;
6382   esac
6383   ;;
6384
6385 tpf*)
6386   lt_cv_deplibs_check_method=pass_all
6387   ;;
6388 esac
6389
6390 fi
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6392 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6393 file_magic_cmd=$lt_cv_file_magic_cmd
6394 deplibs_check_method=$lt_cv_deplibs_check_method
6395 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408 if test -n "$ac_tool_prefix"; then
6409   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6410 set dummy ${ac_tool_prefix}ar; ac_word=$2
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6412 $as_echo_n "checking for $ac_word... " >&6; }
6413 if test "${ac_cv_prog_AR+set}" = set; then :
6414   $as_echo_n "(cached) " >&6
6415 else
6416   if test -n "$AR"; then
6417   ac_cv_prog_AR="$AR" # Let the user override the test.
6418 else
6419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6420 for as_dir in $PATH
6421 do
6422   IFS=$as_save_IFS
6423   test -z "$as_dir" && as_dir=.
6424     for ac_exec_ext in '' $ac_executable_extensions; do
6425   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6426     ac_cv_prog_AR="${ac_tool_prefix}ar"
6427     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6428     break 2
6429   fi
6430 done
6431   done
6432 IFS=$as_save_IFS
6433
6434 fi
6435 fi
6436 AR=$ac_cv_prog_AR
6437 if test -n "$AR"; then
6438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6439 $as_echo "$AR" >&6; }
6440 else
6441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6442 $as_echo "no" >&6; }
6443 fi
6444
6445
6446 fi
6447 if test -z "$ac_cv_prog_AR"; then
6448   ac_ct_AR=$AR
6449   # Extract the first word of "ar", so it can be a program name with args.
6450 set dummy ar; ac_word=$2
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6452 $as_echo_n "checking for $ac_word... " >&6; }
6453 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6454   $as_echo_n "(cached) " >&6
6455 else
6456   if test -n "$ac_ct_AR"; then
6457   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6458 else
6459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6460 for as_dir in $PATH
6461 do
6462   IFS=$as_save_IFS
6463   test -z "$as_dir" && as_dir=.
6464     for ac_exec_ext in '' $ac_executable_extensions; do
6465   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6466     ac_cv_prog_ac_ct_AR="ar"
6467     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6468     break 2
6469   fi
6470 done
6471   done
6472 IFS=$as_save_IFS
6473
6474 fi
6475 fi
6476 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6477 if test -n "$ac_ct_AR"; then
6478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6479 $as_echo "$ac_ct_AR" >&6; }
6480 else
6481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6482 $as_echo "no" >&6; }
6483 fi
6484
6485   if test "x$ac_ct_AR" = x; then
6486     AR="false"
6487   else
6488     case $cross_compiling:$ac_tool_warned in
6489 yes:)
6490 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6491 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6492 ac_tool_warned=yes ;;
6493 esac
6494     AR=$ac_ct_AR
6495   fi
6496 else
6497   AR="$ac_cv_prog_AR"
6498 fi
6499
6500 test -z "$AR" && AR=ar
6501 test -z "$AR_FLAGS" && AR_FLAGS=cru
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513 if test -n "$ac_tool_prefix"; then
6514   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6515 set dummy ${ac_tool_prefix}strip; ac_word=$2
6516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6517 $as_echo_n "checking for $ac_word... " >&6; }
6518 if test "${ac_cv_prog_STRIP+set}" = set; then :
6519   $as_echo_n "(cached) " >&6
6520 else
6521   if test -n "$STRIP"; then
6522   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6523 else
6524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6525 for as_dir in $PATH
6526 do
6527   IFS=$as_save_IFS
6528   test -z "$as_dir" && as_dir=.
6529     for ac_exec_ext in '' $ac_executable_extensions; do
6530   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6531     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6532     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6533     break 2
6534   fi
6535 done
6536   done
6537 IFS=$as_save_IFS
6538
6539 fi
6540 fi
6541 STRIP=$ac_cv_prog_STRIP
6542 if test -n "$STRIP"; then
6543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6544 $as_echo "$STRIP" >&6; }
6545 else
6546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6547 $as_echo "no" >&6; }
6548 fi
6549
6550
6551 fi
6552 if test -z "$ac_cv_prog_STRIP"; then
6553   ac_ct_STRIP=$STRIP
6554   # Extract the first word of "strip", so it can be a program name with args.
6555 set dummy strip; ac_word=$2
6556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6557 $as_echo_n "checking for $ac_word... " >&6; }
6558 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6559   $as_echo_n "(cached) " >&6
6560 else
6561   if test -n "$ac_ct_STRIP"; then
6562   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6563 else
6564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6565 for as_dir in $PATH
6566 do
6567   IFS=$as_save_IFS
6568   test -z "$as_dir" && as_dir=.
6569     for ac_exec_ext in '' $ac_executable_extensions; do
6570   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6571     ac_cv_prog_ac_ct_STRIP="strip"
6572     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6573     break 2
6574   fi
6575 done
6576   done
6577 IFS=$as_save_IFS
6578
6579 fi
6580 fi
6581 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6582 if test -n "$ac_ct_STRIP"; then
6583   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6584 $as_echo "$ac_ct_STRIP" >&6; }
6585 else
6586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6587 $as_echo "no" >&6; }
6588 fi
6589
6590   if test "x$ac_ct_STRIP" = x; then
6591     STRIP=":"
6592   else
6593     case $cross_compiling:$ac_tool_warned in
6594 yes:)
6595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6596 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6597 ac_tool_warned=yes ;;
6598 esac
6599     STRIP=$ac_ct_STRIP
6600   fi
6601 else
6602   STRIP="$ac_cv_prog_STRIP"
6603 fi
6604
6605 test -z "$STRIP" && STRIP=:
6606
6607
6608
6609
6610
6611
6612 if test -n "$ac_tool_prefix"; then
6613   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6614 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6616 $as_echo_n "checking for $ac_word... " >&6; }
6617 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6618   $as_echo_n "(cached) " >&6
6619 else
6620   if test -n "$RANLIB"; then
6621   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6622 else
6623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6624 for as_dir in $PATH
6625 do
6626   IFS=$as_save_IFS
6627   test -z "$as_dir" && as_dir=.
6628     for ac_exec_ext in '' $ac_executable_extensions; do
6629   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6630     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6631     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6632     break 2
6633   fi
6634 done
6635   done
6636 IFS=$as_save_IFS
6637
6638 fi
6639 fi
6640 RANLIB=$ac_cv_prog_RANLIB
6641 if test -n "$RANLIB"; then
6642   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6643 $as_echo "$RANLIB" >&6; }
6644 else
6645   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6646 $as_echo "no" >&6; }
6647 fi
6648
6649
6650 fi
6651 if test -z "$ac_cv_prog_RANLIB"; then
6652   ac_ct_RANLIB=$RANLIB
6653   # Extract the first word of "ranlib", so it can be a program name with args.
6654 set dummy ranlib; ac_word=$2
6655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6656 $as_echo_n "checking for $ac_word... " >&6; }
6657 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6658   $as_echo_n "(cached) " >&6
6659 else
6660   if test -n "$ac_ct_RANLIB"; then
6661   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6662 else
6663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6664 for as_dir in $PATH
6665 do
6666   IFS=$as_save_IFS
6667   test -z "$as_dir" && as_dir=.
6668     for ac_exec_ext in '' $ac_executable_extensions; do
6669   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6670     ac_cv_prog_ac_ct_RANLIB="ranlib"
6671     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6672     break 2
6673   fi
6674 done
6675   done
6676 IFS=$as_save_IFS
6677
6678 fi
6679 fi
6680 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6681 if test -n "$ac_ct_RANLIB"; then
6682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6683 $as_echo "$ac_ct_RANLIB" >&6; }
6684 else
6685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6686 $as_echo "no" >&6; }
6687 fi
6688
6689   if test "x$ac_ct_RANLIB" = x; then
6690     RANLIB=":"
6691   else
6692     case $cross_compiling:$ac_tool_warned in
6693 yes:)
6694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6695 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6696 ac_tool_warned=yes ;;
6697 esac
6698     RANLIB=$ac_ct_RANLIB
6699   fi
6700 else
6701   RANLIB="$ac_cv_prog_RANLIB"
6702 fi
6703
6704 test -z "$RANLIB" && RANLIB=:
6705
6706
6707
6708
6709
6710
6711 # Determine commands to create old-style static archives.
6712 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6713 old_postinstall_cmds='chmod 644 $oldlib'
6714 old_postuninstall_cmds=
6715
6716 if test -n "$RANLIB"; then
6717   case $host_os in
6718   openbsd*)
6719     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6720     ;;
6721   *)
6722     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6723     ;;
6724   esac
6725   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6726 fi
6727
6728 case $host_os in
6729   darwin*)
6730     lock_old_archive_extraction=yes ;;
6731   *)
6732     lock_old_archive_extraction=no ;;
6733 esac
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
6773 # If no C compiler was specified, use CC.
6774 LTCC=${LTCC-"$CC"}
6775
6776 # If no C compiler flags were specified, use CFLAGS.
6777 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6778
6779 # Allow CC to be a program name with arguments.
6780 compiler=$CC
6781
6782
6783 # Check for command to grab the raw symbol name followed by C symbol from nm.
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6785 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6786 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6787   $as_echo_n "(cached) " >&6
6788 else
6789
6790 # These are sane defaults that work on at least a few old systems.
6791 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6792
6793 # Character class describing NM global symbol codes.
6794 symcode='[BCDEGRST]'
6795
6796 # Regexp to match symbols that can be accessed directly from C.
6797 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6798
6799 # Define system-specific variables.
6800 case $host_os in
6801 aix*)
6802   symcode='[BCDT]'
6803   ;;
6804 cygwin* | mingw* | pw32* | cegcc*)
6805   symcode='[ABCDGISTW]'
6806   ;;
6807 hpux*)
6808   if test "$host_cpu" = ia64; then
6809     symcode='[ABCDEGRST]'
6810   fi
6811   ;;
6812 irix* | nonstopux*)
6813   symcode='[BCDEGRST]'
6814   ;;
6815 osf*)
6816   symcode='[BCDEGQRST]'
6817   ;;
6818 solaris*)
6819   symcode='[BDRT]'
6820   ;;
6821 sco3.2v5*)
6822   symcode='[DT]'
6823   ;;
6824 sysv4.2uw2*)
6825   symcode='[DT]'
6826   ;;
6827 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6828   symcode='[ABDT]'
6829   ;;
6830 sysv4)
6831   symcode='[DFNSTU]'
6832   ;;
6833 esac
6834
6835 # If we're using GNU nm, then use its standard symbol codes.
6836 case `$NM -V 2>&1` in
6837 *GNU* | *'with BFD'*)
6838   symcode='[ABCDGIRSTW]' ;;
6839 esac
6840
6841 # Transform an extracted symbol line into a proper C declaration.
6842 # Some systems (esp. on ia64) link data and code symbols differently,
6843 # so use this general approach.
6844 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6845
6846 # Transform an extracted symbol line into symbol name and symbol address
6847 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6848 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'"
6849
6850 # Handle CRLF in mingw tool chain
6851 opt_cr=
6852 case $build_os in
6853 mingw*)
6854   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6855   ;;
6856 esac
6857
6858 # Try without a prefix underscore, then with it.
6859 for ac_symprfx in "" "_"; do
6860
6861   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6862   symxfrm="\\1 $ac_symprfx\\2 \\2"
6863
6864   # Write the raw and C identifiers.
6865   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6866     # Fake it for dumpbin and say T for any non-static function
6867     # and D for any global variable.
6868     # Also find C++ and __fastcall symbols from MSVC++,
6869     # which start with @ or ?.
6870     lt_cv_sys_global_symbol_pipe="$AWK '"\
6871 "     {last_section=section; section=\$ 3};"\
6872 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6873 "     \$ 0!~/External *\|/{next};"\
6874 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6875 "     {if(hide[section]) next};"\
6876 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6877 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6878 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6879 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6880 "     ' prfx=^$ac_symprfx"
6881   else
6882     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6883   fi
6884
6885   # Check to see that the pipe works correctly.
6886   pipe_works=no
6887
6888   rm -f conftest*
6889   cat > conftest.$ac_ext <<_LT_EOF
6890 #ifdef __cplusplus
6891 extern "C" {
6892 #endif
6893 char nm_test_var;
6894 void nm_test_func(void);
6895 void nm_test_func(void){}
6896 #ifdef __cplusplus
6897 }
6898 #endif
6899 int main(){nm_test_var='a';nm_test_func();return(0);}
6900 _LT_EOF
6901
6902   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6903   (eval $ac_compile) 2>&5
6904   ac_status=$?
6905   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6906   test $ac_status = 0; }; then
6907     # Now try to grab the symbols.
6908     nlist=conftest.nm
6909     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6910   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6911   ac_status=$?
6912   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6913   test $ac_status = 0; } && test -s "$nlist"; then
6914       # Try sorting and uniquifying the output.
6915       if sort "$nlist" | uniq > "$nlist"T; then
6916         mv -f "$nlist"T "$nlist"
6917       else
6918         rm -f "$nlist"T
6919       fi
6920
6921       # Make sure that we snagged all the symbols we need.
6922       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6923         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6924           cat <<_LT_EOF > conftest.$ac_ext
6925 #ifdef __cplusplus
6926 extern "C" {
6927 #endif
6928
6929 _LT_EOF
6930           # Now generate the symbol file.
6931           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6932
6933           cat <<_LT_EOF >> conftest.$ac_ext
6934
6935 /* The mapping between symbol names and symbols.  */
6936 const struct {
6937   const char *name;
6938   void       *address;
6939 }
6940 lt__PROGRAM__LTX_preloaded_symbols[] =
6941 {
6942   { "@PROGRAM@", (void *) 0 },
6943 _LT_EOF
6944           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6945           cat <<\_LT_EOF >> conftest.$ac_ext
6946   {0, (void *) 0}
6947 };
6948
6949 /* This works around a problem in FreeBSD linker */
6950 #ifdef FREEBSD_WORKAROUND
6951 static const void *lt_preloaded_setup() {
6952   return lt__PROGRAM__LTX_preloaded_symbols;
6953 }
6954 #endif
6955
6956 #ifdef __cplusplus
6957 }
6958 #endif
6959 _LT_EOF
6960           # Now try linking the two files.
6961           mv conftest.$ac_objext conftstm.$ac_objext
6962           lt_save_LIBS="$LIBS"
6963           lt_save_CFLAGS="$CFLAGS"
6964           LIBS="conftstm.$ac_objext"
6965           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6966           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6967   (eval $ac_link) 2>&5
6968   ac_status=$?
6969   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6970   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6971             pipe_works=yes
6972           fi
6973           LIBS="$lt_save_LIBS"
6974           CFLAGS="$lt_save_CFLAGS"
6975         else
6976           echo "cannot find nm_test_func in $nlist" >&5
6977         fi
6978       else
6979         echo "cannot find nm_test_var in $nlist" >&5
6980       fi
6981     else
6982       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6983     fi
6984   else
6985     echo "$progname: failed program was:" >&5
6986     cat conftest.$ac_ext >&5
6987   fi
6988   rm -rf conftest* conftst*
6989
6990   # Do not use the global_symbol_pipe unless it works.
6991   if test "$pipe_works" = yes; then
6992     break
6993   else
6994     lt_cv_sys_global_symbol_pipe=
6995   fi
6996 done
6997
6998 fi
6999
7000 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7001   lt_cv_sys_global_symbol_to_cdecl=
7002 fi
7003 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7005 $as_echo "failed" >&6; }
7006 else
7007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7008 $as_echo "ok" >&6; }
7009 fi
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032 # Check whether --enable-libtool-lock was given.
7033 if test "${enable_libtool_lock+set}" = set; then :
7034   enableval=$enable_libtool_lock;
7035 fi
7036
7037 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7038
7039 # Some flags need to be propagated to the compiler or linker for good
7040 # libtool support.
7041 case $host in
7042 ia64-*-hpux*)
7043   # Find out which ABI we are using.
7044   echo 'int i;' > conftest.$ac_ext
7045   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7046   (eval $ac_compile) 2>&5
7047   ac_status=$?
7048   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7049   test $ac_status = 0; }; then
7050     case `/usr/bin/file conftest.$ac_objext` in
7051       *ELF-32*)
7052         HPUX_IA64_MODE="32"
7053         ;;
7054       *ELF-64*)
7055         HPUX_IA64_MODE="64"
7056         ;;
7057     esac
7058   fi
7059   rm -rf conftest*
7060   ;;
7061 *-*-irix6*)
7062   # Find out which ABI we are using.
7063   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7064   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7065   (eval $ac_compile) 2>&5
7066   ac_status=$?
7067   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7068   test $ac_status = 0; }; then
7069     if test "$lt_cv_prog_gnu_ld" = yes; then
7070       case `/usr/bin/file conftest.$ac_objext` in
7071         *32-bit*)
7072           LD="${LD-ld} -melf32bsmip"
7073           ;;
7074         *N32*)
7075           LD="${LD-ld} -melf32bmipn32"
7076           ;;
7077         *64-bit*)
7078           LD="${LD-ld} -melf64bmip"
7079         ;;
7080       esac
7081     else
7082       case `/usr/bin/file conftest.$ac_objext` in
7083         *32-bit*)
7084           LD="${LD-ld} -32"
7085           ;;
7086         *N32*)
7087           LD="${LD-ld} -n32"
7088           ;;
7089         *64-bit*)
7090           LD="${LD-ld} -64"
7091           ;;
7092       esac
7093     fi
7094   fi
7095   rm -rf conftest*
7096   ;;
7097
7098 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7099 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7100   # Find out which ABI we are using.
7101   echo 'int i;' > conftest.$ac_ext
7102   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7103   (eval $ac_compile) 2>&5
7104   ac_status=$?
7105   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7106   test $ac_status = 0; }; then
7107     case `/usr/bin/file conftest.o` in
7108       *32-bit*)
7109         case $host in
7110           x86_64-*kfreebsd*-gnu)
7111             LD="${LD-ld} -m elf_i386_fbsd"
7112             ;;
7113           x86_64-*linux*)
7114             LD="${LD-ld} -m elf_i386"
7115             ;;
7116           ppc64-*linux*|powerpc64-*linux*)
7117             LD="${LD-ld} -m elf32ppclinux"
7118             ;;
7119           s390x-*linux*)
7120             LD="${LD-ld} -m elf_s390"
7121             ;;
7122           sparc64-*linux*)
7123             LD="${LD-ld} -m elf32_sparc"
7124             ;;
7125         esac
7126         ;;
7127       *64-bit*)
7128         case $host in
7129           x86_64-*kfreebsd*-gnu)
7130             LD="${LD-ld} -m elf_x86_64_fbsd"
7131             ;;
7132           x86_64-*linux*)
7133             LD="${LD-ld} -m elf_x86_64"
7134             ;;
7135           ppc*-*linux*|powerpc*-*linux*)
7136             LD="${LD-ld} -m elf64ppc"
7137             ;;
7138           s390*-*linux*|s390*-*tpf*)
7139             LD="${LD-ld} -m elf64_s390"
7140             ;;
7141           sparc*-*linux*)
7142             LD="${LD-ld} -m elf64_sparc"
7143             ;;
7144         esac
7145         ;;
7146     esac
7147   fi
7148   rm -rf conftest*
7149   ;;
7150
7151 *-*-sco3.2v5*)
7152   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7153   SAVE_CFLAGS="$CFLAGS"
7154   CFLAGS="$CFLAGS -belf"
7155   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7156 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7157 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7158   $as_echo_n "(cached) " >&6
7159 else
7160   ac_ext=c
7161 ac_cpp='$CPP $CPPFLAGS'
7162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7165
7166      if test x$gcc_no_link = xyes; then
7167   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7168 fi
7169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7170 /* end confdefs.h.  */
7171
7172 int
7173 main ()
7174 {
7175
7176   ;
7177   return 0;
7178 }
7179 _ACEOF
7180 if ac_fn_c_try_link "$LINENO"; then :
7181   lt_cv_cc_needs_belf=yes
7182 else
7183   lt_cv_cc_needs_belf=no
7184 fi
7185 rm -f core conftest.err conftest.$ac_objext \
7186     conftest$ac_exeext conftest.$ac_ext
7187      ac_ext=c
7188 ac_cpp='$CPP $CPPFLAGS'
7189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7192
7193 fi
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7195 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7196   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7197     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7198     CFLAGS="$SAVE_CFLAGS"
7199   fi
7200   ;;
7201 sparc*-*solaris*)
7202   # Find out which ABI we are using.
7203   echo 'int i;' > conftest.$ac_ext
7204   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7205   (eval $ac_compile) 2>&5
7206   ac_status=$?
7207   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7208   test $ac_status = 0; }; then
7209     case `/usr/bin/file conftest.o` in
7210     *64-bit*)
7211       case $lt_cv_prog_gnu_ld in
7212       yes*) LD="${LD-ld} -m elf64_sparc" ;;
7213       *)
7214         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7215           LD="${LD-ld} -64"
7216         fi
7217         ;;
7218       esac
7219       ;;
7220     esac
7221   fi
7222   rm -rf conftest*
7223   ;;
7224 esac
7225
7226 need_locks="$enable_libtool_lock"
7227
7228
7229   case $host_os in
7230     rhapsody* | darwin*)
7231     if test -n "$ac_tool_prefix"; then
7232   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7233 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7235 $as_echo_n "checking for $ac_word... " >&6; }
7236 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7237   $as_echo_n "(cached) " >&6
7238 else
7239   if test -n "$DSYMUTIL"; then
7240   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7241 else
7242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7243 for as_dir in $PATH
7244 do
7245   IFS=$as_save_IFS
7246   test -z "$as_dir" && as_dir=.
7247     for ac_exec_ext in '' $ac_executable_extensions; do
7248   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7249     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7250     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7251     break 2
7252   fi
7253 done
7254   done
7255 IFS=$as_save_IFS
7256
7257 fi
7258 fi
7259 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7260 if test -n "$DSYMUTIL"; then
7261   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7262 $as_echo "$DSYMUTIL" >&6; }
7263 else
7264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7265 $as_echo "no" >&6; }
7266 fi
7267
7268
7269 fi
7270 if test -z "$ac_cv_prog_DSYMUTIL"; then
7271   ac_ct_DSYMUTIL=$DSYMUTIL
7272   # Extract the first word of "dsymutil", so it can be a program name with args.
7273 set dummy dsymutil; ac_word=$2
7274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7275 $as_echo_n "checking for $ac_word... " >&6; }
7276 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7277   $as_echo_n "(cached) " >&6
7278 else
7279   if test -n "$ac_ct_DSYMUTIL"; then
7280   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7281 else
7282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7283 for as_dir in $PATH
7284 do
7285   IFS=$as_save_IFS
7286   test -z "$as_dir" && as_dir=.
7287     for ac_exec_ext in '' $ac_executable_extensions; do
7288   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7289     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7290     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7291     break 2
7292   fi
7293 done
7294   done
7295 IFS=$as_save_IFS
7296
7297 fi
7298 fi
7299 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7300 if test -n "$ac_ct_DSYMUTIL"; then
7301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7302 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7303 else
7304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7305 $as_echo "no" >&6; }
7306 fi
7307
7308   if test "x$ac_ct_DSYMUTIL" = x; then
7309     DSYMUTIL=":"
7310   else
7311     case $cross_compiling:$ac_tool_warned in
7312 yes:)
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7314 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7315 ac_tool_warned=yes ;;
7316 esac
7317     DSYMUTIL=$ac_ct_DSYMUTIL
7318   fi
7319 else
7320   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7321 fi
7322
7323     if test -n "$ac_tool_prefix"; then
7324   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7325 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7327 $as_echo_n "checking for $ac_word... " >&6; }
7328 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7329   $as_echo_n "(cached) " >&6
7330 else
7331   if test -n "$NMEDIT"; then
7332   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7333 else
7334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7335 for as_dir in $PATH
7336 do
7337   IFS=$as_save_IFS
7338   test -z "$as_dir" && as_dir=.
7339     for ac_exec_ext in '' $ac_executable_extensions; do
7340   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7341     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7342     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7343     break 2
7344   fi
7345 done
7346   done
7347 IFS=$as_save_IFS
7348
7349 fi
7350 fi
7351 NMEDIT=$ac_cv_prog_NMEDIT
7352 if test -n "$NMEDIT"; then
7353   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7354 $as_echo "$NMEDIT" >&6; }
7355 else
7356   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7357 $as_echo "no" >&6; }
7358 fi
7359
7360
7361 fi
7362 if test -z "$ac_cv_prog_NMEDIT"; then
7363   ac_ct_NMEDIT=$NMEDIT
7364   # Extract the first word of "nmedit", so it can be a program name with args.
7365 set dummy nmedit; ac_word=$2
7366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7367 $as_echo_n "checking for $ac_word... " >&6; }
7368 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7369   $as_echo_n "(cached) " >&6
7370 else
7371   if test -n "$ac_ct_NMEDIT"; then
7372   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7373 else
7374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7375 for as_dir in $PATH
7376 do
7377   IFS=$as_save_IFS
7378   test -z "$as_dir" && as_dir=.
7379     for ac_exec_ext in '' $ac_executable_extensions; do
7380   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7381     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7382     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7383     break 2
7384   fi
7385 done
7386   done
7387 IFS=$as_save_IFS
7388
7389 fi
7390 fi
7391 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7392 if test -n "$ac_ct_NMEDIT"; then
7393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7394 $as_echo "$ac_ct_NMEDIT" >&6; }
7395 else
7396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7397 $as_echo "no" >&6; }
7398 fi
7399
7400   if test "x$ac_ct_NMEDIT" = x; then
7401     NMEDIT=":"
7402   else
7403     case $cross_compiling:$ac_tool_warned in
7404 yes:)
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7406 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7407 ac_tool_warned=yes ;;
7408 esac
7409     NMEDIT=$ac_ct_NMEDIT
7410   fi
7411 else
7412   NMEDIT="$ac_cv_prog_NMEDIT"
7413 fi
7414
7415     if test -n "$ac_tool_prefix"; then
7416   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7417 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7419 $as_echo_n "checking for $ac_word... " >&6; }
7420 if test "${ac_cv_prog_LIPO+set}" = set; then :
7421   $as_echo_n "(cached) " >&6
7422 else
7423   if test -n "$LIPO"; then
7424   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7425 else
7426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7427 for as_dir in $PATH
7428 do
7429   IFS=$as_save_IFS
7430   test -z "$as_dir" && as_dir=.
7431     for ac_exec_ext in '' $ac_executable_extensions; do
7432   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7433     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7434     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7435     break 2
7436   fi
7437 done
7438   done
7439 IFS=$as_save_IFS
7440
7441 fi
7442 fi
7443 LIPO=$ac_cv_prog_LIPO
7444 if test -n "$LIPO"; then
7445   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7446 $as_echo "$LIPO" >&6; }
7447 else
7448   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7449 $as_echo "no" >&6; }
7450 fi
7451
7452
7453 fi
7454 if test -z "$ac_cv_prog_LIPO"; then
7455   ac_ct_LIPO=$LIPO
7456   # Extract the first word of "lipo", so it can be a program name with args.
7457 set dummy lipo; ac_word=$2
7458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7459 $as_echo_n "checking for $ac_word... " >&6; }
7460 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7461   $as_echo_n "(cached) " >&6
7462 else
7463   if test -n "$ac_ct_LIPO"; then
7464   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7465 else
7466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7467 for as_dir in $PATH
7468 do
7469   IFS=$as_save_IFS
7470   test -z "$as_dir" && as_dir=.
7471     for ac_exec_ext in '' $ac_executable_extensions; do
7472   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7473     ac_cv_prog_ac_ct_LIPO="lipo"
7474     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7475     break 2
7476   fi
7477 done
7478   done
7479 IFS=$as_save_IFS
7480
7481 fi
7482 fi
7483 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7484 if test -n "$ac_ct_LIPO"; then
7485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7486 $as_echo "$ac_ct_LIPO" >&6; }
7487 else
7488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7489 $as_echo "no" >&6; }
7490 fi
7491
7492   if test "x$ac_ct_LIPO" = x; then
7493     LIPO=":"
7494   else
7495     case $cross_compiling:$ac_tool_warned in
7496 yes:)
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7498 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7499 ac_tool_warned=yes ;;
7500 esac
7501     LIPO=$ac_ct_LIPO
7502   fi
7503 else
7504   LIPO="$ac_cv_prog_LIPO"
7505 fi
7506
7507     if test -n "$ac_tool_prefix"; then
7508   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7509 set dummy ${ac_tool_prefix}otool; ac_word=$2
7510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7511 $as_echo_n "checking for $ac_word... " >&6; }
7512 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7513   $as_echo_n "(cached) " >&6
7514 else
7515   if test -n "$OTOOL"; then
7516   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7517 else
7518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7519 for as_dir in $PATH
7520 do
7521   IFS=$as_save_IFS
7522   test -z "$as_dir" && as_dir=.
7523     for ac_exec_ext in '' $ac_executable_extensions; do
7524   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7525     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7526     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7527     break 2
7528   fi
7529 done
7530   done
7531 IFS=$as_save_IFS
7532
7533 fi
7534 fi
7535 OTOOL=$ac_cv_prog_OTOOL
7536 if test -n "$OTOOL"; then
7537   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7538 $as_echo "$OTOOL" >&6; }
7539 else
7540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7541 $as_echo "no" >&6; }
7542 fi
7543
7544
7545 fi
7546 if test -z "$ac_cv_prog_OTOOL"; then
7547   ac_ct_OTOOL=$OTOOL
7548   # Extract the first word of "otool", so it can be a program name with args.
7549 set dummy otool; ac_word=$2
7550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7551 $as_echo_n "checking for $ac_word... " >&6; }
7552 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7553   $as_echo_n "(cached) " >&6
7554 else
7555   if test -n "$ac_ct_OTOOL"; then
7556   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7557 else
7558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7559 for as_dir in $PATH
7560 do
7561   IFS=$as_save_IFS
7562   test -z "$as_dir" && as_dir=.
7563     for ac_exec_ext in '' $ac_executable_extensions; do
7564   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7565     ac_cv_prog_ac_ct_OTOOL="otool"
7566     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7567     break 2
7568   fi
7569 done
7570   done
7571 IFS=$as_save_IFS
7572
7573 fi
7574 fi
7575 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7576 if test -n "$ac_ct_OTOOL"; then
7577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7578 $as_echo "$ac_ct_OTOOL" >&6; }
7579 else
7580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7581 $as_echo "no" >&6; }
7582 fi
7583
7584   if test "x$ac_ct_OTOOL" = x; then
7585     OTOOL=":"
7586   else
7587     case $cross_compiling:$ac_tool_warned in
7588 yes:)
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7590 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7591 ac_tool_warned=yes ;;
7592 esac
7593     OTOOL=$ac_ct_OTOOL
7594   fi
7595 else
7596   OTOOL="$ac_cv_prog_OTOOL"
7597 fi
7598
7599     if test -n "$ac_tool_prefix"; then
7600   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7601 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7603 $as_echo_n "checking for $ac_word... " >&6; }
7604 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7605   $as_echo_n "(cached) " >&6
7606 else
7607   if test -n "$OTOOL64"; then
7608   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7609 else
7610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7611 for as_dir in $PATH
7612 do
7613   IFS=$as_save_IFS
7614   test -z "$as_dir" && as_dir=.
7615     for ac_exec_ext in '' $ac_executable_extensions; do
7616   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7617     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7618     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7619     break 2
7620   fi
7621 done
7622   done
7623 IFS=$as_save_IFS
7624
7625 fi
7626 fi
7627 OTOOL64=$ac_cv_prog_OTOOL64
7628 if test -n "$OTOOL64"; then
7629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7630 $as_echo "$OTOOL64" >&6; }
7631 else
7632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7633 $as_echo "no" >&6; }
7634 fi
7635
7636
7637 fi
7638 if test -z "$ac_cv_prog_OTOOL64"; then
7639   ac_ct_OTOOL64=$OTOOL64
7640   # Extract the first word of "otool64", so it can be a program name with args.
7641 set dummy otool64; ac_word=$2
7642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7643 $as_echo_n "checking for $ac_word... " >&6; }
7644 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7645   $as_echo_n "(cached) " >&6
7646 else
7647   if test -n "$ac_ct_OTOOL64"; then
7648   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7649 else
7650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7651 for as_dir in $PATH
7652 do
7653   IFS=$as_save_IFS
7654   test -z "$as_dir" && as_dir=.
7655     for ac_exec_ext in '' $ac_executable_extensions; do
7656   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7657     ac_cv_prog_ac_ct_OTOOL64="otool64"
7658     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7659     break 2
7660   fi
7661 done
7662   done
7663 IFS=$as_save_IFS
7664
7665 fi
7666 fi
7667 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7668 if test -n "$ac_ct_OTOOL64"; then
7669   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7670 $as_echo "$ac_ct_OTOOL64" >&6; }
7671 else
7672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7673 $as_echo "no" >&6; }
7674 fi
7675
7676   if test "x$ac_ct_OTOOL64" = x; then
7677     OTOOL64=":"
7678   else
7679     case $cross_compiling:$ac_tool_warned in
7680 yes:)
7681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7682 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7683 ac_tool_warned=yes ;;
7684 esac
7685     OTOOL64=$ac_ct_OTOOL64
7686   fi
7687 else
7688   OTOOL64="$ac_cv_prog_OTOOL64"
7689 fi
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
7717     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7718 $as_echo_n "checking for -single_module linker flag... " >&6; }
7719 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7720   $as_echo_n "(cached) " >&6
7721 else
7722   lt_cv_apple_cc_single_mod=no
7723       if test -z "${LT_MULTI_MODULE}"; then
7724         # By default we will add the -single_module flag. You can override
7725         # by either setting the environment variable LT_MULTI_MODULE
7726         # non-empty at configure time, or by adding -multi_module to the
7727         # link flags.
7728         rm -rf libconftest.dylib*
7729         echo "int foo(void){return 1;}" > conftest.c
7730         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7731 -dynamiclib -Wl,-single_module conftest.c" >&5
7732         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7733           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7734         _lt_result=$?
7735         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7736           lt_cv_apple_cc_single_mod=yes
7737         else
7738           cat conftest.err >&5
7739         fi
7740         rm -rf libconftest.dylib*
7741         rm -f conftest.*
7742       fi
7743 fi
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7745 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7746     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7747 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7748 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7749   $as_echo_n "(cached) " >&6
7750 else
7751   lt_cv_ld_exported_symbols_list=no
7752       save_LDFLAGS=$LDFLAGS
7753       echo "_main" > conftest.sym
7754       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7755       if test x$gcc_no_link = xyes; then
7756   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7757 fi
7758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7759 /* end confdefs.h.  */
7760
7761 int
7762 main ()
7763 {
7764
7765   ;
7766   return 0;
7767 }
7768 _ACEOF
7769 if ac_fn_c_try_link "$LINENO"; then :
7770   lt_cv_ld_exported_symbols_list=yes
7771 else
7772   lt_cv_ld_exported_symbols_list=no
7773 fi
7774 rm -f core conftest.err conftest.$ac_objext \
7775     conftest$ac_exeext conftest.$ac_ext
7776         LDFLAGS="$save_LDFLAGS"
7777
7778 fi
7779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7780 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7781     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7782 $as_echo_n "checking for -force_load linker flag... " >&6; }
7783 if test "${lt_cv_ld_force_load+set}" = set; then :
7784   $as_echo_n "(cached) " >&6
7785 else
7786   lt_cv_ld_force_load=no
7787       cat > conftest.c << _LT_EOF
7788 int forced_loaded() { return 2;}
7789 _LT_EOF
7790       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7791       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7792       echo "$AR cru libconftest.a conftest.o" >&5
7793       $AR cru libconftest.a conftest.o 2>&5
7794       cat > conftest.c << _LT_EOF
7795 int main() { return 0;}
7796 _LT_EOF
7797       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7798       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7799       _lt_result=$?
7800       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7801         lt_cv_ld_force_load=yes
7802       else
7803         cat conftest.err >&5
7804       fi
7805         rm -f conftest.err libconftest.a conftest conftest.c
7806         rm -rf conftest.dSYM
7807
7808 fi
7809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7810 $as_echo "$lt_cv_ld_force_load" >&6; }
7811     case $host_os in
7812     rhapsody* | darwin1.[012])
7813       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7814     darwin1.*)
7815       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7816     darwin*) # darwin 5.x on
7817       # if running on 10.5 or later, the deployment target defaults
7818       # to the OS version, if on x86, and 10.4, the deployment
7819       # target defaults to 10.4. Don't you love it?
7820       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7821         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7822           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7823         10.[012]*)
7824           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7825         10.*)
7826           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7827       esac
7828     ;;
7829   esac
7830     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7831       _lt_dar_single_mod='$single_module'
7832     fi
7833     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7834       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7835     else
7836       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7837     fi
7838     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7839       _lt_dsymutil='~$DSYMUTIL $lib || :'
7840     else
7841       _lt_dsymutil=
7842     fi
7843     ;;
7844   esac
7845
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7847 $as_echo_n "checking for ANSI C header files... " >&6; }
7848 if test "${ac_cv_header_stdc+set}" = set; then :
7849   $as_echo_n "(cached) " >&6
7850 else
7851   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7852 /* end confdefs.h.  */
7853 #include <stdlib.h>
7854 #include <stdarg.h>
7855 #include <string.h>
7856 #include <float.h>
7857
7858 int
7859 main ()
7860 {
7861
7862   ;
7863   return 0;
7864 }
7865 _ACEOF
7866 if ac_fn_c_try_compile "$LINENO"; then :
7867   ac_cv_header_stdc=yes
7868 else
7869   ac_cv_header_stdc=no
7870 fi
7871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7872
7873 if test $ac_cv_header_stdc = yes; then
7874   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7875   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7876 /* end confdefs.h.  */
7877 #include <string.h>
7878
7879 _ACEOF
7880 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7881   $EGREP "memchr" >/dev/null 2>&1; then :
7882
7883 else
7884   ac_cv_header_stdc=no
7885 fi
7886 rm -f conftest*
7887
7888 fi
7889
7890 if test $ac_cv_header_stdc = yes; then
7891   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7892   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7893 /* end confdefs.h.  */
7894 #include <stdlib.h>
7895
7896 _ACEOF
7897 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7898   $EGREP "free" >/dev/null 2>&1; then :
7899
7900 else
7901   ac_cv_header_stdc=no
7902 fi
7903 rm -f conftest*
7904
7905 fi
7906
7907 if test $ac_cv_header_stdc = yes; then
7908   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7909   if test "$cross_compiling" = yes; then :
7910   :
7911 else
7912   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7913 /* end confdefs.h.  */
7914 #include <ctype.h>
7915 #include <stdlib.h>
7916 #if ((' ' & 0x0FF) == 0x020)
7917 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7918 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7919 #else
7920 # define ISLOWER(c) \
7921                    (('a' <= (c) && (c) <= 'i') \
7922                      || ('j' <= (c) && (c) <= 'r') \
7923                      || ('s' <= (c) && (c) <= 'z'))
7924 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7925 #endif
7926
7927 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7928 int
7929 main ()
7930 {
7931   int i;
7932   for (i = 0; i < 256; i++)
7933     if (XOR (islower (i), ISLOWER (i))
7934         || toupper (i) != TOUPPER (i))
7935       return 2;
7936   return 0;
7937 }
7938 _ACEOF
7939 if ac_fn_c_try_run "$LINENO"; then :
7940
7941 else
7942   ac_cv_header_stdc=no
7943 fi
7944 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7945   conftest.$ac_objext conftest.beam conftest.$ac_ext
7946 fi
7947
7948 fi
7949 fi
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7951 $as_echo "$ac_cv_header_stdc" >&6; }
7952 if test $ac_cv_header_stdc = yes; then
7953
7954 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7955
7956 fi
7957
7958 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7959 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7960                   inttypes.h stdint.h unistd.h
7961 do :
7962   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7963 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7964 "
7965 eval as_val=\$$as_ac_Header
7966    if test "x$as_val" = x""yes; then :
7967   cat >>confdefs.h <<_ACEOF
7968 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7969 _ACEOF
7970
7971 fi
7972
7973 done
7974
7975
7976 for ac_header in dlfcn.h
7977 do :
7978   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7979 "
7980 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7981   cat >>confdefs.h <<_ACEOF
7982 #define HAVE_DLFCN_H 1
7983 _ACEOF
7984
7985 fi
7986
7987 done
7988
7989
7990
7991
7992
7993
7994 # Set options
7995
7996
7997
7998
7999   enable_win32_dll=no
8000
8001
8002             # Check whether --enable-shared was given.
8003 if test "${enable_shared+set}" = set; then :
8004   enableval=$enable_shared; p=${PACKAGE-default}
8005     case $enableval in
8006     yes) enable_shared=yes ;;
8007     no) enable_shared=no ;;
8008     *)
8009       enable_shared=no
8010       # Look at the argument we got.  We use all the common list separators.
8011       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8012       for pkg in $enableval; do
8013         IFS="$lt_save_ifs"
8014         if test "X$pkg" = "X$p"; then
8015           enable_shared=yes
8016         fi
8017       done
8018       IFS="$lt_save_ifs"
8019       ;;
8020     esac
8021 else
8022   enable_shared=yes
8023 fi
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033   # Check whether --enable-static was given.
8034 if test "${enable_static+set}" = set; then :
8035   enableval=$enable_static; p=${PACKAGE-default}
8036     case $enableval in
8037     yes) enable_static=yes ;;
8038     no) enable_static=no ;;
8039     *)
8040      enable_static=no
8041       # Look at the argument we got.  We use all the common list separators.
8042       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8043       for pkg in $enableval; do
8044         IFS="$lt_save_ifs"
8045         if test "X$pkg" = "X$p"; then
8046           enable_static=yes
8047         fi
8048       done
8049       IFS="$lt_save_ifs"
8050       ;;
8051     esac
8052 else
8053   enable_static=yes
8054 fi
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065 # Check whether --with-pic was given.
8066 if test "${with_pic+set}" = set; then :
8067   withval=$with_pic; pic_mode="$withval"
8068 else
8069   pic_mode=default
8070 fi
8071
8072
8073 test -z "$pic_mode" && pic_mode=default
8074
8075
8076
8077
8078
8079
8080
8081   # Check whether --enable-fast-install was given.
8082 if test "${enable_fast_install+set}" = set; then :
8083   enableval=$enable_fast_install; p=${PACKAGE-default}
8084     case $enableval in
8085     yes) enable_fast_install=yes ;;
8086     no) enable_fast_install=no ;;
8087     *)
8088       enable_fast_install=no
8089       # Look at the argument we got.  We use all the common list separators.
8090       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8091       for pkg in $enableval; do
8092         IFS="$lt_save_ifs"
8093         if test "X$pkg" = "X$p"; then
8094           enable_fast_install=yes
8095         fi
8096       done
8097       IFS="$lt_save_ifs"
8098       ;;
8099     esac
8100 else
8101   enable_fast_install=yes
8102 fi
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114 # This can be used to rebuild libtool when needed
8115 LIBTOOL_DEPS="$ltmain"
8116
8117 # Always use our own libtool.
8118 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
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
8145 test -z "$LN_S" && LN_S="ln -s"
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160 if test -n "${ZSH_VERSION+set}" ; then
8161    setopt NO_GLOB_SUBST
8162 fi
8163
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8165 $as_echo_n "checking for objdir... " >&6; }
8166 if test "${lt_cv_objdir+set}" = set; then :
8167   $as_echo_n "(cached) " >&6
8168 else
8169   rm -f .libs 2>/dev/null
8170 mkdir .libs 2>/dev/null
8171 if test -d .libs; then
8172   lt_cv_objdir=.libs
8173 else
8174   # MS-DOS does not allow filenames that begin with a dot.
8175   lt_cv_objdir=_libs
8176 fi
8177 rmdir .libs 2>/dev/null
8178 fi
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8180 $as_echo "$lt_cv_objdir" >&6; }
8181 objdir=$lt_cv_objdir
8182
8183
8184
8185
8186
8187 cat >>confdefs.h <<_ACEOF
8188 #define LT_OBJDIR "$lt_cv_objdir/"
8189 _ACEOF
8190
8191
8192
8193
8194 case $host_os in
8195 aix3*)
8196   # AIX sometimes has problems with the GCC collect2 program.  For some
8197   # reason, if we set the COLLECT_NAMES environment variable, the problems
8198   # vanish in a puff of smoke.
8199   if test "X${COLLECT_NAMES+set}" != Xset; then
8200     COLLECT_NAMES=
8201     export COLLECT_NAMES
8202   fi
8203   ;;
8204 esac
8205
8206 # Global variables:
8207 ofile=libtool
8208 can_build_shared=yes
8209
8210 # All known linkers require a `.a' archive for static linking (except MSVC,
8211 # which needs '.lib').
8212 libext=a
8213
8214 with_gnu_ld="$lt_cv_prog_gnu_ld"
8215
8216 old_CC="$CC"
8217 old_CFLAGS="$CFLAGS"
8218
8219 # Set sane defaults for various variables
8220 test -z "$CC" && CC=cc
8221 test -z "$LTCC" && LTCC=$CC
8222 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8223 test -z "$LD" && LD=ld
8224 test -z "$ac_objext" && ac_objext=o
8225
8226 for cc_temp in $compiler""; do
8227   case $cc_temp in
8228     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8229     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8230     \-*) ;;
8231     *) break;;
8232   esac
8233 done
8234 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8235
8236
8237 # Only perform the check for file, if the check method requires it
8238 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8239 case $deplibs_check_method in
8240 file_magic*)
8241   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8242     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8243 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8244 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8245   $as_echo_n "(cached) " >&6
8246 else
8247   case $MAGIC_CMD in
8248 [\\/*] |  ?:[\\/]*)
8249   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8250   ;;
8251 *)
8252   lt_save_MAGIC_CMD="$MAGIC_CMD"
8253   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8254   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8255   for ac_dir in $ac_dummy; do
8256     IFS="$lt_save_ifs"
8257     test -z "$ac_dir" && ac_dir=.
8258     if test -f $ac_dir/${ac_tool_prefix}file; then
8259       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8260       if test -n "$file_magic_test_file"; then
8261         case $deplibs_check_method in
8262         "file_magic "*)
8263           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8264           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8265           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8266             $EGREP "$file_magic_regex" > /dev/null; then
8267             :
8268           else
8269             cat <<_LT_EOF 1>&2
8270
8271 *** Warning: the command libtool uses to detect shared libraries,
8272 *** $file_magic_cmd, produces output that libtool cannot recognize.
8273 *** The result is that libtool may fail to recognize shared libraries
8274 *** as such.  This will affect the creation of libtool libraries that
8275 *** depend on shared libraries, but programs linked with such libtool
8276 *** libraries will work regardless of this problem.  Nevertheless, you
8277 *** may want to report the problem to your system manager and/or to
8278 *** bug-libtool@gnu.org
8279
8280 _LT_EOF
8281           fi ;;
8282         esac
8283       fi
8284       break
8285     fi
8286   done
8287   IFS="$lt_save_ifs"
8288   MAGIC_CMD="$lt_save_MAGIC_CMD"
8289   ;;
8290 esac
8291 fi
8292
8293 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8294 if test -n "$MAGIC_CMD"; then
8295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8296 $as_echo "$MAGIC_CMD" >&6; }
8297 else
8298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8299 $as_echo "no" >&6; }
8300 fi
8301
8302
8303
8304
8305
8306 if test -z "$lt_cv_path_MAGIC_CMD"; then
8307   if test -n "$ac_tool_prefix"; then
8308     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8309 $as_echo_n "checking for file... " >&6; }
8310 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8311   $as_echo_n "(cached) " >&6
8312 else
8313   case $MAGIC_CMD in
8314 [\\/*] |  ?:[\\/]*)
8315   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8316   ;;
8317 *)
8318   lt_save_MAGIC_CMD="$MAGIC_CMD"
8319   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8320   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8321   for ac_dir in $ac_dummy; do
8322     IFS="$lt_save_ifs"
8323     test -z "$ac_dir" && ac_dir=.
8324     if test -f $ac_dir/file; then
8325       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8326       if test -n "$file_magic_test_file"; then
8327         case $deplibs_check_method in
8328         "file_magic "*)
8329           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8330           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8331           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8332             $EGREP "$file_magic_regex" > /dev/null; then
8333             :
8334           else
8335             cat <<_LT_EOF 1>&2
8336
8337 *** Warning: the command libtool uses to detect shared libraries,
8338 *** $file_magic_cmd, produces output that libtool cannot recognize.
8339 *** The result is that libtool may fail to recognize shared libraries
8340 *** as such.  This will affect the creation of libtool libraries that
8341 *** depend on shared libraries, but programs linked with such libtool
8342 *** libraries will work regardless of this problem.  Nevertheless, you
8343 *** may want to report the problem to your system manager and/or to
8344 *** bug-libtool@gnu.org
8345
8346 _LT_EOF
8347           fi ;;
8348         esac
8349       fi
8350       break
8351     fi
8352   done
8353   IFS="$lt_save_ifs"
8354   MAGIC_CMD="$lt_save_MAGIC_CMD"
8355   ;;
8356 esac
8357 fi
8358
8359 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8360 if test -n "$MAGIC_CMD"; then
8361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8362 $as_echo "$MAGIC_CMD" >&6; }
8363 else
8364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8365 $as_echo "no" >&6; }
8366 fi
8367
8368
8369   else
8370     MAGIC_CMD=:
8371   fi
8372 fi
8373
8374   fi
8375   ;;
8376 esac
8377
8378 # Use C for the default configuration in the libtool script
8379
8380 lt_save_CC="$CC"
8381 ac_ext=c
8382 ac_cpp='$CPP $CPPFLAGS'
8383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8386
8387
8388 # Source file extension for C test sources.
8389 ac_ext=c
8390
8391 # Object file extension for compiled C test sources.
8392 objext=o
8393 objext=$objext
8394
8395 # Code to be used in simple compile tests
8396 lt_simple_compile_test_code="int some_variable = 0;"
8397
8398 # Code to be used in simple link tests
8399 lt_simple_link_test_code='int main(){return(0);}'
8400
8401
8402
8403
8404
8405
8406
8407 # If no C compiler was specified, use CC.
8408 LTCC=${LTCC-"$CC"}
8409
8410 # If no C compiler flags were specified, use CFLAGS.
8411 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8412
8413 # Allow CC to be a program name with arguments.
8414 compiler=$CC
8415
8416 # Save the default compiler, since it gets overwritten when the other
8417 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8418 compiler_DEFAULT=$CC
8419
8420 # save warnings/boilerplate of simple test code
8421 ac_outfile=conftest.$ac_objext
8422 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8423 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8424 _lt_compiler_boilerplate=`cat conftest.err`
8425 $RM conftest*
8426
8427 ac_outfile=conftest.$ac_objext
8428 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8429 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8430 _lt_linker_boilerplate=`cat conftest.err`
8431 $RM -r conftest*
8432
8433
8434 ## CAVEAT EMPTOR:
8435 ## There is no encapsulation within the following macros, do not change
8436 ## the running order or otherwise move them around unless you know exactly
8437 ## what you are doing...
8438 if test -n "$compiler"; then
8439
8440 lt_prog_compiler_no_builtin_flag=
8441
8442 if test "$GCC" = yes; then
8443   case $cc_basename in
8444   nvcc*)
8445     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8446   *)
8447     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8448   esac
8449
8450   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8451 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8452 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8453   $as_echo_n "(cached) " >&6
8454 else
8455   lt_cv_prog_compiler_rtti_exceptions=no
8456    ac_outfile=conftest.$ac_objext
8457    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8458    lt_compiler_flag="-fno-rtti -fno-exceptions"
8459    # Insert the option either (1) after the last *FLAGS variable, or
8460    # (2) before a word containing "conftest.", or (3) at the end.
8461    # Note that $ac_compile itself does not contain backslashes and begins
8462    # with a dollar sign (not a hyphen), so the echo should work correctly.
8463    # The option is referenced via a variable to avoid confusing sed.
8464    lt_compile=`echo "$ac_compile" | $SED \
8465    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8466    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8467    -e 's:$: $lt_compiler_flag:'`
8468    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8469    (eval "$lt_compile" 2>conftest.err)
8470    ac_status=$?
8471    cat conftest.err >&5
8472    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8473    if (exit $ac_status) && test -s "$ac_outfile"; then
8474      # The compiler can only warn and ignore the option if not recognized
8475      # So say no if there are warnings other than the usual output.
8476      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8477      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8478      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8479        lt_cv_prog_compiler_rtti_exceptions=yes
8480      fi
8481    fi
8482    $RM conftest*
8483
8484 fi
8485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8486 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8487
8488 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8489     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8490 else
8491     :
8492 fi
8493
8494 fi
8495
8496
8497
8498
8499
8500
8501   lt_prog_compiler_wl=
8502 lt_prog_compiler_pic=
8503 lt_prog_compiler_static=
8504
8505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8506 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8507
8508   if test "$GCC" = yes; then
8509     lt_prog_compiler_wl='-Wl,'
8510     lt_prog_compiler_static='-static'
8511
8512     case $host_os in
8513       aix*)
8514       # All AIX code is PIC.
8515       if test "$host_cpu" = ia64; then
8516         # AIX 5 now supports IA64 processor
8517         lt_prog_compiler_static='-Bstatic'
8518       fi
8519       ;;
8520
8521     amigaos*)
8522       case $host_cpu in
8523       powerpc)
8524             # see comment about AmigaOS4 .so support
8525             lt_prog_compiler_pic='-fPIC'
8526         ;;
8527       m68k)
8528             # FIXME: we need at least 68020 code to build shared libraries, but
8529             # adding the `-m68020' flag to GCC prevents building anything better,
8530             # like `-m68040'.
8531             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8532         ;;
8533       esac
8534       ;;
8535
8536     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8537       # PIC is the default for these OSes.
8538       ;;
8539
8540     mingw* | cygwin* | pw32* | os2* | cegcc*)
8541       # This hack is so that the source file can tell whether it is being
8542       # built for inclusion in a dll (and should export symbols for example).
8543       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8544       # (--disable-auto-import) libraries
8545       lt_prog_compiler_pic='-DDLL_EXPORT'
8546       ;;
8547
8548     darwin* | rhapsody*)
8549       # PIC is the default on this platform
8550       # Common symbols not allowed in MH_DYLIB files
8551       lt_prog_compiler_pic='-fno-common'
8552       ;;
8553
8554     haiku*)
8555       # PIC is the default for Haiku.
8556       # The "-static" flag exists, but is broken.
8557       lt_prog_compiler_static=
8558       ;;
8559
8560     hpux*)
8561       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8562       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8563       # sets the default TLS model and affects inlining.
8564       case $host_cpu in
8565       hppa*64*)
8566         # +Z the default
8567         ;;
8568       *)
8569         lt_prog_compiler_pic='-fPIC'
8570         ;;
8571       esac
8572       ;;
8573
8574     interix[3-9]*)
8575       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8576       # Instead, we relocate shared libraries at runtime.
8577       ;;
8578
8579     msdosdjgpp*)
8580       # Just because we use GCC doesn't mean we suddenly get shared libraries
8581       # on systems that don't support them.
8582       lt_prog_compiler_can_build_shared=no
8583       enable_shared=no
8584       ;;
8585
8586     *nto* | *qnx*)
8587       # QNX uses GNU C++, but need to define -shared option too, otherwise
8588       # it will coredump.
8589       lt_prog_compiler_pic='-fPIC -shared'
8590       ;;
8591
8592     sysv4*MP*)
8593       if test -d /usr/nec; then
8594         lt_prog_compiler_pic=-Kconform_pic
8595       fi
8596       ;;
8597
8598     *)
8599       lt_prog_compiler_pic='-fPIC'
8600       ;;
8601     esac
8602
8603     case $cc_basename in
8604     nvcc*) # Cuda Compiler Driver 2.2
8605       lt_prog_compiler_wl='-Xlinker '
8606       lt_prog_compiler_pic='-Xcompiler -fPIC'
8607       ;;
8608     esac
8609   else
8610     # PORTME Check for flag to pass linker flags through the system compiler.
8611     case $host_os in
8612     aix*)
8613       lt_prog_compiler_wl='-Wl,'
8614       if test "$host_cpu" = ia64; then
8615         # AIX 5 now supports IA64 processor
8616         lt_prog_compiler_static='-Bstatic'
8617       else
8618         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8619       fi
8620       ;;
8621
8622     mingw* | cygwin* | pw32* | os2* | cegcc*)
8623       # This hack is so that the source file can tell whether it is being
8624       # built for inclusion in a dll (and should export symbols for example).
8625       lt_prog_compiler_pic='-DDLL_EXPORT'
8626       ;;
8627
8628     hpux9* | hpux10* | hpux11*)
8629       lt_prog_compiler_wl='-Wl,'
8630       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8631       # not for PA HP-UX.
8632       case $host_cpu in
8633       hppa*64*|ia64*)
8634         # +Z the default
8635         ;;
8636       *)
8637         lt_prog_compiler_pic='+Z'
8638         ;;
8639       esac
8640       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8641       lt_prog_compiler_static='${wl}-a ${wl}archive'
8642       ;;
8643
8644     irix5* | irix6* | nonstopux*)
8645       lt_prog_compiler_wl='-Wl,'
8646       # PIC (with -KPIC) is the default.
8647       lt_prog_compiler_static='-non_shared'
8648       ;;
8649
8650     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8651       case $cc_basename in
8652       # old Intel for x86_64 which still supported -KPIC.
8653       ecc*)
8654         lt_prog_compiler_wl='-Wl,'
8655         lt_prog_compiler_pic='-KPIC'
8656         lt_prog_compiler_static='-static'
8657         ;;
8658       # icc used to be incompatible with GCC.
8659       # ICC 10 doesn't accept -KPIC any more.
8660       icc* | ifort*)
8661         lt_prog_compiler_wl='-Wl,'
8662         lt_prog_compiler_pic='-fPIC'
8663         lt_prog_compiler_static='-static'
8664         ;;
8665       # Lahey Fortran 8.1.
8666       lf95*)
8667         lt_prog_compiler_wl='-Wl,'
8668         lt_prog_compiler_pic='--shared'
8669         lt_prog_compiler_static='--static'
8670         ;;
8671       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8672         # Portland Group compilers (*not* the Pentium gcc compiler,
8673         # which looks to be a dead project)
8674         lt_prog_compiler_wl='-Wl,'
8675         lt_prog_compiler_pic='-fpic'
8676         lt_prog_compiler_static='-Bstatic'
8677         ;;
8678       ccc*)
8679         lt_prog_compiler_wl='-Wl,'
8680         # All Alpha code is PIC.
8681         lt_prog_compiler_static='-non_shared'
8682         ;;
8683       xl* | bgxl* | bgf* | mpixl*)
8684         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8685         lt_prog_compiler_wl='-Wl,'
8686         lt_prog_compiler_pic='-qpic'
8687         lt_prog_compiler_static='-qstaticlink'
8688         ;;
8689       *)
8690         case `$CC -V 2>&1 | sed 5q` in
8691         *Sun\ F* | *Sun*Fortran*)
8692           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8693           lt_prog_compiler_pic='-KPIC'
8694           lt_prog_compiler_static='-Bstatic'
8695           lt_prog_compiler_wl=''
8696           ;;
8697         *Sun\ C*)
8698           # Sun C 5.9
8699           lt_prog_compiler_pic='-KPIC'
8700           lt_prog_compiler_static='-Bstatic'
8701           lt_prog_compiler_wl='-Wl,'
8702           ;;
8703         esac
8704         ;;
8705       esac
8706       ;;
8707
8708     newsos6)
8709       lt_prog_compiler_pic='-KPIC'
8710       lt_prog_compiler_static='-Bstatic'
8711       ;;
8712
8713     *nto* | *qnx*)
8714       # QNX uses GNU C++, but need to define -shared option too, otherwise
8715       # it will coredump.
8716       lt_prog_compiler_pic='-fPIC -shared'
8717       ;;
8718
8719     osf3* | osf4* | osf5*)
8720       lt_prog_compiler_wl='-Wl,'
8721       # All OSF/1 code is PIC.
8722       lt_prog_compiler_static='-non_shared'
8723       ;;
8724
8725     rdos*)
8726       lt_prog_compiler_static='-non_shared'
8727       ;;
8728
8729     solaris*)
8730       lt_prog_compiler_pic='-KPIC'
8731       lt_prog_compiler_static='-Bstatic'
8732       case $cc_basename in
8733       f77* | f90* | f95*)
8734         lt_prog_compiler_wl='-Qoption ld ';;
8735       *)
8736         lt_prog_compiler_wl='-Wl,';;
8737       esac
8738       ;;
8739
8740     sunos4*)
8741       lt_prog_compiler_wl='-Qoption ld '
8742       lt_prog_compiler_pic='-PIC'
8743       lt_prog_compiler_static='-Bstatic'
8744       ;;
8745
8746     sysv4 | sysv4.2uw2* | sysv4.3*)
8747       lt_prog_compiler_wl='-Wl,'
8748       lt_prog_compiler_pic='-KPIC'
8749       lt_prog_compiler_static='-Bstatic'
8750       ;;
8751
8752     sysv4*MP*)
8753       if test -d /usr/nec ;then
8754         lt_prog_compiler_pic='-Kconform_pic'
8755         lt_prog_compiler_static='-Bstatic'
8756       fi
8757       ;;
8758
8759     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8760       lt_prog_compiler_wl='-Wl,'
8761       lt_prog_compiler_pic='-KPIC'
8762       lt_prog_compiler_static='-Bstatic'
8763       ;;
8764
8765     unicos*)
8766       lt_prog_compiler_wl='-Wl,'
8767       lt_prog_compiler_can_build_shared=no
8768       ;;
8769
8770     uts4*)
8771       lt_prog_compiler_pic='-pic'
8772       lt_prog_compiler_static='-Bstatic'
8773       ;;
8774
8775     *)
8776       lt_prog_compiler_can_build_shared=no
8777       ;;
8778     esac
8779   fi
8780
8781 case $host_os in
8782   # For platforms which do not support PIC, -DPIC is meaningless:
8783   *djgpp*)
8784     lt_prog_compiler_pic=
8785     ;;
8786   *)
8787     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8788     ;;
8789 esac
8790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8791 $as_echo "$lt_prog_compiler_pic" >&6; }
8792
8793
8794
8795
8796
8797
8798 #
8799 # Check to make sure the PIC flag actually works.
8800 #
8801 if test -n "$lt_prog_compiler_pic"; then
8802   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8803 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8804 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8805   $as_echo_n "(cached) " >&6
8806 else
8807   lt_cv_prog_compiler_pic_works=no
8808    ac_outfile=conftest.$ac_objext
8809    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8810    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8811    # Insert the option either (1) after the last *FLAGS variable, or
8812    # (2) before a word containing "conftest.", or (3) at the end.
8813    # Note that $ac_compile itself does not contain backslashes and begins
8814    # with a dollar sign (not a hyphen), so the echo should work correctly.
8815    # The option is referenced via a variable to avoid confusing sed.
8816    lt_compile=`echo "$ac_compile" | $SED \
8817    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8818    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8819    -e 's:$: $lt_compiler_flag:'`
8820    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8821    (eval "$lt_compile" 2>conftest.err)
8822    ac_status=$?
8823    cat conftest.err >&5
8824    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8825    if (exit $ac_status) && test -s "$ac_outfile"; then
8826      # The compiler can only warn and ignore the option if not recognized
8827      # So say no if there are warnings other than the usual output.
8828      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8829      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8830      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8831        lt_cv_prog_compiler_pic_works=yes
8832      fi
8833    fi
8834    $RM conftest*
8835
8836 fi
8837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8838 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8839
8840 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8841     case $lt_prog_compiler_pic in
8842      "" | " "*) ;;
8843      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8844      esac
8845 else
8846     lt_prog_compiler_pic=
8847      lt_prog_compiler_can_build_shared=no
8848 fi
8849
8850 fi
8851
8852
8853
8854
8855
8856
8857 #
8858 # Check to make sure the static flag actually works.
8859 #
8860 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8862 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8863 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8864   $as_echo_n "(cached) " >&6
8865 else
8866   lt_cv_prog_compiler_static_works=no
8867    save_LDFLAGS="$LDFLAGS"
8868    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8869    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8870    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8871      # The linker can only warn and ignore the option if not recognized
8872      # So say no if there are warnings
8873      if test -s conftest.err; then
8874        # Append any errors to the config.log.
8875        cat conftest.err 1>&5
8876        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8877        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8878        if diff conftest.exp conftest.er2 >/dev/null; then
8879          lt_cv_prog_compiler_static_works=yes
8880        fi
8881      else
8882        lt_cv_prog_compiler_static_works=yes
8883      fi
8884    fi
8885    $RM -r conftest*
8886    LDFLAGS="$save_LDFLAGS"
8887
8888 fi
8889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8890 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8891
8892 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8893     :
8894 else
8895     lt_prog_compiler_static=
8896 fi
8897
8898
8899
8900
8901
8902
8903
8904   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8905 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8906 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8907   $as_echo_n "(cached) " >&6
8908 else
8909   lt_cv_prog_compiler_c_o=no
8910    $RM -r conftest 2>/dev/null
8911    mkdir conftest
8912    cd conftest
8913    mkdir out
8914    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8915
8916    lt_compiler_flag="-o out/conftest2.$ac_objext"
8917    # Insert the option either (1) after the last *FLAGS variable, or
8918    # (2) before a word containing "conftest.", or (3) at the end.
8919    # Note that $ac_compile itself does not contain backslashes and begins
8920    # with a dollar sign (not a hyphen), so the echo should work correctly.
8921    lt_compile=`echo "$ac_compile" | $SED \
8922    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8923    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8924    -e 's:$: $lt_compiler_flag:'`
8925    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8926    (eval "$lt_compile" 2>out/conftest.err)
8927    ac_status=$?
8928    cat out/conftest.err >&5
8929    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8930    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8931    then
8932      # The compiler can only warn and ignore the option if not recognized
8933      # So say no if there are warnings
8934      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8935      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8936      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8937        lt_cv_prog_compiler_c_o=yes
8938      fi
8939    fi
8940    chmod u+w . 2>&5
8941    $RM conftest*
8942    # SGI C++ compiler will create directory out/ii_files/ for
8943    # template instantiation
8944    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8945    $RM out/* && rmdir out
8946    cd ..
8947    $RM -r conftest
8948    $RM conftest*
8949
8950 fi
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8952 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8953
8954
8955
8956
8957
8958
8959   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8960 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8961 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8962   $as_echo_n "(cached) " >&6
8963 else
8964   lt_cv_prog_compiler_c_o=no
8965    $RM -r conftest 2>/dev/null
8966    mkdir conftest
8967    cd conftest
8968    mkdir out
8969    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8970
8971    lt_compiler_flag="-o out/conftest2.$ac_objext"
8972    # Insert the option either (1) after the last *FLAGS variable, or
8973    # (2) before a word containing "conftest.", or (3) at the end.
8974    # Note that $ac_compile itself does not contain backslashes and begins
8975    # with a dollar sign (not a hyphen), so the echo should work correctly.
8976    lt_compile=`echo "$ac_compile" | $SED \
8977    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8978    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8979    -e 's:$: $lt_compiler_flag:'`
8980    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8981    (eval "$lt_compile" 2>out/conftest.err)
8982    ac_status=$?
8983    cat out/conftest.err >&5
8984    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8985    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8986    then
8987      # The compiler can only warn and ignore the option if not recognized
8988      # So say no if there are warnings
8989      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8990      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8991      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8992        lt_cv_prog_compiler_c_o=yes
8993      fi
8994    fi
8995    chmod u+w . 2>&5
8996    $RM conftest*
8997    # SGI C++ compiler will create directory out/ii_files/ for
8998    # template instantiation
8999    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9000    $RM out/* && rmdir out
9001    cd ..
9002    $RM -r conftest
9003    $RM conftest*
9004
9005 fi
9006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9007 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9008
9009
9010
9011
9012 hard_links="nottested"
9013 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9014   # do not overwrite the value of need_locks provided by the user
9015   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9016 $as_echo_n "checking if we can lock with hard links... " >&6; }
9017   hard_links=yes
9018   $RM conftest*
9019   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9020   touch conftest.a
9021   ln conftest.a conftest.b 2>&5 || hard_links=no
9022   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9023   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9024 $as_echo "$hard_links" >&6; }
9025   if test "$hard_links" = no; then
9026     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9027 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9028     need_locks=warn
9029   fi
9030 else
9031   need_locks=no
9032 fi
9033
9034
9035
9036
9037
9038
9039   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9040 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9041
9042   runpath_var=
9043   allow_undefined_flag=
9044   always_export_symbols=no
9045   archive_cmds=
9046   archive_expsym_cmds=
9047   compiler_needs_object=no
9048   enable_shared_with_static_runtimes=no
9049   export_dynamic_flag_spec=
9050   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9051   hardcode_automatic=no
9052   hardcode_direct=no
9053   hardcode_direct_absolute=no
9054   hardcode_libdir_flag_spec=
9055   hardcode_libdir_flag_spec_ld=
9056   hardcode_libdir_separator=
9057   hardcode_minus_L=no
9058   hardcode_shlibpath_var=unsupported
9059   inherit_rpath=no
9060   link_all_deplibs=unknown
9061   module_cmds=
9062   module_expsym_cmds=
9063   old_archive_from_new_cmds=
9064   old_archive_from_expsyms_cmds=
9065   thread_safe_flag_spec=
9066   whole_archive_flag_spec=
9067   # include_expsyms should be a list of space-separated symbols to be *always*
9068   # included in the symbol list
9069   include_expsyms=
9070   # exclude_expsyms can be an extended regexp of symbols to exclude
9071   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9072   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9073   # as well as any symbol that contains `d'.
9074   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9075   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9076   # platforms (ab)use it in PIC code, but their linkers get confused if
9077   # the symbol is explicitly referenced.  Since portable code cannot
9078   # rely on this symbol name, it's probably fine to never include it in
9079   # preloaded symbol tables.
9080   # Exclude shared library initialization/finalization symbols.
9081   extract_expsyms_cmds=
9082
9083   case $host_os in
9084   cygwin* | mingw* | pw32* | cegcc*)
9085     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9086     # When not using gcc, we currently assume that we are using
9087     # Microsoft Visual C++.
9088     if test "$GCC" != yes; then
9089       with_gnu_ld=no
9090     fi
9091     ;;
9092   interix*)
9093     # we just hope/assume this is gcc and not c89 (= MSVC++)
9094     with_gnu_ld=yes
9095     ;;
9096   openbsd*)
9097     with_gnu_ld=no
9098     ;;
9099   esac
9100
9101   ld_shlibs=yes
9102
9103   # On some targets, GNU ld is compatible enough with the native linker
9104   # that we're better off using the native interface for both.
9105   lt_use_gnu_ld_interface=no
9106   if test "$with_gnu_ld" = yes; then
9107     case $host_os in
9108       aix*)
9109         # The AIX port of GNU ld has always aspired to compatibility
9110         # with the native linker.  However, as the warning in the GNU ld
9111         # block says, versions before 2.19.5* couldn't really create working
9112         # shared libraries, regardless of the interface used.
9113         case `$LD -v 2>&1` in
9114           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9115           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9116           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9117           *)
9118             lt_use_gnu_ld_interface=yes
9119             ;;
9120         esac
9121         ;;
9122       *)
9123         lt_use_gnu_ld_interface=yes
9124         ;;
9125     esac
9126   fi
9127
9128   if test "$lt_use_gnu_ld_interface" = yes; then
9129     # If archive_cmds runs LD, not CC, wlarc should be empty
9130     wlarc='${wl}'
9131
9132     # Set some defaults for GNU ld with shared library support. These
9133     # are reset later if shared libraries are not supported. Putting them
9134     # here allows them to be overridden if necessary.
9135     runpath_var=LD_RUN_PATH
9136     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9137     export_dynamic_flag_spec='${wl}--export-dynamic'
9138     # ancient GNU ld didn't support --whole-archive et. al.
9139     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9140       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9141     else
9142       whole_archive_flag_spec=
9143     fi
9144     supports_anon_versioning=no
9145     case `$LD -v 2>&1` in
9146       *GNU\ gold*) supports_anon_versioning=yes ;;
9147       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9148       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9149       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9150       *\ 2.11.*) ;; # other 2.11 versions
9151       *) supports_anon_versioning=yes ;;
9152     esac
9153
9154     # See if GNU ld supports shared libraries.
9155     case $host_os in
9156     aix[3-9]*)
9157       # On AIX/PPC, the GNU linker is very broken
9158       if test "$host_cpu" != ia64; then
9159         ld_shlibs=no
9160         cat <<_LT_EOF 1>&2
9161
9162 *** Warning: the GNU linker, at least up to release 2.19, is reported
9163 *** to be unable to reliably create shared libraries on AIX.
9164 *** Therefore, libtool is disabling shared libraries support.  If you
9165 *** really care for shared libraries, you may want to install binutils
9166 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9167 *** You will then need to restart the configuration process.
9168
9169 _LT_EOF
9170       fi
9171       ;;
9172
9173     amigaos*)
9174       case $host_cpu in
9175       powerpc)
9176             # see comment about AmigaOS4 .so support
9177             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9178             archive_expsym_cmds=''
9179         ;;
9180       m68k)
9181             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)'
9182             hardcode_libdir_flag_spec='-L$libdir'
9183             hardcode_minus_L=yes
9184         ;;
9185       esac
9186       ;;
9187
9188     beos*)
9189       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9190         allow_undefined_flag=unsupported
9191         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9192         # support --undefined.  This deserves some investigation.  FIXME
9193         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9194       else
9195         ld_shlibs=no
9196       fi
9197       ;;
9198
9199     cygwin* | mingw* | pw32* | cegcc*)
9200       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9201       # as there is no search path for DLLs.
9202       hardcode_libdir_flag_spec='-L$libdir'
9203       export_dynamic_flag_spec='${wl}--export-all-symbols'
9204       allow_undefined_flag=unsupported
9205       always_export_symbols=no
9206       enable_shared_with_static_runtimes=yes
9207       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9208
9209       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9210         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9211         # If the export-symbols file already is a .def file (1st line
9212         # is EXPORTS), use it as is; otherwise, prepend...
9213         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9214           cp $export_symbols $output_objdir/$soname.def;
9215         else
9216           echo EXPORTS > $output_objdir/$soname.def;
9217           cat $export_symbols >> $output_objdir/$soname.def;
9218         fi~
9219         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9220       else
9221         ld_shlibs=no
9222       fi
9223       ;;
9224
9225     haiku*)
9226       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9227       link_all_deplibs=yes
9228       ;;
9229
9230     interix[3-9]*)
9231       hardcode_direct=no
9232       hardcode_shlibpath_var=no
9233       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9234       export_dynamic_flag_spec='${wl}-E'
9235       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9236       # Instead, shared libraries are loaded at an image base (0x10000000 by
9237       # default) and relocated if they conflict, which is a slow very memory
9238       # consuming and fragmenting process.  To avoid this, we pick a random,
9239       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9240       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9241       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9242       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'
9243       ;;
9244
9245     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9246       tmp_diet=no
9247       if test "$host_os" = linux-dietlibc; then
9248         case $cc_basename in
9249           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9250         esac
9251       fi
9252       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9253          && test "$tmp_diet" = no
9254       then
9255         tmp_addflag=
9256         tmp_sharedflag='-shared'
9257         case $cc_basename,$host_cpu in
9258         pgcc*)                          # Portland Group C compiler
9259           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'
9260           tmp_addflag=' $pic_flag'
9261           ;;
9262         pgf77* | pgf90* | pgf95* | pgfortran*)
9263                                         # Portland Group f77 and f90 compilers
9264           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'
9265           tmp_addflag=' $pic_flag -Mnomain' ;;
9266         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9267           tmp_addflag=' -i_dynamic' ;;
9268         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9269           tmp_addflag=' -i_dynamic -nofor_main' ;;
9270         ifc* | ifort*)                  # Intel Fortran compiler
9271           tmp_addflag=' -nofor_main' ;;
9272         lf95*)                          # Lahey Fortran 8.1
9273           whole_archive_flag_spec=
9274           tmp_sharedflag='--shared' ;;
9275         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9276           tmp_sharedflag='-qmkshrobj'
9277           tmp_addflag= ;;
9278         nvcc*)  # Cuda Compiler Driver 2.2
9279           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'
9280           compiler_needs_object=yes
9281           ;;
9282         esac
9283         case `$CC -V 2>&1 | sed 5q` in
9284         *Sun\ C*)                       # Sun C 5.9
9285           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'
9286           compiler_needs_object=yes
9287           tmp_sharedflag='-G' ;;
9288         *Sun\ F*)                       # Sun Fortran 8.3
9289           tmp_sharedflag='-G' ;;
9290         esac
9291         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9292
9293         if test "x$supports_anon_versioning" = xyes; then
9294           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9295             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9296             echo "local: *; };" >> $output_objdir/$libname.ver~
9297             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9298         fi
9299
9300         case $cc_basename in
9301         xlf* | bgf* | bgxlf* | mpixlf*)
9302           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9303           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9304           hardcode_libdir_flag_spec=
9305           hardcode_libdir_flag_spec_ld='-rpath $libdir'
9306           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9307           if test "x$supports_anon_versioning" = xyes; then
9308             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9309               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9310               echo "local: *; };" >> $output_objdir/$libname.ver~
9311               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9312           fi
9313           ;;
9314         esac
9315       else
9316         ld_shlibs=no
9317       fi
9318       ;;
9319
9320     netbsd*)
9321       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9322         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9323         wlarc=
9324       else
9325         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9326         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9327       fi
9328       ;;
9329
9330     solaris*)
9331       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9332         ld_shlibs=no
9333         cat <<_LT_EOF 1>&2
9334
9335 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9336 *** create shared libraries on Solaris systems.  Therefore, libtool
9337 *** is disabling shared libraries support.  We urge you to upgrade GNU
9338 *** binutils to release 2.9.1 or newer.  Another option is to modify
9339 *** your PATH or compiler configuration so that the native linker is
9340 *** used, and then restart.
9341
9342 _LT_EOF
9343       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9344         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9345         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9346       else
9347         ld_shlibs=no
9348       fi
9349       ;;
9350
9351     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9352       case `$LD -v 2>&1` in
9353         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9354         ld_shlibs=no
9355         cat <<_LT_EOF 1>&2
9356
9357 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9358 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9359 *** is disabling shared libraries support.  We urge you to upgrade GNU
9360 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9361 *** your PATH or compiler configuration so that the native linker is
9362 *** used, and then restart.
9363
9364 _LT_EOF
9365         ;;
9366         *)
9367           # For security reasons, it is highly recommended that you always
9368           # use absolute paths for naming shared libraries, and exclude the
9369           # DT_RUNPATH tag from executables and libraries.  But doing so
9370           # requires that you compile everything twice, which is a pain.
9371           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9372             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9373             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9374             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9375           else
9376             ld_shlibs=no
9377           fi
9378         ;;
9379       esac
9380       ;;
9381
9382     sunos4*)
9383       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9384       wlarc=
9385       hardcode_direct=yes
9386       hardcode_shlibpath_var=no
9387       ;;
9388
9389     *)
9390       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9391         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9392         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9393       else
9394         ld_shlibs=no
9395       fi
9396       ;;
9397     esac
9398
9399     if test "$ld_shlibs" = no; then
9400       runpath_var=
9401       hardcode_libdir_flag_spec=
9402       export_dynamic_flag_spec=
9403       whole_archive_flag_spec=
9404     fi
9405   else
9406     # PORTME fill in a description of your system's linker (not GNU ld)
9407     case $host_os in
9408     aix3*)
9409       allow_undefined_flag=unsupported
9410       always_export_symbols=yes
9411       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'
9412       # Note: this linker hardcodes the directories in LIBPATH if there
9413       # are no directories specified by -L.
9414       hardcode_minus_L=yes
9415       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9416         # Neither direct hardcoding nor static linking is supported with a
9417         # broken collect2.
9418         hardcode_direct=unsupported
9419       fi
9420       ;;
9421
9422     aix[4-9]*)
9423       if test "$host_cpu" = ia64; then
9424         # On IA64, the linker does run time linking by default, so we don't
9425         # have to do anything special.
9426         aix_use_runtimelinking=no
9427         exp_sym_flag='-Bexport'
9428         no_entry_flag=""
9429       else
9430         # If we're using GNU nm, then we don't want the "-C" option.
9431         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9432         # Also, AIX nm treats weak defined symbols like other global
9433         # defined symbols, whereas GNU nm marks them as "W".
9434         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9435           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'
9436         else
9437           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'
9438         fi
9439         aix_use_runtimelinking=no
9440
9441         # Test if we are trying to use run time linking or normal
9442         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9443         # need to do runtime linking.
9444         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9445           for ld_flag in $LDFLAGS; do
9446           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9447             aix_use_runtimelinking=yes
9448             break
9449           fi
9450           done
9451           ;;
9452         esac
9453
9454         exp_sym_flag='-bexport'
9455         no_entry_flag='-bnoentry'
9456       fi
9457
9458       # When large executables or shared objects are built, AIX ld can
9459       # have problems creating the table of contents.  If linking a library
9460       # or program results in "error TOC overflow" add -mminimal-toc to
9461       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9462       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9463
9464       archive_cmds=''
9465       hardcode_direct=yes
9466       hardcode_direct_absolute=yes
9467       hardcode_libdir_separator=':'
9468       link_all_deplibs=yes
9469       file_list_spec='${wl}-f,'
9470
9471       if test "$GCC" = yes; then
9472         case $host_os in aix4.[012]|aix4.[012].*)
9473         # We only want to do this on AIX 4.2 and lower, the check
9474         # below for broken collect2 doesn't work under 4.3+
9475           collect2name=`${CC} -print-prog-name=collect2`
9476           if test -f "$collect2name" &&
9477            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9478           then
9479           # We have reworked collect2
9480           :
9481           else
9482           # We have old collect2
9483           hardcode_direct=unsupported
9484           # It fails to find uninstalled libraries when the uninstalled
9485           # path is not listed in the libpath.  Setting hardcode_minus_L
9486           # to unsupported forces relinking
9487           hardcode_minus_L=yes
9488           hardcode_libdir_flag_spec='-L$libdir'
9489           hardcode_libdir_separator=
9490           fi
9491           ;;
9492         esac
9493         shared_flag='-shared'
9494         if test "$aix_use_runtimelinking" = yes; then
9495           shared_flag="$shared_flag "'${wl}-G'
9496         fi
9497       else
9498         # not using gcc
9499         if test "$host_cpu" = ia64; then
9500         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9501         # chokes on -Wl,-G. The following line is correct:
9502           shared_flag='-G'
9503         else
9504           if test "$aix_use_runtimelinking" = yes; then
9505             shared_flag='${wl}-G'
9506           else
9507             shared_flag='${wl}-bM:SRE'
9508           fi
9509         fi
9510       fi
9511
9512       export_dynamic_flag_spec='${wl}-bexpall'
9513       # It seems that -bexpall does not export symbols beginning with
9514       # underscore (_), so it is better to generate a list of symbols to export.
9515       always_export_symbols=yes
9516       if test "$aix_use_runtimelinking" = yes; then
9517         # Warning - without using the other runtime loading flags (-brtl),
9518         # -berok will link without error, but may produce a broken library.
9519         allow_undefined_flag='-berok'
9520         # Determine the default libpath from the value encoded in an
9521         # empty executable.
9522         if test x$gcc_no_link = xyes; then
9523   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9524 fi
9525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9526 /* end confdefs.h.  */
9527
9528 int
9529 main ()
9530 {
9531
9532   ;
9533   return 0;
9534 }
9535 _ACEOF
9536 if ac_fn_c_try_link "$LINENO"; then :
9537
9538 lt_aix_libpath_sed='
9539     /Import File Strings/,/^$/ {
9540         /^0/ {
9541             s/^0  *\(.*\)$/\1/
9542             p
9543         }
9544     }'
9545 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9546 # Check for a 64-bit object if we didn't find anything.
9547 if test -z "$aix_libpath"; then
9548   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9549 fi
9550 fi
9551 rm -f core conftest.err conftest.$ac_objext \
9552     conftest$ac_exeext conftest.$ac_ext
9553 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9554
9555         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9556         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"
9557       else
9558         if test "$host_cpu" = ia64; then
9559           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9560           allow_undefined_flag="-z nodefs"
9561           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"
9562         else
9563          # Determine the default libpath from the value encoded in an
9564          # empty executable.
9565          if test x$gcc_no_link = xyes; then
9566   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9567 fi
9568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9569 /* end confdefs.h.  */
9570
9571 int
9572 main ()
9573 {
9574
9575   ;
9576   return 0;
9577 }
9578 _ACEOF
9579 if ac_fn_c_try_link "$LINENO"; then :
9580
9581 lt_aix_libpath_sed='
9582     /Import File Strings/,/^$/ {
9583         /^0/ {
9584             s/^0  *\(.*\)$/\1/
9585             p
9586         }
9587     }'
9588 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9589 # Check for a 64-bit object if we didn't find anything.
9590 if test -z "$aix_libpath"; then
9591   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9592 fi
9593 fi
9594 rm -f core conftest.err conftest.$ac_objext \
9595     conftest$ac_exeext conftest.$ac_ext
9596 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9597
9598          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9599           # Warning - without using the other run time loading flags,
9600           # -berok will link without error, but may produce a broken library.
9601           no_undefined_flag=' ${wl}-bernotok'
9602           allow_undefined_flag=' ${wl}-berok'
9603           if test "$with_gnu_ld" = yes; then
9604             # We only use this code for GNU lds that support --whole-archive.
9605             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9606           else
9607             # Exported symbols can be pulled into shared objects from archives
9608             whole_archive_flag_spec='$convenience'
9609           fi
9610           archive_cmds_need_lc=yes
9611           # This is similar to how AIX traditionally builds its shared libraries.
9612           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'
9613         fi
9614       fi
9615       ;;
9616
9617     amigaos*)
9618       case $host_cpu in
9619       powerpc)
9620             # see comment about AmigaOS4 .so support
9621             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9622             archive_expsym_cmds=''
9623         ;;
9624       m68k)
9625             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)'
9626             hardcode_libdir_flag_spec='-L$libdir'
9627             hardcode_minus_L=yes
9628         ;;
9629       esac
9630       ;;
9631
9632     bsdi[45]*)
9633       export_dynamic_flag_spec=-rdynamic
9634       ;;
9635
9636     cygwin* | mingw* | pw32* | cegcc*)
9637       # When not using gcc, we currently assume that we are using
9638       # Microsoft Visual C++.
9639       # hardcode_libdir_flag_spec is actually meaningless, as there is
9640       # no search path for DLLs.
9641       hardcode_libdir_flag_spec=' '
9642       allow_undefined_flag=unsupported
9643       # Tell ltmain to make .lib files, not .a files.
9644       libext=lib
9645       # Tell ltmain to make .dll files, not .so files.
9646       shrext_cmds=".dll"
9647       # FIXME: Setting linknames here is a bad hack.
9648       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9649       # The linker will automatically build a .lib file if we build a DLL.
9650       old_archive_from_new_cmds='true'
9651       # FIXME: Should let the user specify the lib program.
9652       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9653       fix_srcfile_path='`cygpath -w "$srcfile"`'
9654       enable_shared_with_static_runtimes=yes
9655       ;;
9656
9657     darwin* | rhapsody*)
9658
9659
9660   archive_cmds_need_lc=no
9661   hardcode_direct=no
9662   hardcode_automatic=yes
9663   hardcode_shlibpath_var=unsupported
9664   if test "$lt_cv_ld_force_load" = "yes"; then
9665     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\"`'
9666   else
9667     whole_archive_flag_spec=''
9668   fi
9669   link_all_deplibs=yes
9670   allow_undefined_flag="$_lt_dar_allow_undefined"
9671   case $cc_basename in
9672      ifort*) _lt_dar_can_shared=yes ;;
9673      *) _lt_dar_can_shared=$GCC ;;
9674   esac
9675   if test "$_lt_dar_can_shared" = "yes"; then
9676     output_verbose_link_cmd=func_echo_all
9677     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9678     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9679     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}"
9680     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}"
9681
9682   else
9683   ld_shlibs=no
9684   fi
9685
9686       ;;
9687
9688     dgux*)
9689       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9690       hardcode_libdir_flag_spec='-L$libdir'
9691       hardcode_shlibpath_var=no
9692       ;;
9693
9694     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9695     # support.  Future versions do this automatically, but an explicit c++rt0.o
9696     # does not break anything, and helps significantly (at the cost of a little
9697     # extra space).
9698     freebsd2.2*)
9699       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9700       hardcode_libdir_flag_spec='-R$libdir'
9701       hardcode_direct=yes
9702       hardcode_shlibpath_var=no
9703       ;;
9704
9705     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9706     freebsd2*)
9707       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9708       hardcode_direct=yes
9709       hardcode_minus_L=yes
9710       hardcode_shlibpath_var=no
9711       ;;
9712
9713     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9714     freebsd* | dragonfly*)
9715       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9716       hardcode_libdir_flag_spec='-R$libdir'
9717       hardcode_direct=yes
9718       hardcode_shlibpath_var=no
9719       ;;
9720
9721     hpux9*)
9722       if test "$GCC" = yes; then
9723         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'
9724       else
9725         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'
9726       fi
9727       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9728       hardcode_libdir_separator=:
9729       hardcode_direct=yes
9730
9731       # hardcode_minus_L: Not really in the search PATH,
9732       # but as the default location of the library.
9733       hardcode_minus_L=yes
9734       export_dynamic_flag_spec='${wl}-E'
9735       ;;
9736
9737     hpux10*)
9738       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9739         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9740       else
9741         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9742       fi
9743       if test "$with_gnu_ld" = no; then
9744         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9745         hardcode_libdir_flag_spec_ld='+b $libdir'
9746         hardcode_libdir_separator=:
9747         hardcode_direct=yes
9748         hardcode_direct_absolute=yes
9749         export_dynamic_flag_spec='${wl}-E'
9750         # hardcode_minus_L: Not really in the search PATH,
9751         # but as the default location of the library.
9752         hardcode_minus_L=yes
9753       fi
9754       ;;
9755
9756     hpux11*)
9757       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9758         case $host_cpu in
9759         hppa*64*)
9760           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9761           ;;
9762         ia64*)
9763           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9764           ;;
9765         *)
9766           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9767           ;;
9768         esac
9769       else
9770         case $host_cpu in
9771         hppa*64*)
9772           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9773           ;;
9774         ia64*)
9775           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9776           ;;
9777         *)
9778
9779           # Older versions of the 11.00 compiler do not understand -b yet
9780           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9781           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9782 $as_echo_n "checking if $CC understands -b... " >&6; }
9783 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9784   $as_echo_n "(cached) " >&6
9785 else
9786   lt_cv_prog_compiler__b=no
9787    save_LDFLAGS="$LDFLAGS"
9788    LDFLAGS="$LDFLAGS -b"
9789    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9790    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9791      # The linker can only warn and ignore the option if not recognized
9792      # So say no if there are warnings
9793      if test -s conftest.err; then
9794        # Append any errors to the config.log.
9795        cat conftest.err 1>&5
9796        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9797        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9798        if diff conftest.exp conftest.er2 >/dev/null; then
9799          lt_cv_prog_compiler__b=yes
9800        fi
9801      else
9802        lt_cv_prog_compiler__b=yes
9803      fi
9804    fi
9805    $RM -r conftest*
9806    LDFLAGS="$save_LDFLAGS"
9807
9808 fi
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9810 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9811
9812 if test x"$lt_cv_prog_compiler__b" = xyes; then
9813     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9814 else
9815     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9816 fi
9817
9818           ;;
9819         esac
9820       fi
9821       if test "$with_gnu_ld" = no; then
9822         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9823         hardcode_libdir_separator=:
9824
9825         case $host_cpu in
9826         hppa*64*|ia64*)
9827           hardcode_direct=no
9828           hardcode_shlibpath_var=no
9829           ;;
9830         *)
9831           hardcode_direct=yes
9832           hardcode_direct_absolute=yes
9833           export_dynamic_flag_spec='${wl}-E'
9834
9835           # hardcode_minus_L: Not really in the search PATH,
9836           # but as the default location of the library.
9837           hardcode_minus_L=yes
9838           ;;
9839         esac
9840       fi
9841       ;;
9842
9843     irix5* | irix6* | nonstopux*)
9844       if test "$GCC" = yes; then
9845         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'
9846         # Try to use the -exported_symbol ld option, if it does not
9847         # work, assume that -exports_file does not work either and
9848         # implicitly export all symbols.
9849         save_LDFLAGS="$LDFLAGS"
9850         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9851         if test x$gcc_no_link = xyes; then
9852   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9853 fi
9854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9855 /* end confdefs.h.  */
9856 int foo(void) {}
9857 _ACEOF
9858 if ac_fn_c_try_link "$LINENO"; then :
9859   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'
9860
9861 fi
9862 rm -f core conftest.err conftest.$ac_objext \
9863     conftest$ac_exeext conftest.$ac_ext
9864         LDFLAGS="$save_LDFLAGS"
9865       else
9866         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'
9867         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'
9868       fi
9869       archive_cmds_need_lc='no'
9870       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9871       hardcode_libdir_separator=:
9872       inherit_rpath=yes
9873       link_all_deplibs=yes
9874       ;;
9875
9876     netbsd*)
9877       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9878         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9879       else
9880         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9881       fi
9882       hardcode_libdir_flag_spec='-R$libdir'
9883       hardcode_direct=yes
9884       hardcode_shlibpath_var=no
9885       ;;
9886
9887     newsos6)
9888       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9889       hardcode_direct=yes
9890       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9891       hardcode_libdir_separator=:
9892       hardcode_shlibpath_var=no
9893       ;;
9894
9895     *nto* | *qnx*)
9896       ;;
9897
9898     openbsd*)
9899       if test -f /usr/libexec/ld.so; then
9900         hardcode_direct=yes
9901         hardcode_shlibpath_var=no
9902         hardcode_direct_absolute=yes
9903         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9904           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9905           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9906           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9907           export_dynamic_flag_spec='${wl}-E'
9908         else
9909           case $host_os in
9910            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9911              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9912              hardcode_libdir_flag_spec='-R$libdir'
9913              ;;
9914            *)
9915              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9916              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9917              ;;
9918           esac
9919         fi
9920       else
9921         ld_shlibs=no
9922       fi
9923       ;;
9924
9925     os2*)
9926       hardcode_libdir_flag_spec='-L$libdir'
9927       hardcode_minus_L=yes
9928       allow_undefined_flag=unsupported
9929       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'
9930       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9931       ;;
9932
9933     osf3*)
9934       if test "$GCC" = yes; then
9935         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9936         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'
9937       else
9938         allow_undefined_flag=' -expect_unresolved \*'
9939         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'
9940       fi
9941       archive_cmds_need_lc='no'
9942       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9943       hardcode_libdir_separator=:
9944       ;;
9945
9946     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9947       if test "$GCC" = yes; then
9948         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9949         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'
9950         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9951       else
9952         allow_undefined_flag=' -expect_unresolved \*'
9953         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'
9954         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~
9955         $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'
9956
9957         # Both c and cxx compiler support -rpath directly
9958         hardcode_libdir_flag_spec='-rpath $libdir'
9959       fi
9960       archive_cmds_need_lc='no'
9961       hardcode_libdir_separator=:
9962       ;;
9963
9964     solaris*)
9965       no_undefined_flag=' -z defs'
9966       if test "$GCC" = yes; then
9967         wlarc='${wl}'
9968         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9969         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9970           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9971       else
9972         case `$CC -V 2>&1` in
9973         *"Compilers 5.0"*)
9974           wlarc=''
9975           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9976           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9977           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9978           ;;
9979         *)
9980           wlarc='${wl}'
9981           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9982           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9983           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9984           ;;
9985         esac
9986       fi
9987       hardcode_libdir_flag_spec='-R$libdir'
9988       hardcode_shlibpath_var=no
9989       case $host_os in
9990       solaris2.[0-5] | solaris2.[0-5].*) ;;
9991       *)
9992         # The compiler driver will combine and reorder linker options,
9993         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9994         # but is careful enough not to reorder.
9995         # Supported since Solaris 2.6 (maybe 2.5.1?)
9996         if test "$GCC" = yes; then
9997           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9998         else
9999           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10000         fi
10001         ;;
10002       esac
10003       link_all_deplibs=yes
10004       ;;
10005
10006     sunos4*)
10007       if test "x$host_vendor" = xsequent; then
10008         # Use $CC to link under sequent, because it throws in some extra .o
10009         # files that make .init and .fini sections work.
10010         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10011       else
10012         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10013       fi
10014       hardcode_libdir_flag_spec='-L$libdir'
10015       hardcode_direct=yes
10016       hardcode_minus_L=yes
10017       hardcode_shlibpath_var=no
10018       ;;
10019
10020     sysv4)
10021       case $host_vendor in
10022         sni)
10023           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10024           hardcode_direct=yes # is this really true???
10025         ;;
10026         siemens)
10027           ## LD is ld it makes a PLAMLIB
10028           ## CC just makes a GrossModule.
10029           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10030           reload_cmds='$CC -r -o $output$reload_objs'
10031           hardcode_direct=no
10032         ;;
10033         motorola)
10034           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10035           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10036         ;;
10037       esac
10038       runpath_var='LD_RUN_PATH'
10039       hardcode_shlibpath_var=no
10040       ;;
10041
10042     sysv4.3*)
10043       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10044       hardcode_shlibpath_var=no
10045       export_dynamic_flag_spec='-Bexport'
10046       ;;
10047
10048     sysv4*MP*)
10049       if test -d /usr/nec; then
10050         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10051         hardcode_shlibpath_var=no
10052         runpath_var=LD_RUN_PATH
10053         hardcode_runpath_var=yes
10054         ld_shlibs=yes
10055       fi
10056       ;;
10057
10058     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10059       no_undefined_flag='${wl}-z,text'
10060       archive_cmds_need_lc=no
10061       hardcode_shlibpath_var=no
10062       runpath_var='LD_RUN_PATH'
10063
10064       if test "$GCC" = yes; then
10065         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10066         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10067       else
10068         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10069         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10070       fi
10071       ;;
10072
10073     sysv5* | sco3.2v5* | sco5v6*)
10074       # Note: We can NOT use -z defs as we might desire, because we do not
10075       # link with -lc, and that would cause any symbols used from libc to
10076       # always be unresolved, which means just about no library would
10077       # ever link correctly.  If we're not using GNU ld we use -z text
10078       # though, which does catch some bad symbols but isn't as heavy-handed
10079       # as -z defs.
10080       no_undefined_flag='${wl}-z,text'
10081       allow_undefined_flag='${wl}-z,nodefs'
10082       archive_cmds_need_lc=no
10083       hardcode_shlibpath_var=no
10084       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10085       hardcode_libdir_separator=':'
10086       link_all_deplibs=yes
10087       export_dynamic_flag_spec='${wl}-Bexport'
10088       runpath_var='LD_RUN_PATH'
10089
10090       if test "$GCC" = yes; then
10091         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10092         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10093       else
10094         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10095         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10096       fi
10097       ;;
10098
10099     uts4*)
10100       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10101       hardcode_libdir_flag_spec='-L$libdir'
10102       hardcode_shlibpath_var=no
10103       ;;
10104
10105     *)
10106       ld_shlibs=no
10107       ;;
10108     esac
10109
10110     if test x$host_vendor = xsni; then
10111       case $host in
10112       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10113         export_dynamic_flag_spec='${wl}-Blargedynsym'
10114         ;;
10115       esac
10116     fi
10117   fi
10118
10119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10120 $as_echo "$ld_shlibs" >&6; }
10121 test "$ld_shlibs" = no && can_build_shared=no
10122
10123 with_gnu_ld=$with_gnu_ld
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139 #
10140 # Do we need to explicitly link libc?
10141 #
10142 case "x$archive_cmds_need_lc" in
10143 x|xyes)
10144   # Assume -lc should be added
10145   archive_cmds_need_lc=yes
10146
10147   if test "$enable_shared" = yes && test "$GCC" = yes; then
10148     case $archive_cmds in
10149     *'~'*)
10150       # FIXME: we may have to deal with multi-command sequences.
10151       ;;
10152     '$CC '*)
10153       # Test whether the compiler implicitly links with -lc since on some
10154       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10155       # to ld, don't add -lc before -lgcc.
10156       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10157 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10158 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10159   $as_echo_n "(cached) " >&6
10160 else
10161   $RM conftest*
10162         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10163
10164         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10165   (eval $ac_compile) 2>&5
10166   ac_status=$?
10167   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10168   test $ac_status = 0; } 2>conftest.err; then
10169           soname=conftest
10170           lib=conftest
10171           libobjs=conftest.$ac_objext
10172           deplibs=
10173           wl=$lt_prog_compiler_wl
10174           pic_flag=$lt_prog_compiler_pic
10175           compiler_flags=-v
10176           linker_flags=-v
10177           verstring=
10178           output_objdir=.
10179           libname=conftest
10180           lt_save_allow_undefined_flag=$allow_undefined_flag
10181           allow_undefined_flag=
10182           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10183   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10184   ac_status=$?
10185   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10186   test $ac_status = 0; }
10187           then
10188             lt_cv_archive_cmds_need_lc=no
10189           else
10190             lt_cv_archive_cmds_need_lc=yes
10191           fi
10192           allow_undefined_flag=$lt_save_allow_undefined_flag
10193         else
10194           cat conftest.err 1>&5
10195         fi
10196         $RM conftest*
10197
10198 fi
10199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10200 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10201       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10202       ;;
10203     esac
10204   fi
10205   ;;
10206 esac
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
10364   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10365 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10366
10367 if test "$GCC" = yes; then
10368   case $host_os in
10369     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10370     *) lt_awk_arg="/^libraries:/" ;;
10371   esac
10372   case $host_os in
10373     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10374     *) lt_sed_strip_eq="s,=/,/,g" ;;
10375   esac
10376   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10377   case $lt_search_path_spec in
10378   *\;*)
10379     # if the path contains ";" then we assume it to be the separator
10380     # otherwise default to the standard path separator (i.e. ":") - it is
10381     # assumed that no part of a normal pathname contains ";" but that should
10382     # okay in the real world where ";" in dirpaths is itself problematic.
10383     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10384     ;;
10385   *)
10386     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10387     ;;
10388   esac
10389   # Ok, now we have the path, separated by spaces, we can step through it
10390   # and add multilib dir if necessary.
10391   lt_tmp_lt_search_path_spec=
10392   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10393   for lt_sys_path in $lt_search_path_spec; do
10394     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10395       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10396     else
10397       test -d "$lt_sys_path" && \
10398         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10399     fi
10400   done
10401   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10402 BEGIN {RS=" "; FS="/|\n";} {
10403   lt_foo="";
10404   lt_count=0;
10405   for (lt_i = NF; lt_i > 0; lt_i--) {
10406     if ($lt_i != "" && $lt_i != ".") {
10407       if ($lt_i == "..") {
10408         lt_count++;
10409       } else {
10410         if (lt_count == 0) {
10411           lt_foo="/" $lt_i lt_foo;
10412         } else {
10413           lt_count--;
10414         }
10415       }
10416     }
10417   }
10418   if (lt_foo != "") { lt_freq[lt_foo]++; }
10419   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10420 }'`
10421   # AWK program above erroneously prepends '/' to C:/dos/paths
10422   # for these hosts.
10423   case $host_os in
10424     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10425       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10426   esac
10427   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10428 else
10429   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10430 fi
10431 library_names_spec=
10432 libname_spec='lib$name'
10433 soname_spec=
10434 shrext_cmds=".so"
10435 postinstall_cmds=
10436 postuninstall_cmds=
10437 finish_cmds=
10438 finish_eval=
10439 shlibpath_var=
10440 shlibpath_overrides_runpath=unknown
10441 version_type=none
10442 dynamic_linker="$host_os ld.so"
10443 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10444 need_lib_prefix=unknown
10445 hardcode_into_libs=no
10446
10447 # when you set need_version to no, make sure it does not cause -set_version
10448 # flags to be left without arguments
10449 need_version=unknown
10450
10451 case $host_os in
10452 aix3*)
10453   version_type=linux
10454   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10455   shlibpath_var=LIBPATH
10456
10457   # AIX 3 has no versioning support, so we append a major version to the name.
10458   soname_spec='${libname}${release}${shared_ext}$major'
10459   ;;
10460
10461 aix[4-9]*)
10462   version_type=linux
10463   need_lib_prefix=no
10464   need_version=no
10465   hardcode_into_libs=yes
10466   if test "$host_cpu" = ia64; then
10467     # AIX 5 supports IA64
10468     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10469     shlibpath_var=LD_LIBRARY_PATH
10470   else
10471     # With GCC up to 2.95.x, collect2 would create an import file
10472     # for dependence libraries.  The import file would start with
10473     # the line `#! .'.  This would cause the generated library to
10474     # depend on `.', always an invalid library.  This was fixed in
10475     # development snapshots of GCC prior to 3.0.
10476     case $host_os in
10477       aix4 | aix4.[01] | aix4.[01].*)
10478       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10479            echo ' yes '
10480            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10481         :
10482       else
10483         can_build_shared=no
10484       fi
10485       ;;
10486     esac
10487     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10488     # soname into executable. Probably we can add versioning support to
10489     # collect2, so additional links can be useful in future.
10490     if test "$aix_use_runtimelinking" = yes; then
10491       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10492       # instead of lib<name>.a to let people know that these are not
10493       # typical AIX shared libraries.
10494       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10495     else
10496       # We preserve .a as extension for shared libraries through AIX4.2
10497       # and later when we are not doing run time linking.
10498       library_names_spec='${libname}${release}.a $libname.a'
10499       soname_spec='${libname}${release}${shared_ext}$major'
10500     fi
10501     shlibpath_var=LIBPATH
10502   fi
10503   ;;
10504
10505 amigaos*)
10506   case $host_cpu in
10507   powerpc)
10508     # Since July 2007 AmigaOS4 officially supports .so libraries.
10509     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10510     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10511     ;;
10512   m68k)
10513     library_names_spec='$libname.ixlibrary $libname.a'
10514     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10515     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'
10516     ;;
10517   esac
10518   ;;
10519
10520 beos*)
10521   library_names_spec='${libname}${shared_ext}'
10522   dynamic_linker="$host_os ld.so"
10523   shlibpath_var=LIBRARY_PATH
10524   ;;
10525
10526 bsdi[45]*)
10527   version_type=linux
10528   need_version=no
10529   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10530   soname_spec='${libname}${release}${shared_ext}$major'
10531   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10532   shlibpath_var=LD_LIBRARY_PATH
10533   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10534   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10535   # the default ld.so.conf also contains /usr/contrib/lib and
10536   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10537   # libtool to hard-code these into programs
10538   ;;
10539
10540 cygwin* | mingw* | pw32* | cegcc*)
10541   version_type=windows
10542   shrext_cmds=".dll"
10543   need_version=no
10544   need_lib_prefix=no
10545
10546   case $GCC,$host_os in
10547   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10548     library_names_spec='$libname.dll.a'
10549     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10550     postinstall_cmds='base_file=`basename \${file}`~
10551       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10552       dldir=$destdir/`dirname \$dlpath`~
10553       test -d \$dldir || mkdir -p \$dldir~
10554       $install_prog $dir/$dlname \$dldir/$dlname~
10555       chmod a+x \$dldir/$dlname~
10556       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10557         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10558       fi'
10559     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10560       dlpath=$dir/\$dldll~
10561        $RM \$dlpath'
10562     shlibpath_overrides_runpath=yes
10563
10564     case $host_os in
10565     cygwin*)
10566       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10567       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10568
10569       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10570       ;;
10571     mingw* | cegcc*)
10572       # MinGW DLLs use traditional 'lib' prefix
10573       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10574       ;;
10575     pw32*)
10576       # pw32 DLLs use 'pw' prefix rather than 'lib'
10577       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10578       ;;
10579     esac
10580     ;;
10581
10582   *)
10583     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10584     ;;
10585   esac
10586   dynamic_linker='Win32 ld.exe'
10587   # FIXME: first we should search . and the directory the executable is in
10588   shlibpath_var=PATH
10589   ;;
10590
10591 darwin* | rhapsody*)
10592   dynamic_linker="$host_os dyld"
10593   version_type=darwin
10594   need_lib_prefix=no
10595   need_version=no
10596   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10597   soname_spec='${libname}${release}${major}$shared_ext'
10598   shlibpath_overrides_runpath=yes
10599   shlibpath_var=DYLD_LIBRARY_PATH
10600   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10601
10602   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10603   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10604   ;;
10605
10606 dgux*)
10607   version_type=linux
10608   need_lib_prefix=no
10609   need_version=no
10610   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10611   soname_spec='${libname}${release}${shared_ext}$major'
10612   shlibpath_var=LD_LIBRARY_PATH
10613   ;;
10614
10615 freebsd* | dragonfly*)
10616   # DragonFly does not have aout.  When/if they implement a new
10617   # versioning mechanism, adjust this.
10618   if test -x /usr/bin/objformat; then
10619     objformat=`/usr/bin/objformat`
10620   else
10621     case $host_os in
10622     freebsd[123]*) objformat=aout ;;
10623     *) objformat=elf ;;
10624     esac
10625   fi
10626   version_type=freebsd-$objformat
10627   case $version_type in
10628     freebsd-elf*)
10629       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10630       need_version=no
10631       need_lib_prefix=no
10632       ;;
10633     freebsd-*)
10634       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10635       need_version=yes
10636       ;;
10637   esac
10638   shlibpath_var=LD_LIBRARY_PATH
10639   case $host_os in
10640   freebsd2*)
10641     shlibpath_overrides_runpath=yes
10642     ;;
10643   freebsd3.[01]* | freebsdelf3.[01]*)
10644     shlibpath_overrides_runpath=yes
10645     hardcode_into_libs=yes
10646     ;;
10647   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10648   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10649     shlibpath_overrides_runpath=no
10650     hardcode_into_libs=yes
10651     ;;
10652   *) # from 4.6 on, and DragonFly
10653     shlibpath_overrides_runpath=yes
10654     hardcode_into_libs=yes
10655     ;;
10656   esac
10657   ;;
10658
10659 gnu*)
10660   version_type=linux
10661   need_lib_prefix=no
10662   need_version=no
10663   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10664   soname_spec='${libname}${release}${shared_ext}$major'
10665   shlibpath_var=LD_LIBRARY_PATH
10666   hardcode_into_libs=yes
10667   ;;
10668
10669 haiku*)
10670   version_type=linux
10671   need_lib_prefix=no
10672   need_version=no
10673   dynamic_linker="$host_os runtime_loader"
10674   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10675   soname_spec='${libname}${release}${shared_ext}$major'
10676   shlibpath_var=LIBRARY_PATH
10677   shlibpath_overrides_runpath=yes
10678   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10679   hardcode_into_libs=yes
10680   ;;
10681
10682 hpux9* | hpux10* | hpux11*)
10683   # Give a soname corresponding to the major version so that dld.sl refuses to
10684   # link against other versions.
10685   version_type=sunos
10686   need_lib_prefix=no
10687   need_version=no
10688   case $host_cpu in
10689   ia64*)
10690     shrext_cmds='.so'
10691     hardcode_into_libs=yes
10692     dynamic_linker="$host_os dld.so"
10693     shlibpath_var=LD_LIBRARY_PATH
10694     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10695     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10696     soname_spec='${libname}${release}${shared_ext}$major'
10697     if test "X$HPUX_IA64_MODE" = X32; then
10698       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10699     else
10700       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10701     fi
10702     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10703     ;;
10704   hppa*64*)
10705     shrext_cmds='.sl'
10706     hardcode_into_libs=yes
10707     dynamic_linker="$host_os dld.sl"
10708     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10709     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10710     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10711     soname_spec='${libname}${release}${shared_ext}$major'
10712     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10713     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10714     ;;
10715   *)
10716     shrext_cmds='.sl'
10717     dynamic_linker="$host_os dld.sl"
10718     shlibpath_var=SHLIB_PATH
10719     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10720     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10721     soname_spec='${libname}${release}${shared_ext}$major'
10722     ;;
10723   esac
10724   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10725   postinstall_cmds='chmod 555 $lib'
10726   # or fails outright, so override atomically:
10727   install_override_mode=555
10728   ;;
10729
10730 interix[3-9]*)
10731   version_type=linux
10732   need_lib_prefix=no
10733   need_version=no
10734   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10735   soname_spec='${libname}${release}${shared_ext}$major'
10736   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10737   shlibpath_var=LD_LIBRARY_PATH
10738   shlibpath_overrides_runpath=no
10739   hardcode_into_libs=yes
10740   ;;
10741
10742 irix5* | irix6* | nonstopux*)
10743   case $host_os in
10744     nonstopux*) version_type=nonstopux ;;
10745     *)
10746         if test "$lt_cv_prog_gnu_ld" = yes; then
10747                 version_type=linux
10748         else
10749                 version_type=irix
10750         fi ;;
10751   esac
10752   need_lib_prefix=no
10753   need_version=no
10754   soname_spec='${libname}${release}${shared_ext}$major'
10755   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10756   case $host_os in
10757   irix5* | nonstopux*)
10758     libsuff= shlibsuff=
10759     ;;
10760   *)
10761     case $LD in # libtool.m4 will add one of these switches to LD
10762     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10763       libsuff= shlibsuff= libmagic=32-bit;;
10764     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10765       libsuff=32 shlibsuff=N32 libmagic=N32;;
10766     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10767       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10768     *) libsuff= shlibsuff= libmagic=never-match;;
10769     esac
10770     ;;
10771   esac
10772   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10773   shlibpath_overrides_runpath=no
10774   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10775   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10776   hardcode_into_libs=yes
10777   ;;
10778
10779 # No shared lib support for Linux oldld, aout, or coff.
10780 linux*oldld* | linux*aout* | linux*coff*)
10781   dynamic_linker=no
10782   ;;
10783
10784 # This must be Linux ELF.
10785 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10786   version_type=linux
10787   need_lib_prefix=no
10788   need_version=no
10789   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10790   soname_spec='${libname}${release}${shared_ext}$major'
10791   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10792   shlibpath_var=LD_LIBRARY_PATH
10793   shlibpath_overrides_runpath=no
10794
10795   # Some binutils ld are patched to set DT_RUNPATH
10796   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10797   $as_echo_n "(cached) " >&6
10798 else
10799   lt_cv_shlibpath_overrides_runpath=no
10800     save_LDFLAGS=$LDFLAGS
10801     save_libdir=$libdir
10802     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10803          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10804     if test x$gcc_no_link = xyes; then
10805   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10806 fi
10807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10808 /* end confdefs.h.  */
10809
10810 int
10811 main ()
10812 {
10813
10814   ;
10815   return 0;
10816 }
10817 _ACEOF
10818 if ac_fn_c_try_link "$LINENO"; then :
10819   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10820   lt_cv_shlibpath_overrides_runpath=yes
10821 fi
10822 fi
10823 rm -f core conftest.err conftest.$ac_objext \
10824     conftest$ac_exeext conftest.$ac_ext
10825     LDFLAGS=$save_LDFLAGS
10826     libdir=$save_libdir
10827
10828 fi
10829
10830   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10831
10832   # This implies no fast_install, which is unacceptable.
10833   # Some rework will be needed to allow for fast_install
10834   # before this can be enabled.
10835   hardcode_into_libs=yes
10836
10837   # Append ld.so.conf contents to the search path
10838   if test -f /etc/ld.so.conf; then
10839     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' ' '`
10840     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10841   fi
10842
10843   # We used to test for /lib/ld.so.1 and disable shared libraries on
10844   # powerpc, because MkLinux only supported shared libraries with the
10845   # GNU dynamic linker.  Since this was broken with cross compilers,
10846   # most powerpc-linux boxes support dynamic linking these days and
10847   # people can always --disable-shared, the test was removed, and we
10848   # assume the GNU/Linux dynamic linker is in use.
10849   dynamic_linker='GNU/Linux ld.so'
10850   ;;
10851
10852 netbsd*)
10853   version_type=sunos
10854   need_lib_prefix=no
10855   need_version=no
10856   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10857     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10858     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10859     dynamic_linker='NetBSD (a.out) ld.so'
10860   else
10861     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10862     soname_spec='${libname}${release}${shared_ext}$major'
10863     dynamic_linker='NetBSD ld.elf_so'
10864   fi
10865   shlibpath_var=LD_LIBRARY_PATH
10866   shlibpath_overrides_runpath=yes
10867   hardcode_into_libs=yes
10868   ;;
10869
10870 newsos6)
10871   version_type=linux
10872   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10873   shlibpath_var=LD_LIBRARY_PATH
10874   shlibpath_overrides_runpath=yes
10875   ;;
10876
10877 *nto* | *qnx*)
10878   version_type=qnx
10879   need_lib_prefix=no
10880   need_version=no
10881   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10882   soname_spec='${libname}${release}${shared_ext}$major'
10883   shlibpath_var=LD_LIBRARY_PATH
10884   shlibpath_overrides_runpath=no
10885   hardcode_into_libs=yes
10886   dynamic_linker='ldqnx.so'
10887   ;;
10888
10889 openbsd*)
10890   version_type=sunos
10891   sys_lib_dlsearch_path_spec="/usr/lib"
10892   need_lib_prefix=no
10893   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10894   case $host_os in
10895     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10896     *)                          need_version=no  ;;
10897   esac
10898   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10899   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10900   shlibpath_var=LD_LIBRARY_PATH
10901   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10902     case $host_os in
10903       openbsd2.[89] | openbsd2.[89].*)
10904         shlibpath_overrides_runpath=no
10905         ;;
10906       *)
10907         shlibpath_overrides_runpath=yes
10908         ;;
10909       esac
10910   else
10911     shlibpath_overrides_runpath=yes
10912   fi
10913   ;;
10914
10915 os2*)
10916   libname_spec='$name'
10917   shrext_cmds=".dll"
10918   need_lib_prefix=no
10919   library_names_spec='$libname${shared_ext} $libname.a'
10920   dynamic_linker='OS/2 ld.exe'
10921   shlibpath_var=LIBPATH
10922   ;;
10923
10924 osf3* | osf4* | osf5*)
10925   version_type=osf
10926   need_lib_prefix=no
10927   need_version=no
10928   soname_spec='${libname}${release}${shared_ext}$major'
10929   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10930   shlibpath_var=LD_LIBRARY_PATH
10931   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10932   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10933   ;;
10934
10935 rdos*)
10936   dynamic_linker=no
10937   ;;
10938
10939 solaris*)
10940   version_type=linux
10941   need_lib_prefix=no
10942   need_version=no
10943   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10944   soname_spec='${libname}${release}${shared_ext}$major'
10945   shlibpath_var=LD_LIBRARY_PATH
10946   shlibpath_overrides_runpath=yes
10947   hardcode_into_libs=yes
10948   # ldd complains unless libraries are executable
10949   postinstall_cmds='chmod +x $lib'
10950   ;;
10951
10952 sunos4*)
10953   version_type=sunos
10954   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10955   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10956   shlibpath_var=LD_LIBRARY_PATH
10957   shlibpath_overrides_runpath=yes
10958   if test "$with_gnu_ld" = yes; then
10959     need_lib_prefix=no
10960   fi
10961   need_version=yes
10962   ;;
10963
10964 sysv4 | sysv4.3*)
10965   version_type=linux
10966   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10967   soname_spec='${libname}${release}${shared_ext}$major'
10968   shlibpath_var=LD_LIBRARY_PATH
10969   case $host_vendor in
10970     sni)
10971       shlibpath_overrides_runpath=no
10972       need_lib_prefix=no
10973       runpath_var=LD_RUN_PATH
10974       ;;
10975     siemens)
10976       need_lib_prefix=no
10977       ;;
10978     motorola)
10979       need_lib_prefix=no
10980       need_version=no
10981       shlibpath_overrides_runpath=no
10982       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10983       ;;
10984   esac
10985   ;;
10986
10987 sysv4*MP*)
10988   if test -d /usr/nec ;then
10989     version_type=linux
10990     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10991     soname_spec='$libname${shared_ext}.$major'
10992     shlibpath_var=LD_LIBRARY_PATH
10993   fi
10994   ;;
10995
10996 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10997   version_type=freebsd-elf
10998   need_lib_prefix=no
10999   need_version=no
11000   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11001   soname_spec='${libname}${release}${shared_ext}$major'
11002   shlibpath_var=LD_LIBRARY_PATH
11003   shlibpath_overrides_runpath=yes
11004   hardcode_into_libs=yes
11005   if test "$with_gnu_ld" = yes; then
11006     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11007   else
11008     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11009     case $host_os in
11010       sco3.2v5*)
11011         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11012         ;;
11013     esac
11014   fi
11015   sys_lib_dlsearch_path_spec='/usr/lib'
11016   ;;
11017
11018 tpf*)
11019   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11020   version_type=linux
11021   need_lib_prefix=no
11022   need_version=no
11023   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11024   shlibpath_var=LD_LIBRARY_PATH
11025   shlibpath_overrides_runpath=no
11026   hardcode_into_libs=yes
11027   ;;
11028
11029 uts4*)
11030   version_type=linux
11031   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11032   soname_spec='${libname}${release}${shared_ext}$major'
11033   shlibpath_var=LD_LIBRARY_PATH
11034   ;;
11035
11036 *)
11037   dynamic_linker=no
11038   ;;
11039 esac
11040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11041 $as_echo "$dynamic_linker" >&6; }
11042 test "$dynamic_linker" = no && can_build_shared=no
11043
11044 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11045 if test "$GCC" = yes; then
11046   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11047 fi
11048
11049 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11050   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11051 fi
11052 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11053   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11054 fi
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
11147   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11148 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11149 hardcode_action=
11150 if test -n "$hardcode_libdir_flag_spec" ||
11151    test -n "$runpath_var" ||
11152    test "X$hardcode_automatic" = "Xyes" ; then
11153
11154   # We can hardcode non-existent directories.
11155   if test "$hardcode_direct" != no &&
11156      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11157      # have to relink, otherwise we might link with an installed library
11158      # when we should be linking with a yet-to-be-installed one
11159      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11160      test "$hardcode_minus_L" != no; then
11161     # Linking always hardcodes the temporary library directory.
11162     hardcode_action=relink
11163   else
11164     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11165     hardcode_action=immediate
11166   fi
11167 else
11168   # We cannot hardcode anything, or else we can only hardcode existing
11169   # directories.
11170   hardcode_action=unsupported
11171 fi
11172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11173 $as_echo "$hardcode_action" >&6; }
11174
11175 if test "$hardcode_action" = relink ||
11176    test "$inherit_rpath" = yes; then
11177   # Fast installation is not supported
11178   enable_fast_install=no
11179 elif test "$shlibpath_overrides_runpath" = yes ||
11180      test "$enable_shared" = no; then
11181   # Fast installation is not necessary
11182   enable_fast_install=needless
11183 fi
11184
11185
11186
11187
11188
11189
11190   if test "x$enable_dlopen" != xyes; then
11191   enable_dlopen=unknown
11192   enable_dlopen_self=unknown
11193   enable_dlopen_self_static=unknown
11194 else
11195   lt_cv_dlopen=no
11196   lt_cv_dlopen_libs=
11197
11198   case $host_os in
11199   beos*)
11200     lt_cv_dlopen="load_add_on"
11201     lt_cv_dlopen_libs=
11202     lt_cv_dlopen_self=yes
11203     ;;
11204
11205   mingw* | pw32* | cegcc*)
11206     lt_cv_dlopen="LoadLibrary"
11207     lt_cv_dlopen_libs=
11208     ;;
11209
11210   cygwin*)
11211     lt_cv_dlopen="dlopen"
11212     lt_cv_dlopen_libs=
11213     ;;
11214
11215   darwin*)
11216   # if libdl is installed we need to link against it
11217     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11218 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11219 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11220   $as_echo_n "(cached) " >&6
11221 else
11222   ac_check_lib_save_LIBS=$LIBS
11223 LIBS="-ldl  $LIBS"
11224 if test x$gcc_no_link = xyes; then
11225   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11226 fi
11227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11228 /* end confdefs.h.  */
11229
11230 /* Override any GCC internal prototype to avoid an error.
11231    Use char because int might match the return type of a GCC
11232    builtin and then its argument prototype would still apply.  */
11233 #ifdef __cplusplus
11234 extern "C"
11235 #endif
11236 char dlopen ();
11237 int
11238 main ()
11239 {
11240 return dlopen ();
11241   ;
11242   return 0;
11243 }
11244 _ACEOF
11245 if ac_fn_c_try_link "$LINENO"; then :
11246   ac_cv_lib_dl_dlopen=yes
11247 else
11248   ac_cv_lib_dl_dlopen=no
11249 fi
11250 rm -f core conftest.err conftest.$ac_objext \
11251     conftest$ac_exeext conftest.$ac_ext
11252 LIBS=$ac_check_lib_save_LIBS
11253 fi
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11255 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11256 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11257   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11258 else
11259
11260     lt_cv_dlopen="dyld"
11261     lt_cv_dlopen_libs=
11262     lt_cv_dlopen_self=yes
11263
11264 fi
11265
11266     ;;
11267
11268   *)
11269     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11270 if test "x$ac_cv_func_shl_load" = x""yes; then :
11271   lt_cv_dlopen="shl_load"
11272 else
11273   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11274 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11275 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11276   $as_echo_n "(cached) " >&6
11277 else
11278   ac_check_lib_save_LIBS=$LIBS
11279 LIBS="-ldld  $LIBS"
11280 if test x$gcc_no_link = xyes; then
11281   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11282 fi
11283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11284 /* end confdefs.h.  */
11285
11286 /* Override any GCC internal prototype to avoid an error.
11287    Use char because int might match the return type of a GCC
11288    builtin and then its argument prototype would still apply.  */
11289 #ifdef __cplusplus
11290 extern "C"
11291 #endif
11292 char shl_load ();
11293 int
11294 main ()
11295 {
11296 return shl_load ();
11297   ;
11298   return 0;
11299 }
11300 _ACEOF
11301 if ac_fn_c_try_link "$LINENO"; then :
11302   ac_cv_lib_dld_shl_load=yes
11303 else
11304   ac_cv_lib_dld_shl_load=no
11305 fi
11306 rm -f core conftest.err conftest.$ac_objext \
11307     conftest$ac_exeext conftest.$ac_ext
11308 LIBS=$ac_check_lib_save_LIBS
11309 fi
11310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11311 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11312 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11313   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11314 else
11315   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11316 if test "x$ac_cv_func_dlopen" = x""yes; then :
11317   lt_cv_dlopen="dlopen"
11318 else
11319   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11320 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11321 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11322   $as_echo_n "(cached) " >&6
11323 else
11324   ac_check_lib_save_LIBS=$LIBS
11325 LIBS="-ldl  $LIBS"
11326 if test x$gcc_no_link = xyes; then
11327   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11328 fi
11329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11330 /* end confdefs.h.  */
11331
11332 /* Override any GCC internal prototype to avoid an error.
11333    Use char because int might match the return type of a GCC
11334    builtin and then its argument prototype would still apply.  */
11335 #ifdef __cplusplus
11336 extern "C"
11337 #endif
11338 char dlopen ();
11339 int
11340 main ()
11341 {
11342 return dlopen ();
11343   ;
11344   return 0;
11345 }
11346 _ACEOF
11347 if ac_fn_c_try_link "$LINENO"; then :
11348   ac_cv_lib_dl_dlopen=yes
11349 else
11350   ac_cv_lib_dl_dlopen=no
11351 fi
11352 rm -f core conftest.err conftest.$ac_objext \
11353     conftest$ac_exeext conftest.$ac_ext
11354 LIBS=$ac_check_lib_save_LIBS
11355 fi
11356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11357 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11358 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11359   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11360 else
11361   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11362 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11363 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11364   $as_echo_n "(cached) " >&6
11365 else
11366   ac_check_lib_save_LIBS=$LIBS
11367 LIBS="-lsvld  $LIBS"
11368 if test x$gcc_no_link = xyes; then
11369   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11370 fi
11371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11372 /* end confdefs.h.  */
11373
11374 /* Override any GCC internal prototype to avoid an error.
11375    Use char because int might match the return type of a GCC
11376    builtin and then its argument prototype would still apply.  */
11377 #ifdef __cplusplus
11378 extern "C"
11379 #endif
11380 char dlopen ();
11381 int
11382 main ()
11383 {
11384 return dlopen ();
11385   ;
11386   return 0;
11387 }
11388 _ACEOF
11389 if ac_fn_c_try_link "$LINENO"; then :
11390   ac_cv_lib_svld_dlopen=yes
11391 else
11392   ac_cv_lib_svld_dlopen=no
11393 fi
11394 rm -f core conftest.err conftest.$ac_objext \
11395     conftest$ac_exeext conftest.$ac_ext
11396 LIBS=$ac_check_lib_save_LIBS
11397 fi
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11399 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11400 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11401   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11402 else
11403   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11404 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11405 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11406   $as_echo_n "(cached) " >&6
11407 else
11408   ac_check_lib_save_LIBS=$LIBS
11409 LIBS="-ldld  $LIBS"
11410 if test x$gcc_no_link = xyes; then
11411   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11412 fi
11413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11414 /* end confdefs.h.  */
11415
11416 /* Override any GCC internal prototype to avoid an error.
11417    Use char because int might match the return type of a GCC
11418    builtin and then its argument prototype would still apply.  */
11419 #ifdef __cplusplus
11420 extern "C"
11421 #endif
11422 char dld_link ();
11423 int
11424 main ()
11425 {
11426 return dld_link ();
11427   ;
11428   return 0;
11429 }
11430 _ACEOF
11431 if ac_fn_c_try_link "$LINENO"; then :
11432   ac_cv_lib_dld_dld_link=yes
11433 else
11434   ac_cv_lib_dld_dld_link=no
11435 fi
11436 rm -f core conftest.err conftest.$ac_objext \
11437     conftest$ac_exeext conftest.$ac_ext
11438 LIBS=$ac_check_lib_save_LIBS
11439 fi
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11441 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11442 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11443   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11444 fi
11445
11446
11447 fi
11448
11449
11450 fi
11451
11452
11453 fi
11454
11455
11456 fi
11457
11458
11459 fi
11460
11461     ;;
11462   esac
11463
11464   if test "x$lt_cv_dlopen" != xno; then
11465     enable_dlopen=yes
11466   else
11467     enable_dlopen=no
11468   fi
11469
11470   case $lt_cv_dlopen in
11471   dlopen)
11472     save_CPPFLAGS="$CPPFLAGS"
11473     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11474
11475     save_LDFLAGS="$LDFLAGS"
11476     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11477
11478     save_LIBS="$LIBS"
11479     LIBS="$lt_cv_dlopen_libs $LIBS"
11480
11481     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11482 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11483 if test "${lt_cv_dlopen_self+set}" = set; then :
11484   $as_echo_n "(cached) " >&6
11485 else
11486           if test "$cross_compiling" = yes; then :
11487   lt_cv_dlopen_self=cross
11488 else
11489   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11490   lt_status=$lt_dlunknown
11491   cat > conftest.$ac_ext <<_LT_EOF
11492 #line 11492 "configure"
11493 #include "confdefs.h"
11494
11495 #if HAVE_DLFCN_H
11496 #include <dlfcn.h>
11497 #endif
11498
11499 #include <stdio.h>
11500
11501 #ifdef RTLD_GLOBAL
11502 #  define LT_DLGLOBAL           RTLD_GLOBAL
11503 #else
11504 #  ifdef DL_GLOBAL
11505 #    define LT_DLGLOBAL         DL_GLOBAL
11506 #  else
11507 #    define LT_DLGLOBAL         0
11508 #  endif
11509 #endif
11510
11511 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11512    find out it does not work in some platform. */
11513 #ifndef LT_DLLAZY_OR_NOW
11514 #  ifdef RTLD_LAZY
11515 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11516 #  else
11517 #    ifdef DL_LAZY
11518 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11519 #    else
11520 #      ifdef RTLD_NOW
11521 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11522 #      else
11523 #        ifdef DL_NOW
11524 #          define LT_DLLAZY_OR_NOW      DL_NOW
11525 #        else
11526 #          define LT_DLLAZY_OR_NOW      0
11527 #        endif
11528 #      endif
11529 #    endif
11530 #  endif
11531 #endif
11532
11533 /* When -fvisbility=hidden is used, assume the code has been annotated
11534    correspondingly for the symbols needed.  */
11535 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11536 void fnord () __attribute__((visibility("default")));
11537 #endif
11538
11539 void fnord () { int i=42; }
11540 int main ()
11541 {
11542   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11543   int status = $lt_dlunknown;
11544
11545   if (self)
11546     {
11547       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11548       else
11549         {
11550           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11551           else puts (dlerror ());
11552         }
11553       /* dlclose (self); */
11554     }
11555   else
11556     puts (dlerror ());
11557
11558   return status;
11559 }
11560 _LT_EOF
11561   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11562   (eval $ac_link) 2>&5
11563   ac_status=$?
11564   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11565   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11566     (./conftest; exit; ) >&5 2>/dev/null
11567     lt_status=$?
11568     case x$lt_status in
11569       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11570       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11571       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11572     esac
11573   else :
11574     # compilation failed
11575     lt_cv_dlopen_self=no
11576   fi
11577 fi
11578 rm -fr conftest*
11579
11580
11581 fi
11582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11583 $as_echo "$lt_cv_dlopen_self" >&6; }
11584
11585     if test "x$lt_cv_dlopen_self" = xyes; then
11586       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11587       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11588 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11589 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11590   $as_echo_n "(cached) " >&6
11591 else
11592           if test "$cross_compiling" = yes; then :
11593   lt_cv_dlopen_self_static=cross
11594 else
11595   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11596   lt_status=$lt_dlunknown
11597   cat > conftest.$ac_ext <<_LT_EOF
11598 #line 11598 "configure"
11599 #include "confdefs.h"
11600
11601 #if HAVE_DLFCN_H
11602 #include <dlfcn.h>
11603 #endif
11604
11605 #include <stdio.h>
11606
11607 #ifdef RTLD_GLOBAL
11608 #  define LT_DLGLOBAL           RTLD_GLOBAL
11609 #else
11610 #  ifdef DL_GLOBAL
11611 #    define LT_DLGLOBAL         DL_GLOBAL
11612 #  else
11613 #    define LT_DLGLOBAL         0
11614 #  endif
11615 #endif
11616
11617 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11618    find out it does not work in some platform. */
11619 #ifndef LT_DLLAZY_OR_NOW
11620 #  ifdef RTLD_LAZY
11621 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11622 #  else
11623 #    ifdef DL_LAZY
11624 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11625 #    else
11626 #      ifdef RTLD_NOW
11627 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11628 #      else
11629 #        ifdef DL_NOW
11630 #          define LT_DLLAZY_OR_NOW      DL_NOW
11631 #        else
11632 #          define LT_DLLAZY_OR_NOW      0
11633 #        endif
11634 #      endif
11635 #    endif
11636 #  endif
11637 #endif
11638
11639 /* When -fvisbility=hidden is used, assume the code has been annotated
11640    correspondingly for the symbols needed.  */
11641 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11642 void fnord () __attribute__((visibility("default")));
11643 #endif
11644
11645 void fnord () { int i=42; }
11646 int main ()
11647 {
11648   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11649   int status = $lt_dlunknown;
11650
11651   if (self)
11652     {
11653       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11654       else
11655         {
11656           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11657           else puts (dlerror ());
11658         }
11659       /* dlclose (self); */
11660     }
11661   else
11662     puts (dlerror ());
11663
11664   return status;
11665 }
11666 _LT_EOF
11667   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11668   (eval $ac_link) 2>&5
11669   ac_status=$?
11670   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11671   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11672     (./conftest; exit; ) >&5 2>/dev/null
11673     lt_status=$?
11674     case x$lt_status in
11675       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11676       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11677       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11678     esac
11679   else :
11680     # compilation failed
11681     lt_cv_dlopen_self_static=no
11682   fi
11683 fi
11684 rm -fr conftest*
11685
11686
11687 fi
11688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11689 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11690     fi
11691
11692     CPPFLAGS="$save_CPPFLAGS"
11693     LDFLAGS="$save_LDFLAGS"
11694     LIBS="$save_LIBS"
11695     ;;
11696   esac
11697
11698   case $lt_cv_dlopen_self in
11699   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11700   *) enable_dlopen_self=unknown ;;
11701   esac
11702
11703   case $lt_cv_dlopen_self_static in
11704   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11705   *) enable_dlopen_self_static=unknown ;;
11706   esac
11707 fi
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725 striplib=
11726 old_striplib=
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11728 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11729 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11730   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11731   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11732   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11733 $as_echo "yes" >&6; }
11734 else
11735 # FIXME - insert some real tests, host_os isn't really good enough
11736   case $host_os in
11737   darwin*)
11738     if test -n "$STRIP" ; then
11739       striplib="$STRIP -x"
11740       old_striplib="$STRIP -S"
11741       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11742 $as_echo "yes" >&6; }
11743     else
11744       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11745 $as_echo "no" >&6; }
11746     fi
11747     ;;
11748   *)
11749     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11750 $as_echo "no" >&6; }
11751     ;;
11752   esac
11753 fi
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766   # Report which library types will actually be built
11767   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11768 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11770 $as_echo "$can_build_shared" >&6; }
11771
11772   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11773 $as_echo_n "checking whether to build shared libraries... " >&6; }
11774   test "$can_build_shared" = "no" && enable_shared=no
11775
11776   # On AIX, shared libraries and static libraries use the same namespace, and
11777   # are all built from PIC.
11778   case $host_os in
11779   aix3*)
11780     test "$enable_shared" = yes && enable_static=no
11781     if test -n "$RANLIB"; then
11782       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11783       postinstall_cmds='$RANLIB $lib'
11784     fi
11785     ;;
11786
11787   aix[4-9]*)
11788     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11789       test "$enable_shared" = yes && enable_static=no
11790     fi
11791     ;;
11792   esac
11793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11794 $as_echo "$enable_shared" >&6; }
11795
11796   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11797 $as_echo_n "checking whether to build static libraries... " >&6; }
11798   # Make sure either enable_shared or enable_static is yes.
11799   test "$enable_shared" = yes || enable_static=yes
11800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11801 $as_echo "$enable_static" >&6; }
11802
11803
11804
11805
11806 fi
11807 ac_ext=c
11808 ac_cpp='$CPP $CPPFLAGS'
11809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11812
11813 CC="$lt_save_CC"
11814
11815       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11816     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11817     (test "X$CXX" != "Xg++"))) ; then
11818   ac_ext=cpp
11819 ac_cpp='$CXXCPP $CPPFLAGS'
11820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11824 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11825 if test -z "$CXXCPP"; then
11826   if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11827   $as_echo_n "(cached) " >&6
11828 else
11829       # Double quotes because CXXCPP needs to be expanded
11830     for CXXCPP in "$CXX -E" "/lib/cpp"
11831     do
11832       ac_preproc_ok=false
11833 for ac_cxx_preproc_warn_flag in '' yes
11834 do
11835   # Use a header file that comes with gcc, so configuring glibc
11836   # with a fresh cross-compiler works.
11837   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11838   # <limits.h> exists even on freestanding compilers.
11839   # On the NeXT, cc -E runs the code through the compiler's parser,
11840   # not just through cpp. "Syntax error" is here to catch this case.
11841   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11842 /* end confdefs.h.  */
11843 #ifdef __STDC__
11844 # include <limits.h>
11845 #else
11846 # include <assert.h>
11847 #endif
11848                      Syntax error
11849 _ACEOF
11850 if ac_fn_cxx_try_cpp "$LINENO"; then :
11851
11852 else
11853   # Broken: fails on valid input.
11854 continue
11855 fi
11856 rm -f conftest.err conftest.$ac_ext
11857
11858   # OK, works on sane cases.  Now check whether nonexistent headers
11859   # can be detected and how.
11860   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11861 /* end confdefs.h.  */
11862 #include <ac_nonexistent.h>
11863 _ACEOF
11864 if ac_fn_cxx_try_cpp "$LINENO"; then :
11865   # Broken: success on invalid input.
11866 continue
11867 else
11868   # Passes both tests.
11869 ac_preproc_ok=:
11870 break
11871 fi
11872 rm -f conftest.err conftest.$ac_ext
11873
11874 done
11875 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11876 rm -f conftest.err conftest.$ac_ext
11877 if $ac_preproc_ok; then :
11878   break
11879 fi
11880
11881     done
11882     ac_cv_prog_CXXCPP=$CXXCPP
11883
11884 fi
11885   CXXCPP=$ac_cv_prog_CXXCPP
11886 else
11887   ac_cv_prog_CXXCPP=$CXXCPP
11888 fi
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11890 $as_echo "$CXXCPP" >&6; }
11891 ac_preproc_ok=false
11892 for ac_cxx_preproc_warn_flag in '' yes
11893 do
11894   # Use a header file that comes with gcc, so configuring glibc
11895   # with a fresh cross-compiler works.
11896   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11897   # <limits.h> exists even on freestanding compilers.
11898   # On the NeXT, cc -E runs the code through the compiler's parser,
11899   # not just through cpp. "Syntax error" is here to catch this case.
11900   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11901 /* end confdefs.h.  */
11902 #ifdef __STDC__
11903 # include <limits.h>
11904 #else
11905 # include <assert.h>
11906 #endif
11907                      Syntax error
11908 _ACEOF
11909 if ac_fn_cxx_try_cpp "$LINENO"; then :
11910
11911 else
11912   # Broken: fails on valid input.
11913 continue
11914 fi
11915 rm -f conftest.err conftest.$ac_ext
11916
11917   # OK, works on sane cases.  Now check whether nonexistent headers
11918   # can be detected and how.
11919   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11920 /* end confdefs.h.  */
11921 #include <ac_nonexistent.h>
11922 _ACEOF
11923 if ac_fn_cxx_try_cpp "$LINENO"; then :
11924   # Broken: success on invalid input.
11925 continue
11926 else
11927   # Passes both tests.
11928 ac_preproc_ok=:
11929 break
11930 fi
11931 rm -f conftest.err conftest.$ac_ext
11932
11933 done
11934 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11935 rm -f conftest.err conftest.$ac_ext
11936 if $ac_preproc_ok; then :
11937
11938 else
11939   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11940 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11941 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11942 See \`config.log' for more details." "$LINENO" 5; }
11943 fi
11944
11945 ac_ext=c
11946 ac_cpp='$CPP $CPPFLAGS'
11947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11950
11951 else
11952   _lt_caught_CXX_error=yes
11953 fi
11954
11955 ac_ext=cpp
11956 ac_cpp='$CXXCPP $CPPFLAGS'
11957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11960
11961 archive_cmds_need_lc_CXX=no
11962 allow_undefined_flag_CXX=
11963 always_export_symbols_CXX=no
11964 archive_expsym_cmds_CXX=
11965 compiler_needs_object_CXX=no
11966 export_dynamic_flag_spec_CXX=
11967 hardcode_direct_CXX=no
11968 hardcode_direct_absolute_CXX=no
11969 hardcode_libdir_flag_spec_CXX=
11970 hardcode_libdir_flag_spec_ld_CXX=
11971 hardcode_libdir_separator_CXX=
11972 hardcode_minus_L_CXX=no
11973 hardcode_shlibpath_var_CXX=unsupported
11974 hardcode_automatic_CXX=no
11975 inherit_rpath_CXX=no
11976 module_cmds_CXX=
11977 module_expsym_cmds_CXX=
11978 link_all_deplibs_CXX=unknown
11979 old_archive_cmds_CXX=$old_archive_cmds
11980 reload_flag_CXX=$reload_flag
11981 reload_cmds_CXX=$reload_cmds
11982 no_undefined_flag_CXX=
11983 whole_archive_flag_spec_CXX=
11984 enable_shared_with_static_runtimes_CXX=no
11985
11986 # Source file extension for C++ test sources.
11987 ac_ext=cpp
11988
11989 # Object file extension for compiled C++ test sources.
11990 objext=o
11991 objext_CXX=$objext
11992
11993 # No sense in running all these tests if we already determined that
11994 # the CXX compiler isn't working.  Some variables (like enable_shared)
11995 # are currently assumed to apply to all compilers on this platform,
11996 # and will be corrupted by setting them based on a non-working compiler.
11997 if test "$_lt_caught_CXX_error" != yes; then
11998   # Code to be used in simple compile tests
11999   lt_simple_compile_test_code="int some_variable = 0;"
12000
12001   # Code to be used in simple link tests
12002   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12003
12004   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12005
12006
12007
12008
12009
12010
12011 # If no C compiler was specified, use CC.
12012 LTCC=${LTCC-"$CC"}
12013
12014 # If no C compiler flags were specified, use CFLAGS.
12015 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12016
12017 # Allow CC to be a program name with arguments.
12018 compiler=$CC
12019
12020
12021   # save warnings/boilerplate of simple test code
12022   ac_outfile=conftest.$ac_objext
12023 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12024 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12025 _lt_compiler_boilerplate=`cat conftest.err`
12026 $RM conftest*
12027
12028   ac_outfile=conftest.$ac_objext
12029 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12030 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12031 _lt_linker_boilerplate=`cat conftest.err`
12032 $RM -r conftest*
12033
12034
12035   # Allow CC to be a program name with arguments.
12036   lt_save_CC=$CC
12037   lt_save_LD=$LD
12038   lt_save_GCC=$GCC
12039   GCC=$GXX
12040   lt_save_with_gnu_ld=$with_gnu_ld
12041   lt_save_path_LD=$lt_cv_path_LD
12042   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12043     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12044   else
12045     $as_unset lt_cv_prog_gnu_ld
12046   fi
12047   if test -n "${lt_cv_path_LDCXX+set}"; then
12048     lt_cv_path_LD=$lt_cv_path_LDCXX
12049   else
12050     $as_unset lt_cv_path_LD
12051   fi
12052   test -z "${LDCXX+set}" || LD=$LDCXX
12053   CC=${CXX-"c++"}
12054   compiler=$CC
12055   compiler_CXX=$CC
12056   for cc_temp in $compiler""; do
12057   case $cc_temp in
12058     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12059     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12060     \-*) ;;
12061     *) break;;
12062   esac
12063 done
12064 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12065
12066
12067   if test -n "$compiler"; then
12068     # We don't want -fno-exception when compiling C++ code, so set the
12069     # no_builtin_flag separately
12070     if test "$GXX" = yes; then
12071       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12072     else
12073       lt_prog_compiler_no_builtin_flag_CXX=
12074     fi
12075
12076     if test "$GXX" = yes; then
12077       # Set up default GNU C++ configuration
12078
12079
12080
12081 # Check whether --with-gnu-ld was given.
12082 if test "${with_gnu_ld+set}" = set; then :
12083   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12084 else
12085   with_gnu_ld=no
12086 fi
12087
12088 ac_prog=ld
12089 if test "$GCC" = yes; then
12090   # Check if gcc -print-prog-name=ld gives a path.
12091   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12092 $as_echo_n "checking for ld used by $CC... " >&6; }
12093   case $host in
12094   *-*-mingw*)
12095     # gcc leaves a trailing carriage return which upsets mingw
12096     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12097   *)
12098     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12099   esac
12100   case $ac_prog in
12101     # Accept absolute paths.
12102     [\\/]* | ?:[\\/]*)
12103       re_direlt='/[^/][^/]*/\.\./'
12104       # Canonicalize the pathname of ld
12105       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12106       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12107         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12108       done
12109       test -z "$LD" && LD="$ac_prog"
12110       ;;
12111   "")
12112     # If it fails, then pretend we aren't using GCC.
12113     ac_prog=ld
12114     ;;
12115   *)
12116     # If it is relative, then search for the first ld in PATH.
12117     with_gnu_ld=unknown
12118     ;;
12119   esac
12120 elif test "$with_gnu_ld" = yes; then
12121   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12122 $as_echo_n "checking for GNU ld... " >&6; }
12123 else
12124   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12125 $as_echo_n "checking for non-GNU ld... " >&6; }
12126 fi
12127 if test "${lt_cv_path_LD+set}" = set; then :
12128   $as_echo_n "(cached) " >&6
12129 else
12130   if test -z "$LD"; then
12131   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12132   for ac_dir in $PATH; do
12133     IFS="$lt_save_ifs"
12134     test -z "$ac_dir" && ac_dir=.
12135     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12136       lt_cv_path_LD="$ac_dir/$ac_prog"
12137       # Check to see if the program is GNU ld.  I'd rather use --version,
12138       # but apparently some variants of GNU ld only accept -v.
12139       # Break only if it was the GNU/non-GNU ld that we prefer.
12140       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12141       *GNU* | *'with BFD'*)
12142         test "$with_gnu_ld" != no && break
12143         ;;
12144       *)
12145         test "$with_gnu_ld" != yes && break
12146         ;;
12147       esac
12148     fi
12149   done
12150   IFS="$lt_save_ifs"
12151 else
12152   lt_cv_path_LD="$LD" # Let the user override the test with a path.
12153 fi
12154 fi
12155
12156 LD="$lt_cv_path_LD"
12157 if test -n "$LD"; then
12158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12159 $as_echo "$LD" >&6; }
12160 else
12161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12162 $as_echo "no" >&6; }
12163 fi
12164 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12166 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12167 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12168   $as_echo_n "(cached) " >&6
12169 else
12170   # I'd rather use --version here, but apparently some GNU lds only accept -v.
12171 case `$LD -v 2>&1 </dev/null` in
12172 *GNU* | *'with BFD'*)
12173   lt_cv_prog_gnu_ld=yes
12174   ;;
12175 *)
12176   lt_cv_prog_gnu_ld=no
12177   ;;
12178 esac
12179 fi
12180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12181 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12182 with_gnu_ld=$lt_cv_prog_gnu_ld
12183
12184
12185
12186
12187
12188
12189
12190       # Check if GNU C++ uses GNU ld as the underlying linker, since the
12191       # archiving commands below assume that GNU ld is being used.
12192       if test "$with_gnu_ld" = yes; then
12193         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12194         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'
12195
12196         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12197         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12198
12199         # If archive_cmds runs LD, not CC, wlarc should be empty
12200         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12201         #     investigate it a little bit more. (MM)
12202         wlarc='${wl}'
12203
12204         # ancient GNU ld didn't support --whole-archive et. al.
12205         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12206           $GREP 'no-whole-archive' > /dev/null; then
12207           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12208         else
12209           whole_archive_flag_spec_CXX=
12210         fi
12211       else
12212         with_gnu_ld=no
12213         wlarc=
12214
12215         # A generic and very simple default shared library creation
12216         # command for GNU C++ for the case where it uses the native
12217         # linker, instead of GNU ld.  If possible, this setting should
12218         # overridden to take advantage of the native linker features on
12219         # the platform it is being used on.
12220         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12221       fi
12222
12223       # Commands to make compiler produce verbose output that lists
12224       # what "hidden" libraries, object files and flags are used when
12225       # linking a shared library.
12226       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12227
12228     else
12229       GXX=no
12230       with_gnu_ld=no
12231       wlarc=
12232     fi
12233
12234     # PORTME: fill in a description of your system's C++ link characteristics
12235     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12236 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12237     ld_shlibs_CXX=yes
12238     case $host_os in
12239       aix3*)
12240         # FIXME: insert proper C++ library support
12241         ld_shlibs_CXX=no
12242         ;;
12243       aix[4-9]*)
12244         if test "$host_cpu" = ia64; then
12245           # On IA64, the linker does run time linking by default, so we don't
12246           # have to do anything special.
12247           aix_use_runtimelinking=no
12248           exp_sym_flag='-Bexport'
12249           no_entry_flag=""
12250         else
12251           aix_use_runtimelinking=no
12252
12253           # Test if we are trying to use run time linking or normal
12254           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12255           # need to do runtime linking.
12256           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12257             for ld_flag in $LDFLAGS; do
12258               case $ld_flag in
12259               *-brtl*)
12260                 aix_use_runtimelinking=yes
12261                 break
12262                 ;;
12263               esac
12264             done
12265             ;;
12266           esac
12267
12268           exp_sym_flag='-bexport'
12269           no_entry_flag='-bnoentry'
12270         fi
12271
12272         # When large executables or shared objects are built, AIX ld can
12273         # have problems creating the table of contents.  If linking a library
12274         # or program results in "error TOC overflow" add -mminimal-toc to
12275         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12276         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12277
12278         archive_cmds_CXX=''
12279         hardcode_direct_CXX=yes
12280         hardcode_direct_absolute_CXX=yes
12281         hardcode_libdir_separator_CXX=':'
12282         link_all_deplibs_CXX=yes
12283         file_list_spec_CXX='${wl}-f,'
12284
12285         if test "$GXX" = yes; then
12286           case $host_os in aix4.[012]|aix4.[012].*)
12287           # We only want to do this on AIX 4.2 and lower, the check
12288           # below for broken collect2 doesn't work under 4.3+
12289           collect2name=`${CC} -print-prog-name=collect2`
12290           if test -f "$collect2name" &&
12291              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12292           then
12293             # We have reworked collect2
12294             :
12295           else
12296             # We have old collect2
12297             hardcode_direct_CXX=unsupported
12298             # It fails to find uninstalled libraries when the uninstalled
12299             # path is not listed in the libpath.  Setting hardcode_minus_L
12300             # to unsupported forces relinking
12301             hardcode_minus_L_CXX=yes
12302             hardcode_libdir_flag_spec_CXX='-L$libdir'
12303             hardcode_libdir_separator_CXX=
12304           fi
12305           esac
12306           shared_flag='-shared'
12307           if test "$aix_use_runtimelinking" = yes; then
12308             shared_flag="$shared_flag "'${wl}-G'
12309           fi
12310         else
12311           # not using gcc
12312           if test "$host_cpu" = ia64; then
12313           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12314           # chokes on -Wl,-G. The following line is correct:
12315           shared_flag='-G'
12316           else
12317             if test "$aix_use_runtimelinking" = yes; then
12318               shared_flag='${wl}-G'
12319             else
12320               shared_flag='${wl}-bM:SRE'
12321             fi
12322           fi
12323         fi
12324
12325         export_dynamic_flag_spec_CXX='${wl}-bexpall'
12326         # It seems that -bexpall does not export symbols beginning with
12327         # underscore (_), so it is better to generate a list of symbols to
12328         # export.
12329         always_export_symbols_CXX=yes
12330         if test "$aix_use_runtimelinking" = yes; then
12331           # Warning - without using the other runtime loading flags (-brtl),
12332           # -berok will link without error, but may produce a broken library.
12333           allow_undefined_flag_CXX='-berok'
12334           # Determine the default libpath from the value encoded in an empty
12335           # executable.
12336           if test x$gcc_no_link = xyes; then
12337   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12338 fi
12339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12340 /* end confdefs.h.  */
12341
12342 int
12343 main ()
12344 {
12345
12346   ;
12347   return 0;
12348 }
12349 _ACEOF
12350 if ac_fn_cxx_try_link "$LINENO"; then :
12351
12352 lt_aix_libpath_sed='
12353     /Import File Strings/,/^$/ {
12354         /^0/ {
12355             s/^0  *\(.*\)$/\1/
12356             p
12357         }
12358     }'
12359 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12360 # Check for a 64-bit object if we didn't find anything.
12361 if test -z "$aix_libpath"; then
12362   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12363 fi
12364 fi
12365 rm -f core conftest.err conftest.$ac_objext \
12366     conftest$ac_exeext conftest.$ac_ext
12367 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12368
12369           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12370
12371           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"
12372         else
12373           if test "$host_cpu" = ia64; then
12374             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12375             allow_undefined_flag_CXX="-z nodefs"
12376             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"
12377           else
12378             # Determine the default libpath from the value encoded in an
12379             # empty executable.
12380             if test x$gcc_no_link = xyes; then
12381   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12382 fi
12383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12384 /* end confdefs.h.  */
12385
12386 int
12387 main ()
12388 {
12389
12390   ;
12391   return 0;
12392 }
12393 _ACEOF
12394 if ac_fn_cxx_try_link "$LINENO"; then :
12395
12396 lt_aix_libpath_sed='
12397     /Import File Strings/,/^$/ {
12398         /^0/ {
12399             s/^0  *\(.*\)$/\1/
12400             p
12401         }
12402     }'
12403 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12404 # Check for a 64-bit object if we didn't find anything.
12405 if test -z "$aix_libpath"; then
12406   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12407 fi
12408 fi
12409 rm -f core conftest.err conftest.$ac_objext \
12410     conftest$ac_exeext conftest.$ac_ext
12411 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12412
12413             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12414             # Warning - without using the other run time loading flags,
12415             # -berok will link without error, but may produce a broken library.
12416             no_undefined_flag_CXX=' ${wl}-bernotok'
12417             allow_undefined_flag_CXX=' ${wl}-berok'
12418             if test "$with_gnu_ld" = yes; then
12419               # We only use this code for GNU lds that support --whole-archive.
12420               whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12421             else
12422               # Exported symbols can be pulled into shared objects from archives
12423               whole_archive_flag_spec_CXX='$convenience'
12424             fi
12425             archive_cmds_need_lc_CXX=yes
12426             # This is similar to how AIX traditionally builds its shared
12427             # libraries.
12428             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'
12429           fi
12430         fi
12431         ;;
12432
12433       beos*)
12434         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12435           allow_undefined_flag_CXX=unsupported
12436           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12437           # support --undefined.  This deserves some investigation.  FIXME
12438           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12439         else
12440           ld_shlibs_CXX=no
12441         fi
12442         ;;
12443
12444       chorus*)
12445         case $cc_basename in
12446           *)
12447           # FIXME: insert proper C++ library support
12448           ld_shlibs_CXX=no
12449           ;;
12450         esac
12451         ;;
12452
12453       cygwin* | mingw* | pw32* | cegcc*)
12454         # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12455         # as there is no search path for DLLs.
12456         hardcode_libdir_flag_spec_CXX='-L$libdir'
12457         export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12458         allow_undefined_flag_CXX=unsupported
12459         always_export_symbols_CXX=no
12460         enable_shared_with_static_runtimes_CXX=yes
12461
12462         if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12463           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'
12464           # If the export-symbols file already is a .def file (1st line
12465           # is EXPORTS), use it as is; otherwise, prepend...
12466           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12467             cp $export_symbols $output_objdir/$soname.def;
12468           else
12469             echo EXPORTS > $output_objdir/$soname.def;
12470             cat $export_symbols >> $output_objdir/$soname.def;
12471           fi~
12472           $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'
12473         else
12474           ld_shlibs_CXX=no
12475         fi
12476         ;;
12477       darwin* | rhapsody*)
12478
12479
12480   archive_cmds_need_lc_CXX=no
12481   hardcode_direct_CXX=no
12482   hardcode_automatic_CXX=yes
12483   hardcode_shlibpath_var_CXX=unsupported
12484   if test "$lt_cv_ld_force_load" = "yes"; then
12485     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\"`'
12486   else
12487     whole_archive_flag_spec_CXX=''
12488   fi
12489   link_all_deplibs_CXX=yes
12490   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12491   case $cc_basename in
12492      ifort*) _lt_dar_can_shared=yes ;;
12493      *) _lt_dar_can_shared=$GCC ;;
12494   esac
12495   if test "$_lt_dar_can_shared" = "yes"; then
12496     output_verbose_link_cmd=func_echo_all
12497     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}"
12498     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12499     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}"
12500     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}"
12501        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12502       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}"
12503       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}"
12504     fi
12505
12506   else
12507   ld_shlibs_CXX=no
12508   fi
12509
12510         ;;
12511
12512       dgux*)
12513         case $cc_basename in
12514           ec++*)
12515             # FIXME: insert proper C++ library support
12516             ld_shlibs_CXX=no
12517             ;;
12518           ghcx*)
12519             # Green Hills C++ Compiler
12520             # FIXME: insert proper C++ library support
12521             ld_shlibs_CXX=no
12522             ;;
12523           *)
12524             # FIXME: insert proper C++ library support
12525             ld_shlibs_CXX=no
12526             ;;
12527         esac
12528         ;;
12529
12530       freebsd[12]*)
12531         # C++ shared libraries reported to be fairly broken before
12532         # switch to ELF
12533         ld_shlibs_CXX=no
12534         ;;
12535
12536       freebsd-elf*)
12537         archive_cmds_need_lc_CXX=no
12538         ;;
12539
12540       freebsd* | dragonfly*)
12541         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12542         # conventions
12543         ld_shlibs_CXX=yes
12544         ;;
12545
12546       gnu*)
12547         ;;
12548
12549       haiku*)
12550         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12551         link_all_deplibs_CXX=yes
12552         ;;
12553
12554       hpux9*)
12555         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12556         hardcode_libdir_separator_CXX=:
12557         export_dynamic_flag_spec_CXX='${wl}-E'
12558         hardcode_direct_CXX=yes
12559         hardcode_minus_L_CXX=yes # Not in the search PATH,
12560                                              # but as the default
12561                                              # location of the library.
12562
12563         case $cc_basename in
12564           CC*)
12565             # FIXME: insert proper C++ library support
12566             ld_shlibs_CXX=no
12567             ;;
12568           aCC*)
12569             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'
12570             # Commands to make compiler produce verbose output that lists
12571             # what "hidden" libraries, object files and flags are used when
12572             # linking a shared library.
12573             #
12574             # There doesn't appear to be a way to prevent this compiler from
12575             # explicitly linking system object files so we need to strip them
12576             # from the output so that they don't get included in the library
12577             # dependencies.
12578             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"'
12579             ;;
12580           *)
12581             if test "$GXX" = yes; then
12582               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'
12583             else
12584               # FIXME: insert proper C++ library support
12585               ld_shlibs_CXX=no
12586             fi
12587             ;;
12588         esac
12589         ;;
12590
12591       hpux10*|hpux11*)
12592         if test $with_gnu_ld = no; then
12593           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12594           hardcode_libdir_separator_CXX=:
12595
12596           case $host_cpu in
12597             hppa*64*|ia64*)
12598               ;;
12599             *)
12600               export_dynamic_flag_spec_CXX='${wl}-E'
12601               ;;
12602           esac
12603         fi
12604         case $host_cpu in
12605           hppa*64*|ia64*)
12606             hardcode_direct_CXX=no
12607             hardcode_shlibpath_var_CXX=no
12608             ;;
12609           *)
12610             hardcode_direct_CXX=yes
12611             hardcode_direct_absolute_CXX=yes
12612             hardcode_minus_L_CXX=yes # Not in the search PATH,
12613                                                  # but as the default
12614                                                  # location of the library.
12615             ;;
12616         esac
12617
12618         case $cc_basename in
12619           CC*)
12620             # FIXME: insert proper C++ library support
12621             ld_shlibs_CXX=no
12622             ;;
12623           aCC*)
12624             case $host_cpu in
12625               hppa*64*)
12626                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12627                 ;;
12628               ia64*)
12629                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12630                 ;;
12631               *)
12632                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12633                 ;;
12634             esac
12635             # Commands to make compiler produce verbose output that lists
12636             # what "hidden" libraries, object files and flags are used when
12637             # linking a shared library.
12638             #
12639             # There doesn't appear to be a way to prevent this compiler from
12640             # explicitly linking system object files so we need to strip them
12641             # from the output so that they don't get included in the library
12642             # dependencies.
12643             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"'
12644             ;;
12645           *)
12646             if test "$GXX" = yes; then
12647               if test $with_gnu_ld = no; then
12648                 case $host_cpu in
12649                   hppa*64*)
12650                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12651                     ;;
12652                   ia64*)
12653                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12654                     ;;
12655                   *)
12656                     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'
12657                     ;;
12658                 esac
12659               fi
12660             else
12661               # FIXME: insert proper C++ library support
12662               ld_shlibs_CXX=no
12663             fi
12664             ;;
12665         esac
12666         ;;
12667
12668       interix[3-9]*)
12669         hardcode_direct_CXX=no
12670         hardcode_shlibpath_var_CXX=no
12671         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12672         export_dynamic_flag_spec_CXX='${wl}-E'
12673         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12674         # Instead, shared libraries are loaded at an image base (0x10000000 by
12675         # default) and relocated if they conflict, which is a slow very memory
12676         # consuming and fragmenting process.  To avoid this, we pick a random,
12677         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12678         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12679         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'
12680         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'
12681         ;;
12682       irix5* | irix6*)
12683         case $cc_basename in
12684           CC*)
12685             # SGI C++
12686             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'
12687
12688             # Archives containing C++ object files must be created using
12689             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
12690             # necessary to make sure instantiated templates are included
12691             # in the archive.
12692             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12693             ;;
12694           *)
12695             if test "$GXX" = yes; then
12696               if test "$with_gnu_ld" = no; then
12697                 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'
12698               else
12699                 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'
12700               fi
12701             fi
12702             link_all_deplibs_CXX=yes
12703             ;;
12704         esac
12705         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12706         hardcode_libdir_separator_CXX=:
12707         inherit_rpath_CXX=yes
12708         ;;
12709
12710       linux* | k*bsd*-gnu | kopensolaris*-gnu)
12711         case $cc_basename in
12712           KCC*)
12713             # Kuck and Associates, Inc. (KAI) C++ Compiler
12714
12715             # KCC will only create a shared library if the output file
12716             # ends with ".so" (or ".sl" for HP-UX), so rename the library
12717             # to its proper name (with version) after linking.
12718             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'
12719             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'
12720             # Commands to make compiler produce verbose output that lists
12721             # what "hidden" libraries, object files and flags are used when
12722             # linking a shared library.
12723             #
12724             # There doesn't appear to be a way to prevent this compiler from
12725             # explicitly linking system object files so we need to strip them
12726             # from the output so that they don't get included in the library
12727             # dependencies.
12728             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"'
12729
12730             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12731             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12732
12733             # Archives containing C++ object files must be created using
12734             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12735             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12736             ;;
12737           icpc* | ecpc* )
12738             # Intel C++
12739             with_gnu_ld=yes
12740             # version 8.0 and above of icpc choke on multiply defined symbols
12741             # if we add $predep_objects and $postdep_objects, however 7.1 and
12742             # earlier do not add the objects themselves.
12743             case `$CC -V 2>&1` in
12744               *"Version 7."*)
12745                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12746                 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'
12747                 ;;
12748               *)  # Version 8.0 or newer
12749                 tmp_idyn=
12750                 case $host_cpu in
12751                   ia64*) tmp_idyn=' -i_dynamic';;
12752                 esac
12753                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12754                 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'
12755                 ;;
12756             esac
12757             archive_cmds_need_lc_CXX=no
12758             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12759             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12760             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12761             ;;
12762           pgCC* | pgcpp*)
12763             # Portland Group C++ compiler
12764             case `$CC -V` in
12765             *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12766               prelink_cmds_CXX='tpldir=Template.dir~
12767                 rm -rf $tpldir~
12768                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12769                 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12770               old_archive_cmds_CXX='tpldir=Template.dir~
12771                 rm -rf $tpldir~
12772                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12773                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12774                 $RANLIB $oldlib'
12775               archive_cmds_CXX='tpldir=Template.dir~
12776                 rm -rf $tpldir~
12777                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12778                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12779               archive_expsym_cmds_CXX='tpldir=Template.dir~
12780                 rm -rf $tpldir~
12781                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12782                 $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'
12783               ;;
12784             *) # Version 6 and above use weak symbols
12785               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12786               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'
12787               ;;
12788             esac
12789
12790             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12791             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12792             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'
12793             ;;
12794           cxx*)
12795             # Compaq C++
12796             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12797             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'
12798
12799             runpath_var=LD_RUN_PATH
12800             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12801             hardcode_libdir_separator_CXX=:
12802
12803             # Commands to make compiler produce verbose output that lists
12804             # what "hidden" libraries, object files and flags are used when
12805             # linking a shared library.
12806             #
12807             # There doesn't appear to be a way to prevent this compiler from
12808             # explicitly linking system object files so we need to strip them
12809             # from the output so that they don't get included in the library
12810             # dependencies.
12811             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'
12812             ;;
12813           xl* | mpixl* | bgxl*)
12814             # IBM XL 8.0 on PPC, with GNU ld
12815             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12816             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12817             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12818             if test "x$supports_anon_versioning" = xyes; then
12819               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12820                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12821                 echo "local: *; };" >> $output_objdir/$libname.ver~
12822                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12823             fi
12824             ;;
12825           *)
12826             case `$CC -V 2>&1 | sed 5q` in
12827             *Sun\ C*)
12828               # Sun C++ 5.9
12829               no_undefined_flag_CXX=' -zdefs'
12830               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12831               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'
12832               hardcode_libdir_flag_spec_CXX='-R$libdir'
12833               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'
12834               compiler_needs_object_CXX=yes
12835
12836               # Not sure whether something based on
12837               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12838               # would be better.
12839               output_verbose_link_cmd='func_echo_all'
12840
12841               # Archives containing C++ object files must be created using
12842               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12843               # necessary to make sure instantiated templates are included
12844               # in the archive.
12845               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12846               ;;
12847             esac
12848             ;;
12849         esac
12850         ;;
12851
12852       lynxos*)
12853         # FIXME: insert proper C++ library support
12854         ld_shlibs_CXX=no
12855         ;;
12856
12857       m88k*)
12858         # FIXME: insert proper C++ library support
12859         ld_shlibs_CXX=no
12860         ;;
12861
12862       mvs*)
12863         case $cc_basename in
12864           cxx*)
12865             # FIXME: insert proper C++ library support
12866             ld_shlibs_CXX=no
12867             ;;
12868           *)
12869             # FIXME: insert proper C++ library support
12870             ld_shlibs_CXX=no
12871             ;;
12872         esac
12873         ;;
12874
12875       netbsd*)
12876         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12877           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12878           wlarc=
12879           hardcode_libdir_flag_spec_CXX='-R$libdir'
12880           hardcode_direct_CXX=yes
12881           hardcode_shlibpath_var_CXX=no
12882         fi
12883         # Workaround some broken pre-1.5 toolchains
12884         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12885         ;;
12886
12887       *nto* | *qnx*)
12888         ld_shlibs_CXX=yes
12889         ;;
12890
12891       openbsd2*)
12892         # C++ shared libraries are fairly broken
12893         ld_shlibs_CXX=no
12894         ;;
12895
12896       openbsd*)
12897         if test -f /usr/libexec/ld.so; then
12898           hardcode_direct_CXX=yes
12899           hardcode_shlibpath_var_CXX=no
12900           hardcode_direct_absolute_CXX=yes
12901           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12902           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12903           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12904             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12905             export_dynamic_flag_spec_CXX='${wl}-E'
12906             whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12907           fi
12908           output_verbose_link_cmd=func_echo_all
12909         else
12910           ld_shlibs_CXX=no
12911         fi
12912         ;;
12913
12914       osf3* | osf4* | osf5*)
12915         case $cc_basename in
12916           KCC*)
12917             # Kuck and Associates, Inc. (KAI) C++ Compiler
12918
12919             # KCC will only create a shared library if the output file
12920             # ends with ".so" (or ".sl" for HP-UX), so rename the library
12921             # to its proper name (with version) after linking.
12922             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'
12923
12924             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12925             hardcode_libdir_separator_CXX=:
12926
12927             # Archives containing C++ object files must be created using
12928             # the KAI C++ compiler.
12929             case $host in
12930               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12931               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12932             esac
12933             ;;
12934           RCC*)
12935             # Rational C++ 2.4.1
12936             # FIXME: insert proper C++ library support
12937             ld_shlibs_CXX=no
12938             ;;
12939           cxx*)
12940             case $host in
12941               osf3*)
12942                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12943                 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'
12944                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12945                 ;;
12946               *)
12947                 allow_undefined_flag_CXX=' -expect_unresolved \*'
12948                 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'
12949                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12950                   echo "-hidden">> $lib.exp~
12951                   $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~
12952                   $RM $lib.exp'
12953                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12954                 ;;
12955             esac
12956
12957             hardcode_libdir_separator_CXX=:
12958
12959             # Commands to make compiler produce verbose output that lists
12960             # what "hidden" libraries, object files and flags are used when
12961             # linking a shared library.
12962             #
12963             # There doesn't appear to be a way to prevent this compiler from
12964             # explicitly linking system object files so we need to strip them
12965             # from the output so that they don't get included in the library
12966             # dependencies.
12967             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"'
12968             ;;
12969           *)
12970             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12971               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12972               case $host in
12973                 osf3*)
12974                   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'
12975                   ;;
12976                 *)
12977                   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'
12978                   ;;
12979               esac
12980
12981               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12982               hardcode_libdir_separator_CXX=:
12983
12984               # Commands to make compiler produce verbose output that lists
12985               # what "hidden" libraries, object files and flags are used when
12986               # linking a shared library.
12987               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12988
12989             else
12990               # FIXME: insert proper C++ library support
12991               ld_shlibs_CXX=no
12992             fi
12993             ;;
12994         esac
12995         ;;
12996
12997       psos*)
12998         # FIXME: insert proper C++ library support
12999         ld_shlibs_CXX=no
13000         ;;
13001
13002       sunos4*)
13003         case $cc_basename in
13004           CC*)
13005             # Sun C++ 4.x
13006             # FIXME: insert proper C++ library support
13007             ld_shlibs_CXX=no
13008             ;;
13009           lcc*)
13010             # Lucid
13011             # FIXME: insert proper C++ library support
13012             ld_shlibs_CXX=no
13013             ;;
13014           *)
13015             # FIXME: insert proper C++ library support
13016             ld_shlibs_CXX=no
13017             ;;
13018         esac
13019         ;;
13020
13021       solaris*)
13022         case $cc_basename in
13023           CC*)
13024             # Sun C++ 4.2, 5.x and Centerline C++
13025             archive_cmds_need_lc_CXX=yes
13026             no_undefined_flag_CXX=' -zdefs'
13027             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13028             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13029               $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'
13030
13031             hardcode_libdir_flag_spec_CXX='-R$libdir'
13032             hardcode_shlibpath_var_CXX=no
13033             case $host_os in
13034               solaris2.[0-5] | solaris2.[0-5].*) ;;
13035               *)
13036                 # The compiler driver will combine and reorder linker options,
13037                 # but understands `-z linker_flag'.
13038                 # Supported since Solaris 2.6 (maybe 2.5.1?)
13039                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13040                 ;;
13041             esac
13042             link_all_deplibs_CXX=yes
13043
13044             output_verbose_link_cmd='func_echo_all'
13045
13046             # Archives containing C++ object files must be created using
13047             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13048             # necessary to make sure instantiated templates are included
13049             # in the archive.
13050             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13051             ;;
13052           gcx*)
13053             # Green Hills C++ Compiler
13054             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13055
13056             # The C++ compiler must be used to create the archive.
13057             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13058             ;;
13059           *)
13060             # GNU C++ compiler with Solaris linker
13061             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13062               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13063               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13064                 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13065                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13066                   $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13067
13068                 # Commands to make compiler produce verbose output that lists
13069                 # what "hidden" libraries, object files and flags are used when
13070                 # linking a shared library.
13071                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13072               else
13073                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13074                 # platform.
13075                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13076                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13077                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13078
13079                 # Commands to make compiler produce verbose output that lists
13080                 # what "hidden" libraries, object files and flags are used when
13081                 # linking a shared library.
13082                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13083               fi
13084
13085               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13086               case $host_os in
13087                 solaris2.[0-5] | solaris2.[0-5].*) ;;
13088                 *)
13089                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13090                   ;;
13091               esac
13092             fi
13093             ;;
13094         esac
13095         ;;
13096
13097     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13098       no_undefined_flag_CXX='${wl}-z,text'
13099       archive_cmds_need_lc_CXX=no
13100       hardcode_shlibpath_var_CXX=no
13101       runpath_var='LD_RUN_PATH'
13102
13103       case $cc_basename in
13104         CC*)
13105           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13106           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13107           ;;
13108         *)
13109           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13110           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13111           ;;
13112       esac
13113       ;;
13114
13115       sysv5* | sco3.2v5* | sco5v6*)
13116         # Note: We can NOT use -z defs as we might desire, because we do not
13117         # link with -lc, and that would cause any symbols used from libc to
13118         # always be unresolved, which means just about no library would
13119         # ever link correctly.  If we're not using GNU ld we use -z text
13120         # though, which does catch some bad symbols but isn't as heavy-handed
13121         # as -z defs.
13122         no_undefined_flag_CXX='${wl}-z,text'
13123         allow_undefined_flag_CXX='${wl}-z,nodefs'
13124         archive_cmds_need_lc_CXX=no
13125         hardcode_shlibpath_var_CXX=no
13126         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13127         hardcode_libdir_separator_CXX=':'
13128         link_all_deplibs_CXX=yes
13129         export_dynamic_flag_spec_CXX='${wl}-Bexport'
13130         runpath_var='LD_RUN_PATH'
13131
13132         case $cc_basename in
13133           CC*)
13134             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13135             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13136             old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13137               '"$old_archive_cmds_CXX"
13138             reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13139               '"$reload_cmds_CXX"
13140             ;;
13141           *)
13142             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13143             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13144             ;;
13145         esac
13146       ;;
13147
13148       tandem*)
13149         case $cc_basename in
13150           NCC*)
13151             # NonStop-UX NCC 3.20
13152             # FIXME: insert proper C++ library support
13153             ld_shlibs_CXX=no
13154             ;;
13155           *)
13156             # FIXME: insert proper C++ library support
13157             ld_shlibs_CXX=no
13158             ;;
13159         esac
13160         ;;
13161
13162       vxworks*)
13163         # FIXME: insert proper C++ library support
13164         ld_shlibs_CXX=no
13165         ;;
13166
13167       *)
13168         # FIXME: insert proper C++ library support
13169         ld_shlibs_CXX=no
13170         ;;
13171     esac
13172
13173     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13174 $as_echo "$ld_shlibs_CXX" >&6; }
13175     test "$ld_shlibs_CXX" = no && can_build_shared=no
13176
13177     GCC_CXX="$GXX"
13178     LD_CXX="$LD"
13179
13180     ## CAVEAT EMPTOR:
13181     ## There is no encapsulation within the following macros, do not change
13182     ## the running order or otherwise move them around unless you know exactly
13183     ## what you are doing...
13184     # Dependencies to place before and after the object being linked:
13185 predep_objects_CXX=
13186 postdep_objects_CXX=
13187 predeps_CXX=
13188 postdeps_CXX=
13189 compiler_lib_search_path_CXX=
13190
13191 cat > conftest.$ac_ext <<_LT_EOF
13192 class Foo
13193 {
13194 public:
13195   Foo (void) { a = 0; }
13196 private:
13197   int a;
13198 };
13199 _LT_EOF
13200
13201 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13202   (eval $ac_compile) 2>&5
13203   ac_status=$?
13204   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13205   test $ac_status = 0; }; then
13206   # Parse the compiler output and extract the necessary
13207   # objects, libraries and library flags.
13208
13209   # Sentinel used to keep track of whether or not we are before
13210   # the conftest object file.
13211   pre_test_object_deps_done=no
13212
13213   for p in `eval "$output_verbose_link_cmd"`; do
13214     case $p in
13215
13216     -L* | -R* | -l*)
13217        # Some compilers place space between "-{L,R}" and the path.
13218        # Remove the space.
13219        if test $p = "-L" ||
13220           test $p = "-R"; then
13221          prev=$p
13222          continue
13223        else
13224          prev=
13225        fi
13226
13227        if test "$pre_test_object_deps_done" = no; then
13228          case $p in
13229          -L* | -R*)
13230            # Internal compiler library paths should come after those
13231            # provided the user.  The postdeps already come after the
13232            # user supplied libs so there is no need to process them.
13233            if test -z "$compiler_lib_search_path_CXX"; then
13234              compiler_lib_search_path_CXX="${prev}${p}"
13235            else
13236              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13237            fi
13238            ;;
13239          # The "-l" case would never come before the object being
13240          # linked, so don't bother handling this case.
13241          esac
13242        else
13243          if test -z "$postdeps_CXX"; then
13244            postdeps_CXX="${prev}${p}"
13245          else
13246            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13247          fi
13248        fi
13249        ;;
13250
13251     *.$objext)
13252        # This assumes that the test object file only shows up
13253        # once in the compiler output.
13254        if test "$p" = "conftest.$objext"; then
13255          pre_test_object_deps_done=yes
13256          continue
13257        fi
13258
13259        if test "$pre_test_object_deps_done" = no; then
13260          if test -z "$predep_objects_CXX"; then
13261            predep_objects_CXX="$p"
13262          else
13263            predep_objects_CXX="$predep_objects_CXX $p"
13264          fi
13265        else
13266          if test -z "$postdep_objects_CXX"; then
13267            postdep_objects_CXX="$p"
13268          else
13269            postdep_objects_CXX="$postdep_objects_CXX $p"
13270          fi
13271        fi
13272        ;;
13273
13274     *) ;; # Ignore the rest.
13275
13276     esac
13277   done
13278
13279   # Clean up.
13280   rm -f a.out a.exe
13281 else
13282   echo "libtool.m4: error: problem compiling CXX test program"
13283 fi
13284
13285 $RM -f confest.$objext
13286
13287 # PORTME: override above test on systems where it is broken
13288 case $host_os in
13289 interix[3-9]*)
13290   # Interix 3.5 installs completely hosed .la files for C++, so rather than
13291   # hack all around it, let's just trust "g++" to DTRT.
13292   predep_objects_CXX=
13293   postdep_objects_CXX=
13294   postdeps_CXX=
13295   ;;
13296
13297 linux*)
13298   case `$CC -V 2>&1 | sed 5q` in
13299   *Sun\ C*)
13300     # Sun C++ 5.9
13301
13302     # The more standards-conforming stlport4 library is
13303     # incompatible with the Cstd library. Avoid specifying
13304     # it if it's in CXXFLAGS. Ignore libCrun as
13305     # -library=stlport4 depends on it.
13306     case " $CXX $CXXFLAGS " in
13307     *" -library=stlport4 "*)
13308       solaris_use_stlport4=yes
13309       ;;
13310     esac
13311
13312     if test "$solaris_use_stlport4" != yes; then
13313       postdeps_CXX='-library=Cstd -library=Crun'
13314     fi
13315     ;;
13316   esac
13317   ;;
13318
13319 solaris*)
13320   case $cc_basename in
13321   CC*)
13322     # The more standards-conforming stlport4 library is
13323     # incompatible with the Cstd library. Avoid specifying
13324     # it if it's in CXXFLAGS. Ignore libCrun as
13325     # -library=stlport4 depends on it.
13326     case " $CXX $CXXFLAGS " in
13327     *" -library=stlport4 "*)
13328       solaris_use_stlport4=yes
13329       ;;
13330     esac
13331
13332     # Adding this requires a known-good setup of shared libraries for
13333     # Sun compiler versions before 5.6, else PIC objects from an old
13334     # archive will be linked into the output, leading to subtle bugs.
13335     if test "$solaris_use_stlport4" != yes; then
13336       postdeps_CXX='-library=Cstd -library=Crun'
13337     fi
13338     ;;
13339   esac
13340   ;;
13341 esac
13342
13343
13344 case " $postdeps_CXX " in
13345 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13346 esac
13347  compiler_lib_search_dirs_CXX=
13348 if test -n "${compiler_lib_search_path_CXX}"; then
13349  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13350 fi
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
13382     lt_prog_compiler_wl_CXX=
13383 lt_prog_compiler_pic_CXX=
13384 lt_prog_compiler_static_CXX=
13385
13386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13387 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13388
13389   # C++ specific cases for pic, static, wl, etc.
13390   if test "$GXX" = yes; then
13391     lt_prog_compiler_wl_CXX='-Wl,'
13392     lt_prog_compiler_static_CXX='-static'
13393
13394     case $host_os in
13395     aix*)
13396       # All AIX code is PIC.
13397       if test "$host_cpu" = ia64; then
13398         # AIX 5 now supports IA64 processor
13399         lt_prog_compiler_static_CXX='-Bstatic'
13400       fi
13401       ;;
13402
13403     amigaos*)
13404       case $host_cpu in
13405       powerpc)
13406             # see comment about AmigaOS4 .so support
13407             lt_prog_compiler_pic_CXX='-fPIC'
13408         ;;
13409       m68k)
13410             # FIXME: we need at least 68020 code to build shared libraries, but
13411             # adding the `-m68020' flag to GCC prevents building anything better,
13412             # like `-m68040'.
13413             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13414         ;;
13415       esac
13416       ;;
13417
13418     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13419       # PIC is the default for these OSes.
13420       ;;
13421     mingw* | cygwin* | os2* | pw32* | cegcc*)
13422       # This hack is so that the source file can tell whether it is being
13423       # built for inclusion in a dll (and should export symbols for example).
13424       # Although the cygwin gcc ignores -fPIC, still need this for old-style
13425       # (--disable-auto-import) libraries
13426       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13427       ;;
13428     darwin* | rhapsody*)
13429       # PIC is the default on this platform
13430       # Common symbols not allowed in MH_DYLIB files
13431       lt_prog_compiler_pic_CXX='-fno-common'
13432       ;;
13433     *djgpp*)
13434       # DJGPP does not support shared libraries at all
13435       lt_prog_compiler_pic_CXX=
13436       ;;
13437     haiku*)
13438       # PIC is the default for Haiku.
13439       # The "-static" flag exists, but is broken.
13440       lt_prog_compiler_static_CXX=
13441       ;;
13442     interix[3-9]*)
13443       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13444       # Instead, we relocate shared libraries at runtime.
13445       ;;
13446     sysv4*MP*)
13447       if test -d /usr/nec; then
13448         lt_prog_compiler_pic_CXX=-Kconform_pic
13449       fi
13450       ;;
13451     hpux*)
13452       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13453       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
13454       # sets the default TLS model and affects inlining.
13455       case $host_cpu in
13456       hppa*64*)
13457         ;;
13458       *)
13459         lt_prog_compiler_pic_CXX='-fPIC'
13460         ;;
13461       esac
13462       ;;
13463     *qnx* | *nto*)
13464       # QNX uses GNU C++, but need to define -shared option too, otherwise
13465       # it will coredump.
13466       lt_prog_compiler_pic_CXX='-fPIC -shared'
13467       ;;
13468     *)
13469       lt_prog_compiler_pic_CXX='-fPIC'
13470       ;;
13471     esac
13472   else
13473     case $host_os in
13474       aix[4-9]*)
13475         # All AIX code is PIC.
13476         if test "$host_cpu" = ia64; then
13477           # AIX 5 now supports IA64 processor
13478           lt_prog_compiler_static_CXX='-Bstatic'
13479         else
13480           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13481         fi
13482         ;;
13483       chorus*)
13484         case $cc_basename in
13485         cxch68*)
13486           # Green Hills C++ Compiler
13487           # _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"
13488           ;;
13489         esac
13490         ;;
13491       dgux*)
13492         case $cc_basename in
13493           ec++*)
13494             lt_prog_compiler_pic_CXX='-KPIC'
13495             ;;
13496           ghcx*)
13497             # Green Hills C++ Compiler
13498             lt_prog_compiler_pic_CXX='-pic'
13499             ;;
13500           *)
13501             ;;
13502         esac
13503         ;;
13504       freebsd* | dragonfly*)
13505         # FreeBSD uses GNU C++
13506         ;;
13507       hpux9* | hpux10* | hpux11*)
13508         case $cc_basename in
13509           CC*)
13510             lt_prog_compiler_wl_CXX='-Wl,'
13511             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13512             if test "$host_cpu" != ia64; then
13513               lt_prog_compiler_pic_CXX='+Z'
13514             fi
13515             ;;
13516           aCC*)
13517             lt_prog_compiler_wl_CXX='-Wl,'
13518             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13519             case $host_cpu in
13520             hppa*64*|ia64*)
13521               # +Z the default
13522               ;;
13523             *)
13524               lt_prog_compiler_pic_CXX='+Z'
13525               ;;
13526             esac
13527             ;;
13528           *)
13529             ;;
13530         esac
13531         ;;
13532       interix*)
13533         # This is c89, which is MS Visual C++ (no shared libs)
13534         # Anyone wants to do a port?
13535         ;;
13536       irix5* | irix6* | nonstopux*)
13537         case $cc_basename in
13538           CC*)
13539             lt_prog_compiler_wl_CXX='-Wl,'
13540             lt_prog_compiler_static_CXX='-non_shared'
13541             # CC pic flag -KPIC is the default.
13542             ;;
13543           *)
13544             ;;
13545         esac
13546         ;;
13547       linux* | k*bsd*-gnu | kopensolaris*-gnu)
13548         case $cc_basename in
13549           KCC*)
13550             # KAI C++ Compiler
13551             lt_prog_compiler_wl_CXX='--backend -Wl,'
13552             lt_prog_compiler_pic_CXX='-fPIC'
13553             ;;
13554           ecpc* )
13555             # old Intel C++ for x86_64 which still supported -KPIC.
13556             lt_prog_compiler_wl_CXX='-Wl,'
13557             lt_prog_compiler_pic_CXX='-KPIC'
13558             lt_prog_compiler_static_CXX='-static'
13559             ;;
13560           icpc* )
13561             # Intel C++, used to be incompatible with GCC.
13562             # ICC 10 doesn't accept -KPIC any more.
13563             lt_prog_compiler_wl_CXX='-Wl,'
13564             lt_prog_compiler_pic_CXX='-fPIC'
13565             lt_prog_compiler_static_CXX='-static'
13566             ;;
13567           pgCC* | pgcpp*)
13568             # Portland Group C++ compiler
13569             lt_prog_compiler_wl_CXX='-Wl,'
13570             lt_prog_compiler_pic_CXX='-fpic'
13571             lt_prog_compiler_static_CXX='-Bstatic'
13572             ;;
13573           cxx*)
13574             # Compaq C++
13575             # Make sure the PIC flag is empty.  It appears that all Alpha
13576             # Linux and Compaq Tru64 Unix objects are PIC.
13577             lt_prog_compiler_pic_CXX=
13578             lt_prog_compiler_static_CXX='-non_shared'
13579             ;;
13580           xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13581             # IBM XL 8.0, 9.0 on PPC and BlueGene
13582             lt_prog_compiler_wl_CXX='-Wl,'
13583             lt_prog_compiler_pic_CXX='-qpic'
13584             lt_prog_compiler_static_CXX='-qstaticlink'
13585             ;;
13586           *)
13587             case `$CC -V 2>&1 | sed 5q` in
13588             *Sun\ C*)
13589               # Sun C++ 5.9
13590               lt_prog_compiler_pic_CXX='-KPIC'
13591               lt_prog_compiler_static_CXX='-Bstatic'
13592               lt_prog_compiler_wl_CXX='-Qoption ld '
13593               ;;
13594             esac
13595             ;;
13596         esac
13597         ;;
13598       lynxos*)
13599         ;;
13600       m88k*)
13601         ;;
13602       mvs*)
13603         case $cc_basename in
13604           cxx*)
13605             lt_prog_compiler_pic_CXX='-W c,exportall'
13606             ;;
13607           *)
13608             ;;
13609         esac
13610         ;;
13611       netbsd*)
13612         ;;
13613       *qnx* | *nto*)
13614         # QNX uses GNU C++, but need to define -shared option too, otherwise
13615         # it will coredump.
13616         lt_prog_compiler_pic_CXX='-fPIC -shared'
13617         ;;
13618       osf3* | osf4* | osf5*)
13619         case $cc_basename in
13620           KCC*)
13621             lt_prog_compiler_wl_CXX='--backend -Wl,'
13622             ;;
13623           RCC*)
13624             # Rational C++ 2.4.1
13625             lt_prog_compiler_pic_CXX='-pic'
13626             ;;
13627           cxx*)
13628             # Digital/Compaq C++
13629             lt_prog_compiler_wl_CXX='-Wl,'
13630             # Make sure the PIC flag is empty.  It appears that all Alpha
13631             # Linux and Compaq Tru64 Unix objects are PIC.
13632             lt_prog_compiler_pic_CXX=
13633             lt_prog_compiler_static_CXX='-non_shared'
13634             ;;
13635           *)
13636             ;;
13637         esac
13638         ;;
13639       psos*)
13640         ;;
13641       solaris*)
13642         case $cc_basename in
13643           CC*)
13644             # Sun C++ 4.2, 5.x and Centerline C++
13645             lt_prog_compiler_pic_CXX='-KPIC'
13646             lt_prog_compiler_static_CXX='-Bstatic'
13647             lt_prog_compiler_wl_CXX='-Qoption ld '
13648             ;;
13649           gcx*)
13650             # Green Hills C++ Compiler
13651             lt_prog_compiler_pic_CXX='-PIC'
13652             ;;
13653           *)
13654             ;;
13655         esac
13656         ;;
13657       sunos4*)
13658         case $cc_basename in
13659           CC*)
13660             # Sun C++ 4.x
13661             lt_prog_compiler_pic_CXX='-pic'
13662             lt_prog_compiler_static_CXX='-Bstatic'
13663             ;;
13664           lcc*)
13665             # Lucid
13666             lt_prog_compiler_pic_CXX='-pic'
13667             ;;
13668           *)
13669             ;;
13670         esac
13671         ;;
13672       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13673         case $cc_basename in
13674           CC*)
13675             lt_prog_compiler_wl_CXX='-Wl,'
13676             lt_prog_compiler_pic_CXX='-KPIC'
13677             lt_prog_compiler_static_CXX='-Bstatic'
13678             ;;
13679         esac
13680         ;;
13681       tandem*)
13682         case $cc_basename in
13683           NCC*)
13684             # NonStop-UX NCC 3.20
13685             lt_prog_compiler_pic_CXX='-KPIC'
13686             ;;
13687           *)
13688             ;;
13689         esac
13690         ;;
13691       vxworks*)
13692         ;;
13693       *)
13694         lt_prog_compiler_can_build_shared_CXX=no
13695         ;;
13696     esac
13697   fi
13698
13699 case $host_os in
13700   # For platforms which do not support PIC, -DPIC is meaningless:
13701   *djgpp*)
13702     lt_prog_compiler_pic_CXX=
13703     ;;
13704   *)
13705     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13706     ;;
13707 esac
13708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13709 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13710
13711
13712
13713 #
13714 # Check to make sure the PIC flag actually works.
13715 #
13716 if test -n "$lt_prog_compiler_pic_CXX"; then
13717   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13718 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13719 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13720   $as_echo_n "(cached) " >&6
13721 else
13722   lt_cv_prog_compiler_pic_works_CXX=no
13723    ac_outfile=conftest.$ac_objext
13724    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13725    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13726    # Insert the option either (1) after the last *FLAGS variable, or
13727    # (2) before a word containing "conftest.", or (3) at the end.
13728    # Note that $ac_compile itself does not contain backslashes and begins
13729    # with a dollar sign (not a hyphen), so the echo should work correctly.
13730    # The option is referenced via a variable to avoid confusing sed.
13731    lt_compile=`echo "$ac_compile" | $SED \
13732    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13733    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13734    -e 's:$: $lt_compiler_flag:'`
13735    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13736    (eval "$lt_compile" 2>conftest.err)
13737    ac_status=$?
13738    cat conftest.err >&5
13739    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13740    if (exit $ac_status) && test -s "$ac_outfile"; then
13741      # The compiler can only warn and ignore the option if not recognized
13742      # So say no if there are warnings other than the usual output.
13743      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13744      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13745      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13746        lt_cv_prog_compiler_pic_works_CXX=yes
13747      fi
13748    fi
13749    $RM conftest*
13750
13751 fi
13752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13753 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13754
13755 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13756     case $lt_prog_compiler_pic_CXX in
13757      "" | " "*) ;;
13758      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13759      esac
13760 else
13761     lt_prog_compiler_pic_CXX=
13762      lt_prog_compiler_can_build_shared_CXX=no
13763 fi
13764
13765 fi
13766
13767
13768
13769 #
13770 # Check to make sure the static flag actually works.
13771 #
13772 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13774 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13775 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13776   $as_echo_n "(cached) " >&6
13777 else
13778   lt_cv_prog_compiler_static_works_CXX=no
13779    save_LDFLAGS="$LDFLAGS"
13780    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13781    echo "$lt_simple_link_test_code" > conftest.$ac_ext
13782    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13783      # The linker can only warn and ignore the option if not recognized
13784      # So say no if there are warnings
13785      if test -s conftest.err; then
13786        # Append any errors to the config.log.
13787        cat conftest.err 1>&5
13788        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13789        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13790        if diff conftest.exp conftest.er2 >/dev/null; then
13791          lt_cv_prog_compiler_static_works_CXX=yes
13792        fi
13793      else
13794        lt_cv_prog_compiler_static_works_CXX=yes
13795      fi
13796    fi
13797    $RM -r conftest*
13798    LDFLAGS="$save_LDFLAGS"
13799
13800 fi
13801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13802 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13803
13804 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13805     :
13806 else
13807     lt_prog_compiler_static_CXX=
13808 fi
13809
13810
13811
13812
13813     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13814 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13815 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13816   $as_echo_n "(cached) " >&6
13817 else
13818   lt_cv_prog_compiler_c_o_CXX=no
13819    $RM -r conftest 2>/dev/null
13820    mkdir conftest
13821    cd conftest
13822    mkdir out
13823    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13824
13825    lt_compiler_flag="-o out/conftest2.$ac_objext"
13826    # Insert the option either (1) after the last *FLAGS variable, or
13827    # (2) before a word containing "conftest.", or (3) at the end.
13828    # Note that $ac_compile itself does not contain backslashes and begins
13829    # with a dollar sign (not a hyphen), so the echo should work correctly.
13830    lt_compile=`echo "$ac_compile" | $SED \
13831    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13832    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13833    -e 's:$: $lt_compiler_flag:'`
13834    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13835    (eval "$lt_compile" 2>out/conftest.err)
13836    ac_status=$?
13837    cat out/conftest.err >&5
13838    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13839    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13840    then
13841      # The compiler can only warn and ignore the option if not recognized
13842      # So say no if there are warnings
13843      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13844      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13845      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13846        lt_cv_prog_compiler_c_o_CXX=yes
13847      fi
13848    fi
13849    chmod u+w . 2>&5
13850    $RM conftest*
13851    # SGI C++ compiler will create directory out/ii_files/ for
13852    # template instantiation
13853    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13854    $RM out/* && rmdir out
13855    cd ..
13856    $RM -r conftest
13857    $RM conftest*
13858
13859 fi
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13861 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13862
13863
13864
13865     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13866 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13867 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13868   $as_echo_n "(cached) " >&6
13869 else
13870   lt_cv_prog_compiler_c_o_CXX=no
13871    $RM -r conftest 2>/dev/null
13872    mkdir conftest
13873    cd conftest
13874    mkdir out
13875    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13876
13877    lt_compiler_flag="-o out/conftest2.$ac_objext"
13878    # Insert the option either (1) after the last *FLAGS variable, or
13879    # (2) before a word containing "conftest.", or (3) at the end.
13880    # Note that $ac_compile itself does not contain backslashes and begins
13881    # with a dollar sign (not a hyphen), so the echo should work correctly.
13882    lt_compile=`echo "$ac_compile" | $SED \
13883    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13884    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13885    -e 's:$: $lt_compiler_flag:'`
13886    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13887    (eval "$lt_compile" 2>out/conftest.err)
13888    ac_status=$?
13889    cat out/conftest.err >&5
13890    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13891    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13892    then
13893      # The compiler can only warn and ignore the option if not recognized
13894      # So say no if there are warnings
13895      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13896      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13897      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13898        lt_cv_prog_compiler_c_o_CXX=yes
13899      fi
13900    fi
13901    chmod u+w . 2>&5
13902    $RM conftest*
13903    # SGI C++ compiler will create directory out/ii_files/ for
13904    # template instantiation
13905    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13906    $RM out/* && rmdir out
13907    cd ..
13908    $RM -r conftest
13909    $RM conftest*
13910
13911 fi
13912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13913 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13914
13915
13916
13917
13918 hard_links="nottested"
13919 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13920   # do not overwrite the value of need_locks provided by the user
13921   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13922 $as_echo_n "checking if we can lock with hard links... " >&6; }
13923   hard_links=yes
13924   $RM conftest*
13925   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13926   touch conftest.a
13927   ln conftest.a conftest.b 2>&5 || hard_links=no
13928   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13930 $as_echo "$hard_links" >&6; }
13931   if test "$hard_links" = no; then
13932     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13933 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13934     need_locks=warn
13935   fi
13936 else
13937   need_locks=no
13938 fi
13939
13940
13941
13942     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13943 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13944
13945   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13946   case $host_os in
13947   aix[4-9]*)
13948     # If we're using GNU nm, then we don't want the "-C" option.
13949     # -C means demangle to AIX nm, but means don't demangle with GNU nm
13950     # Also, AIX nm treats weak defined symbols like other global defined
13951     # symbols, whereas GNU nm marks them as "W".
13952     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13953       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'
13954     else
13955       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'
13956     fi
13957     ;;
13958   pw32*)
13959     export_symbols_cmds_CXX="$ltdll_cmds"
13960   ;;
13961   cygwin* | mingw* | cegcc*)
13962     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'
13963   ;;
13964   *)
13965     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13966   ;;
13967   esac
13968   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13969
13970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13971 $as_echo "$ld_shlibs_CXX" >&6; }
13972 test "$ld_shlibs_CXX" = no && can_build_shared=no
13973
13974 with_gnu_ld_CXX=$with_gnu_ld
13975
13976
13977
13978
13979
13980
13981 #
13982 # Do we need to explicitly link libc?
13983 #
13984 case "x$archive_cmds_need_lc_CXX" in
13985 x|xyes)
13986   # Assume -lc should be added
13987   archive_cmds_need_lc_CXX=yes
13988
13989   if test "$enable_shared" = yes && test "$GCC" = yes; then
13990     case $archive_cmds_CXX in
13991     *'~'*)
13992       # FIXME: we may have to deal with multi-command sequences.
13993       ;;
13994     '$CC '*)
13995       # Test whether the compiler implicitly links with -lc since on some
13996       # systems, -lgcc has to come before -lc. If gcc already passes -lc
13997       # to ld, don't add -lc before -lgcc.
13998       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13999 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14000 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14001   $as_echo_n "(cached) " >&6
14002 else
14003   $RM conftest*
14004         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14005
14006         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14007   (eval $ac_compile) 2>&5
14008   ac_status=$?
14009   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14010   test $ac_status = 0; } 2>conftest.err; then
14011           soname=conftest
14012           lib=conftest
14013           libobjs=conftest.$ac_objext
14014           deplibs=
14015           wl=$lt_prog_compiler_wl_CXX
14016           pic_flag=$lt_prog_compiler_pic_CXX
14017           compiler_flags=-v
14018           linker_flags=-v
14019           verstring=
14020           output_objdir=.
14021           libname=conftest
14022           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14023           allow_undefined_flag_CXX=
14024           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14025   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14026   ac_status=$?
14027   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14028   test $ac_status = 0; }
14029           then
14030             lt_cv_archive_cmds_need_lc_CXX=no
14031           else
14032             lt_cv_archive_cmds_need_lc_CXX=yes
14033           fi
14034           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14035         else
14036           cat conftest.err 1>&5
14037         fi
14038         $RM conftest*
14039
14040 fi
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14042 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14043       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14044       ;;
14045     esac
14046   fi
14047   ;;
14048 esac
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
14113     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14114 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14115
14116 library_names_spec=
14117 libname_spec='lib$name'
14118 soname_spec=
14119 shrext_cmds=".so"
14120 postinstall_cmds=
14121 postuninstall_cmds=
14122 finish_cmds=
14123 finish_eval=
14124 shlibpath_var=
14125 shlibpath_overrides_runpath=unknown
14126 version_type=none
14127 dynamic_linker="$host_os ld.so"
14128 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14129 need_lib_prefix=unknown
14130 hardcode_into_libs=no
14131
14132 # when you set need_version to no, make sure it does not cause -set_version
14133 # flags to be left without arguments
14134 need_version=unknown
14135
14136 case $host_os in
14137 aix3*)
14138   version_type=linux
14139   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14140   shlibpath_var=LIBPATH
14141
14142   # AIX 3 has no versioning support, so we append a major version to the name.
14143   soname_spec='${libname}${release}${shared_ext}$major'
14144   ;;
14145
14146 aix[4-9]*)
14147   version_type=linux
14148   need_lib_prefix=no
14149   need_version=no
14150   hardcode_into_libs=yes
14151   if test "$host_cpu" = ia64; then
14152     # AIX 5 supports IA64
14153     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14154     shlibpath_var=LD_LIBRARY_PATH
14155   else
14156     # With GCC up to 2.95.x, collect2 would create an import file
14157     # for dependence libraries.  The import file would start with
14158     # the line `#! .'.  This would cause the generated library to
14159     # depend on `.', always an invalid library.  This was fixed in
14160     # development snapshots of GCC prior to 3.0.
14161     case $host_os in
14162       aix4 | aix4.[01] | aix4.[01].*)
14163       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14164            echo ' yes '
14165            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14166         :
14167       else
14168         can_build_shared=no
14169       fi
14170       ;;
14171     esac
14172     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14173     # soname into executable. Probably we can add versioning support to
14174     # collect2, so additional links can be useful in future.
14175     if test "$aix_use_runtimelinking" = yes; then
14176       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14177       # instead of lib<name>.a to let people know that these are not
14178       # typical AIX shared libraries.
14179       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14180     else
14181       # We preserve .a as extension for shared libraries through AIX4.2
14182       # and later when we are not doing run time linking.
14183       library_names_spec='${libname}${release}.a $libname.a'
14184       soname_spec='${libname}${release}${shared_ext}$major'
14185     fi
14186     shlibpath_var=LIBPATH
14187   fi
14188   ;;
14189
14190 amigaos*)
14191   case $host_cpu in
14192   powerpc)
14193     # Since July 2007 AmigaOS4 officially supports .so libraries.
14194     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14195     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14196     ;;
14197   m68k)
14198     library_names_spec='$libname.ixlibrary $libname.a'
14199     # Create ${libname}_ixlibrary.a entries in /sys/libs.
14200     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'
14201     ;;
14202   esac
14203   ;;
14204
14205 beos*)
14206   library_names_spec='${libname}${shared_ext}'
14207   dynamic_linker="$host_os ld.so"
14208   shlibpath_var=LIBRARY_PATH
14209   ;;
14210
14211 bsdi[45]*)
14212   version_type=linux
14213   need_version=no
14214   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14215   soname_spec='${libname}${release}${shared_ext}$major'
14216   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14217   shlibpath_var=LD_LIBRARY_PATH
14218   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14219   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14220   # the default ld.so.conf also contains /usr/contrib/lib and
14221   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14222   # libtool to hard-code these into programs
14223   ;;
14224
14225 cygwin* | mingw* | pw32* | cegcc*)
14226   version_type=windows
14227   shrext_cmds=".dll"
14228   need_version=no
14229   need_lib_prefix=no
14230
14231   case $GCC,$host_os in
14232   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14233     library_names_spec='$libname.dll.a'
14234     # DLL is installed to $(libdir)/../bin by postinstall_cmds
14235     postinstall_cmds='base_file=`basename \${file}`~
14236       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14237       dldir=$destdir/`dirname \$dlpath`~
14238       test -d \$dldir || mkdir -p \$dldir~
14239       $install_prog $dir/$dlname \$dldir/$dlname~
14240       chmod a+x \$dldir/$dlname~
14241       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14242         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14243       fi'
14244     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14245       dlpath=$dir/\$dldll~
14246        $RM \$dlpath'
14247     shlibpath_overrides_runpath=yes
14248
14249     case $host_os in
14250     cygwin*)
14251       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14252       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14253
14254       ;;
14255     mingw* | cegcc*)
14256       # MinGW DLLs use traditional 'lib' prefix
14257       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14258       ;;
14259     pw32*)
14260       # pw32 DLLs use 'pw' prefix rather than 'lib'
14261       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14262       ;;
14263     esac
14264     ;;
14265
14266   *)
14267     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14268     ;;
14269   esac
14270   dynamic_linker='Win32 ld.exe'
14271   # FIXME: first we should search . and the directory the executable is in
14272   shlibpath_var=PATH
14273   ;;
14274
14275 darwin* | rhapsody*)
14276   dynamic_linker="$host_os dyld"
14277   version_type=darwin
14278   need_lib_prefix=no
14279   need_version=no
14280   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14281   soname_spec='${libname}${release}${major}$shared_ext'
14282   shlibpath_overrides_runpath=yes
14283   shlibpath_var=DYLD_LIBRARY_PATH
14284   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14285
14286   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14287   ;;
14288
14289 dgux*)
14290   version_type=linux
14291   need_lib_prefix=no
14292   need_version=no
14293   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14294   soname_spec='${libname}${release}${shared_ext}$major'
14295   shlibpath_var=LD_LIBRARY_PATH
14296   ;;
14297
14298 freebsd* | dragonfly*)
14299   # DragonFly does not have aout.  When/if they implement a new
14300   # versioning mechanism, adjust this.
14301   if test -x /usr/bin/objformat; then
14302     objformat=`/usr/bin/objformat`
14303   else
14304     case $host_os in
14305     freebsd[123]*) objformat=aout ;;
14306     *) objformat=elf ;;
14307     esac
14308   fi
14309   version_type=freebsd-$objformat
14310   case $version_type in
14311     freebsd-elf*)
14312       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14313       need_version=no
14314       need_lib_prefix=no
14315       ;;
14316     freebsd-*)
14317       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14318       need_version=yes
14319       ;;
14320   esac
14321   shlibpath_var=LD_LIBRARY_PATH
14322   case $host_os in
14323   freebsd2*)
14324     shlibpath_overrides_runpath=yes
14325     ;;
14326   freebsd3.[01]* | freebsdelf3.[01]*)
14327     shlibpath_overrides_runpath=yes
14328     hardcode_into_libs=yes
14329     ;;
14330   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14331   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14332     shlibpath_overrides_runpath=no
14333     hardcode_into_libs=yes
14334     ;;
14335   *) # from 4.6 on, and DragonFly
14336     shlibpath_overrides_runpath=yes
14337     hardcode_into_libs=yes
14338     ;;
14339   esac
14340   ;;
14341
14342 gnu*)
14343   version_type=linux
14344   need_lib_prefix=no
14345   need_version=no
14346   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14347   soname_spec='${libname}${release}${shared_ext}$major'
14348   shlibpath_var=LD_LIBRARY_PATH
14349   hardcode_into_libs=yes
14350   ;;
14351
14352 haiku*)
14353   version_type=linux
14354   need_lib_prefix=no
14355   need_version=no
14356   dynamic_linker="$host_os runtime_loader"
14357   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14358   soname_spec='${libname}${release}${shared_ext}$major'
14359   shlibpath_var=LIBRARY_PATH
14360   shlibpath_overrides_runpath=yes
14361   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14362   hardcode_into_libs=yes
14363   ;;
14364
14365 hpux9* | hpux10* | hpux11*)
14366   # Give a soname corresponding to the major version so that dld.sl refuses to
14367   # link against other versions.
14368   version_type=sunos
14369   need_lib_prefix=no
14370   need_version=no
14371   case $host_cpu in
14372   ia64*)
14373     shrext_cmds='.so'
14374     hardcode_into_libs=yes
14375     dynamic_linker="$host_os dld.so"
14376     shlibpath_var=LD_LIBRARY_PATH
14377     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14378     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14379     soname_spec='${libname}${release}${shared_ext}$major'
14380     if test "X$HPUX_IA64_MODE" = X32; then
14381       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14382     else
14383       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14384     fi
14385     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14386     ;;
14387   hppa*64*)
14388     shrext_cmds='.sl'
14389     hardcode_into_libs=yes
14390     dynamic_linker="$host_os dld.sl"
14391     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14392     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14393     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14394     soname_spec='${libname}${release}${shared_ext}$major'
14395     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14396     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14397     ;;
14398   *)
14399     shrext_cmds='.sl'
14400     dynamic_linker="$host_os dld.sl"
14401     shlibpath_var=SHLIB_PATH
14402     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14403     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14404     soname_spec='${libname}${release}${shared_ext}$major'
14405     ;;
14406   esac
14407   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14408   postinstall_cmds='chmod 555 $lib'
14409   # or fails outright, so override atomically:
14410   install_override_mode=555
14411   ;;
14412
14413 interix[3-9]*)
14414   version_type=linux
14415   need_lib_prefix=no
14416   need_version=no
14417   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14418   soname_spec='${libname}${release}${shared_ext}$major'
14419   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14420   shlibpath_var=LD_LIBRARY_PATH
14421   shlibpath_overrides_runpath=no
14422   hardcode_into_libs=yes
14423   ;;
14424
14425 irix5* | irix6* | nonstopux*)
14426   case $host_os in
14427     nonstopux*) version_type=nonstopux ;;
14428     *)
14429         if test "$lt_cv_prog_gnu_ld" = yes; then
14430                 version_type=linux
14431         else
14432                 version_type=irix
14433         fi ;;
14434   esac
14435   need_lib_prefix=no
14436   need_version=no
14437   soname_spec='${libname}${release}${shared_ext}$major'
14438   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14439   case $host_os in
14440   irix5* | nonstopux*)
14441     libsuff= shlibsuff=
14442     ;;
14443   *)
14444     case $LD in # libtool.m4 will add one of these switches to LD
14445     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14446       libsuff= shlibsuff= libmagic=32-bit;;
14447     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14448       libsuff=32 shlibsuff=N32 libmagic=N32;;
14449     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14450       libsuff=64 shlibsuff=64 libmagic=64-bit;;
14451     *) libsuff= shlibsuff= libmagic=never-match;;
14452     esac
14453     ;;
14454   esac
14455   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14456   shlibpath_overrides_runpath=no
14457   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14458   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14459   hardcode_into_libs=yes
14460   ;;
14461
14462 # No shared lib support for Linux oldld, aout, or coff.
14463 linux*oldld* | linux*aout* | linux*coff*)
14464   dynamic_linker=no
14465   ;;
14466
14467 # This must be Linux ELF.
14468 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14469   version_type=linux
14470   need_lib_prefix=no
14471   need_version=no
14472   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14473   soname_spec='${libname}${release}${shared_ext}$major'
14474   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14475   shlibpath_var=LD_LIBRARY_PATH
14476   shlibpath_overrides_runpath=no
14477
14478   # Some binutils ld are patched to set DT_RUNPATH
14479   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14480   $as_echo_n "(cached) " >&6
14481 else
14482   lt_cv_shlibpath_overrides_runpath=no
14483     save_LDFLAGS=$LDFLAGS
14484     save_libdir=$libdir
14485     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14486          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14487     if test x$gcc_no_link = xyes; then
14488   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14489 fi
14490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14491 /* end confdefs.h.  */
14492
14493 int
14494 main ()
14495 {
14496
14497   ;
14498   return 0;
14499 }
14500 _ACEOF
14501 if ac_fn_cxx_try_link "$LINENO"; then :
14502   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14503   lt_cv_shlibpath_overrides_runpath=yes
14504 fi
14505 fi
14506 rm -f core conftest.err conftest.$ac_objext \
14507     conftest$ac_exeext conftest.$ac_ext
14508     LDFLAGS=$save_LDFLAGS
14509     libdir=$save_libdir
14510
14511 fi
14512
14513   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14514
14515   # This implies no fast_install, which is unacceptable.
14516   # Some rework will be needed to allow for fast_install
14517   # before this can be enabled.
14518   hardcode_into_libs=yes
14519
14520   # Append ld.so.conf contents to the search path
14521   if test -f /etc/ld.so.conf; then
14522     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' ' '`
14523     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14524   fi
14525
14526   # We used to test for /lib/ld.so.1 and disable shared libraries on
14527   # powerpc, because MkLinux only supported shared libraries with the
14528   # GNU dynamic linker.  Since this was broken with cross compilers,
14529   # most powerpc-linux boxes support dynamic linking these days and
14530   # people can always --disable-shared, the test was removed, and we
14531   # assume the GNU/Linux dynamic linker is in use.
14532   dynamic_linker='GNU/Linux ld.so'
14533   ;;
14534
14535 netbsd*)
14536   version_type=sunos
14537   need_lib_prefix=no
14538   need_version=no
14539   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14540     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14541     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14542     dynamic_linker='NetBSD (a.out) ld.so'
14543   else
14544     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14545     soname_spec='${libname}${release}${shared_ext}$major'
14546     dynamic_linker='NetBSD ld.elf_so'
14547   fi
14548   shlibpath_var=LD_LIBRARY_PATH
14549   shlibpath_overrides_runpath=yes
14550   hardcode_into_libs=yes
14551   ;;
14552
14553 newsos6)
14554   version_type=linux
14555   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14556   shlibpath_var=LD_LIBRARY_PATH
14557   shlibpath_overrides_runpath=yes
14558   ;;
14559
14560 *nto* | *qnx*)
14561   version_type=qnx
14562   need_lib_prefix=no
14563   need_version=no
14564   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14565   soname_spec='${libname}${release}${shared_ext}$major'
14566   shlibpath_var=LD_LIBRARY_PATH
14567   shlibpath_overrides_runpath=no
14568   hardcode_into_libs=yes
14569   dynamic_linker='ldqnx.so'
14570   ;;
14571
14572 openbsd*)
14573   version_type=sunos
14574   sys_lib_dlsearch_path_spec="/usr/lib"
14575   need_lib_prefix=no
14576   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14577   case $host_os in
14578     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
14579     *)                          need_version=no  ;;
14580   esac
14581   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14582   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14583   shlibpath_var=LD_LIBRARY_PATH
14584   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14585     case $host_os in
14586       openbsd2.[89] | openbsd2.[89].*)
14587         shlibpath_overrides_runpath=no
14588         ;;
14589       *)
14590         shlibpath_overrides_runpath=yes
14591         ;;
14592       esac
14593   else
14594     shlibpath_overrides_runpath=yes
14595   fi
14596   ;;
14597
14598 os2*)
14599   libname_spec='$name'
14600   shrext_cmds=".dll"
14601   need_lib_prefix=no
14602   library_names_spec='$libname${shared_ext} $libname.a'
14603   dynamic_linker='OS/2 ld.exe'
14604   shlibpath_var=LIBPATH
14605   ;;
14606
14607 osf3* | osf4* | osf5*)
14608   version_type=osf
14609   need_lib_prefix=no
14610   need_version=no
14611   soname_spec='${libname}${release}${shared_ext}$major'
14612   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14613   shlibpath_var=LD_LIBRARY_PATH
14614   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14615   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14616   ;;
14617
14618 rdos*)
14619   dynamic_linker=no
14620   ;;
14621
14622 solaris*)
14623   version_type=linux
14624   need_lib_prefix=no
14625   need_version=no
14626   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14627   soname_spec='${libname}${release}${shared_ext}$major'
14628   shlibpath_var=LD_LIBRARY_PATH
14629   shlibpath_overrides_runpath=yes
14630   hardcode_into_libs=yes
14631   # ldd complains unless libraries are executable
14632   postinstall_cmds='chmod +x $lib'
14633   ;;
14634
14635 sunos4*)
14636   version_type=sunos
14637   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14638   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14639   shlibpath_var=LD_LIBRARY_PATH
14640   shlibpath_overrides_runpath=yes
14641   if test "$with_gnu_ld" = yes; then
14642     need_lib_prefix=no
14643   fi
14644   need_version=yes
14645   ;;
14646
14647 sysv4 | sysv4.3*)
14648   version_type=linux
14649   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14650   soname_spec='${libname}${release}${shared_ext}$major'
14651   shlibpath_var=LD_LIBRARY_PATH
14652   case $host_vendor in
14653     sni)
14654       shlibpath_overrides_runpath=no
14655       need_lib_prefix=no
14656       runpath_var=LD_RUN_PATH
14657       ;;
14658     siemens)
14659       need_lib_prefix=no
14660       ;;
14661     motorola)
14662       need_lib_prefix=no
14663       need_version=no
14664       shlibpath_overrides_runpath=no
14665       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14666       ;;
14667   esac
14668   ;;
14669
14670 sysv4*MP*)
14671   if test -d /usr/nec ;then
14672     version_type=linux
14673     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14674     soname_spec='$libname${shared_ext}.$major'
14675     shlibpath_var=LD_LIBRARY_PATH
14676   fi
14677   ;;
14678
14679 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14680   version_type=freebsd-elf
14681   need_lib_prefix=no
14682   need_version=no
14683   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14684   soname_spec='${libname}${release}${shared_ext}$major'
14685   shlibpath_var=LD_LIBRARY_PATH
14686   shlibpath_overrides_runpath=yes
14687   hardcode_into_libs=yes
14688   if test "$with_gnu_ld" = yes; then
14689     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14690   else
14691     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14692     case $host_os in
14693       sco3.2v5*)
14694         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14695         ;;
14696     esac
14697   fi
14698   sys_lib_dlsearch_path_spec='/usr/lib'
14699   ;;
14700
14701 tpf*)
14702   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
14703   version_type=linux
14704   need_lib_prefix=no
14705   need_version=no
14706   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14707   shlibpath_var=LD_LIBRARY_PATH
14708   shlibpath_overrides_runpath=no
14709   hardcode_into_libs=yes
14710   ;;
14711
14712 uts4*)
14713   version_type=linux
14714   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14715   soname_spec='${libname}${release}${shared_ext}$major'
14716   shlibpath_var=LD_LIBRARY_PATH
14717   ;;
14718
14719 *)
14720   dynamic_linker=no
14721   ;;
14722 esac
14723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14724 $as_echo "$dynamic_linker" >&6; }
14725 test "$dynamic_linker" = no && can_build_shared=no
14726
14727 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14728 if test "$GCC" = yes; then
14729   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14730 fi
14731
14732 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14733   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14734 fi
14735 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14736   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14737 fi
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
14776     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14777 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14778 hardcode_action_CXX=
14779 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14780    test -n "$runpath_var_CXX" ||
14781    test "X$hardcode_automatic_CXX" = "Xyes" ; then
14782
14783   # We can hardcode non-existent directories.
14784   if test "$hardcode_direct_CXX" != no &&
14785      # If the only mechanism to avoid hardcoding is shlibpath_var, we
14786      # have to relink, otherwise we might link with an installed library
14787      # when we should be linking with a yet-to-be-installed one
14788      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14789      test "$hardcode_minus_L_CXX" != no; then
14790     # Linking always hardcodes the temporary library directory.
14791     hardcode_action_CXX=relink
14792   else
14793     # We can link without hardcoding, and we can hardcode nonexisting dirs.
14794     hardcode_action_CXX=immediate
14795   fi
14796 else
14797   # We cannot hardcode anything, or else we can only hardcode existing
14798   # directories.
14799   hardcode_action_CXX=unsupported
14800 fi
14801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14802 $as_echo "$hardcode_action_CXX" >&6; }
14803
14804 if test "$hardcode_action_CXX" = relink ||
14805    test "$inherit_rpath_CXX" = yes; then
14806   # Fast installation is not supported
14807   enable_fast_install=no
14808 elif test "$shlibpath_overrides_runpath" = yes ||
14809      test "$enable_shared" = no; then
14810   # Fast installation is not necessary
14811   enable_fast_install=needless
14812 fi
14813
14814
14815
14816
14817
14818
14819
14820   fi # test -n "$compiler"
14821
14822   CC=$lt_save_CC
14823   LDCXX=$LD
14824   LD=$lt_save_LD
14825   GCC=$lt_save_GCC
14826   with_gnu_ld=$lt_save_with_gnu_ld
14827   lt_cv_path_LDCXX=$lt_cv_path_LD
14828   lt_cv_path_LD=$lt_save_path_LD
14829   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14830   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14831 fi # test "$_lt_caught_CXX_error" != yes
14832
14833 ac_ext=c
14834 ac_cpp='$CPP $CPPFLAGS'
14835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851         ac_config_commands="$ac_config_commands libtool"
14852
14853
14854
14855
14856 # Only expand once:
14857
14858
14859
14860
14861
14862 case $host in
14863   *-cygwin* | *-mingw*)
14864     # 'host' will be top-level target in the case of a target lib,
14865     # we must compare to with_cross_host to decide if this is a native
14866     # or cross-compiler and select where to install dlls appropriately.
14867     if test -n "$with_cross_host" &&
14868         test x"$with_cross_host" != x"no"; then
14869       lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14870     else
14871       lt_host_flags='-no-undefined -bindir "$(bindir)"';
14872     fi
14873     ;;
14874   *)
14875     lt_host_flags=
14876     ;;
14877 esac
14878
14879
14880
14881
14882
14883
14884 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14885 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14886
14887 # Possibly disable most of the library.
14888 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14889 ## than just ignoring the results.  Faster /and/ more correct, win win.
14890
14891   # Check whether --enable-hosted-libstdcxx was given.
14892 if test "${enable_hosted_libstdcxx+set}" = set; then :
14893   enableval=$enable_hosted_libstdcxx;
14894 else
14895   case "$host" in
14896         arm*-*-symbianelf*)
14897             enable_hosted_libstdcxx=no
14898             ;;
14899         *)
14900             enable_hosted_libstdcxx=yes
14901             ;;
14902      esac
14903 fi
14904
14905   if test "$enable_hosted_libstdcxx" = no; then
14906     { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14907 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14908     is_hosted=no
14909     hosted_define=0
14910     enable_abi_check=no
14911     enable_libstdcxx_pch=no
14912   else
14913     is_hosted=yes
14914     hosted_define=1
14915   fi
14916
14917
14918 cat >>confdefs.h <<_ACEOF
14919 #define _GLIBCXX_HOSTED $hosted_define
14920 _ACEOF
14921
14922
14923
14924 # Enable compiler support that doesn't require linking.
14925
14926   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
14927 $as_echo_n "checking for exception model to use... " >&6; }
14928
14929   ac_ext=cpp
14930 ac_cpp='$CXXCPP $CPPFLAGS'
14931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14934
14935    # Check whether --enable-sjlj-exceptions was given.
14936 if test "${enable_sjlj_exceptions+set}" = set; then :
14937   enableval=$enable_sjlj_exceptions;
14938       case "$enableval" in
14939        yes|no|auto) ;;
14940        *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
14941                         esac
14942
14943 else
14944   enable_sjlj_exceptions=auto
14945 fi
14946
14947
14948
14949   if test $enable_sjlj_exceptions = auto; then
14950     # Botheration.  Now we've got to detect the exception model.  Link tests
14951     # against libgcc.a are problematic since we've not been given proper -L
14952     # bits for single-tree newlib and libgloss.
14953     #
14954     # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
14955     cat > conftest.$ac_ext << EOF
14956 #line 14956 "configure"
14957 struct S { ~S(); };
14958 void bar();
14959 void foo()
14960 {
14961   S s;
14962   bar();
14963 }
14964 EOF
14965     old_CXXFLAGS="$CXXFLAGS"
14966     CXXFLAGS=-S
14967     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14968   (eval $ac_compile) 2>&5
14969   ac_status=$?
14970   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14971   test $ac_status = 0; }; then
14972       if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
14973         enable_sjlj_exceptions=yes
14974       elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
14975         enable_sjlj_exceptions=no
14976       elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
14977         enable_sjlj_exceptions=no
14978       fi
14979     fi
14980     CXXFLAGS="$old_CXXFLAGS"
14981     rm -f conftest*
14982   fi
14983
14984   # This is a tad weird, for hysterical raisins.  We have to map
14985   # enable/disable to two different models.
14986   case $enable_sjlj_exceptions in
14987     yes)
14988
14989 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
14990
14991       ac_exception_model_name=sjlj
14992       ;;
14993     no)
14994       ac_exception_model_name="call frame"
14995       ;;
14996     *)
14997       as_fn_error "unable to detect exception model" "$LINENO" 5
14998       ;;
14999   esac
15000  ac_ext=c
15001 ac_cpp='$CPP $CPPFLAGS'
15002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15005
15006  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15007 $as_echo "$ac_exception_model_name" >&6; }
15008
15009
15010    # Check whether --enable-libstdcxx-pch was given.
15011 if test "${enable_libstdcxx_pch+set}" = set; then :
15012   enableval=$enable_libstdcxx_pch;
15013       case "$enableval" in
15014        yes|no) ;;
15015        *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15016       esac
15017
15018 else
15019   enable_libstdcxx_pch=$is_hosted
15020 fi
15021
15022
15023   if test $enable_libstdcxx_pch = yes; then
15024     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15025 $as_echo_n "checking for compiler with PCH support... " >&6; }
15026 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15027   $as_echo_n "(cached) " >&6
15028 else
15029   ac_save_CXXFLAGS="$CXXFLAGS"
15030        CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15031
15032        ac_ext=cpp
15033 ac_cpp='$CXXCPP $CPPFLAGS'
15034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15037
15038        echo '#include <math.h>' > conftest.h
15039        if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15040                           -o conftest.h.gch 1>&5 2>&1 &&
15041                 echo '#error "pch failed"' > conftest.h &&
15042           echo '#include "conftest.h"' > conftest.cc &&
15043                $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15044        then
15045          glibcxx_cv_prog_CXX_pch=yes
15046        else
15047          glibcxx_cv_prog_CXX_pch=no
15048        fi
15049        rm -f conftest*
15050        CXXFLAGS=$ac_save_CXXFLAGS
15051        ac_ext=c
15052 ac_cpp='$CPP $CPPFLAGS'
15053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15056
15057
15058 fi
15059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15060 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15061     enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15062   fi
15063
15064   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15065 $as_echo_n "checking for enabled PCH... " >&6; }
15066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15067 $as_echo "$enable_libstdcxx_pch" >&6; }
15068
15069
15070   if test $enable_libstdcxx_pch = yes; then
15071     glibcxx_PCHFLAGS="-include bits/stdc++.h"
15072   else
15073     glibcxx_PCHFLAGS=""
15074   fi
15075
15076
15077
15078   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15079 $as_echo_n "checking for thread model used by GCC... " >&6; }
15080   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15082 $as_echo "$target_thread_file" >&6; }
15083
15084   if test $target_thread_file != single; then
15085
15086 $as_echo "#define HAVE_GTHR_DEFAULT 1" >>confdefs.h
15087
15088   fi
15089
15090   glibcxx_thread_h=gthr-$target_thread_file.h
15091
15092     gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
15093   if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
15094     enable_thread=yes
15095   else
15096    enable_thread=no
15097   fi
15098
15099
15100
15101
15102
15103   ac_ext=cpp
15104 ac_cpp='$CXXCPP $CPPFLAGS'
15105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15108
15109   old_CXXFLAGS="$CXXFLAGS"
15110
15111   # Do link tests if possible, instead asm tests, limited to some platforms
15112   # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15113   # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15114   atomic_builtins_link_tests=no
15115   if test x$gcc_no_link != xyes; then
15116     # Can do link tests. Limit to some tested platforms
15117     case "$host" in
15118       *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15119         atomic_builtins_link_tests=yes
15120         ;;
15121     esac
15122   fi
15123
15124   if test x$atomic_builtins_link_tests = xyes; then
15125
15126   # Do link tests.
15127
15128   CXXFLAGS="$CXXFLAGS -fno-exceptions"
15129
15130   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15131 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15132   if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15133   $as_echo_n "(cached) " >&6
15134 else
15135
15136     if test x$gcc_no_link = xyes; then
15137   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15138 fi
15139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15140 /* end confdefs.h.  */
15141
15142 int
15143 main ()
15144 {
15145 typedef bool atomic_type;
15146        atomic_type c1;
15147        atomic_type c2;
15148        const atomic_type c3(0);
15149        __sync_fetch_and_add(&c1, c2);
15150        __sync_val_compare_and_swap(&c1, c3, c2);
15151        __sync_lock_test_and_set(&c1, c3);
15152        __sync_lock_release(&c1);
15153        __sync_synchronize();
15154   ;
15155   return 0;
15156 }
15157 _ACEOF
15158 if ac_fn_cxx_try_link "$LINENO"; then :
15159   glibcxx_cv_atomic_bool=yes
15160 else
15161   glibcxx_cv_atomic_bool=no
15162 fi
15163 rm -f core conftest.err conftest.$ac_objext \
15164     conftest$ac_exeext conftest.$ac_ext
15165
15166 fi
15167
15168   if test $glibcxx_cv_atomic_bool = yes; then
15169
15170 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15171
15172   fi
15173   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15174 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15175
15176   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15177 $as_echo_n "checking for atomic builtins for short... " >&6; }
15178   if test "${glibcxx_cv_atomic_short+set}" = set; then :
15179   $as_echo_n "(cached) " >&6
15180 else
15181
15182     if test x$gcc_no_link = xyes; then
15183   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15184 fi
15185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15186 /* end confdefs.h.  */
15187
15188 int
15189 main ()
15190 {
15191 typedef short atomic_type;
15192        atomic_type c1;
15193        atomic_type c2;
15194        const atomic_type c3(0);
15195        __sync_fetch_and_add(&c1, c2);
15196        __sync_val_compare_and_swap(&c1, c3, c2);
15197        __sync_lock_test_and_set(&c1, c3);
15198        __sync_lock_release(&c1);
15199        __sync_synchronize();
15200   ;
15201   return 0;
15202 }
15203 _ACEOF
15204 if ac_fn_cxx_try_link "$LINENO"; then :
15205   glibcxx_cv_atomic_short=yes
15206 else
15207   glibcxx_cv_atomic_short=no
15208 fi
15209 rm -f core conftest.err conftest.$ac_objext \
15210     conftest$ac_exeext conftest.$ac_ext
15211
15212 fi
15213
15214   if test $glibcxx_cv_atomic_short = yes; then
15215
15216 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15217
15218   fi
15219   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15220 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15221
15222   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15223 $as_echo_n "checking for atomic builtins for int... " >&6; }
15224   if test "${glibcxx_cv_atomic_int+set}" = set; then :
15225   $as_echo_n "(cached) " >&6
15226 else
15227
15228     if test x$gcc_no_link = xyes; then
15229   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15230 fi
15231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15232 /* end confdefs.h.  */
15233
15234 int
15235 main ()
15236 {
15237 typedef int atomic_type;
15238        atomic_type c1;
15239        atomic_type c2;
15240        const atomic_type c3(0);
15241        __sync_fetch_and_add(&c1, c2);
15242        __sync_val_compare_and_swap(&c1, c3, c2);
15243        __sync_lock_test_and_set(&c1, c3);
15244        __sync_lock_release(&c1);
15245        __sync_synchronize();
15246   ;
15247   return 0;
15248 }
15249 _ACEOF
15250 if ac_fn_cxx_try_link "$LINENO"; then :
15251   glibcxx_cv_atomic_int=yes
15252 else
15253   glibcxx_cv_atomic_int=no
15254 fi
15255 rm -f core conftest.err conftest.$ac_objext \
15256     conftest$ac_exeext conftest.$ac_ext
15257
15258 fi
15259
15260   if test $glibcxx_cv_atomic_int = yes; then
15261
15262 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15263
15264   fi
15265   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15266 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15267
15268   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15269 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15270   if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15271   $as_echo_n "(cached) " >&6
15272 else
15273
15274     if test x$gcc_no_link = xyes; then
15275   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15276 fi
15277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15278 /* end confdefs.h.  */
15279
15280 int
15281 main ()
15282 {
15283 typedef long long atomic_type;
15284        atomic_type c1;
15285        atomic_type c2;
15286        const atomic_type c3(0);
15287        __sync_fetch_and_add(&c1, c2);
15288        __sync_val_compare_and_swap(&c1, c3, c2);
15289        __sync_lock_test_and_set(&c1, c3);
15290        __sync_lock_release(&c1);
15291        __sync_synchronize();
15292   ;
15293   return 0;
15294 }
15295 _ACEOF
15296 if ac_fn_cxx_try_link "$LINENO"; then :
15297   glibcxx_cv_atomic_long_long=yes
15298 else
15299   glibcxx_cv_atomic_long_long=no
15300 fi
15301 rm -f core conftest.err conftest.$ac_objext \
15302     conftest$ac_exeext conftest.$ac_ext
15303
15304 fi
15305
15306   if test $glibcxx_cv_atomic_long_long = yes; then
15307
15308 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15309
15310   fi
15311   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15312 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15313
15314   else
15315
15316   # Do asm tests.
15317
15318   # Compile unoptimized.
15319   CXXFLAGS='-O0 -S'
15320
15321   # Fake what AC_TRY_COMPILE does.
15322
15323     cat > conftest.$ac_ext << EOF
15324 #line 15324 "configure"
15325 int main()
15326 {
15327   typedef bool atomic_type;
15328   atomic_type c1;
15329   atomic_type c2;
15330   const atomic_type c3(0);
15331   __sync_fetch_and_add(&c1, c2);
15332   __sync_val_compare_and_swap(&c1, c3, c2);
15333   __sync_lock_test_and_set(&c1, c3);
15334   __sync_lock_release(&c1);
15335   __sync_synchronize();
15336   return 0;
15337 }
15338 EOF
15339
15340     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15341 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15342     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15343   (eval $ac_compile) 2>&5
15344   ac_status=$?
15345   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15346   test $ac_status = 0; }; then
15347       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15348         glibcxx_cv_atomic_bool=no
15349       else
15350
15351 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15352
15353         glibcxx_cv_atomic_bool=yes
15354       fi
15355     fi
15356     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15357 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15358     rm -f conftest*
15359
15360     cat > conftest.$ac_ext << EOF
15361 #line 15361 "configure"
15362 int main()
15363 {
15364   typedef short atomic_type;
15365   atomic_type c1;
15366   atomic_type c2;
15367   const atomic_type c3(0);
15368   __sync_fetch_and_add(&c1, c2);
15369   __sync_val_compare_and_swap(&c1, c3, c2);
15370   __sync_lock_test_and_set(&c1, c3);
15371   __sync_lock_release(&c1);
15372   __sync_synchronize();
15373   return 0;
15374 }
15375 EOF
15376
15377     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15378 $as_echo_n "checking for atomic builtins for short... " >&6; }
15379     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15380   (eval $ac_compile) 2>&5
15381   ac_status=$?
15382   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15383   test $ac_status = 0; }; then
15384       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15385         glibcxx_cv_atomic_short=no
15386       else
15387
15388 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15389
15390         glibcxx_cv_atomic_short=yes
15391       fi
15392     fi
15393     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15394 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15395     rm -f conftest*
15396
15397     cat > conftest.$ac_ext << EOF
15398 #line 15398 "configure"
15399 int main()
15400 {
15401   // NB: _Atomic_word not necessarily int.
15402   typedef int atomic_type;
15403   atomic_type c1;
15404   atomic_type c2;
15405   const atomic_type c3(0);
15406   __sync_fetch_and_add(&c1, c2);
15407   __sync_val_compare_and_swap(&c1, c3, c2);
15408   __sync_lock_test_and_set(&c1, c3);
15409   __sync_lock_release(&c1);
15410   __sync_synchronize();
15411   return 0;
15412 }
15413 EOF
15414
15415     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15416 $as_echo_n "checking for atomic builtins for int... " >&6; }
15417     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15418   (eval $ac_compile) 2>&5
15419   ac_status=$?
15420   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15421   test $ac_status = 0; }; then
15422       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15423         glibcxx_cv_atomic_int=no
15424       else
15425
15426 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15427
15428         glibcxx_cv_atomic_int=yes
15429       fi
15430     fi
15431     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15432 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15433     rm -f conftest*
15434
15435     cat > conftest.$ac_ext << EOF
15436 #line 15436 "configure"
15437 int main()
15438 {
15439   typedef long long atomic_type;
15440   atomic_type c1;
15441   atomic_type c2;
15442   const atomic_type c3(0);
15443   __sync_fetch_and_add(&c1, c2);
15444   __sync_val_compare_and_swap(&c1, c3, c2);
15445   __sync_lock_test_and_set(&c1, c3);
15446   __sync_lock_release(&c1);
15447   __sync_synchronize();
15448   return 0;
15449 }
15450 EOF
15451
15452     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15453 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15454     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15455   (eval $ac_compile) 2>&5
15456   ac_status=$?
15457   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15458   test $ac_status = 0; }; then
15459       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15460         glibcxx_cv_atomic_long_long=no
15461       else
15462
15463 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15464
15465         glibcxx_cv_atomic_long_long=yes
15466       fi
15467     fi
15468     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15469 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15470     rm -f conftest*
15471
15472   fi
15473
15474   CXXFLAGS="$old_CXXFLAGS"
15475   ac_ext=c
15476 ac_cpp='$CPP $CPPFLAGS'
15477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15480
15481
15482   # Set atomicity_dir to builtins if either of above tests pass.
15483   if test $glibcxx_cv_atomic_int = yes || test $glibcxx_cv_atomic_bool = yes ; then
15484     atomicity_dir=cpu/generic/atomicity_builtins
15485   fi
15486
15487   # If still generic, set to mutex.
15488   if test $atomicity_dir = "cpu/generic" ; then
15489     atomicity_dir=cpu/generic/atomicity_mutex
15490     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15491 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15492       if test "x$target_thread_file" = xsingle; then
15493         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15494 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15495         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15496 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15497       else
15498         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15499 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15500         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15501 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15502       fi
15503   fi
15504
15505
15506
15507
15508   # Fake what AC_TRY_COMPILE does, without linking as this is
15509   # unnecessary for this test.
15510
15511     cat > conftest.$ac_ext << EOF
15512 #line 15512 "configure"
15513 int main()
15514 {
15515   _Decimal32 d1;
15516   _Decimal64 d2;
15517   _Decimal128 d3;
15518   return 0;
15519 }
15520 EOF
15521
15522     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15523 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15524     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15525   (eval $ac_compile) 2>&5
15526   ac_status=$?
15527   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15528   test $ac_status = 0; }; then
15529
15530 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15531
15532       enable_dfp=yes
15533     else
15534       enable_dfp=no
15535     fi
15536     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15537 $as_echo "$enable_dfp" >&6; }
15538     rm -f conftest*
15539
15540
15541 # Checks for compiler support that doesn't require linking.
15542
15543   # All these tests are for C++; save the language and the compiler flags.
15544   # The CXXFLAGS thing is suspicious, but based on similar bits previously
15545   # found in GLIBCXX_CONFIGURE.
15546
15547   ac_ext=cpp
15548 ac_cpp='$CXXCPP $CPPFLAGS'
15549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15552
15553   ac_test_CXXFLAGS="${CXXFLAGS+set}"
15554   ac_save_CXXFLAGS="$CXXFLAGS"
15555
15556   # Check for maintainer-mode bits.
15557   if test x"$USE_MAINTAINER_MODE" = xno; then
15558     WERROR=''
15559   else
15560     WERROR='-Werror'
15561   fi
15562
15563   # Check for -ffunction-sections -fdata-sections
15564   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15565 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15566   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15567   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15568 /* end confdefs.h.  */
15569 int foo; void bar() { };
15570 int
15571 main ()
15572 {
15573
15574   ;
15575   return 0;
15576 }
15577 _ACEOF
15578 if ac_fn_cxx_try_compile "$LINENO"; then :
15579   ac_fdsections=yes
15580 else
15581   ac_fdsections=no
15582 fi
15583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15584   if test "$ac_test_CXXFLAGS" = set; then
15585     CXXFLAGS="$ac_save_CXXFLAGS"
15586   else
15587     # this is the suspicious part
15588     CXXFLAGS=''
15589   fi
15590   if test x"$ac_fdsections" = x"yes"; then
15591     SECTION_FLAGS='-ffunction-sections -fdata-sections'
15592   fi
15593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15594 $as_echo "$ac_fdsections" >&6; }
15595
15596   ac_ext=c
15597 ac_cpp='$CPP $CPPFLAGS'
15598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15601
15602
15603
15604
15605
15606 # Enable all the variable C++ runtime options that don't require linking.
15607
15608   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15609 $as_echo_n "checking for underlying I/O to use... " >&6; }
15610    # Check whether --enable-cstdio was given.
15611 if test "${enable_cstdio+set}" = set; then :
15612   enableval=$enable_cstdio;
15613       case "$enableval" in
15614        stdio) ;;
15615        *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15616                         esac
15617
15618 else
15619   enable_cstdio=stdio
15620 fi
15621
15622
15623
15624   # Now that libio has been removed, you can have any color you want as long
15625   # as it's black.  This is one big no-op until other packages are added, but
15626   # showing the framework never hurts.
15627   case ${enable_cstdio} in
15628     stdio)
15629       CSTDIO_H=config/io/c_io_stdio.h
15630       BASIC_FILE_H=config/io/basic_file_stdio.h
15631       BASIC_FILE_CC=config/io/basic_file_stdio.cc
15632       { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15633 $as_echo "stdio" >&6; }
15634       ;;
15635   esac
15636
15637
15638
15639
15640
15641
15642    # Check whether --enable-clocale was given.
15643 if test "${enable_clocale+set}" = set; then :
15644   enableval=$enable_clocale;
15645       case "$enableval" in
15646        generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15647        *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15648                         esac
15649
15650 else
15651   enable_clocale=auto
15652 fi
15653
15654
15655
15656   # Deal with gettext issues.  Default to not using it (=no) until we detect
15657   # support for it later.  Let the user turn it off via --e/d, but let that
15658   # default to on for easier handling.
15659   USE_NLS=no
15660   # Check whether --enable-nls was given.
15661 if test "${enable_nls+set}" = set; then :
15662   enableval=$enable_nls;
15663 else
15664   enable_nls=yes
15665 fi
15666
15667
15668   # Either a known package, or "auto"
15669   if test $enable_clocale = no || test $enable_clocale = yes; then
15670      enable_clocale=auto
15671   fi
15672   enable_clocale_flag=$enable_clocale
15673
15674   # Probe for locale model to use if none specified.
15675   # Default to "generic".
15676   if test $enable_clocale_flag = auto; then
15677     case ${target_os} in
15678       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15679         enable_clocale_flag=gnu
15680         ;;
15681       darwin* | freebsd*)
15682         enable_clocale_flag=darwin
15683         ;;
15684       *)
15685         if test x"$with_newlib" = x"yes"; then
15686           enable_clocale_flag=newlib
15687         else
15688           enable_clocale_flag=generic
15689         fi
15690         ;;
15691     esac
15692   fi
15693
15694   # Sanity check model, and test for special functionality.
15695   if test $enable_clocale_flag = gnu; then
15696     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15697 /* end confdefs.h.  */
15698
15699     #include <features.h>
15700     #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15701       _GLIBCXX_ok
15702     #endif
15703
15704 _ACEOF
15705 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15706   $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15707   enable_clocale_flag=gnu
15708 else
15709   enable_clocale_flag=generic
15710 fi
15711 rm -f conftest*
15712
15713
15714     # Set it to scream when it hurts.
15715     ac_save_CFLAGS="$CFLAGS"
15716     CFLAGS="-Wimplicit-function-declaration -Werror"
15717
15718     # Use strxfrm_l if available.
15719     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15720 /* end confdefs.h.  */
15721 #define _GNU_SOURCE 1
15722                     #include <string.h>
15723                     #include <locale.h>
15724 int
15725 main ()
15726 {
15727 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15728   ;
15729   return 0;
15730 }
15731 _ACEOF
15732 if ac_fn_c_try_compile "$LINENO"; then :
15733
15734 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15735
15736 fi
15737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15738
15739     # Use strerror_l if available.
15740     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15741 /* end confdefs.h.  */
15742 #define _GNU_SOURCE 1
15743                     #include <string.h>
15744                     #include <locale.h>
15745 int
15746 main ()
15747 {
15748 __locale_t loc; strerror_l(5, loc);
15749   ;
15750   return 0;
15751 }
15752 _ACEOF
15753 if ac_fn_c_try_compile "$LINENO"; then :
15754
15755 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15756
15757 fi
15758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15759
15760     CFLAGS="$ac_save_CFLAGS"
15761   fi
15762
15763   # Perhaps use strerror_r if available, and strerror_l isn't.
15764   ac_save_CFLAGS="$CFLAGS"
15765   CFLAGS="-Wimplicit-function-declaration -Werror"
15766   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15767 /* end confdefs.h.  */
15768 #define _GNU_SOURCE 1
15769                   #include <string.h>
15770                   #include <locale.h>
15771 int
15772 main ()
15773 {
15774 char s[128]; strerror_r(5, s, 128);
15775   ;
15776   return 0;
15777 }
15778 _ACEOF
15779 if ac_fn_c_try_compile "$LINENO"; then :
15780
15781 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15782
15783 fi
15784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15785   CFLAGS="$ac_save_CFLAGS"
15786
15787   # Set configure bits for specified locale package
15788   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15789 $as_echo_n "checking for C locale to use... " >&6; }
15790   case ${enable_clocale_flag} in
15791     generic)
15792       { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15793 $as_echo "generic" >&6; }
15794
15795       CLOCALE_H=config/locale/generic/c_locale.h
15796       CLOCALE_CC=config/locale/generic/c_locale.cc
15797       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15798       CCOLLATE_CC=config/locale/generic/collate_members.cc
15799       CCTYPE_CC=config/locale/generic/ctype_members.cc
15800       CMESSAGES_H=config/locale/generic/messages_members.h
15801       CMESSAGES_CC=config/locale/generic/messages_members.cc
15802       CMONEY_CC=config/locale/generic/monetary_members.cc
15803       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15804       CTIME_H=config/locale/generic/time_members.h
15805       CTIME_CC=config/locale/generic/time_members.cc
15806       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15807       ;;
15808     darwin)
15809       { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15810 $as_echo "darwin or freebsd" >&6; }
15811
15812       CLOCALE_H=config/locale/generic/c_locale.h
15813       CLOCALE_CC=config/locale/generic/c_locale.cc
15814       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15815       CCOLLATE_CC=config/locale/generic/collate_members.cc
15816       CCTYPE_CC=config/locale/darwin/ctype_members.cc
15817       CMESSAGES_H=config/locale/generic/messages_members.h
15818       CMESSAGES_CC=config/locale/generic/messages_members.cc
15819       CMONEY_CC=config/locale/generic/monetary_members.cc
15820       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15821       CTIME_H=config/locale/generic/time_members.h
15822       CTIME_CC=config/locale/generic/time_members.cc
15823       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15824       ;;
15825
15826     gnu)
15827       { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15828 $as_echo "gnu" >&6; }
15829
15830       # Declare intention to use gettext, and add support for specific
15831       # languages.
15832       # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15833       ALL_LINGUAS="de fr"
15834
15835       # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15836       # Extract the first word of "msgfmt", so it can be a program name with args.
15837 set dummy msgfmt; ac_word=$2
15838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15839 $as_echo_n "checking for $ac_word... " >&6; }
15840 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15841   $as_echo_n "(cached) " >&6
15842 else
15843   if test -n "$check_msgfmt"; then
15844   ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15845 else
15846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15847 for as_dir in $PATH
15848 do
15849   IFS=$as_save_IFS
15850   test -z "$as_dir" && as_dir=.
15851     for ac_exec_ext in '' $ac_executable_extensions; do
15852   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15853     ac_cv_prog_check_msgfmt="yes"
15854     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15855     break 2
15856   fi
15857 done
15858   done
15859 IFS=$as_save_IFS
15860
15861   test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15862 fi
15863 fi
15864 check_msgfmt=$ac_cv_prog_check_msgfmt
15865 if test -n "$check_msgfmt"; then
15866   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
15867 $as_echo "$check_msgfmt" >&6; }
15868 else
15869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15870 $as_echo "no" >&6; }
15871 fi
15872
15873
15874       if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15875         USE_NLS=yes
15876       fi
15877       # Export the build objects.
15878       for ling in $ALL_LINGUAS; do \
15879         glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15880         glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15881       done
15882
15883
15884
15885       CLOCALE_H=config/locale/gnu/c_locale.h
15886       CLOCALE_CC=config/locale/gnu/c_locale.cc
15887       CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15888       CCOLLATE_CC=config/locale/gnu/collate_members.cc
15889       CCTYPE_CC=config/locale/gnu/ctype_members.cc
15890       CMESSAGES_H=config/locale/gnu/messages_members.h
15891       CMESSAGES_CC=config/locale/gnu/messages_members.cc
15892       CMONEY_CC=config/locale/gnu/monetary_members.cc
15893       CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15894       CTIME_H=config/locale/gnu/time_members.h
15895       CTIME_CC=config/locale/gnu/time_members.cc
15896       CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15897       ;;
15898     ieee_1003.1-2001)
15899       { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
15900 $as_echo "IEEE 1003.1" >&6; }
15901
15902       CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15903       CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15904       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15905       CCOLLATE_CC=config/locale/generic/collate_members.cc
15906       CCTYPE_CC=config/locale/generic/ctype_members.cc
15907       CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15908       CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
15909       CMONEY_CC=config/locale/generic/monetary_members.cc
15910       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15911       CTIME_H=config/locale/generic/time_members.h
15912       CTIME_CC=config/locale/generic/time_members.cc
15913       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15914       ;;
15915     newlib)
15916       { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
15917 $as_echo "newlib" >&6; }
15918
15919       CLOCALE_H=config/locale/generic/c_locale.h
15920       CLOCALE_CC=config/locale/generic/c_locale.cc
15921       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15922       CCOLLATE_CC=config/locale/generic/collate_members.cc
15923       CCTYPE_CC=config/locale/newlib/ctype_members.cc
15924       CMESSAGES_H=config/locale/generic/messages_members.h
15925       CMESSAGES_CC=config/locale/generic/messages_members.cc
15926       CMONEY_CC=config/locale/generic/monetary_members.cc
15927       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15928       CTIME_H=config/locale/generic/time_members.h
15929       CTIME_CC=config/locale/generic/time_members.cc
15930       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15931       ;;
15932   esac
15933
15934   # This is where the testsuite looks for locale catalogs, using the
15935   # -DLOCALEDIR define during testsuite compilation.
15936   glibcxx_localedir=${glibcxx_builddir}/po/share/locale
15937
15938
15939   # A standalone libintl (e.g., GNU libintl) may be in use.
15940   if test $USE_NLS = yes; then
15941     for ac_header in libintl.h
15942 do :
15943   ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
15944 if test "x$ac_cv_header_libintl_h" = x""yes; then :
15945   cat >>confdefs.h <<_ACEOF
15946 #define HAVE_LIBINTL_H 1
15947 _ACEOF
15948
15949 else
15950   USE_NLS=no
15951 fi
15952
15953 done
15954
15955     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
15956 $as_echo_n "checking for library containing gettext... " >&6; }
15957 if test "${ac_cv_search_gettext+set}" = set; then :
15958   $as_echo_n "(cached) " >&6
15959 else
15960   ac_func_search_save_LIBS=$LIBS
15961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15962 /* end confdefs.h.  */
15963
15964 /* Override any GCC internal prototype to avoid an error.
15965    Use char because int might match the return type of a GCC
15966    builtin and then its argument prototype would still apply.  */
15967 #ifdef __cplusplus
15968 extern "C"
15969 #endif
15970 char gettext ();
15971 int
15972 main ()
15973 {
15974 return gettext ();
15975   ;
15976   return 0;
15977 }
15978 _ACEOF
15979 for ac_lib in '' intl; do
15980   if test -z "$ac_lib"; then
15981     ac_res="none required"
15982   else
15983     ac_res=-l$ac_lib
15984     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
15985   fi
15986   if test x$gcc_no_link = xyes; then
15987   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15988 fi
15989 if ac_fn_c_try_link "$LINENO"; then :
15990   ac_cv_search_gettext=$ac_res
15991 fi
15992 rm -f core conftest.err conftest.$ac_objext \
15993     conftest$ac_exeext
15994   if test "${ac_cv_search_gettext+set}" = set; then :
15995   break
15996 fi
15997 done
15998 if test "${ac_cv_search_gettext+set}" = set; then :
15999
16000 else
16001   ac_cv_search_gettext=no
16002 fi
16003 rm conftest.$ac_ext
16004 LIBS=$ac_func_search_save_LIBS
16005 fi
16006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16007 $as_echo "$ac_cv_search_gettext" >&6; }
16008 ac_res=$ac_cv_search_gettext
16009 if test "$ac_res" != no; then :
16010   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16011
16012 else
16013   USE_NLS=no
16014 fi
16015
16016   fi
16017   if test $USE_NLS = yes; then
16018
16019 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16020
16021   fi
16022
16023
16024
16025
16026
16027
16028
16029
16030
16031
16032
16033
16034
16035
16036
16037
16038   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16039 $as_echo_n "checking for std::allocator base class... " >&6; }
16040    # Check whether --enable-libstdcxx-allocator was given.
16041 if test "${enable_libstdcxx_allocator+set}" = set; then :
16042   enableval=$enable_libstdcxx_allocator;
16043       case "$enableval" in
16044        new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16045        *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16046                         esac
16047
16048 else
16049   enable_libstdcxx_allocator=auto
16050 fi
16051
16052
16053
16054   # If they didn't use this option switch, or if they specified --enable
16055   # with no specific model, we'll have to look for one.  If they
16056   # specified --disable (???), do likewise.
16057   if test $enable_libstdcxx_allocator = no ||
16058      test $enable_libstdcxx_allocator = yes;
16059   then
16060      enable_libstdcxx_allocator=auto
16061   fi
16062
16063   # Either a known package, or "auto". Auto implies the default choice
16064   # for a particular platform.
16065   enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16066
16067   # Probe for host-specific support if no specific model is specified.
16068   # Default to "new".
16069   if test $enable_libstdcxx_allocator_flag = auto; then
16070     case ${target_os} in
16071       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16072         enable_libstdcxx_allocator_flag=new
16073         ;;
16074       *)
16075         enable_libstdcxx_allocator_flag=new
16076         ;;
16077     esac
16078   fi
16079   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16080 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16081
16082
16083   # Set configure bits for specified locale package
16084   case ${enable_libstdcxx_allocator_flag} in
16085     bitmap)
16086       ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16087       ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16088       ;;
16089     malloc)
16090       ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16091       ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16092       ;;
16093     mt)
16094       ALLOCATOR_H=config/allocator/mt_allocator_base.h
16095       ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16096       ;;
16097     new)
16098       ALLOCATOR_H=config/allocator/new_allocator_base.h
16099       ALLOCATOR_NAME=__gnu_cxx::new_allocator
16100       ;;
16101     pool)
16102       ALLOCATOR_H=config/allocator/pool_allocator_base.h
16103       ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16104       ;;
16105   esac
16106
16107
16108
16109
16110
16111    # Check whether --enable-cheaders was given.
16112 if test "${enable_cheaders+set}" = set; then :
16113   enableval=$enable_cheaders;
16114       case "$enableval" in
16115        c|c_std|c_global) ;;
16116        *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16117                         esac
16118
16119 else
16120   enable_cheaders=$c_model
16121 fi
16122
16123
16124   { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16125 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16126
16127   C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16128
16129   # Allow overrides to configure.host here.
16130   if test $enable_cheaders = c_global; then
16131      c_compatibility=yes
16132   fi
16133
16134
16135
16136
16137
16138
16139
16140    # Check whether --enable-long-long was given.
16141 if test "${enable_long_long+set}" = set; then :
16142   enableval=$enable_long_long;
16143       case "$enableval" in
16144        yes|no) ;;
16145        *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16146       esac
16147
16148 else
16149   enable_long_long=yes
16150 fi
16151
16152
16153   if test $enable_long_long = yes; then
16154
16155 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16156
16157   fi
16158   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16159 $as_echo_n "checking for enabled long long specializations... " >&6; }
16160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16161 $as_echo "$enable_long_long" >&6; }
16162
16163
16164    # Check whether --enable-wchar_t was given.
16165 if test "${enable_wchar_t+set}" = set; then :
16166   enableval=$enable_wchar_t;
16167       case "$enableval" in
16168        yes|no) ;;
16169        *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16170       esac
16171
16172 else
16173   enable_wchar_t=yes
16174 fi
16175
16176
16177
16178   # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16179   for ac_header in wchar.h
16180 do :
16181   ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16182 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16183   cat >>confdefs.h <<_ACEOF
16184 #define HAVE_WCHAR_H 1
16185 _ACEOF
16186  ac_has_wchar_h=yes
16187 else
16188   ac_has_wchar_h=no
16189 fi
16190
16191 done
16192
16193   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16194 $as_echo_n "checking for mbstate_t... " >&6; }
16195   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16196 /* end confdefs.h.  */
16197 #include <wchar.h>
16198 int
16199 main ()
16200 {
16201 mbstate_t teststate;
16202   ;
16203   return 0;
16204 }
16205 _ACEOF
16206 if ac_fn_c_try_compile "$LINENO"; then :
16207   have_mbstate_t=yes
16208 else
16209   have_mbstate_t=no
16210 fi
16211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16212   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16213 $as_echo "$have_mbstate_t" >&6; }
16214   if test x"$have_mbstate_t" = xyes; then
16215
16216 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16217
16218   fi
16219
16220   # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16221   # ac_has_wchar_h.
16222   for ac_header in wctype.h
16223 do :
16224   ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16225 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16226   cat >>confdefs.h <<_ACEOF
16227 #define HAVE_WCTYPE_H 1
16228 _ACEOF
16229  ac_has_wctype_h=yes
16230 else
16231   ac_has_wctype_h=no
16232 fi
16233
16234 done
16235
16236
16237   if test x"$enable_wchar_t" = x"yes"; then
16238
16239
16240     ac_ext=cpp
16241 ac_cpp='$CXXCPP $CPPFLAGS'
16242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16245
16246
16247     if test x"$ac_has_wchar_h" = xyes &&
16248        test x"$ac_has_wctype_h" = xyes; then
16249       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16250 /* end confdefs.h.  */
16251 #include <wchar.h>
16252                       #include <stddef.h>
16253                       wint_t i;
16254                       long l = WEOF;
16255                       long j = WCHAR_MIN;
16256                       long k = WCHAR_MAX;
16257                       namespace test
16258                       {
16259                         using ::btowc;
16260                         using ::fgetwc;
16261                         using ::fgetws;
16262                         using ::fputwc;
16263                         using ::fputws;
16264                         using ::fwide;
16265                         using ::fwprintf;
16266                         using ::fwscanf;
16267                         using ::getwc;
16268                         using ::getwchar;
16269                         using ::mbrlen;
16270                         using ::mbrtowc;
16271                         using ::mbsinit;
16272                         using ::mbsrtowcs;
16273                         using ::putwc;
16274                         using ::putwchar;
16275                         using ::swprintf;
16276                         using ::swscanf;
16277                         using ::ungetwc;
16278                         using ::vfwprintf;
16279                         using ::vswprintf;
16280                         using ::vwprintf;
16281                         using ::wcrtomb;
16282                         using ::wcscat;
16283                         using ::wcschr;
16284                         using ::wcscmp;
16285                         using ::wcscoll;
16286                         using ::wcscpy;
16287                         using ::wcscspn;
16288                         using ::wcsftime;
16289                         using ::wcslen;
16290                         using ::wcsncat;
16291                         using ::wcsncmp;
16292                         using ::wcsncpy;
16293                         using ::wcspbrk;
16294                         using ::wcsrchr;
16295                         using ::wcsrtombs;
16296                         using ::wcsspn;
16297                         using ::wcsstr;
16298                         using ::wcstod;
16299                         using ::wcstok;
16300                         using ::wcstol;
16301                         using ::wcstoul;
16302                         using ::wcsxfrm;
16303                         using ::wctob;
16304                         using ::wmemchr;
16305                         using ::wmemcmp;
16306                         using ::wmemcpy;
16307                         using ::wmemmove;
16308                         using ::wmemset;
16309                         using ::wprintf;
16310                         using ::wscanf;
16311                       }
16312
16313 int
16314 main ()
16315 {
16316
16317   ;
16318   return 0;
16319 }
16320 _ACEOF
16321 if ac_fn_cxx_try_compile "$LINENO"; then :
16322
16323 else
16324   enable_wchar_t=no
16325 fi
16326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16327     else
16328       enable_wchar_t=no
16329     fi
16330
16331     ac_ext=c
16332 ac_cpp='$CPP $CPPFLAGS'
16333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16336
16337   fi
16338
16339   if test x"$enable_wchar_t" = x"yes"; then
16340
16341 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16342
16343   fi
16344
16345   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16346 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16347   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16348 $as_echo "$enable_wchar_t" >&6; }
16349
16350
16351
16352    # Check whether --enable-c99 was given.
16353 if test "${enable_c99+set}" = set; then :
16354   enableval=$enable_c99;
16355       case "$enableval" in
16356        yes|no) ;;
16357        *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16358       esac
16359
16360 else
16361   enable_c99=yes
16362 fi
16363
16364
16365
16366   if test x"$enable_c99" = x"yes"; then
16367
16368
16369   ac_ext=cpp
16370 ac_cpp='$CXXCPP $CPPFLAGS'
16371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16374
16375
16376   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16377   # undefined and fake C99 facilities - like pre-standard snprintf - may be
16378   # spuriously enabled.
16379   # Long term, -std=c++0x could be even better, could manage to explicitely
16380   # request C99 facilities to the underlying C headers.
16381   ac_save_CXXFLAGS="$CXXFLAGS"
16382   CXXFLAGS="$CXXFLAGS -std=c++98"
16383   ac_save_LIBS="$LIBS"
16384   ac_save_gcc_no_link="$gcc_no_link"
16385
16386   if test x$gcc_no_link != xyes; then
16387     # Use -fno-exceptions to that the C driver can link these tests without
16388     # hitting undefined references to personality routines.
16389     CXXFLAGS="$CXXFLAGS -fno-exceptions"
16390     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16391 $as_echo_n "checking for sin in -lm... " >&6; }
16392 if test "${ac_cv_lib_m_sin+set}" = set; then :
16393   $as_echo_n "(cached) " >&6
16394 else
16395   ac_check_lib_save_LIBS=$LIBS
16396 LIBS="-lm  $LIBS"
16397 if test x$gcc_no_link = xyes; then
16398   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16399 fi
16400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16401 /* end confdefs.h.  */
16402
16403 /* Override any GCC internal prototype to avoid an error.
16404    Use char because int might match the return type of a GCC
16405    builtin and then its argument prototype would still apply.  */
16406 #ifdef __cplusplus
16407 extern "C"
16408 #endif
16409 char sin ();
16410 int
16411 main ()
16412 {
16413 return sin ();
16414   ;
16415   return 0;
16416 }
16417 _ACEOF
16418 if ac_fn_cxx_try_link "$LINENO"; then :
16419   ac_cv_lib_m_sin=yes
16420 else
16421   ac_cv_lib_m_sin=no
16422 fi
16423 rm -f core conftest.err conftest.$ac_objext \
16424     conftest$ac_exeext conftest.$ac_ext
16425 LIBS=$ac_check_lib_save_LIBS
16426 fi
16427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16428 $as_echo "$ac_cv_lib_m_sin" >&6; }
16429 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16430
16431       LIBS="$LIBS -lm"
16432
16433 else
16434
16435       # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16436       gcc_no_link=yes
16437
16438 fi
16439
16440   fi
16441
16442   # Check for the existence of <math.h> functions used if C99 is enabled.
16443   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16444 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16445   if test "${glibcxx_cv_c99_math+set}" = set; then :
16446   $as_echo_n "(cached) " >&6
16447 else
16448
16449   if test x$gcc_no_link = xyes; then
16450   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16451 /* end confdefs.h.  */
16452 #include <math.h>
16453       volatile double d1, d2;
16454       volatile int i;
16455 int
16456 main ()
16457 {
16458 i = fpclassify(d1);
16459       i = isfinite(d1);
16460       i = isinf(d1);
16461       i = isnan(d1);
16462       i = isnormal(d1);
16463       i = signbit(d1);
16464       i = isgreater(d1, d2);
16465       i = isgreaterequal(d1, d2);
16466       i = isless(d1, d2);
16467       i = islessequal(d1, d2);
16468       i = islessgreater(d1, d2);
16469       i = islessgreater(d1, d2);
16470       i = isunordered(d1, d2);
16471
16472   ;
16473   return 0;
16474 }
16475 _ACEOF
16476 if ac_fn_cxx_try_compile "$LINENO"; then :
16477   glibcxx_cv_c99_math=yes
16478 else
16479   glibcxx_cv_c99_math=no
16480 fi
16481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16482 else
16483   if test x$gcc_no_link = xyes; then
16484   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16485 fi
16486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16487 /* end confdefs.h.  */
16488 #include <math.h>
16489       volatile double d1, d2;
16490       volatile int i;
16491 int
16492 main ()
16493 {
16494 i = fpclassify(d1);
16495       i = isfinite(d1);
16496       i = isinf(d1);
16497       i = isnan(d1);
16498       i = isnormal(d1);
16499       i = signbit(d1);
16500       i = isgreater(d1, d2);
16501       i = isgreaterequal(d1, d2);
16502       i = isless(d1, d2);
16503       i = islessequal(d1, d2);
16504       i = islessgreater(d1, d2);
16505       i = islessgreater(d1, d2);
16506       i = isunordered(d1, d2);
16507
16508   ;
16509   return 0;
16510 }
16511 _ACEOF
16512 if ac_fn_cxx_try_link "$LINENO"; then :
16513   glibcxx_cv_c99_math=yes
16514 else
16515   glibcxx_cv_c99_math=no
16516 fi
16517 rm -f core conftest.err conftest.$ac_objext \
16518     conftest$ac_exeext conftest.$ac_ext
16519 fi
16520
16521 fi
16522
16523   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16524 $as_echo "$glibcxx_cv_c99_math" >&6; }
16525   if test x"$glibcxx_cv_c99_math" = x"yes"; then
16526
16527 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16528
16529   fi
16530
16531   # Check for the existence of <complex.h> complex math functions.
16532   # This is necessary even though libstdc++ uses the builtin versions
16533   # of these functions, because if the builtin cannot be used, a reference
16534   # to the library function is emitted.
16535   for ac_header in tgmath.h
16536 do :
16537   ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16538 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16539   cat >>confdefs.h <<_ACEOF
16540 #define HAVE_TGMATH_H 1
16541 _ACEOF
16542  ac_has_tgmath_h=yes
16543 else
16544   ac_has_tgmath_h=no
16545 fi
16546
16547 done
16548
16549   for ac_header in complex.h
16550 do :
16551   ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16552 if test "x$ac_cv_header_complex_h" = x""yes; then :
16553   cat >>confdefs.h <<_ACEOF
16554 #define HAVE_COMPLEX_H 1
16555 _ACEOF
16556  ac_has_complex_h=yes
16557 else
16558   ac_has_complex_h=no
16559 fi
16560
16561 done
16562
16563   glibcxx_cv_c99_complex=no;
16564   if test x"$ac_has_complex_h" = x"yes"; then
16565     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16566 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16567     if test x$gcc_no_link = xyes; then
16568   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16569 /* end confdefs.h.  */
16570 #include <complex.h>
16571         typedef __complex__ float float_type;
16572         typedef __complex__ double double_type;
16573         typedef __complex__ long double ld_type;
16574         volatile float_type tmpf;
16575         volatile double_type tmpd;
16576         volatile ld_type tmpld;
16577         volatile float f;
16578         volatile double d;
16579         volatile long double ld;
16580 int
16581 main ()
16582 {
16583 f = cabsf(tmpf);
16584         f = cargf(tmpf);
16585         tmpf = ccosf(tmpf);
16586         tmpf = ccoshf(tmpf);
16587         tmpf = cexpf(tmpf);
16588         tmpf = clogf(tmpf);
16589         tmpf = csinf(tmpf);
16590         tmpf = csinhf(tmpf);
16591         tmpf = csqrtf(tmpf);
16592         tmpf = ctanf(tmpf);
16593         tmpf = ctanhf(tmpf);
16594         tmpf = cpowf(tmpf, tmpf);
16595         tmpf = cprojf(tmpf);
16596         d = cabs(tmpd);
16597         d = carg(tmpd);
16598         tmpd = ccos(tmpd);
16599         tmpd = ccosh(tmpd);
16600         tmpd = cexp(tmpd);
16601         tmpd = clog(tmpd);
16602         tmpd = csin(tmpd);
16603         tmpd = csinh(tmpd);
16604         tmpd = csqrt(tmpd);
16605         tmpd = ctan(tmpd);
16606         tmpd = ctanh(tmpd);
16607         tmpd = cpow(tmpd, tmpd);
16608         tmpd = cproj(tmpd);
16609         ld = cabsl(tmpld);
16610         ld = cargl(tmpld);
16611         tmpld = ccosl(tmpld);
16612         tmpld = ccoshl(tmpld);
16613         tmpld = cexpl(tmpld);
16614         tmpld = clogl(tmpld);
16615         tmpld = csinl(tmpld);
16616         tmpld = csinhl(tmpld);
16617         tmpld = csqrtl(tmpld);
16618         tmpld = ctanl(tmpld);
16619         tmpld = ctanhl(tmpld);
16620         tmpld = cpowl(tmpld, tmpld);
16621         tmpld = cprojl(tmpld);
16622
16623   ;
16624   return 0;
16625 }
16626 _ACEOF
16627 if ac_fn_cxx_try_compile "$LINENO"; then :
16628   glibcxx_cv_c99_complex=yes
16629 else
16630   glibcxx_cv_c99_complex=no
16631 fi
16632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16633 else
16634   if test x$gcc_no_link = xyes; then
16635   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16636 fi
16637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16638 /* end confdefs.h.  */
16639 #include <complex.h>
16640         typedef __complex__ float float_type;
16641         typedef __complex__ double double_type;
16642         typedef __complex__ long double ld_type;
16643         volatile float_type tmpf;
16644         volatile double_type tmpd;
16645         volatile ld_type tmpld;
16646         volatile float f;
16647         volatile double d;
16648         volatile long double ld;
16649 int
16650 main ()
16651 {
16652 f = cabsf(tmpf);
16653         f = cargf(tmpf);
16654         tmpf = ccosf(tmpf);
16655         tmpf = ccoshf(tmpf);
16656         tmpf = cexpf(tmpf);
16657         tmpf = clogf(tmpf);
16658         tmpf = csinf(tmpf);
16659         tmpf = csinhf(tmpf);
16660         tmpf = csqrtf(tmpf);
16661         tmpf = ctanf(tmpf);
16662         tmpf = ctanhf(tmpf);
16663         tmpf = cpowf(tmpf, tmpf);
16664         tmpf = cprojf(tmpf);
16665         d = cabs(tmpd);
16666         d = carg(tmpd);
16667         tmpd = ccos(tmpd);
16668         tmpd = ccosh(tmpd);
16669         tmpd = cexp(tmpd);
16670         tmpd = clog(tmpd);
16671         tmpd = csin(tmpd);
16672         tmpd = csinh(tmpd);
16673         tmpd = csqrt(tmpd);
16674         tmpd = ctan(tmpd);
16675         tmpd = ctanh(tmpd);
16676         tmpd = cpow(tmpd, tmpd);
16677         tmpd = cproj(tmpd);
16678         ld = cabsl(tmpld);
16679         ld = cargl(tmpld);
16680         tmpld = ccosl(tmpld);
16681         tmpld = ccoshl(tmpld);
16682         tmpld = cexpl(tmpld);
16683         tmpld = clogl(tmpld);
16684         tmpld = csinl(tmpld);
16685         tmpld = csinhl(tmpld);
16686         tmpld = csqrtl(tmpld);
16687         tmpld = ctanl(tmpld);
16688         tmpld = ctanhl(tmpld);
16689         tmpld = cpowl(tmpld, tmpld);
16690         tmpld = cprojl(tmpld);
16691
16692   ;
16693   return 0;
16694 }
16695 _ACEOF
16696 if ac_fn_cxx_try_link "$LINENO"; then :
16697   glibcxx_cv_c99_complex=yes
16698 else
16699   glibcxx_cv_c99_complex=no
16700 fi
16701 rm -f core conftest.err conftest.$ac_objext \
16702     conftest$ac_exeext conftest.$ac_ext
16703 fi
16704   fi
16705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16706 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16707   if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16708
16709 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16710
16711   fi
16712
16713   # Check for the existence in <stdio.h> of vscanf, et. al.
16714   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16715 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16716   if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16717   $as_echo_n "(cached) " >&6
16718 else
16719
16720   if test x$gcc_no_link = xyes; then
16721   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16722 /* end confdefs.h.  */
16723 #include <stdio.h>
16724       #include <stdarg.h>
16725       void foo(char* fmt, ...)
16726       {
16727         va_list args; va_start(args, fmt);
16728         vfscanf(stderr, "%i", args);
16729         vscanf("%i", args);
16730         vsnprintf(fmt, 0, "%i", args);
16731         vsscanf(fmt, "%i", args);
16732       }
16733 int
16734 main ()
16735 {
16736 snprintf("12", 0, "%i");
16737   ;
16738   return 0;
16739 }
16740 _ACEOF
16741 if ac_fn_cxx_try_compile "$LINENO"; then :
16742   glibcxx_cv_c99_stdio=yes
16743 else
16744   glibcxx_cv_c99_stdio=no
16745 fi
16746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16747 else
16748   if test x$gcc_no_link = xyes; then
16749   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16750 fi
16751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16752 /* end confdefs.h.  */
16753 #include <stdio.h>
16754       #include <stdarg.h>
16755       void foo(char* fmt, ...)
16756       {
16757         va_list args; va_start(args, fmt);
16758         vfscanf(stderr, "%i", args);
16759         vscanf("%i", args);
16760         vsnprintf(fmt, 0, "%i", args);
16761         vsscanf(fmt, "%i", args);
16762       }
16763 int
16764 main ()
16765 {
16766 snprintf("12", 0, "%i");
16767   ;
16768   return 0;
16769 }
16770 _ACEOF
16771 if ac_fn_cxx_try_link "$LINENO"; then :
16772   glibcxx_cv_c99_stdio=yes
16773 else
16774   glibcxx_cv_c99_stdio=no
16775 fi
16776 rm -f core conftest.err conftest.$ac_objext \
16777     conftest$ac_exeext conftest.$ac_ext
16778 fi
16779
16780 fi
16781
16782   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16783 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16784
16785   # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16786   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16787 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16788   if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16789   $as_echo_n "(cached) " >&6
16790 else
16791
16792   if test x$gcc_no_link = xyes; then
16793   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16794 /* end confdefs.h.  */
16795 #include <stdlib.h>
16796       volatile float f;
16797       volatile long double ld;
16798       volatile unsigned long long ll;
16799       lldiv_t mydivt;
16800 int
16801 main ()
16802 {
16803 char* tmp;
16804       f = strtof("gnu", &tmp);
16805       ld = strtold("gnu", &tmp);
16806       ll = strtoll("gnu", &tmp, 10);
16807       ll = strtoull("gnu", &tmp, 10);
16808       ll = llabs(10);
16809       mydivt = lldiv(10,1);
16810       ll = mydivt.quot;
16811       ll = mydivt.rem;
16812       ll = atoll("10");
16813       _Exit(0);
16814
16815   ;
16816   return 0;
16817 }
16818 _ACEOF
16819 if ac_fn_cxx_try_compile "$LINENO"; then :
16820   glibcxx_cv_c99_stdlib=yes
16821 else
16822   glibcxx_cv_c99_stdlib=no
16823 fi
16824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16825 else
16826   if test x$gcc_no_link = xyes; then
16827   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16828 fi
16829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16830 /* end confdefs.h.  */
16831 #include <stdlib.h>
16832       volatile float f;
16833       volatile long double ld;
16834       volatile unsigned long long ll;
16835       lldiv_t mydivt;
16836 int
16837 main ()
16838 {
16839 char* tmp;
16840       f = strtof("gnu", &tmp);
16841       ld = strtold("gnu", &tmp);
16842       ll = strtoll("gnu", &tmp, 10);
16843       ll = strtoull("gnu", &tmp, 10);
16844       ll = llabs(10);
16845       mydivt = lldiv(10,1);
16846       ll = mydivt.quot;
16847       ll = mydivt.rem;
16848       ll = atoll("10");
16849       _Exit(0);
16850
16851   ;
16852   return 0;
16853 }
16854 _ACEOF
16855 if ac_fn_cxx_try_link "$LINENO"; then :
16856   glibcxx_cv_c99_stdlib=yes
16857 else
16858   glibcxx_cv_c99_stdlib=no
16859 fi
16860 rm -f core conftest.err conftest.$ac_objext \
16861     conftest$ac_exeext conftest.$ac_ext
16862 fi
16863
16864 fi
16865
16866   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
16867 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
16868
16869   # Check for the existence in <wchar.h> of wcstold, etc.
16870   glibcxx_cv_c99_wchar=no;
16871   if test x"$ac_has_wchar_h" = xyes &&
16872      test x"$ac_has_wctype_h" = xyes; then
16873     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
16874 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
16875     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16876 /* end confdefs.h.  */
16877 #include <wchar.h>
16878                     namespace test
16879                     {
16880                       using ::wcstold;
16881                       using ::wcstoll;
16882                       using ::wcstoull;
16883                     }
16884
16885 int
16886 main ()
16887 {
16888
16889   ;
16890   return 0;
16891 }
16892 _ACEOF
16893 if ac_fn_cxx_try_compile "$LINENO"; then :
16894   glibcxx_cv_c99_wchar=yes
16895 else
16896   glibcxx_cv_c99_wchar=no
16897 fi
16898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16899
16900     # Checks for wide character functions that may not be present.
16901     # Injection of these is wrapped with guard macros.
16902     # NB: only put functions here, instead of immediately above, if
16903     # absolutely necessary.
16904     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16905 /* end confdefs.h.  */
16906 #include <wchar.h>
16907                     namespace test { using ::vfwscanf; }
16908 int
16909 main ()
16910 {
16911
16912   ;
16913   return 0;
16914 }
16915 _ACEOF
16916 if ac_fn_cxx_try_compile "$LINENO"; then :
16917
16918 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
16919
16920 fi
16921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16922
16923     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16924 /* end confdefs.h.  */
16925 #include <wchar.h>
16926                     namespace test { using ::vswscanf; }
16927 int
16928 main ()
16929 {
16930
16931   ;
16932   return 0;
16933 }
16934 _ACEOF
16935 if ac_fn_cxx_try_compile "$LINENO"; then :
16936
16937 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
16938
16939 fi
16940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16941
16942     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16943 /* end confdefs.h.  */
16944 #include <wchar.h>
16945                     namespace test { using ::vwscanf; }
16946 int
16947 main ()
16948 {
16949
16950   ;
16951   return 0;
16952 }
16953 _ACEOF
16954 if ac_fn_cxx_try_compile "$LINENO"; then :
16955
16956 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
16957
16958 fi
16959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16960
16961     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16962 /* end confdefs.h.  */
16963 #include <wchar.h>
16964                     namespace test { using ::wcstof; }
16965 int
16966 main ()
16967 {
16968
16969   ;
16970   return 0;
16971 }
16972 _ACEOF
16973 if ac_fn_cxx_try_compile "$LINENO"; then :
16974
16975 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
16976
16977 fi
16978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16979
16980     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16981 /* end confdefs.h.  */
16982 #include <wctype.h>
16983 int
16984 main ()
16985 {
16986  wint_t t; int i = iswblank(t);
16987   ;
16988   return 0;
16989 }
16990 _ACEOF
16991 if ac_fn_cxx_try_compile "$LINENO"; then :
16992
16993 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
16994
16995 fi
16996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16997
16998     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
16999 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17000   fi
17001
17002   # Option parsed, now set things appropriately.
17003   if test x"$glibcxx_cv_c99_math" = x"no" ||
17004      test x"$glibcxx_cv_c99_complex" = x"no" ||
17005      test x"$glibcxx_cv_c99_stdio" = x"no" ||
17006      test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17007      test x"$glibcxx_cv_c99_wchar" = x"no"; then
17008     enable_c99=no;
17009   else
17010
17011 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17012
17013   fi
17014
17015   gcc_no_link="$ac_save_gcc_no_link"
17016   LIBS="$ac_save_LIBS"
17017   CXXFLAGS="$ac_save_CXXFLAGS"
17018   ac_ext=c
17019 ac_cpp='$CPP $CPPFLAGS'
17020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17023
17024   fi
17025
17026   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17027 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17028   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17029 $as_echo "$enable_c99" >&6; }
17030
17031
17032    # Check whether --enable-concept-checks was given.
17033 if test "${enable_concept_checks+set}" = set; then :
17034   enableval=$enable_concept_checks;
17035       case "$enableval" in
17036        yes|no) ;;
17037        *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17038       esac
17039
17040 else
17041   enable_concept_checks=no
17042 fi
17043
17044
17045   if test $enable_concept_checks = yes; then
17046
17047 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17048
17049   fi
17050
17051
17052    # Check whether --enable-libstdcxx-debug-flags was given.
17053 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17054   enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17055       xno | x)    enable_libstdcxx_debug_flags= ;;
17056       x-*)        ;;
17057       *)          as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17058      esac
17059 else
17060   enable_libstdcxx_debug_flags="-g3 -O0"
17061 fi
17062
17063
17064
17065   # Option parsed, now set things appropriately
17066   DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17067
17068
17069   { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17070 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17071
17072
17073   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17074 $as_echo_n "checking for additional debug build... " >&6; }
17075    # Check whether --enable-libstdcxx-debug was given.
17076 if test "${enable_libstdcxx_debug+set}" = set; then :
17077   enableval=$enable_libstdcxx_debug;
17078       case "$enableval" in
17079        yes|no) ;;
17080        *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17081       esac
17082
17083 else
17084   enable_libstdcxx_debug=no
17085 fi
17086
17087
17088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17089 $as_echo "$enable_libstdcxx_debug" >&6; }
17090
17091
17092
17093
17094   enable_parallel=no;
17095
17096   # See if configured libgomp/omp.h exists. (libgomp may be in
17097   # noconfigdirs but not explicitly disabled.)
17098   if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17099     enable_parallel=yes;
17100   else
17101     { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17102 $as_echo "$as_me: target-libgomp not built" >&6;}
17103   fi
17104
17105   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17106 $as_echo_n "checking for parallel mode support... " >&6; }
17107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17108 $as_echo "$enable_parallel" >&6; }
17109
17110
17111   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17112 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17113    # Check whether --enable-cxx-flags was given.
17114 if test "${enable_cxx_flags+set}" = set; then :
17115   enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17116       xno | x)   enable_cxx_flags= ;;
17117       x-*)       ;;
17118       *)         as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17119      esac
17120 else
17121   enable_cxx_flags=
17122 fi
17123
17124
17125
17126   # Run through flags (either default or command-line) and set anything
17127   # extra (e.g., #defines) that must accompany particular g++ options.
17128   if test -n "$enable_cxx_flags"; then
17129     for f in $enable_cxx_flags; do
17130       case "$f" in
17131         -fhonor-std)  ;;
17132         -*)  ;;
17133         *)   # and we're trying to pass /what/ exactly?
17134              as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17135       esac
17136     done
17137   fi
17138
17139   EXTRA_CXX_FLAGS="$enable_cxx_flags"
17140   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17141 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17142
17143
17144
17145    # Check whether --enable-fully-dynamic-string was given.
17146 if test "${enable_fully_dynamic_string+set}" = set; then :
17147   enableval=$enable_fully_dynamic_string;
17148       case "$enableval" in
17149        yes|no) ;;
17150        *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17151       esac
17152
17153 else
17154   enable_fully_dynamic_string=no
17155 fi
17156
17157
17158   if test $enable_fully_dynamic_string = yes; then
17159
17160 $as_echo "#define _GLIBCXX_FULLY_DYNAMIC_STRING 1" >>confdefs.h
17161
17162   fi
17163
17164
17165
17166    # Check whether --enable-extern-template was given.
17167 if test "${enable_extern_template+set}" = set; then :
17168   enableval=$enable_extern_template;
17169       case "$enableval" in
17170        yes|no) ;;
17171        *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17172       esac
17173
17174 else
17175   enable_extern_template=yes
17176 fi
17177
17178
17179
17180   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17181 $as_echo_n "checking for extern template support... " >&6; }
17182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17183 $as_echo "$enable_extern_template" >&6; }
17184
17185
17186
17187
17188 # Checks for operating systems support that doesn't require linking.
17189
17190
17191
17192   ac_ext=cpp
17193 ac_cpp='$CXXCPP $CPPFLAGS'
17194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17197
17198
17199   case "$host" in
17200     *-*-solaris2.*)
17201       # Solaris 8 FCS only had an overload for double std::abs(double) in
17202       # <iso/math_iso.h>.  Patches 111721-04 (SPARC) and 112757-01 (x86)
17203       # introduced the full set also found from Solaris 9 onwards.
17204       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float std::abs(float) overload" >&5
17205 $as_echo_n "checking for float std::abs(float) overload... " >&6; }
17206       if test "${glibcxx_cv_abs_float+set}" = set; then :
17207   $as_echo_n "(cached) " >&6
17208 else
17209
17210         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17211 /* end confdefs.h.  */
17212 #include <math.h>
17213            namespace std {
17214              inline float abs(float __x)
17215              {  return __builtin_fabsf(__x); }
17216            }
17217
17218 _ACEOF
17219 if ac_fn_cxx_try_compile "$LINENO"; then :
17220   glibcxx_cv_abs_float=no
17221 else
17222   glibcxx_cv_abs_float=yes
17223
17224 fi
17225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17226 fi
17227
17228
17229       # autoheader cannot handle indented templates.
17230
17231
17232
17233       if test $glibcxx_cv_abs_float = yes; then
17234         $as_echo "#define __CORRECT_ISO_CPP_MATH_H_PROTO1 1" >>confdefs.h
17235
17236       else
17237         $as_echo "#define __CORRECT_ISO_CPP_MATH_H_PROTO2 1" >>confdefs.h
17238
17239       fi
17240       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_abs_float" >&5
17241 $as_echo "$glibcxx_cv_abs_float" >&6; }
17242       ;;
17243   esac
17244
17245   ac_ext=c
17246 ac_cpp='$CPP $CPPFLAGS'
17247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17250
17251
17252
17253
17254
17255   ac_ext=cpp
17256 ac_cpp='$CXXCPP $CPPFLAGS'
17257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17260
17261
17262   case "$host" in
17263     *-*-solaris2.*)
17264       # Solaris 8 FCS lacked the overloads for long std::abs(long) and
17265       # ldiv_t std::div(long, long) in <iso/stdlib_iso.h>.  Patches 109607-02
17266       # (SPARC) and 109608-02 (x86) introduced them.
17267       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long std::abs(long) overload" >&5
17268 $as_echo_n "checking for long std::abs(long) overload... " >&6; }
17269       if test "${glibcxx_cv_abs_long+set}" = set; then :
17270   $as_echo_n "(cached) " >&6
17271 else
17272
17273         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17274 /* end confdefs.h.  */
17275 #include <stdlib.h>
17276            namespace std {
17277              inline long
17278              abs(long __i) { return labs(__i); }
17279            }
17280
17281 _ACEOF
17282 if ac_fn_cxx_try_compile "$LINENO"; then :
17283   glibcxx_cv_abs_long=no
17284 else
17285   glibcxx_cv_abs_long=yes
17286
17287 fi
17288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17289 fi
17290
17291
17292       # autoheader cannot handle indented templates.
17293
17294       if test $glibcxx_cv_abs_long = yes; then
17295         $as_echo "#define __CORRECT_ISO_CPP_STDLIB_H_PROTO 1" >>confdefs.h
17296
17297       fi
17298       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_abs_long" >&5
17299 $as_echo "$glibcxx_cv_abs_long" >&6; }
17300       ;;
17301   esac
17302
17303   ac_ext=c
17304 ac_cpp='$CPP $CPPFLAGS'
17305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17308
17309
17310
17311
17312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17313 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17314 if test "${glibcxx_cv_system_error1+set}" = set; then :
17315   $as_echo_n "(cached) " >&6
17316 else
17317
17318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17319 /* end confdefs.h.  */
17320 #include <errno.h>
17321 int
17322 main ()
17323 {
17324 int i = EOWNERDEAD;
17325   ;
17326   return 0;
17327 }
17328 _ACEOF
17329 if ac_fn_c_try_compile "$LINENO"; then :
17330   glibcxx_cv_system_error1=yes
17331 else
17332   glibcxx_cv_system_error1=no
17333 fi
17334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17335
17336 fi
17337
17338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17339 $as_echo "$glibcxx_cv_system_error1" >&6; }
17340 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17341
17342 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17343
17344 fi
17345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17346 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17347 if test "${glibcxx_cv_system_error2+set}" = set; then :
17348   $as_echo_n "(cached) " >&6
17349 else
17350
17351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17352 /* end confdefs.h.  */
17353 #include <errno.h>
17354 int
17355 main ()
17356 {
17357 int i = ENOTRECOVERABLE;
17358   ;
17359   return 0;
17360 }
17361 _ACEOF
17362 if ac_fn_c_try_compile "$LINENO"; then :
17363   glibcxx_cv_system_error2=yes
17364 else
17365   glibcxx_cv_system_error2=no
17366 fi
17367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17368
17369 fi
17370
17371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17372 $as_echo "$glibcxx_cv_system_error2" >&6; }
17373 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17374
17375 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17376
17377 fi
17378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17379 $as_echo_n "checking for ENOLINK... " >&6; }
17380 if test "${glibcxx_cv_system_error3+set}" = set; then :
17381   $as_echo_n "(cached) " >&6
17382 else
17383
17384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17385 /* end confdefs.h.  */
17386 #include <errno.h>
17387 int
17388 main ()
17389 {
17390 int i = ENOLINK;
17391   ;
17392   return 0;
17393 }
17394 _ACEOF
17395 if ac_fn_c_try_compile "$LINENO"; then :
17396   glibcxx_cv_system_error3=yes
17397 else
17398   glibcxx_cv_system_error3=no
17399 fi
17400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17401
17402 fi
17403
17404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17405 $as_echo "$glibcxx_cv_system_error3" >&6; }
17406 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17407
17408 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17409
17410 fi
17411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17412 $as_echo_n "checking for EPROTO... " >&6; }
17413 if test "${glibcxx_cv_system_error4+set}" = set; then :
17414   $as_echo_n "(cached) " >&6
17415 else
17416
17417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17418 /* end confdefs.h.  */
17419 #include <errno.h>
17420 int
17421 main ()
17422 {
17423 int i = EPROTO;
17424   ;
17425   return 0;
17426 }
17427 _ACEOF
17428 if ac_fn_c_try_compile "$LINENO"; then :
17429   glibcxx_cv_system_error4=yes
17430 else
17431   glibcxx_cv_system_error4=no
17432 fi
17433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17434
17435 fi
17436
17437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17438 $as_echo "$glibcxx_cv_system_error4" >&6; }
17439 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17440
17441 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17442
17443 fi
17444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17445 $as_echo_n "checking for ENODATA... " >&6; }
17446 if test "${glibcxx_cv_system_error5+set}" = set; then :
17447   $as_echo_n "(cached) " >&6
17448 else
17449
17450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17451 /* end confdefs.h.  */
17452 #include <errno.h>
17453 int
17454 main ()
17455 {
17456 int i = ENODATA;
17457   ;
17458   return 0;
17459 }
17460 _ACEOF
17461 if ac_fn_c_try_compile "$LINENO"; then :
17462   glibcxx_cv_system_error5=yes
17463 else
17464   glibcxx_cv_system_error5=no
17465 fi
17466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17467
17468 fi
17469
17470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17471 $as_echo "$glibcxx_cv_system_error5" >&6; }
17472 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17473
17474 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17475
17476 fi
17477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17478 $as_echo_n "checking for ENOSR... " >&6; }
17479 if test "${glibcxx_cv_system_error6+set}" = set; then :
17480   $as_echo_n "(cached) " >&6
17481 else
17482
17483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17484 /* end confdefs.h.  */
17485 #include <errno.h>
17486 int
17487 main ()
17488 {
17489 int i = ENOSR;
17490   ;
17491   return 0;
17492 }
17493 _ACEOF
17494 if ac_fn_c_try_compile "$LINENO"; then :
17495   glibcxx_cv_system_error6=yes
17496 else
17497   glibcxx_cv_system_error6=no
17498 fi
17499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17500
17501 fi
17502
17503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17504 $as_echo "$glibcxx_cv_system_error6" >&6; }
17505 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17506
17507 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17508
17509 fi
17510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17511 $as_echo_n "checking for ENOSTR... " >&6; }
17512 if test "${glibcxx_cv_system_error7+set}" = set; then :
17513   $as_echo_n "(cached) " >&6
17514 else
17515
17516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17517 /* end confdefs.h.  */
17518 #include <errno.h>
17519 int
17520 main ()
17521 {
17522 int i = ENOSTR;
17523   ;
17524   return 0;
17525 }
17526 _ACEOF
17527 if ac_fn_c_try_compile "$LINENO"; then :
17528   glibcxx_cv_system_error7=yes
17529 else
17530   glibcxx_cv_system_error7=no
17531 fi
17532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17533
17534 fi
17535
17536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17537 $as_echo "$glibcxx_cv_system_error7" >&6; }
17538 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17539
17540 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17541
17542 fi
17543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17544 $as_echo_n "checking for ETIME... " >&6; }
17545 if test "${glibcxx_cv_system_error8+set}" = set; then :
17546   $as_echo_n "(cached) " >&6
17547 else
17548
17549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17550 /* end confdefs.h.  */
17551 #include <errno.h>
17552 int
17553 main ()
17554 {
17555 int i = ETIME;
17556   ;
17557   return 0;
17558 }
17559 _ACEOF
17560 if ac_fn_c_try_compile "$LINENO"; then :
17561   glibcxx_cv_system_error8=yes
17562 else
17563   glibcxx_cv_system_error8=no
17564 fi
17565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17566
17567 fi
17568
17569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17570 $as_echo "$glibcxx_cv_system_error8" >&6; }
17571 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17572
17573 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17574
17575 fi
17576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17577 $as_echo_n "checking for EBADMSG... " >&6; }
17578 if test "${glibcxx_cv_system_error9+set}" = set; then :
17579   $as_echo_n "(cached) " >&6
17580 else
17581
17582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17583 /* end confdefs.h.  */
17584 #include <errno.h>
17585 int
17586 main ()
17587 {
17588 int i = EBADMSG;
17589   ;
17590   return 0;
17591 }
17592 _ACEOF
17593 if ac_fn_c_try_compile "$LINENO"; then :
17594   glibcxx_cv_system_error9=yes
17595 else
17596   glibcxx_cv_system_error9=no
17597 fi
17598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17599
17600 fi
17601
17602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17603 $as_echo "$glibcxx_cv_system_error9" >&6; }
17604 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17605
17606 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17607
17608 fi
17609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17610 $as_echo_n "checking for ECANCELED... " >&6; }
17611 if test "${glibcxx_cv_system_error10+set}" = set; then :
17612   $as_echo_n "(cached) " >&6
17613 else
17614
17615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17616 /* end confdefs.h.  */
17617 #include <errno.h>
17618 int
17619 main ()
17620 {
17621 int i = ECANCELED;
17622   ;
17623   return 0;
17624 }
17625 _ACEOF
17626 if ac_fn_c_try_compile "$LINENO"; then :
17627   glibcxx_cv_system_error10=yes
17628 else
17629   glibcxx_cv_system_error10=no
17630 fi
17631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17632
17633 fi
17634
17635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17636 $as_echo "$glibcxx_cv_system_error10" >&6; }
17637 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17638
17639 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17640
17641 fi
17642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17643 $as_echo_n "checking for EOVERFLOW... " >&6; }
17644 if test "${glibcxx_cv_system_error11+set}" = set; then :
17645   $as_echo_n "(cached) " >&6
17646 else
17647
17648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17649 /* end confdefs.h.  */
17650 #include <errno.h>
17651 int
17652 main ()
17653 {
17654 int i = EOVERFLOW;
17655   ;
17656   return 0;
17657 }
17658 _ACEOF
17659 if ac_fn_c_try_compile "$LINENO"; then :
17660   glibcxx_cv_system_error11=yes
17661 else
17662   glibcxx_cv_system_error11=no
17663 fi
17664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17665
17666 fi
17667
17668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17669 $as_echo "$glibcxx_cv_system_error11" >&6; }
17670 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17671
17672 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17673
17674 fi
17675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17676 $as_echo_n "checking for ENOTSUP... " >&6; }
17677 if test "${glibcxx_cv_system_error12+set}" = set; then :
17678   $as_echo_n "(cached) " >&6
17679 else
17680
17681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17682 /* end confdefs.h.  */
17683 #include <errno.h>
17684 int
17685 main ()
17686 {
17687 int i = ENOTSUP;
17688   ;
17689   return 0;
17690 }
17691 _ACEOF
17692 if ac_fn_c_try_compile "$LINENO"; then :
17693   glibcxx_cv_system_error12=yes
17694 else
17695   glibcxx_cv_system_error12=no
17696 fi
17697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17698
17699 fi
17700
17701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17702 $as_echo "$glibcxx_cv_system_error12" >&6; }
17703 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17704
17705 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17706
17707 fi
17708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17709 $as_echo_n "checking for EIDRM... " >&6; }
17710 if test "${glibcxx_cv_system_error13+set}" = set; then :
17711   $as_echo_n "(cached) " >&6
17712 else
17713
17714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17715 /* end confdefs.h.  */
17716 #include <errno.h>
17717 int
17718 main ()
17719 {
17720 int i = EIDRM;
17721   ;
17722   return 0;
17723 }
17724 _ACEOF
17725 if ac_fn_c_try_compile "$LINENO"; then :
17726   glibcxx_cv_system_error13=yes
17727 else
17728   glibcxx_cv_system_error13=no
17729 fi
17730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17731
17732 fi
17733
17734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17735 $as_echo "$glibcxx_cv_system_error13" >&6; }
17736 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17737
17738 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17739
17740 fi
17741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17742 $as_echo_n "checking for ETXTBSY... " >&6; }
17743 if test "${glibcxx_cv_system_error14+set}" = set; then :
17744   $as_echo_n "(cached) " >&6
17745 else
17746
17747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17748 /* end confdefs.h.  */
17749 #include <errno.h>
17750 int
17751 main ()
17752 {
17753 int i = ETXTBSY;
17754   ;
17755   return 0;
17756 }
17757 _ACEOF
17758 if ac_fn_c_try_compile "$LINENO"; then :
17759   glibcxx_cv_system_error14=yes
17760 else
17761   glibcxx_cv_system_error14=no
17762 fi
17763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17764
17765 fi
17766
17767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17768 $as_echo "$glibcxx_cv_system_error14" >&6; }
17769 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17770
17771 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17772
17773 fi
17774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17775 $as_echo_n "checking for ECHILD... " >&6; }
17776 if test "${glibcxx_cv_system_error15+set}" = set; then :
17777   $as_echo_n "(cached) " >&6
17778 else
17779
17780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17781 /* end confdefs.h.  */
17782 #include <errno.h>
17783 int
17784 main ()
17785 {
17786 int i = ECHILD;
17787   ;
17788   return 0;
17789 }
17790 _ACEOF
17791 if ac_fn_c_try_compile "$LINENO"; then :
17792   glibcxx_cv_system_error15=yes
17793 else
17794   glibcxx_cv_system_error15=no
17795 fi
17796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17797
17798 fi
17799
17800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
17801 $as_echo "$glibcxx_cv_system_error15" >&6; }
17802 if test x"$glibcxx_cv_system_error15" = x"yes"; then
17803
17804 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
17805
17806 fi
17807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
17808 $as_echo_n "checking for ENOSPC... " >&6; }
17809 if test "${glibcxx_cv_system_error16+set}" = set; then :
17810   $as_echo_n "(cached) " >&6
17811 else
17812
17813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17814 /* end confdefs.h.  */
17815 #include <errno.h>
17816 int
17817 main ()
17818 {
17819 int i = ENOSPC;
17820   ;
17821   return 0;
17822 }
17823 _ACEOF
17824 if ac_fn_c_try_compile "$LINENO"; then :
17825   glibcxx_cv_system_error16=yes
17826 else
17827   glibcxx_cv_system_error16=no
17828 fi
17829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17830
17831 fi
17832
17833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
17834 $as_echo "$glibcxx_cv_system_error16" >&6; }
17835 if test x"$glibcxx_cv_system_error16" = x"yes"; then
17836
17837 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
17838
17839 fi
17840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
17841 $as_echo_n "checking for EPERM... " >&6; }
17842 if test "${glibcxx_cv_system_error17+set}" = set; then :
17843   $as_echo_n "(cached) " >&6
17844 else
17845
17846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17847 /* end confdefs.h.  */
17848 #include <errno.h>
17849 int
17850 main ()
17851 {
17852 int i = EPERM;
17853   ;
17854   return 0;
17855 }
17856 _ACEOF
17857 if ac_fn_c_try_compile "$LINENO"; then :
17858   glibcxx_cv_system_error17=yes
17859 else
17860   glibcxx_cv_system_error17=no
17861 fi
17862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17863
17864 fi
17865
17866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
17867 $as_echo "$glibcxx_cv_system_error17" >&6; }
17868 if test x"$glibcxx_cv_system_error17" = x"yes"; then
17869
17870 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
17871
17872 fi
17873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
17874 $as_echo_n "checking for ETIMEDOUT... " >&6; }
17875 if test "${glibcxx_cv_system_error18+set}" = set; then :
17876   $as_echo_n "(cached) " >&6
17877 else
17878
17879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17880 /* end confdefs.h.  */
17881 #include <errno.h>
17882 int
17883 main ()
17884 {
17885 int i = ETIMEDOUT;
17886   ;
17887   return 0;
17888 }
17889 _ACEOF
17890 if ac_fn_c_try_compile "$LINENO"; then :
17891   glibcxx_cv_system_error18=yes
17892 else
17893   glibcxx_cv_system_error18=no
17894 fi
17895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17896
17897 fi
17898
17899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
17900 $as_echo "$glibcxx_cv_system_error18" >&6; }
17901 if test x"$glibcxx_cv_system_error18" = x"yes"; then
17902
17903 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
17904
17905 fi
17906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
17907 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
17908 if test "${glibcxx_cv_system_error19+set}" = set; then :
17909   $as_echo_n "(cached) " >&6
17910 else
17911
17912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17913 /* end confdefs.h.  */
17914 #include <errno.h>
17915 int
17916 main ()
17917 {
17918 int i = EWOULDBLOCK;
17919   ;
17920   return 0;
17921 }
17922 _ACEOF
17923 if ac_fn_c_try_compile "$LINENO"; then :
17924   glibcxx_cv_system_error19=yes
17925 else
17926   glibcxx_cv_system_error19=no
17927 fi
17928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17929
17930 fi
17931
17932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
17933 $as_echo "$glibcxx_cv_system_error19" >&6; }
17934 if test x"$glibcxx_cv_system_error19" = x"yes"; then
17935
17936 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
17937
17938 fi
17939
17940
17941
17942 # For the streamoff typedef.
17943
17944
17945
17946   ac_ext=cpp
17947 ac_cpp='$CXXCPP $CPPFLAGS'
17948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17951
17952
17953   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
17954 $as_echo_n "checking for int64_t... " >&6; }
17955   if test "${glibcxx_cv_INT64_T+set}" = set; then :
17956   $as_echo_n "(cached) " >&6
17957 else
17958
17959     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17960 /* end confdefs.h.  */
17961 #include <stdint.h>
17962 int
17963 main ()
17964 {
17965 int64_t var;
17966   ;
17967   return 0;
17968 }
17969 _ACEOF
17970 if ac_fn_cxx_try_compile "$LINENO"; then :
17971   glibcxx_cv_INT64_T=yes
17972 else
17973   glibcxx_cv_INT64_T=no
17974 fi
17975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17976
17977 fi
17978
17979
17980   if test $glibcxx_cv_INT64_T = yes; then
17981
17982 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
17983
17984     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
17985 $as_echo "$glibcxx_cv_INT64_T" >&6; }
17986
17987     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
17988 $as_echo_n "checking for int64_t as long... " >&6; }
17989     if test "${glibcxx_cv_int64_t_long+set}" = set; then :
17990   $as_echo_n "(cached) " >&6
17991 else
17992
17993       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17994 /* end confdefs.h.  */
17995 #include <stdint.h>
17996         template<typename, typename> struct same { enum { value = -1 }; };
17997         template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17998         int array[same<int64_t, long>::value];
17999 int
18000 main ()
18001 {
18002
18003   ;
18004   return 0;
18005 }
18006 _ACEOF
18007 if ac_fn_cxx_try_compile "$LINENO"; then :
18008   glibcxx_cv_int64_t_long=yes
18009 else
18010   glibcxx_cv_int64_t_long=no
18011 fi
18012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18013
18014 fi
18015
18016
18017     if test $glibcxx_cv_int64_t_long = yes; then
18018
18019 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18020
18021       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18022 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18023     fi
18024
18025     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18026 $as_echo_n "checking for int64_t as long long... " >&6; }
18027     if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18028   $as_echo_n "(cached) " >&6
18029 else
18030
18031       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18032 /* end confdefs.h.  */
18033 #include <stdint.h>
18034         template<typename, typename> struct same { enum { value = -1 }; };
18035         template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18036         int array[same<int64_t, long long>::value];
18037 int
18038 main ()
18039 {
18040
18041   ;
18042   return 0;
18043 }
18044 _ACEOF
18045 if ac_fn_cxx_try_compile "$LINENO"; then :
18046   glibcxx_cv_int64_t_long_long=yes
18047 else
18048   glibcxx_cv_int64_t_long_long=no
18049 fi
18050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18051
18052 fi
18053
18054
18055     if test $glibcxx_cv_int64_t_long_long = yes; then
18056
18057 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18058
18059       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18060 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18061     fi
18062   fi
18063
18064   ac_ext=c
18065 ac_cpp='$CPP $CPPFLAGS'
18066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18069
18070
18071
18072 # For LFS support.
18073
18074
18075   ac_ext=cpp
18076 ac_cpp='$CXXCPP $CPPFLAGS'
18077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18080
18081   ac_save_CXXFLAGS="$CXXFLAGS"
18082   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18083   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18084 $as_echo_n "checking for LFS support... " >&6; }
18085   if test "${glibcxx_cv_LFS+set}" = set; then :
18086   $as_echo_n "(cached) " >&6
18087 else
18088
18089     if test x$gcc_no_link = xyes; then
18090   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18091 /* end confdefs.h.  */
18092 #include <unistd.h>
18093        #include <stdio.h>
18094        #include <sys/stat.h>
18095
18096 int
18097 main ()
18098 {
18099 FILE* fp;
18100        fopen64("t", "w");
18101        fseeko64(fp, 0, SEEK_CUR);
18102        ftello64(fp);
18103        lseek64(1, 0, SEEK_CUR);
18104        struct stat64 buf;
18105        fstat64(1, &buf);
18106   ;
18107   return 0;
18108 }
18109 _ACEOF
18110 if ac_fn_cxx_try_compile "$LINENO"; then :
18111   glibcxx_cv_LFS=yes
18112 else
18113   glibcxx_cv_LFS=no
18114 fi
18115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18116 else
18117   if test x$gcc_no_link = xyes; then
18118   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18119 fi
18120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18121 /* end confdefs.h.  */
18122 #include <unistd.h>
18123        #include <stdio.h>
18124        #include <sys/stat.h>
18125
18126 int
18127 main ()
18128 {
18129 FILE* fp;
18130        fopen64("t", "w");
18131        fseeko64(fp, 0, SEEK_CUR);
18132        ftello64(fp);
18133        lseek64(1, 0, SEEK_CUR);
18134        struct stat64 buf;
18135        fstat64(1, &buf);
18136   ;
18137   return 0;
18138 }
18139 _ACEOF
18140 if ac_fn_cxx_try_link "$LINENO"; then :
18141   glibcxx_cv_LFS=yes
18142 else
18143   glibcxx_cv_LFS=no
18144 fi
18145 rm -f core conftest.err conftest.$ac_objext \
18146     conftest$ac_exeext conftest.$ac_ext
18147 fi
18148
18149 fi
18150
18151   if test $glibcxx_cv_LFS = yes; then
18152
18153 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18154
18155   fi
18156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18157 $as_echo "$glibcxx_cv_LFS" >&6; }
18158   CXXFLAGS="$ac_save_CXXFLAGS"
18159   ac_ext=c
18160 ac_cpp='$CPP $CPPFLAGS'
18161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18164
18165
18166
18167 # For showmanyc_helper().
18168 for ac_header in sys/ioctl.h sys/filio.h
18169 do :
18170   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18171 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18172 eval as_val=\$$as_ac_Header
18173    if test "x$as_val" = x""yes; then :
18174   cat >>confdefs.h <<_ACEOF
18175 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18176 _ACEOF
18177
18178 fi
18179
18180 done
18181
18182
18183
18184
18185   ac_ext=cpp
18186 ac_cpp='$CXXCPP $CPPFLAGS'
18187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18190
18191   ac_save_CXXFLAGS="$CXXFLAGS"
18192   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18193
18194   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18195 $as_echo_n "checking for poll... " >&6; }
18196   if test "${glibcxx_cv_POLL+set}" = set; then :
18197   $as_echo_n "(cached) " >&6
18198 else
18199
18200     if test x$gcc_no_link = xyes; then
18201   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18202 /* end confdefs.h.  */
18203 #include <poll.h>
18204 int
18205 main ()
18206 {
18207 struct pollfd pfd[1];
18208        pfd[0].events = POLLIN;
18209        poll(pfd, 1, 0);
18210   ;
18211   return 0;
18212 }
18213 _ACEOF
18214 if ac_fn_cxx_try_compile "$LINENO"; then :
18215   glibcxx_cv_POLL=yes
18216 else
18217   glibcxx_cv_POLL=no
18218 fi
18219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18220 else
18221   if test x$gcc_no_link = xyes; then
18222   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18223 fi
18224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18225 /* end confdefs.h.  */
18226 #include <poll.h>
18227 int
18228 main ()
18229 {
18230 struct pollfd pfd[1];
18231        pfd[0].events = POLLIN;
18232        poll(pfd, 1, 0);
18233   ;
18234   return 0;
18235 }
18236 _ACEOF
18237 if ac_fn_cxx_try_link "$LINENO"; then :
18238   glibcxx_cv_POLL=yes
18239 else
18240   glibcxx_cv_POLL=no
18241 fi
18242 rm -f core conftest.err conftest.$ac_objext \
18243     conftest$ac_exeext conftest.$ac_ext
18244 fi
18245
18246 fi
18247
18248   if test $glibcxx_cv_POLL = yes; then
18249
18250 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18251
18252   fi
18253   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18254 $as_echo "$glibcxx_cv_POLL" >&6; }
18255
18256   CXXFLAGS="$ac_save_CXXFLAGS"
18257   ac_ext=c
18258 ac_cpp='$CPP $CPPFLAGS'
18259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18262
18263
18264
18265
18266
18267   ac_ext=cpp
18268 ac_cpp='$CXXCPP $CPPFLAGS'
18269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18272
18273   ac_save_CXXFLAGS="$CXXFLAGS"
18274   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18275
18276   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18277 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18278   if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18279   $as_echo_n "(cached) " >&6
18280 else
18281
18282     if test x$gcc_no_link = xyes; then
18283   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18284 /* end confdefs.h.  */
18285 #include <sys/stat.h>
18286 int
18287 main ()
18288 {
18289 struct stat buffer;
18290        fstat(0, &buffer);
18291        S_ISREG(buffer.st_mode);
18292   ;
18293   return 0;
18294 }
18295 _ACEOF
18296 if ac_fn_cxx_try_compile "$LINENO"; then :
18297   glibcxx_cv_S_ISREG=yes
18298 else
18299   glibcxx_cv_S_ISREG=no
18300 fi
18301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18302 else
18303   if test x$gcc_no_link = xyes; then
18304   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18305 fi
18306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18307 /* end confdefs.h.  */
18308 #include <sys/stat.h>
18309 int
18310 main ()
18311 {
18312 struct stat buffer;
18313        fstat(0, &buffer);
18314        S_ISREG(buffer.st_mode);
18315   ;
18316   return 0;
18317 }
18318 _ACEOF
18319 if ac_fn_cxx_try_link "$LINENO"; then :
18320   glibcxx_cv_S_ISREG=yes
18321 else
18322   glibcxx_cv_S_ISREG=no
18323 fi
18324 rm -f core conftest.err conftest.$ac_objext \
18325     conftest$ac_exeext conftest.$ac_ext
18326 fi
18327
18328 fi
18329
18330   if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18331   $as_echo_n "(cached) " >&6
18332 else
18333
18334     if test x$gcc_no_link = xyes; then
18335   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18336 /* end confdefs.h.  */
18337 #include <sys/stat.h>
18338 int
18339 main ()
18340 {
18341 struct stat buffer;
18342        fstat(0, &buffer);
18343        S_IFREG & buffer.st_mode;
18344   ;
18345   return 0;
18346 }
18347 _ACEOF
18348 if ac_fn_cxx_try_compile "$LINENO"; then :
18349   glibcxx_cv_S_IFREG=yes
18350 else
18351   glibcxx_cv_S_IFREG=no
18352 fi
18353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18354 else
18355   if test x$gcc_no_link = xyes; then
18356   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18357 fi
18358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18359 /* end confdefs.h.  */
18360 #include <sys/stat.h>
18361 int
18362 main ()
18363 {
18364 struct stat buffer;
18365        fstat(0, &buffer);
18366        S_IFREG & buffer.st_mode;
18367   ;
18368   return 0;
18369 }
18370 _ACEOF
18371 if ac_fn_cxx_try_link "$LINENO"; then :
18372   glibcxx_cv_S_IFREG=yes
18373 else
18374   glibcxx_cv_S_IFREG=no
18375 fi
18376 rm -f core conftest.err conftest.$ac_objext \
18377     conftest$ac_exeext conftest.$ac_ext
18378 fi
18379
18380 fi
18381
18382   res=no
18383   if test $glibcxx_cv_S_ISREG = yes; then
18384
18385 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18386
18387     res=S_ISREG
18388   elif test $glibcxx_cv_S_IFREG = yes; then
18389
18390 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18391
18392     res=S_IFREG
18393   fi
18394   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18395 $as_echo "$res" >&6; }
18396
18397   CXXFLAGS="$ac_save_CXXFLAGS"
18398   ac_ext=c
18399 ac_cpp='$CPP $CPPFLAGS'
18400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18403
18404
18405
18406 # For xsputn_2().
18407 for ac_header in sys/uio.h
18408 do :
18409   ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18410 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18411   cat >>confdefs.h <<_ACEOF
18412 #define HAVE_SYS_UIO_H 1
18413 _ACEOF
18414
18415 fi
18416
18417 done
18418
18419
18420
18421
18422   ac_ext=cpp
18423 ac_cpp='$CXXCPP $CPPFLAGS'
18424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18427
18428   ac_save_CXXFLAGS="$CXXFLAGS"
18429   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18430
18431   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18432 $as_echo_n "checking for writev... " >&6; }
18433   if test "${glibcxx_cv_WRITEV+set}" = set; then :
18434   $as_echo_n "(cached) " >&6
18435 else
18436
18437     if test x$gcc_no_link = xyes; then
18438   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18439 /* end confdefs.h.  */
18440 #include <sys/uio.h>
18441 int
18442 main ()
18443 {
18444 struct iovec iov[2];
18445        writev(0, iov, 0);
18446   ;
18447   return 0;
18448 }
18449 _ACEOF
18450 if ac_fn_cxx_try_compile "$LINENO"; then :
18451   glibcxx_cv_WRITEV=yes
18452 else
18453   glibcxx_cv_WRITEV=no
18454 fi
18455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18456 else
18457   if test x$gcc_no_link = xyes; then
18458   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18459 fi
18460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18461 /* end confdefs.h.  */
18462 #include <sys/uio.h>
18463 int
18464 main ()
18465 {
18466 struct iovec iov[2];
18467        writev(0, iov, 0);
18468   ;
18469   return 0;
18470 }
18471 _ACEOF
18472 if ac_fn_cxx_try_link "$LINENO"; then :
18473   glibcxx_cv_WRITEV=yes
18474 else
18475   glibcxx_cv_WRITEV=no
18476 fi
18477 rm -f core conftest.err conftest.$ac_objext \
18478     conftest$ac_exeext conftest.$ac_ext
18479 fi
18480
18481 fi
18482
18483   if test $glibcxx_cv_WRITEV = yes; then
18484
18485 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18486
18487   fi
18488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18489 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18490
18491   CXXFLAGS="$ac_save_CXXFLAGS"
18492   ac_ext=c
18493 ac_cpp='$CPP $CPPFLAGS'
18494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18497
18498
18499
18500 # For C99 support to TR1.
18501
18502
18503
18504   ac_ext=cpp
18505 ac_cpp='$CXXCPP $CPPFLAGS'
18506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18509
18510
18511   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18512   # undefined and fake C99 facilities may be spuriously enabled.
18513   ac_save_CXXFLAGS="$CXXFLAGS"
18514   CXXFLAGS="$CXXFLAGS -std=c++98"
18515
18516   # Check for the existence of <complex.h> complex math functions used
18517   # by tr1/complex.
18518   for ac_header in complex.h
18519 do :
18520   ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18521 if test "x$ac_cv_header_complex_h" = x""yes; then :
18522   cat >>confdefs.h <<_ACEOF
18523 #define HAVE_COMPLEX_H 1
18524 _ACEOF
18525  ac_has_complex_h=yes
18526 else
18527   ac_has_complex_h=no
18528 fi
18529
18530 done
18531
18532   ac_c99_complex_tr1=no;
18533   if test x"$ac_has_complex_h" = x"yes"; then
18534     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18535 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18536     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18537 /* end confdefs.h.  */
18538 #include <complex.h>
18539 int
18540 main ()
18541 {
18542 typedef __complex__ float float_type; float_type tmpf;
18543                     cacosf(tmpf);
18544                     casinf(tmpf);
18545                     catanf(tmpf);
18546                     cacoshf(tmpf);
18547                     casinhf(tmpf);
18548                     catanhf(tmpf);
18549                     typedef __complex__ double double_type; double_type tmpd;
18550                     cacos(tmpd);
18551                     casin(tmpd);
18552                     catan(tmpd);
18553                     cacosh(tmpd);
18554                     casinh(tmpd);
18555                     catanh(tmpd);
18556                     typedef __complex__ long double ld_type; ld_type tmpld;
18557                     cacosl(tmpld);
18558                     casinl(tmpld);
18559                     catanl(tmpld);
18560                     cacoshl(tmpld);
18561                     casinhl(tmpld);
18562                     catanhl(tmpld);
18563
18564   ;
18565   return 0;
18566 }
18567 _ACEOF
18568 if ac_fn_cxx_try_compile "$LINENO"; then :
18569   ac_c99_complex_tr1=yes
18570 else
18571   ac_c99_complex_tr1=no
18572 fi
18573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18574   fi
18575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18576 $as_echo "$ac_c99_complex_tr1" >&6; }
18577   if test x"$ac_c99_complex_tr1" = x"yes"; then
18578
18579 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18580
18581   fi
18582
18583   # Check for the existence of <ctype.h> functions.
18584   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18585 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18586   if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18587   $as_echo_n "(cached) " >&6
18588 else
18589
18590   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18591 /* end confdefs.h.  */
18592 #include <ctype.h>
18593 int
18594 main ()
18595 {
18596 int ch;
18597                   int ret;
18598                   ret = isblank(ch);
18599
18600   ;
18601   return 0;
18602 }
18603 _ACEOF
18604 if ac_fn_cxx_try_compile "$LINENO"; then :
18605   glibcxx_cv_c99_ctype_tr1=yes
18606 else
18607   glibcxx_cv_c99_ctype_tr1=no
18608 fi
18609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18610
18611 fi
18612
18613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18614 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18615   if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18616
18617 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18618
18619   fi
18620
18621   # Check for the existence of <fenv.h> functions.
18622   for ac_header in fenv.h
18623 do :
18624   ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18625 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18626   cat >>confdefs.h <<_ACEOF
18627 #define HAVE_FENV_H 1
18628 _ACEOF
18629  ac_has_fenv_h=yes
18630 else
18631   ac_has_fenv_h=no
18632 fi
18633
18634 done
18635
18636   ac_c99_fenv_tr1=no;
18637   if test x"$ac_has_fenv_h" = x"yes"; then
18638     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18639 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18640     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18641 /* end confdefs.h.  */
18642 #include <fenv.h>
18643 int
18644 main ()
18645 {
18646 int except, mode;
18647                     fexcept_t* pflag;
18648                     fenv_t* penv;
18649                     int ret;
18650                     ret = feclearexcept(except);
18651                     ret = fegetexceptflag(pflag, except);
18652                     ret = feraiseexcept(except);
18653                     ret = fesetexceptflag(pflag, except);
18654                     ret = fetestexcept(except);
18655                     ret = fegetround();
18656                     ret = fesetround(mode);
18657                     ret = fegetenv(penv);
18658                     ret = feholdexcept(penv);
18659                     ret = fesetenv(penv);
18660                     ret = feupdateenv(penv);
18661
18662   ;
18663   return 0;
18664 }
18665 _ACEOF
18666 if ac_fn_cxx_try_compile "$LINENO"; then :
18667   ac_c99_fenv_tr1=yes
18668 else
18669   ac_c99_fenv_tr1=no
18670 fi
18671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18672   fi
18673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18674 $as_echo "$ac_c99_fenv_tr1" >&6; }
18675   if test x"$ac_c99_fenv_tr1" = x"yes"; then
18676
18677 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18678
18679   fi
18680
18681   # Check for the existence of <stdint.h> types.
18682   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18683 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18684   if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18685   $as_echo_n "(cached) " >&6
18686 else
18687
18688   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18689 /* end confdefs.h.  */
18690 #define __STDC_LIMIT_MACROS
18691                   #define __STDC_CONSTANT_MACROS
18692                   #include <stdint.h>
18693 int
18694 main ()
18695 {
18696 typedef int8_t          my_int8_t;
18697                   my_int8_t               i8 = INT8_MIN;
18698                   i8 = INT8_MAX;
18699                   typedef int16_t         my_int16_t;
18700                   my_int16_t              i16 = INT16_MIN;
18701                   i16 = INT16_MAX;
18702                   typedef int32_t         my_int32_t;
18703                   my_int32_t              i32 = INT32_MIN;
18704                   i32 = INT32_MAX;
18705                   typedef int64_t         my_int64_t;
18706                   my_int64_t              i64 = INT64_MIN;
18707                   i64 = INT64_MAX;
18708                   typedef int_fast8_t     my_int_fast8_t;
18709                   my_int_fast8_t          if8 = INT_FAST8_MIN;
18710                   if8 = INT_FAST8_MAX;
18711                   typedef int_fast16_t    my_int_fast16_t;
18712                   my_int_fast16_t         if16 = INT_FAST16_MIN;
18713                   if16 = INT_FAST16_MAX;
18714                   typedef int_fast32_t    my_int_fast32_t;
18715                   my_int_fast32_t         if32 = INT_FAST32_MIN;
18716                   if32 = INT_FAST32_MAX;
18717                   typedef int_fast64_t    my_int_fast64_t;
18718                   my_int_fast64_t         if64 = INT_FAST64_MIN;
18719                   if64 = INT_FAST64_MAX;
18720                   typedef int_least8_t    my_int_least8_t;
18721                   my_int_least8_t         il8 = INT_LEAST8_MIN;
18722                   il8 = INT_LEAST8_MAX;
18723                   typedef int_least16_t   my_int_least16_t;
18724                   my_int_least16_t        il16 = INT_LEAST16_MIN;
18725                   il16 = INT_LEAST16_MAX;
18726                   typedef int_least32_t   my_int_least32_t;
18727                   my_int_least32_t        il32 = INT_LEAST32_MIN;
18728                   il32 = INT_LEAST32_MAX;
18729                   typedef int_least64_t   my_int_least64_t;
18730                   my_int_least64_t        il64 = INT_LEAST64_MIN;
18731                   il64 = INT_LEAST64_MAX;
18732                   typedef intmax_t        my_intmax_t;
18733                   my_intmax_t             im = INTMAX_MAX;
18734                   im = INTMAX_MIN;
18735                   typedef intptr_t        my_intptr_t;
18736                   my_intptr_t             ip = INTPTR_MAX;
18737                   ip = INTPTR_MIN;
18738                   typedef uint8_t         my_uint8_t;
18739                   my_uint8_t              ui8 = UINT8_MAX;
18740                   ui8 = UINT8_MAX;
18741                   typedef uint16_t        my_uint16_t;
18742                   my_uint16_t             ui16 = UINT16_MAX;
18743                   ui16 = UINT16_MAX;
18744                   typedef uint32_t        my_uint32_t;
18745                   my_uint32_t             ui32 = UINT32_MAX;
18746                   ui32 = UINT32_MAX;
18747                   typedef uint64_t        my_uint64_t;
18748                   my_uint64_t             ui64 = UINT64_MAX;
18749                   ui64 = UINT64_MAX;
18750                   typedef uint_fast8_t    my_uint_fast8_t;
18751                   my_uint_fast8_t         uif8 = UINT_FAST8_MAX;
18752                   uif8 = UINT_FAST8_MAX;
18753                   typedef uint_fast16_t   my_uint_fast16_t;
18754                   my_uint_fast16_t        uif16 = UINT_FAST16_MAX;
18755                   uif16 = UINT_FAST16_MAX;
18756                   typedef uint_fast32_t   my_uint_fast32_t;
18757                   my_uint_fast32_t        uif32 = UINT_FAST32_MAX;
18758                   uif32 = UINT_FAST32_MAX;
18759                   typedef uint_fast64_t   my_uint_fast64_t;
18760                   my_uint_fast64_t        uif64 = UINT_FAST64_MAX;
18761                   uif64 = UINT_FAST64_MAX;
18762                   typedef uint_least8_t   my_uint_least8_t;
18763                   my_uint_least8_t        uil8 = UINT_LEAST8_MAX;
18764                   uil8 = UINT_LEAST8_MAX;
18765                   typedef uint_least16_t  my_uint_least16_t;
18766                   my_uint_least16_t       uil16 = UINT_LEAST16_MAX;
18767                   uil16 = UINT_LEAST16_MAX;
18768                   typedef uint_least32_t  my_uint_least32_t;
18769                   my_uint_least32_t       uil32 = UINT_LEAST32_MAX;
18770                   uil32 = UINT_LEAST32_MAX;
18771                   typedef uint_least64_t  my_uint_least64_t;
18772                   my_uint_least64_t       uil64 = UINT_LEAST64_MAX;
18773                   uil64 = UINT_LEAST64_MAX;
18774                   typedef uintmax_t       my_uintmax_t;
18775                   my_uintmax_t            uim = UINTMAX_MAX;
18776                   uim = UINTMAX_MAX;
18777                   typedef uintptr_t       my_uintptr_t;
18778                   my_uintptr_t            uip = UINTPTR_MAX;
18779                   uip = UINTPTR_MAX;
18780
18781   ;
18782   return 0;
18783 }
18784 _ACEOF
18785 if ac_fn_cxx_try_compile "$LINENO"; then :
18786   glibcxx_cv_c99_stdint_tr1=yes
18787 else
18788   glibcxx_cv_c99_stdint_tr1=no
18789 fi
18790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18791
18792 fi
18793
18794   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18795 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18796   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18797
18798 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18799
18800   fi
18801
18802   # Check for the existence of <math.h> functions.
18803   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18804 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18805   if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18806   $as_echo_n "(cached) " >&6
18807 else
18808
18809   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18810 /* end confdefs.h.  */
18811 #include <math.h>
18812 int
18813 main ()
18814 {
18815 typedef double_t  my_double_t;
18816                   typedef float_t   my_float_t;
18817                   acosh(0.0);
18818                   acoshf(0.0f);
18819                   acoshl(0.0l);
18820                   asinh(0.0);
18821                   asinhf(0.0f);
18822                   asinhl(0.0l);
18823                   atanh(0.0);
18824                   atanhf(0.0f);
18825                   atanhl(0.0l);
18826                   cbrt(0.0);
18827                   cbrtf(0.0f);
18828                   cbrtl(0.0l);
18829                   copysign(0.0, 0.0);
18830                   copysignf(0.0f, 0.0f);
18831                   copysignl(0.0l, 0.0l);
18832                   erf(0.0);
18833                   erff(0.0f);
18834                   erfl(0.0l);
18835                   erfc(0.0);
18836                   erfcf(0.0f);
18837                   erfcl(0.0l);
18838                   exp2(0.0);
18839                   exp2f(0.0f);
18840                   exp2l(0.0l);
18841                   expm1(0.0);
18842                   expm1f(0.0f);
18843                   expm1l(0.0l);
18844                   fdim(0.0, 0.0);
18845                   fdimf(0.0f, 0.0f);
18846                   fdiml(0.0l, 0.0l);
18847                   fma(0.0, 0.0, 0.0);
18848                   fmaf(0.0f, 0.0f, 0.0f);
18849                   fmal(0.0l, 0.0l, 0.0l);
18850                   fmax(0.0, 0.0);
18851                   fmaxf(0.0f, 0.0f);
18852                   fmaxl(0.0l, 0.0l);
18853                   fmin(0.0, 0.0);
18854                   fminf(0.0f, 0.0f);
18855                   fminl(0.0l, 0.0l);
18856                   hypot(0.0, 0.0);
18857                   hypotf(0.0f, 0.0f);
18858                   hypotl(0.0l, 0.0l);
18859                   ilogb(0.0);
18860                   ilogbf(0.0f);
18861                   ilogbl(0.0l);
18862                   lgamma(0.0);
18863                   lgammaf(0.0f);
18864                   lgammal(0.0l);
18865                   llrint(0.0);
18866                   llrintf(0.0f);
18867                   llrintl(0.0l);
18868                   llround(0.0);
18869                   llroundf(0.0f);
18870                   llroundl(0.0l);
18871                   log1p(0.0);
18872                   log1pf(0.0f);
18873                   log1pl(0.0l);
18874                   log2(0.0);
18875                   log2f(0.0f);
18876                   log2l(0.0l);
18877                   logb(0.0);
18878                   logbf(0.0f);
18879                   logbl(0.0l);
18880                   lrint(0.0);
18881                   lrintf(0.0f);
18882                   lrintl(0.0l);
18883                   lround(0.0);
18884                   lroundf(0.0f);
18885                   lroundl(0.0l);
18886                   nan(0);
18887                   nanf(0);
18888                   nanl(0);
18889                   nearbyint(0.0);
18890                   nearbyintf(0.0f);
18891                   nearbyintl(0.0l);
18892                   nextafter(0.0, 0.0);
18893                   nextafterf(0.0f, 0.0f);
18894                   nextafterl(0.0l, 0.0l);
18895                   nexttoward(0.0, 0.0);
18896                   nexttowardf(0.0f, 0.0f);
18897                   nexttowardl(0.0l, 0.0l);
18898                   remainder(0.0, 0.0);
18899                   remainderf(0.0f, 0.0f);
18900                   remainderl(0.0l, 0.0l);
18901                   remquo(0.0, 0.0, 0);
18902                   remquof(0.0f, 0.0f, 0);
18903                   remquol(0.0l, 0.0l, 0);
18904                   rint(0.0);
18905                   rintf(0.0f);
18906                   rintl(0.0l);
18907                   round(0.0);
18908                   roundf(0.0f);
18909                   roundl(0.0l);
18910                   scalbln(0.0, 0l);
18911                   scalblnf(0.0f, 0l);
18912                   scalblnl(0.0l, 0l);
18913                   scalbn(0.0, 0);
18914                   scalbnf(0.0f, 0);
18915                   scalbnl(0.0l, 0);
18916                   tgamma(0.0);
18917                   tgammaf(0.0f);
18918                   tgammal(0.0l);
18919                   trunc(0.0);
18920                   truncf(0.0f);
18921                   truncl(0.0l);
18922
18923   ;
18924   return 0;
18925 }
18926 _ACEOF
18927 if ac_fn_cxx_try_compile "$LINENO"; then :
18928   glibcxx_cv_c99_math_tr1=yes
18929 else
18930   glibcxx_cv_c99_math_tr1=no
18931 fi
18932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18933
18934 fi
18935
18936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
18937 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
18938   if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
18939
18940 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
18941
18942   fi
18943
18944   # Check for the existence of <inttypes.h> functions (NB: doesn't make
18945   # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18946   ac_c99_inttypes_tr1=no;
18947   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18948     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
18949 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18950     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18951 /* end confdefs.h.  */
18952 #include <inttypes.h>
18953 int
18954 main ()
18955 {
18956 intmax_t i, numer, denom, base;
18957                     const char* s;
18958                     char** endptr;
18959                     intmax_t ret = imaxabs(i);
18960                     imaxdiv_t dret = imaxdiv(numer, denom);
18961                     ret = strtoimax(s, endptr, base);
18962                     uintmax_t uret = strtoumax(s, endptr, base);
18963
18964   ;
18965   return 0;
18966 }
18967 _ACEOF
18968 if ac_fn_cxx_try_compile "$LINENO"; then :
18969   ac_c99_inttypes_tr1=yes
18970 else
18971   ac_c99_inttypes_tr1=no
18972 fi
18973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18974   fi
18975   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
18976 $as_echo "$ac_c99_inttypes_tr1" >&6; }
18977   if test x"$ac_c99_inttypes_tr1" = x"yes"; then
18978
18979 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
18980
18981   fi
18982
18983   # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
18984   # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18985   ac_c99_inttypes_wchar_t_tr1=no;
18986   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18987     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
18988 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18989     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18990 /* end confdefs.h.  */
18991 #include <inttypes.h>
18992 int
18993 main ()
18994 {
18995 intmax_t base;
18996                     const wchar_t* s;
18997                     wchar_t** endptr;
18998                     intmax_t ret = wcstoimax(s, endptr, base);
18999                     uintmax_t uret = wcstoumax(s, endptr, base);
19000
19001   ;
19002   return 0;
19003 }
19004 _ACEOF
19005 if ac_fn_cxx_try_compile "$LINENO"; then :
19006   ac_c99_inttypes_wchar_t_tr1=yes
19007 else
19008   ac_c99_inttypes_wchar_t_tr1=no
19009 fi
19010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19011   fi
19012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19013 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19014   if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19015
19016 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19017
19018   fi
19019
19020   # Check for the existence of the <stdbool.h> header.
19021   for ac_header in stdbool.h
19022 do :
19023   ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19024 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19025   cat >>confdefs.h <<_ACEOF
19026 #define HAVE_STDBOOL_H 1
19027 _ACEOF
19028
19029 fi
19030
19031 done
19032
19033
19034   CXXFLAGS="$ac_save_CXXFLAGS"
19035   ac_ext=c
19036 ac_cpp='$CPP $CPPFLAGS'
19037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19040
19041
19042
19043 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19044
19045
19046   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19047 $as_echo_n "checking for the value of EOF... " >&6; }
19048 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19049   $as_echo_n "(cached) " >&6
19050 else
19051
19052   if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof"        "#include <stdio.h>"; then :
19053
19054 else
19055   as_fn_error "computing EOF failed" "$LINENO" 5
19056 fi
19057
19058
19059 fi
19060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19061 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19062
19063 cat >>confdefs.h <<_ACEOF
19064 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19065 _ACEOF
19066
19067
19068   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19069 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19070 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19071   $as_echo_n "(cached) " >&6
19072 else
19073
19074   if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur"        "#include <stdio.h>"; then :
19075
19076 else
19077   as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19078 fi
19079
19080
19081 fi
19082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19083 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19084
19085 cat >>confdefs.h <<_ACEOF
19086 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19087 _ACEOF
19088
19089
19090   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19091 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19092 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19093   $as_echo_n "(cached) " >&6
19094 else
19095
19096   if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end"        "#include <stdio.h>"; then :
19097
19098 else
19099   as_fn_error "computing SEEK_END failed" "$LINENO" 5
19100 fi
19101
19102
19103 fi
19104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19105 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19106
19107 cat >>confdefs.h <<_ACEOF
19108 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19109 _ACEOF
19110
19111
19112
19113 # For gettimeofday support.
19114
19115
19116   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19117 $as_echo_n "checking for gettimeofday... " >&6; }
19118
19119
19120   ac_ext=cpp
19121 ac_cpp='$CXXCPP $CPPFLAGS'
19122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19125
19126   ac_save_CXXFLAGS="$CXXFLAGS"
19127   CXXFLAGS="$CXXFLAGS -fno-exceptions"
19128
19129   ac_has_gettimeofday=no;
19130   for ac_header in sys/time.h
19131 do :
19132   ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19133 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19134   cat >>confdefs.h <<_ACEOF
19135 #define HAVE_SYS_TIME_H 1
19136 _ACEOF
19137  ac_has_sys_time_h=yes
19138 else
19139   ac_has_sys_time_h=no
19140 fi
19141
19142 done
19143
19144   if test x"$ac_has_sys_time_h" = x"yes"; then
19145     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19146 $as_echo_n "checking for gettimeofday... " >&6; }
19147     if test x$gcc_no_link = xyes; then
19148   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19149 /* end confdefs.h.  */
19150 #include <sys/time.h>
19151 int
19152 main ()
19153 {
19154 timeval tv; gettimeofday(&tv, 0);
19155   ;
19156   return 0;
19157 }
19158 _ACEOF
19159 if ac_fn_cxx_try_compile "$LINENO"; then :
19160   ac_has_gettimeofday=yes
19161 else
19162   ac_has_gettimeofday=no
19163 fi
19164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19165 else
19166   if test x$gcc_no_link = xyes; then
19167   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19168 fi
19169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19170 /* end confdefs.h.  */
19171 #include <sys/time.h>
19172 int
19173 main ()
19174 {
19175 timeval tv; gettimeofday(&tv, 0);
19176   ;
19177   return 0;
19178 }
19179 _ACEOF
19180 if ac_fn_cxx_try_link "$LINENO"; then :
19181   ac_has_gettimeofday=yes
19182 else
19183   ac_has_gettimeofday=no
19184 fi
19185 rm -f core conftest.err conftest.$ac_objext \
19186     conftest$ac_exeext conftest.$ac_ext
19187 fi
19188
19189     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19190 $as_echo "$ac_has_gettimeofday" >&6; }
19191   fi
19192
19193   if test x"$ac_has_gettimeofday" = x"yes"; then
19194
19195 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19196
19197   fi
19198
19199   CXXFLAGS="$ac_save_CXXFLAGS"
19200   ac_ext=c
19201 ac_cpp='$CPP $CPPFLAGS'
19202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19205
19206
19207
19208 # For clock_gettime, nanosleep and sched_yield support.
19209 # NB: The default is [no], because otherwise it requires linking.
19210
19211
19212   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
19213 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
19214    # Check whether --enable-libstdcxx-time was given.
19215 if test "${enable_libstdcxx_time+set}" = set; then :
19216   enableval=$enable_libstdcxx_time;
19217       case "$enableval" in
19218        yes|no|rt) ;;
19219        *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19220                         esac
19221
19222 else
19223   enable_libstdcxx_time=no
19224 fi
19225
19226
19227
19228
19229   ac_ext=cpp
19230 ac_cpp='$CXXCPP $CPPFLAGS'
19231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19234
19235   ac_save_CXXFLAGS="$CXXFLAGS"
19236   CXXFLAGS="$CXXFLAGS -fno-exceptions"
19237   ac_save_LIBS="$LIBS"
19238
19239   ac_has_clock_monotonic=no
19240   ac_has_clock_realtime=no
19241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
19242 $as_echo "$enable_libstdcxx_time" >&6; }
19243
19244   if test x"$enable_libstdcxx_time" != x"no"; then
19245
19246     if test x"$enable_libstdcxx_time" = x"rt"; then
19247       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19248 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19249 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19250   $as_echo_n "(cached) " >&6
19251 else
19252   ac_func_search_save_LIBS=$LIBS
19253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19254 /* end confdefs.h.  */
19255
19256 /* Override any GCC internal prototype to avoid an error.
19257    Use char because int might match the return type of a GCC
19258    builtin and then its argument prototype would still apply.  */
19259 #ifdef __cplusplus
19260 extern "C"
19261 #endif
19262 char clock_gettime ();
19263 int
19264 main ()
19265 {
19266 return clock_gettime ();
19267   ;
19268   return 0;
19269 }
19270 _ACEOF
19271 for ac_lib in '' rt posix4; do
19272   if test -z "$ac_lib"; then
19273     ac_res="none required"
19274   else
19275     ac_res=-l$ac_lib
19276     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19277   fi
19278   if test x$gcc_no_link = xyes; then
19279   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19280 fi
19281 if ac_fn_cxx_try_link "$LINENO"; then :
19282   ac_cv_search_clock_gettime=$ac_res
19283 fi
19284 rm -f core conftest.err conftest.$ac_objext \
19285     conftest$ac_exeext
19286   if test "${ac_cv_search_clock_gettime+set}" = set; then :
19287   break
19288 fi
19289 done
19290 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19291
19292 else
19293   ac_cv_search_clock_gettime=no
19294 fi
19295 rm conftest.$ac_ext
19296 LIBS=$ac_func_search_save_LIBS
19297 fi
19298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19299 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19300 ac_res=$ac_cv_search_clock_gettime
19301 if test "$ac_res" != no; then :
19302   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19303
19304 fi
19305
19306       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19307 $as_echo_n "checking for library containing nanosleep... " >&6; }
19308 if test "${ac_cv_search_nanosleep+set}" = set; then :
19309   $as_echo_n "(cached) " >&6
19310 else
19311   ac_func_search_save_LIBS=$LIBS
19312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19313 /* end confdefs.h.  */
19314
19315 /* Override any GCC internal prototype to avoid an error.
19316    Use char because int might match the return type of a GCC
19317    builtin and then its argument prototype would still apply.  */
19318 #ifdef __cplusplus
19319 extern "C"
19320 #endif
19321 char nanosleep ();
19322 int
19323 main ()
19324 {
19325 return nanosleep ();
19326   ;
19327   return 0;
19328 }
19329 _ACEOF
19330 for ac_lib in '' rt posix4; do
19331   if test -z "$ac_lib"; then
19332     ac_res="none required"
19333   else
19334     ac_res=-l$ac_lib
19335     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19336   fi
19337   if test x$gcc_no_link = xyes; then
19338   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19339 fi
19340 if ac_fn_cxx_try_link "$LINENO"; then :
19341   ac_cv_search_nanosleep=$ac_res
19342 fi
19343 rm -f core conftest.err conftest.$ac_objext \
19344     conftest$ac_exeext
19345   if test "${ac_cv_search_nanosleep+set}" = set; then :
19346   break
19347 fi
19348 done
19349 if test "${ac_cv_search_nanosleep+set}" = set; then :
19350
19351 else
19352   ac_cv_search_nanosleep=no
19353 fi
19354 rm conftest.$ac_ext
19355 LIBS=$ac_func_search_save_LIBS
19356 fi
19357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19358 $as_echo "$ac_cv_search_nanosleep" >&6; }
19359 ac_res=$ac_cv_search_nanosleep
19360 if test "$ac_res" != no; then :
19361   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19362
19363 fi
19364
19365     else
19366       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19367 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19368 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19369   $as_echo_n "(cached) " >&6
19370 else
19371   ac_func_search_save_LIBS=$LIBS
19372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19373 /* end confdefs.h.  */
19374
19375 /* Override any GCC internal prototype to avoid an error.
19376    Use char because int might match the return type of a GCC
19377    builtin and then its argument prototype would still apply.  */
19378 #ifdef __cplusplus
19379 extern "C"
19380 #endif
19381 char clock_gettime ();
19382 int
19383 main ()
19384 {
19385 return clock_gettime ();
19386   ;
19387   return 0;
19388 }
19389 _ACEOF
19390 for ac_lib in '' posix4; do
19391   if test -z "$ac_lib"; then
19392     ac_res="none required"
19393   else
19394     ac_res=-l$ac_lib
19395     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19396   fi
19397   if test x$gcc_no_link = xyes; then
19398   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19399 fi
19400 if ac_fn_cxx_try_link "$LINENO"; then :
19401   ac_cv_search_clock_gettime=$ac_res
19402 fi
19403 rm -f core conftest.err conftest.$ac_objext \
19404     conftest$ac_exeext
19405   if test "${ac_cv_search_clock_gettime+set}" = set; then :
19406   break
19407 fi
19408 done
19409 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19410
19411 else
19412   ac_cv_search_clock_gettime=no
19413 fi
19414 rm conftest.$ac_ext
19415 LIBS=$ac_func_search_save_LIBS
19416 fi
19417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19418 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19419 ac_res=$ac_cv_search_clock_gettime
19420 if test "$ac_res" != no; then :
19421   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19422
19423 fi
19424
19425       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19426 $as_echo_n "checking for library containing nanosleep... " >&6; }
19427 if test "${ac_cv_search_nanosleep+set}" = set; then :
19428   $as_echo_n "(cached) " >&6
19429 else
19430   ac_func_search_save_LIBS=$LIBS
19431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19432 /* end confdefs.h.  */
19433
19434 /* Override any GCC internal prototype to avoid an error.
19435    Use char because int might match the return type of a GCC
19436    builtin and then its argument prototype would still apply.  */
19437 #ifdef __cplusplus
19438 extern "C"
19439 #endif
19440 char nanosleep ();
19441 int
19442 main ()
19443 {
19444 return nanosleep ();
19445   ;
19446   return 0;
19447 }
19448 _ACEOF
19449 for ac_lib in '' posix4; do
19450   if test -z "$ac_lib"; then
19451     ac_res="none required"
19452   else
19453     ac_res=-l$ac_lib
19454     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19455   fi
19456   if test x$gcc_no_link = xyes; then
19457   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19458 fi
19459 if ac_fn_cxx_try_link "$LINENO"; then :
19460   ac_cv_search_nanosleep=$ac_res
19461 fi
19462 rm -f core conftest.err conftest.$ac_objext \
19463     conftest$ac_exeext
19464   if test "${ac_cv_search_nanosleep+set}" = set; then :
19465   break
19466 fi
19467 done
19468 if test "${ac_cv_search_nanosleep+set}" = set; then :
19469
19470 else
19471   ac_cv_search_nanosleep=no
19472 fi
19473 rm conftest.$ac_ext
19474 LIBS=$ac_func_search_save_LIBS
19475 fi
19476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19477 $as_echo "$ac_cv_search_nanosleep" >&6; }
19478 ac_res=$ac_cv_search_nanosleep
19479 if test "$ac_res" != no; then :
19480   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19481
19482 fi
19483
19484     fi
19485
19486     case "$ac_cv_search_clock_gettime" in
19487       -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19488       ;;
19489     esac
19490     case "$ac_cv_search_nanosleep" in
19491       -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19492       ;;
19493     esac
19494
19495     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19496 $as_echo_n "checking for library containing sched_yield... " >&6; }
19497 if test "${ac_cv_search_sched_yield+set}" = set; then :
19498   $as_echo_n "(cached) " >&6
19499 else
19500   ac_func_search_save_LIBS=$LIBS
19501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19502 /* end confdefs.h.  */
19503
19504 /* Override any GCC internal prototype to avoid an error.
19505    Use char because int might match the return type of a GCC
19506    builtin and then its argument prototype would still apply.  */
19507 #ifdef __cplusplus
19508 extern "C"
19509 #endif
19510 char sched_yield ();
19511 int
19512 main ()
19513 {
19514 return sched_yield ();
19515   ;
19516   return 0;
19517 }
19518 _ACEOF
19519 for ac_lib in '' rt posix4; do
19520   if test -z "$ac_lib"; then
19521     ac_res="none required"
19522   else
19523     ac_res=-l$ac_lib
19524     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19525   fi
19526   if test x$gcc_no_link = xyes; then
19527   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19528 fi
19529 if ac_fn_cxx_try_link "$LINENO"; then :
19530   ac_cv_search_sched_yield=$ac_res
19531 fi
19532 rm -f core conftest.err conftest.$ac_objext \
19533     conftest$ac_exeext
19534   if test "${ac_cv_search_sched_yield+set}" = set; then :
19535   break
19536 fi
19537 done
19538 if test "${ac_cv_search_sched_yield+set}" = set; then :
19539
19540 else
19541   ac_cv_search_sched_yield=no
19542 fi
19543 rm conftest.$ac_ext
19544 LIBS=$ac_func_search_save_LIBS
19545 fi
19546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19547 $as_echo "$ac_cv_search_sched_yield" >&6; }
19548 ac_res=$ac_cv_search_sched_yield
19549 if test "$ac_res" != no; then :
19550   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19551
19552 fi
19553
19554
19555     case "$ac_cv_search_sched_yield" in
19556       -lposix4*)
19557       GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19558
19559 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19560
19561       ;;
19562       -lrt*)
19563       if test x"$enable_libstdcxx_time" = x"rt"; then
19564         GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19565
19566 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19567
19568       fi
19569       ;;
19570       *)
19571
19572 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19573
19574       ;;
19575     esac
19576
19577     for ac_header in unistd.h
19578 do :
19579   ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19580 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19581   cat >>confdefs.h <<_ACEOF
19582 #define HAVE_UNISTD_H 1
19583 _ACEOF
19584  ac_has_unistd_h=yes
19585 else
19586   ac_has_unistd_h=no
19587 fi
19588
19589 done
19590
19591
19592     if test x"$ac_has_unistd_h" = x"yes"; then
19593       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19594 $as_echo_n "checking for monotonic clock... " >&6; }
19595       if test x$gcc_no_link = xyes; then
19596   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19597 fi
19598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19599 /* end confdefs.h.  */
19600 #include <unistd.h>
19601          #include <time.h>
19602
19603 int
19604 main ()
19605 {
19606 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19607           timespec tp;
19608          #endif
19609           clock_gettime(CLOCK_MONOTONIC, &tp);
19610
19611   ;
19612   return 0;
19613 }
19614 _ACEOF
19615 if ac_fn_cxx_try_link "$LINENO"; then :
19616   ac_has_clock_monotonic=yes
19617 else
19618   ac_has_clock_monotonic=no
19619 fi
19620 rm -f core conftest.err conftest.$ac_objext \
19621     conftest$ac_exeext conftest.$ac_ext
19622
19623       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19624 $as_echo "$ac_has_clock_monotonic" >&6; }
19625
19626       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19627 $as_echo_n "checking for realtime clock... " >&6; }
19628       if test x$gcc_no_link = xyes; then
19629   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19630 fi
19631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19632 /* end confdefs.h.  */
19633 #include <unistd.h>
19634          #include <time.h>
19635
19636 int
19637 main ()
19638 {
19639 #if _POSIX_TIMERS > 0
19640           timespec tp;
19641          #endif
19642           clock_gettime(CLOCK_REALTIME, &tp);
19643
19644   ;
19645   return 0;
19646 }
19647 _ACEOF
19648 if ac_fn_cxx_try_link "$LINENO"; then :
19649   ac_has_clock_realtime=yes
19650 else
19651   ac_has_clock_realtime=no
19652 fi
19653 rm -f core conftest.err conftest.$ac_objext \
19654     conftest$ac_exeext conftest.$ac_ext
19655
19656       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19657 $as_echo "$ac_has_clock_realtime" >&6; }
19658
19659       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19660 $as_echo_n "checking for nanosleep... " >&6; }
19661       if test x$gcc_no_link = xyes; then
19662   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19663 fi
19664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19665 /* end confdefs.h.  */
19666 #include <unistd.h>
19667          #include <time.h>
19668
19669 int
19670 main ()
19671 {
19672 #if _POSIX_TIMERS > 0
19673           timespec tp;
19674          #endif
19675           nanosleep(&tp, 0);
19676
19677   ;
19678   return 0;
19679 }
19680 _ACEOF
19681 if ac_fn_cxx_try_link "$LINENO"; then :
19682   ac_has_nanosleep=yes
19683 else
19684   ac_has_nanosleep=no
19685 fi
19686 rm -f core conftest.err conftest.$ac_objext \
19687     conftest$ac_exeext conftest.$ac_ext
19688
19689       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19690 $as_echo "$ac_has_nanosleep" >&6; }
19691     fi
19692   fi
19693
19694   if test x"$ac_has_clock_monotonic" = x"yes"; then
19695
19696 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19697
19698   fi
19699
19700   if test x"$ac_has_clock_realtime" = x"yes"; then
19701
19702 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19703
19704   fi
19705
19706   if test x"$ac_has_nanosleep" = x"yes"; then
19707
19708 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19709
19710   fi
19711
19712
19713
19714   CXXFLAGS="$ac_save_CXXFLAGS"
19715   LIBS="$ac_save_LIBS"
19716   ac_ext=c
19717 ac_cpp='$CPP $CPPFLAGS'
19718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19721
19722
19723
19724 # For gthread support
19725
19726
19727   ac_ext=cpp
19728 ac_cpp='$CXXCPP $CPPFLAGS'
19729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19732
19733
19734   ac_save_CXXFLAGS="$CXXFLAGS"
19735   CXXFLAGS="$CXXFLAGS -fno-exceptions -I${toplevel_srcdir}/gcc"
19736
19737   { $as_echo "$as_me:${as_lineno-$LINENO}: checking check whether it can be safely assumed that mutex_timedlock is available" >&5
19738 $as_echo_n "checking check whether it can be safely assumed that mutex_timedlock is available... " >&6; }
19739
19740   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19741 /* end confdefs.h.  */
19742 #include <unistd.h>
19743 int
19744 main ()
19745 {
19746
19747       #if !defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS < 0
19748       #error
19749       #endif
19750
19751   ;
19752   return 0;
19753 }
19754 _ACEOF
19755 if ac_fn_cxx_try_compile "$LINENO"; then :
19756   ac_gthread_use_mutex_timedlock=1
19757 else
19758   ac_gthread_use_mutex_timedlock=0
19759 fi
19760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19761
19762
19763 cat >>confdefs.h <<_ACEOF
19764 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
19765 _ACEOF
19766
19767
19768   if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
19769   else res_mutex_timedlock=no ; fi
19770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
19771 $as_echo "$res_mutex_timedlock" >&6; }
19772
19773   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
19774   case $target_thread_file in
19775     posix)
19776       CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
19777   esac
19778
19779   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
19780 $as_echo_n "checking for gthreads library... " >&6; }
19781
19782   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19783 /* end confdefs.h.  */
19784
19785                   #include "gthr.h"
19786                   #include <unistd.h>
19787
19788 int
19789 main ()
19790 {
19791
19792       #ifndef __GTHREADS_CXX0X
19793       #error
19794       #endif
19795
19796       // In case of POSIX threads check _POSIX_TIMEOUTS too.
19797       #if (defined(_PTHREADS) \
19798            && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
19799       #error
19800       #endif
19801
19802   ;
19803   return 0;
19804 }
19805 _ACEOF
19806 if ac_fn_cxx_try_compile "$LINENO"; then :
19807   ac_has_gthreads=yes
19808 else
19809   ac_has_gthreads=no
19810 fi
19811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19812
19813   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
19814 $as_echo "$ac_has_gthreads" >&6; }
19815
19816   if test x"$ac_has_gthreads" = x"yes"; then
19817
19818 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
19819
19820   fi
19821
19822   CXXFLAGS="$ac_save_CXXFLAGS"
19823   ac_ext=c
19824 ac_cpp='$CPP $CPPFLAGS'
19825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19828
19829
19830
19831
19832   ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19833 if test "x$ac_cv_header_locale_h" = x""yes; then :
19834
19835     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19836 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19837 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19838   $as_echo_n "(cached) " >&6
19839 else
19840   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19841 /* end confdefs.h.  */
19842 #include <locale.h>
19843 int
19844 main ()
19845 {
19846 return LC_MESSAGES
19847   ;
19848   return 0;
19849 }
19850 _ACEOF
19851 if ac_fn_c_try_compile "$LINENO"; then :
19852   ac_cv_val_LC_MESSAGES=yes
19853 else
19854   ac_cv_val_LC_MESSAGES=no
19855 fi
19856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19857 fi
19858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19859 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19860     if test $ac_cv_val_LC_MESSAGES = yes; then
19861
19862 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19863
19864     fi
19865
19866 fi
19867
19868
19869
19870
19871 # For hardware_concurrency
19872 for ac_header in sys/sysinfo.h
19873 do :
19874   ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
19875 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
19876   cat >>confdefs.h <<_ACEOF
19877 #define HAVE_SYS_SYSINFO_H 1
19878 _ACEOF
19879
19880 fi
19881
19882 done
19883
19884
19885
19886
19887   ac_ext=cpp
19888 ac_cpp='$CXXCPP $CPPFLAGS'
19889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19892
19893   ac_save_CXXFLAGS="$CXXFLAGS"
19894   CXXFLAGS="$CXXFLAGS -fno-exceptions"
19895
19896   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
19897 $as_echo_n "checking for get_nprocs... " >&6; }
19898   if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
19899   $as_echo_n "(cached) " >&6
19900 else
19901
19902     if test x$gcc_no_link = xyes; then
19903   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19904 /* end confdefs.h.  */
19905 #include <sys/sysinfo.h>
19906 int
19907 main ()
19908 {
19909 int n = get_nprocs();
19910   ;
19911   return 0;
19912 }
19913 _ACEOF
19914 if ac_fn_cxx_try_compile "$LINENO"; then :
19915   glibcxx_cv_GET_NPROCS=yes
19916 else
19917   glibcxx_cv_GET_NPROCS=no
19918 fi
19919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19920 else
19921   if test x$gcc_no_link = xyes; then
19922   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19923 fi
19924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19925 /* end confdefs.h.  */
19926 #include <sys/sysinfo.h>
19927 int
19928 main ()
19929 {
19930 int n = get_nprocs();
19931   ;
19932   return 0;
19933 }
19934 _ACEOF
19935 if ac_fn_cxx_try_link "$LINENO"; then :
19936   glibcxx_cv_GET_NPROCS=yes
19937 else
19938   glibcxx_cv_GET_NPROCS=no
19939 fi
19940 rm -f core conftest.err conftest.$ac_objext \
19941     conftest$ac_exeext conftest.$ac_ext
19942 fi
19943
19944 fi
19945
19946   if test $glibcxx_cv_GET_NPROCS = yes; then
19947
19948 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
19949
19950   fi
19951   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
19952 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
19953
19954   CXXFLAGS="$ac_save_CXXFLAGS"
19955   ac_ext=c
19956 ac_cpp='$CPP $CPPFLAGS'
19957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19960
19961
19962 for ac_header in unistd.h
19963 do :
19964   ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19965 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19966   cat >>confdefs.h <<_ACEOF
19967 #define HAVE_UNISTD_H 1
19968 _ACEOF
19969
19970 fi
19971
19972 done
19973
19974
19975
19976
19977   ac_ext=cpp
19978 ac_cpp='$CXXCPP $CPPFLAGS'
19979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19982
19983   ac_save_CXXFLAGS="$CXXFLAGS"
19984   CXXFLAGS="$CXXFLAGS -fno-exceptions"
19985
19986   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
19987 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
19988   if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
19989   $as_echo_n "(cached) " >&6
19990 else
19991
19992     if test x$gcc_no_link = xyes; then
19993   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19994 /* end confdefs.h.  */
19995 #include <unistd.h>
19996 int
19997 main ()
19998 {
19999 int n = sysconf(_SC_NPROCESSORS_ONLN);
20000   ;
20001   return 0;
20002 }
20003 _ACEOF
20004 if ac_fn_cxx_try_compile "$LINENO"; then :
20005   glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20006 else
20007   glibcxx_cv_SC_NPROCESSORS_ONLN=no
20008 fi
20009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20010 else
20011   if test x$gcc_no_link = xyes; then
20012   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20013 fi
20014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20015 /* end confdefs.h.  */
20016 #include <unistd.h>
20017 int
20018 main ()
20019 {
20020 int n = sysconf(_SC_NPROCESSORS_ONLN);
20021   ;
20022   return 0;
20023 }
20024 _ACEOF
20025 if ac_fn_cxx_try_link "$LINENO"; then :
20026   glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20027 else
20028   glibcxx_cv_SC_NPROCESSORS_ONLN=no
20029 fi
20030 rm -f core conftest.err conftest.$ac_objext \
20031     conftest$ac_exeext conftest.$ac_ext
20032 fi
20033
20034 fi
20035
20036   if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20037
20038 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20039
20040   fi
20041   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20042 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20043
20044   CXXFLAGS="$ac_save_CXXFLAGS"
20045   ac_ext=c
20046 ac_cpp='$CPP $CPPFLAGS'
20047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20050
20051
20052
20053 # Check for available headers.
20054 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20055 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20056 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20057 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20058 wchar.h wctype.h
20059 do :
20060   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20061 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20062 eval as_val=\$$as_ac_Header
20063    if test "x$as_val" = x""yes; then :
20064   cat >>confdefs.h <<_ACEOF
20065 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20066 _ACEOF
20067
20068 fi
20069
20070 done
20071
20072
20073 # Only do link tests if native. Else, hardcode.
20074 if $GLIBCXX_IS_NATIVE; then
20075
20076   # We can do more elaborate tests that assume a working linker.
20077   CANADIAN=no
20078
20079
20080
20081 # Check whether --with-gnu-ld was given.
20082 if test "${with_gnu_ld+set}" = set; then :
20083   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20084 else
20085   with_gnu_ld=no
20086 fi
20087
20088 ac_prog=ld
20089 if test "$GCC" = yes; then
20090   # Check if gcc -print-prog-name=ld gives a path.
20091   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20092 $as_echo_n "checking for ld used by $CC... " >&6; }
20093   case $host in
20094   *-*-mingw*)
20095     # gcc leaves a trailing carriage return which upsets mingw
20096     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20097   *)
20098     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20099   esac
20100   case $ac_prog in
20101     # Accept absolute paths.
20102     [\\/]* | ?:[\\/]*)
20103       re_direlt='/[^/][^/]*/\.\./'
20104       # Canonicalize the pathname of ld
20105       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20106       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20107         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20108       done
20109       test -z "$LD" && LD="$ac_prog"
20110       ;;
20111   "")
20112     # If it fails, then pretend we aren't using GCC.
20113     ac_prog=ld
20114     ;;
20115   *)
20116     # If it is relative, then search for the first ld in PATH.
20117     with_gnu_ld=unknown
20118     ;;
20119   esac
20120 elif test "$with_gnu_ld" = yes; then
20121   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20122 $as_echo_n "checking for GNU ld... " >&6; }
20123 else
20124   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20125 $as_echo_n "checking for non-GNU ld... " >&6; }
20126 fi
20127 if test "${lt_cv_path_LD+set}" = set; then :
20128   $as_echo_n "(cached) " >&6
20129 else
20130   if test -z "$LD"; then
20131   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20132   for ac_dir in $PATH; do
20133     IFS="$lt_save_ifs"
20134     test -z "$ac_dir" && ac_dir=.
20135     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20136       lt_cv_path_LD="$ac_dir/$ac_prog"
20137       # Check to see if the program is GNU ld.  I'd rather use --version,
20138       # but apparently some variants of GNU ld only accept -v.
20139       # Break only if it was the GNU/non-GNU ld that we prefer.
20140       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20141       *GNU* | *'with BFD'*)
20142         test "$with_gnu_ld" != no && break
20143         ;;
20144       *)
20145         test "$with_gnu_ld" != yes && break
20146         ;;
20147       esac
20148     fi
20149   done
20150   IFS="$lt_save_ifs"
20151 else
20152   lt_cv_path_LD="$LD" # Let the user override the test with a path.
20153 fi
20154 fi
20155
20156 LD="$lt_cv_path_LD"
20157 if test -n "$LD"; then
20158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20159 $as_echo "$LD" >&6; }
20160 else
20161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20162 $as_echo "no" >&6; }
20163 fi
20164 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20166 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20167 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20168   $as_echo_n "(cached) " >&6
20169 else
20170   # I'd rather use --version here, but apparently some GNU lds only accept -v.
20171 case `$LD -v 2>&1 </dev/null` in
20172 *GNU* | *'with BFD'*)
20173   lt_cv_prog_gnu_ld=yes
20174   ;;
20175 *)
20176   lt_cv_prog_gnu_ld=no
20177   ;;
20178 esac
20179 fi
20180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20181 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20182 with_gnu_ld=$lt_cv_prog_gnu_ld
20183
20184
20185
20186
20187
20188
20189
20190   # If we're not using GNU ld, then there's no point in even trying these
20191   # tests.  Check for that first.  We should have already tested for gld
20192   # by now (in libtool), but require it now just to be safe...
20193   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20194   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20195
20196
20197
20198   # The name set by libtool depends on the version of libtool.  Shame on us
20199   # for depending on an impl detail, but c'est la vie.  Older versions used
20200   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20201   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20202   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
20203   # set (hence we're using an older libtool), then set it.
20204   if test x${with_gnu_ld+set} != xset; then
20205     if test x${ac_cv_prog_gnu_ld+set} != xset; then
20206       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
20207       with_gnu_ld=no
20208     else
20209       with_gnu_ld=$ac_cv_prog_gnu_ld
20210     fi
20211   fi
20212
20213   # Start by getting the version number.  I think the libtool test already
20214   # does some of this, but throws away the result.
20215   glibcxx_ld_is_gold=no
20216   if test x"$with_gnu_ld" = x"yes"; then
20217     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20218 $as_echo_n "checking for ld version... " >&6; }
20219
20220     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20221       glibcxx_ld_is_gold=yes
20222     fi
20223     ldver=`$LD --version 2>/dev/null |
20224            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'`
20225
20226     glibcxx_gnu_ld_version=`echo $ldver | \
20227            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20228     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20229 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20230   fi
20231
20232   # Set --gc-sections.
20233   glibcxx_have_gc_sections=no
20234   if test "$glibcxx_ld_is_gold" = "yes"; then
20235     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20236       glibcxx_have_gc_sections=yes
20237     fi
20238   else
20239     glibcxx_gcsections_min_ld=21602
20240     if test x"$with_gnu_ld" = x"yes" &&
20241         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20242       glibcxx_have_gc_sections=yes
20243     fi
20244   fi
20245   if test "$glibcxx_have_gc_sections" = "yes"; then
20246     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
20247     # NB: This flag only works reliably after 2.16.1. Configure tests
20248     # for this are difficult, so hard wire a value that should work.
20249
20250     ac_test_CFLAGS="${CFLAGS+set}"
20251     ac_save_CFLAGS="$CFLAGS"
20252     CFLAGS='-Wl,--gc-sections'
20253
20254     # Check for -Wl,--gc-sections
20255     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20256 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20257     if test x$gcc_no_link = xyes; then
20258   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20259 fi
20260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20261 /* end confdefs.h.  */
20262  int one(void) { return 1; }
20263      int two(void) { return 2; }
20264
20265 int
20266 main ()
20267 {
20268  two();
20269   ;
20270   return 0;
20271 }
20272 _ACEOF
20273 if ac_fn_c_try_link "$LINENO"; then :
20274   ac_gcsections=yes
20275 else
20276   ac_gcsections=no
20277 fi
20278 rm -f core conftest.err conftest.$ac_objext \
20279     conftest$ac_exeext conftest.$ac_ext
20280     if test "$ac_gcsections" = "yes"; then
20281       rm -f conftest.c
20282       touch conftest.c
20283       if $CC -c conftest.c; then
20284         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20285            grep "Warning: gc-sections option ignored" > /dev/null; then
20286           ac_gcsections=no
20287         fi
20288       fi
20289       rm -f conftest.c conftest.o conftest
20290     fi
20291     if test "$ac_gcsections" = "yes"; then
20292       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20293     fi
20294     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20295 $as_echo "$ac_gcsections" >&6; }
20296
20297     if test "$ac_test_CFLAGS" = set; then
20298       CFLAGS="$ac_save_CFLAGS"
20299     else
20300       # this is the suspicious part
20301       CFLAGS=''
20302     fi
20303   fi
20304
20305   # Set -z,relro.
20306   # Note this is only for shared objects.
20307   ac_ld_relro=no
20308   if test x"$with_gnu_ld" = x"yes"; then
20309     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
20310 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
20311     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
20312     if test -n "$cxx_z_relo"; then
20313       OPT_LDFLAGS="-Wl,-z,relro"
20314       ac_ld_relro=yes
20315     fi
20316     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
20317 $as_echo "$ac_ld_relro" >&6; }
20318   fi
20319
20320   # Set linker optimization flags.
20321   if test x"$with_gnu_ld" = x"yes"; then
20322     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
20323   fi
20324
20325
20326
20327
20328
20329   ac_test_CXXFLAGS="${CXXFLAGS+set}"
20330   ac_save_CXXFLAGS="$CXXFLAGS"
20331   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
20332
20333     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20334 $as_echo_n "checking for sin in -lm... " >&6; }
20335 if test "${ac_cv_lib_m_sin+set}" = set; then :
20336   $as_echo_n "(cached) " >&6
20337 else
20338   ac_check_lib_save_LIBS=$LIBS
20339 LIBS="-lm  $LIBS"
20340 if test x$gcc_no_link = xyes; then
20341   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20342 fi
20343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20344 /* end confdefs.h.  */
20345
20346 /* Override any GCC internal prototype to avoid an error.
20347    Use char because int might match the return type of a GCC
20348    builtin and then its argument prototype would still apply.  */
20349 #ifdef __cplusplus
20350 extern "C"
20351 #endif
20352 char sin ();
20353 int
20354 main ()
20355 {
20356 return sin ();
20357   ;
20358   return 0;
20359 }
20360 _ACEOF
20361 if ac_fn_c_try_link "$LINENO"; then :
20362   ac_cv_lib_m_sin=yes
20363 else
20364   ac_cv_lib_m_sin=no
20365 fi
20366 rm -f core conftest.err conftest.$ac_objext \
20367     conftest$ac_exeext conftest.$ac_ext
20368 LIBS=$ac_check_lib_save_LIBS
20369 fi
20370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20371 $as_echo "$ac_cv_lib_m_sin" >&6; }
20372 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20373   libm="-lm"
20374 fi
20375
20376   ac_save_LIBS="$LIBS"
20377   LIBS="$LIBS $libm"
20378
20379
20380
20381   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
20382 $as_echo_n "checking for isinf declaration... " >&6; }
20383   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
20384     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
20385   $as_echo_n "(cached) " >&6
20386 else
20387
20388
20389       ac_ext=cpp
20390 ac_cpp='$CXXCPP $CPPFLAGS'
20391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20394
20395       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20396 /* end confdefs.h.  */
20397 #include <math.h>
20398                       #ifdef HAVE_IEEEFP_H
20399                       #include <ieeefp.h>
20400                       #endif
20401
20402 int
20403 main ()
20404 {
20405  isinf(0);
20406   ;
20407   return 0;
20408 }
20409 _ACEOF
20410 if ac_fn_cxx_try_compile "$LINENO"; then :
20411   glibcxx_cv_func_isinf_use=yes
20412 else
20413   glibcxx_cv_func_isinf_use=no
20414 fi
20415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20416       ac_ext=c
20417 ac_cpp='$CPP $CPPFLAGS'
20418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20421
20422
20423 fi
20424
20425   fi
20426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
20427 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
20428
20429   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
20430     for ac_func in isinf
20431 do :
20432   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
20433 if test "x$ac_cv_func_isinf" = x""yes; then :
20434   cat >>confdefs.h <<_ACEOF
20435 #define HAVE_ISINF 1
20436 _ACEOF
20437
20438 fi
20439 done
20440
20441   else
20442
20443   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
20444 $as_echo_n "checking for _isinf declaration... " >&6; }
20445   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
20446     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
20447   $as_echo_n "(cached) " >&6
20448 else
20449
20450
20451       ac_ext=cpp
20452 ac_cpp='$CXXCPP $CPPFLAGS'
20453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20456
20457       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20458 /* end confdefs.h.  */
20459 #include <math.h>
20460                       #ifdef HAVE_IEEEFP_H
20461                       #include <ieeefp.h>
20462                       #endif
20463
20464 int
20465 main ()
20466 {
20467  _isinf(0);
20468   ;
20469   return 0;
20470 }
20471 _ACEOF
20472 if ac_fn_cxx_try_compile "$LINENO"; then :
20473   glibcxx_cv_func__isinf_use=yes
20474 else
20475   glibcxx_cv_func__isinf_use=no
20476 fi
20477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20478       ac_ext=c
20479 ac_cpp='$CPP $CPPFLAGS'
20480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20483
20484
20485 fi
20486
20487   fi
20488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
20489 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
20490
20491     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
20492       for ac_func in _isinf
20493 do :
20494   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
20495 if test "x$ac_cv_func__isinf" = x""yes; then :
20496   cat >>confdefs.h <<_ACEOF
20497 #define HAVE__ISINF 1
20498 _ACEOF
20499
20500 fi
20501 done
20502
20503     fi
20504   fi
20505
20506
20507
20508
20509
20510   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
20511 $as_echo_n "checking for isnan declaration... " >&6; }
20512   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
20513     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
20514   $as_echo_n "(cached) " >&6
20515 else
20516
20517
20518       ac_ext=cpp
20519 ac_cpp='$CXXCPP $CPPFLAGS'
20520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20523
20524       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20525 /* end confdefs.h.  */
20526 #include <math.h>
20527                       #ifdef HAVE_IEEEFP_H
20528                       #include <ieeefp.h>
20529                       #endif
20530
20531 int
20532 main ()
20533 {
20534  isnan(0);
20535   ;
20536   return 0;
20537 }
20538 _ACEOF
20539 if ac_fn_cxx_try_compile "$LINENO"; then :
20540   glibcxx_cv_func_isnan_use=yes
20541 else
20542   glibcxx_cv_func_isnan_use=no
20543 fi
20544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20545       ac_ext=c
20546 ac_cpp='$CPP $CPPFLAGS'
20547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20550
20551
20552 fi
20553
20554   fi
20555   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
20556 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
20557
20558   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
20559     for ac_func in isnan
20560 do :
20561   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
20562 if test "x$ac_cv_func_isnan" = x""yes; then :
20563   cat >>confdefs.h <<_ACEOF
20564 #define HAVE_ISNAN 1
20565 _ACEOF
20566
20567 fi
20568 done
20569
20570   else
20571
20572   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
20573 $as_echo_n "checking for _isnan declaration... " >&6; }
20574   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
20575     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
20576   $as_echo_n "(cached) " >&6
20577 else
20578
20579
20580       ac_ext=cpp
20581 ac_cpp='$CXXCPP $CPPFLAGS'
20582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20585
20586       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20587 /* end confdefs.h.  */
20588 #include <math.h>
20589                       #ifdef HAVE_IEEEFP_H
20590                       #include <ieeefp.h>
20591                       #endif
20592
20593 int
20594 main ()
20595 {
20596  _isnan(0);
20597   ;
20598   return 0;
20599 }
20600 _ACEOF
20601 if ac_fn_cxx_try_compile "$LINENO"; then :
20602   glibcxx_cv_func__isnan_use=yes
20603 else
20604   glibcxx_cv_func__isnan_use=no
20605 fi
20606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20607       ac_ext=c
20608 ac_cpp='$CPP $CPPFLAGS'
20609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20612
20613
20614 fi
20615
20616   fi
20617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
20618 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
20619
20620     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20621       for ac_func in _isnan
20622 do :
20623   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20624 if test "x$ac_cv_func__isnan" = x""yes; then :
20625   cat >>confdefs.h <<_ACEOF
20626 #define HAVE__ISNAN 1
20627 _ACEOF
20628
20629 fi
20630 done
20631
20632     fi
20633   fi
20634
20635
20636
20637
20638
20639   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
20640 $as_echo_n "checking for finite declaration... " >&6; }
20641   if test x${glibcxx_cv_func_finite_use+set} != xset; then
20642     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
20643   $as_echo_n "(cached) " >&6
20644 else
20645
20646
20647       ac_ext=cpp
20648 ac_cpp='$CXXCPP $CPPFLAGS'
20649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20652
20653       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20654 /* end confdefs.h.  */
20655 #include <math.h>
20656                       #ifdef HAVE_IEEEFP_H
20657                       #include <ieeefp.h>
20658                       #endif
20659
20660 int
20661 main ()
20662 {
20663  finite(0);
20664   ;
20665   return 0;
20666 }
20667 _ACEOF
20668 if ac_fn_cxx_try_compile "$LINENO"; then :
20669   glibcxx_cv_func_finite_use=yes
20670 else
20671   glibcxx_cv_func_finite_use=no
20672 fi
20673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20674       ac_ext=c
20675 ac_cpp='$CPP $CPPFLAGS'
20676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20679
20680
20681 fi
20682
20683   fi
20684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
20685 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
20686
20687   if test x$glibcxx_cv_func_finite_use = x"yes"; then
20688     for ac_func in finite
20689 do :
20690   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
20691 if test "x$ac_cv_func_finite" = x""yes; then :
20692   cat >>confdefs.h <<_ACEOF
20693 #define HAVE_FINITE 1
20694 _ACEOF
20695
20696 fi
20697 done
20698
20699   else
20700
20701   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
20702 $as_echo_n "checking for _finite declaration... " >&6; }
20703   if test x${glibcxx_cv_func__finite_use+set} != xset; then
20704     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
20705   $as_echo_n "(cached) " >&6
20706 else
20707
20708
20709       ac_ext=cpp
20710 ac_cpp='$CXXCPP $CPPFLAGS'
20711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20714
20715       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20716 /* end confdefs.h.  */
20717 #include <math.h>
20718                       #ifdef HAVE_IEEEFP_H
20719                       #include <ieeefp.h>
20720                       #endif
20721
20722 int
20723 main ()
20724 {
20725  _finite(0);
20726   ;
20727   return 0;
20728 }
20729 _ACEOF
20730 if ac_fn_cxx_try_compile "$LINENO"; then :
20731   glibcxx_cv_func__finite_use=yes
20732 else
20733   glibcxx_cv_func__finite_use=no
20734 fi
20735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20736       ac_ext=c
20737 ac_cpp='$CPP $CPPFLAGS'
20738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20741
20742
20743 fi
20744
20745   fi
20746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
20747 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
20748
20749     if test x$glibcxx_cv_func__finite_use = x"yes"; then
20750       for ac_func in _finite
20751 do :
20752   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
20753 if test "x$ac_cv_func__finite" = x""yes; then :
20754   cat >>confdefs.h <<_ACEOF
20755 #define HAVE__FINITE 1
20756 _ACEOF
20757
20758 fi
20759 done
20760
20761     fi
20762   fi
20763
20764
20765
20766
20767
20768   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
20769 $as_echo_n "checking for sincos declaration... " >&6; }
20770   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
20771     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
20772   $as_echo_n "(cached) " >&6
20773 else
20774
20775
20776       ac_ext=cpp
20777 ac_cpp='$CXXCPP $CPPFLAGS'
20778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20781
20782       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20783 /* end confdefs.h.  */
20784 #include <math.h>
20785 int
20786 main ()
20787 {
20788  sincos(0, 0, 0);
20789   ;
20790   return 0;
20791 }
20792 _ACEOF
20793 if ac_fn_cxx_try_compile "$LINENO"; then :
20794   glibcxx_cv_func_sincos_use=yes
20795 else
20796   glibcxx_cv_func_sincos_use=no
20797 fi
20798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20799       ac_ext=c
20800 ac_cpp='$CPP $CPPFLAGS'
20801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20804
20805
20806 fi
20807
20808   fi
20809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
20810 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
20811
20812   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
20813     for ac_func in sincos
20814 do :
20815   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
20816 if test "x$ac_cv_func_sincos" = x""yes; then :
20817   cat >>confdefs.h <<_ACEOF
20818 #define HAVE_SINCOS 1
20819 _ACEOF
20820
20821 fi
20822 done
20823
20824   else
20825
20826   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
20827 $as_echo_n "checking for _sincos declaration... " >&6; }
20828   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
20829     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
20830   $as_echo_n "(cached) " >&6
20831 else
20832
20833
20834       ac_ext=cpp
20835 ac_cpp='$CXXCPP $CPPFLAGS'
20836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20839
20840       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20841 /* end confdefs.h.  */
20842 #include <math.h>
20843 int
20844 main ()
20845 {
20846  _sincos(0, 0, 0);
20847   ;
20848   return 0;
20849 }
20850 _ACEOF
20851 if ac_fn_cxx_try_compile "$LINENO"; then :
20852   glibcxx_cv_func__sincos_use=yes
20853 else
20854   glibcxx_cv_func__sincos_use=no
20855 fi
20856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20857       ac_ext=c
20858 ac_cpp='$CPP $CPPFLAGS'
20859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20862
20863
20864 fi
20865
20866   fi
20867   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
20868 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
20869
20870     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
20871       for ac_func in _sincos
20872 do :
20873   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
20874 if test "x$ac_cv_func__sincos" = x""yes; then :
20875   cat >>confdefs.h <<_ACEOF
20876 #define HAVE__SINCOS 1
20877 _ACEOF
20878
20879 fi
20880 done
20881
20882     fi
20883   fi
20884
20885
20886
20887
20888
20889   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
20890 $as_echo_n "checking for fpclass declaration... " >&6; }
20891   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
20892     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
20893   $as_echo_n "(cached) " >&6
20894 else
20895
20896
20897       ac_ext=cpp
20898 ac_cpp='$CXXCPP $CPPFLAGS'
20899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20902
20903       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20904 /* end confdefs.h.  */
20905 #include <math.h>
20906                       #ifdef HAVE_IEEEFP_H
20907                       #include <ieeefp.h>
20908                       #endif
20909
20910 int
20911 main ()
20912 {
20913  fpclass(0);
20914   ;
20915   return 0;
20916 }
20917 _ACEOF
20918 if ac_fn_cxx_try_compile "$LINENO"; then :
20919   glibcxx_cv_func_fpclass_use=yes
20920 else
20921   glibcxx_cv_func_fpclass_use=no
20922 fi
20923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20924       ac_ext=c
20925 ac_cpp='$CPP $CPPFLAGS'
20926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20929
20930
20931 fi
20932
20933   fi
20934   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
20935 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
20936
20937   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
20938     for ac_func in fpclass
20939 do :
20940   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
20941 if test "x$ac_cv_func_fpclass" = x""yes; then :
20942   cat >>confdefs.h <<_ACEOF
20943 #define HAVE_FPCLASS 1
20944 _ACEOF
20945
20946 fi
20947 done
20948
20949   else
20950
20951   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
20952 $as_echo_n "checking for _fpclass declaration... " >&6; }
20953   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
20954     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
20955   $as_echo_n "(cached) " >&6
20956 else
20957
20958
20959       ac_ext=cpp
20960 ac_cpp='$CXXCPP $CPPFLAGS'
20961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20964
20965       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20966 /* end confdefs.h.  */
20967 #include <math.h>
20968                       #ifdef HAVE_IEEEFP_H
20969                       #include <ieeefp.h>
20970                       #endif
20971
20972 int
20973 main ()
20974 {
20975  _fpclass(0);
20976   ;
20977   return 0;
20978 }
20979 _ACEOF
20980 if ac_fn_cxx_try_compile "$LINENO"; then :
20981   glibcxx_cv_func__fpclass_use=yes
20982 else
20983   glibcxx_cv_func__fpclass_use=no
20984 fi
20985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20986       ac_ext=c
20987 ac_cpp='$CPP $CPPFLAGS'
20988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20991
20992
20993 fi
20994
20995   fi
20996   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
20997 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
20998
20999     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21000       for ac_func in _fpclass
21001 do :
21002   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21003 if test "x$ac_cv_func__fpclass" = x""yes; then :
21004   cat >>confdefs.h <<_ACEOF
21005 #define HAVE__FPCLASS 1
21006 _ACEOF
21007
21008 fi
21009 done
21010
21011     fi
21012   fi
21013
21014
21015
21016
21017
21018   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21019 $as_echo_n "checking for qfpclass declaration... " >&6; }
21020   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21021     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21022   $as_echo_n "(cached) " >&6
21023 else
21024
21025
21026       ac_ext=cpp
21027 ac_cpp='$CXXCPP $CPPFLAGS'
21028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21031
21032       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21033 /* end confdefs.h.  */
21034 #include <math.h>
21035                       #ifdef HAVE_IEEEFP_H
21036                       #include <ieeefp.h>
21037                       #endif
21038
21039 int
21040 main ()
21041 {
21042  qfpclass(0);
21043   ;
21044   return 0;
21045 }
21046 _ACEOF
21047 if ac_fn_cxx_try_compile "$LINENO"; then :
21048   glibcxx_cv_func_qfpclass_use=yes
21049 else
21050   glibcxx_cv_func_qfpclass_use=no
21051 fi
21052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21053       ac_ext=c
21054 ac_cpp='$CPP $CPPFLAGS'
21055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21058
21059
21060 fi
21061
21062   fi
21063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21064 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21065
21066   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21067     for ac_func in qfpclass
21068 do :
21069   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21070 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21071   cat >>confdefs.h <<_ACEOF
21072 #define HAVE_QFPCLASS 1
21073 _ACEOF
21074
21075 fi
21076 done
21077
21078   else
21079
21080   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21081 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21082   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21083     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21084   $as_echo_n "(cached) " >&6
21085 else
21086
21087
21088       ac_ext=cpp
21089 ac_cpp='$CXXCPP $CPPFLAGS'
21090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21093
21094       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21095 /* end confdefs.h.  */
21096 #include <math.h>
21097                       #ifdef HAVE_IEEEFP_H
21098                       #include <ieeefp.h>
21099                       #endif
21100
21101 int
21102 main ()
21103 {
21104  _qfpclass(0);
21105   ;
21106   return 0;
21107 }
21108 _ACEOF
21109 if ac_fn_cxx_try_compile "$LINENO"; then :
21110   glibcxx_cv_func__qfpclass_use=yes
21111 else
21112   glibcxx_cv_func__qfpclass_use=no
21113 fi
21114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21115       ac_ext=c
21116 ac_cpp='$CPP $CPPFLAGS'
21117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21120
21121
21122 fi
21123
21124   fi
21125   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21126 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21127
21128     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21129       for ac_func in _qfpclass
21130 do :
21131   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21132 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21133   cat >>confdefs.h <<_ACEOF
21134 #define HAVE__QFPCLASS 1
21135 _ACEOF
21136
21137 fi
21138 done
21139
21140     fi
21141   fi
21142
21143
21144
21145
21146
21147   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21148 $as_echo_n "checking for hypot declaration... " >&6; }
21149   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21150     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21151   $as_echo_n "(cached) " >&6
21152 else
21153
21154
21155       ac_ext=cpp
21156 ac_cpp='$CXXCPP $CPPFLAGS'
21157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21160
21161       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21162 /* end confdefs.h.  */
21163 #include <math.h>
21164 int
21165 main ()
21166 {
21167  hypot(0, 0);
21168   ;
21169   return 0;
21170 }
21171 _ACEOF
21172 if ac_fn_cxx_try_compile "$LINENO"; then :
21173   glibcxx_cv_func_hypot_use=yes
21174 else
21175   glibcxx_cv_func_hypot_use=no
21176 fi
21177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21178       ac_ext=c
21179 ac_cpp='$CPP $CPPFLAGS'
21180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21183
21184
21185 fi
21186
21187   fi
21188   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21189 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21190
21191   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21192     for ac_func in hypot
21193 do :
21194   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21195 if test "x$ac_cv_func_hypot" = x""yes; then :
21196   cat >>confdefs.h <<_ACEOF
21197 #define HAVE_HYPOT 1
21198 _ACEOF
21199
21200 fi
21201 done
21202
21203   else
21204
21205   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21206 $as_echo_n "checking for _hypot declaration... " >&6; }
21207   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21208     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21209   $as_echo_n "(cached) " >&6
21210 else
21211
21212
21213       ac_ext=cpp
21214 ac_cpp='$CXXCPP $CPPFLAGS'
21215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21218
21219       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21220 /* end confdefs.h.  */
21221 #include <math.h>
21222 int
21223 main ()
21224 {
21225  _hypot(0, 0);
21226   ;
21227   return 0;
21228 }
21229 _ACEOF
21230 if ac_fn_cxx_try_compile "$LINENO"; then :
21231   glibcxx_cv_func__hypot_use=yes
21232 else
21233   glibcxx_cv_func__hypot_use=no
21234 fi
21235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21236       ac_ext=c
21237 ac_cpp='$CPP $CPPFLAGS'
21238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21241
21242
21243 fi
21244
21245   fi
21246   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21247 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21248
21249     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21250       for ac_func in _hypot
21251 do :
21252   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21253 if test "x$ac_cv_func__hypot" = x""yes; then :
21254   cat >>confdefs.h <<_ACEOF
21255 #define HAVE__HYPOT 1
21256 _ACEOF
21257
21258 fi
21259 done
21260
21261     fi
21262   fi
21263
21264
21265
21266
21267
21268     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21269 $as_echo_n "checking for float trig functions... " >&6; }
21270   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21271   $as_echo_n "(cached) " >&6
21272 else
21273
21274
21275     ac_ext=cpp
21276 ac_cpp='$CXXCPP $CPPFLAGS'
21277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21280
21281     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21282 /* end confdefs.h.  */
21283 #include <math.h>
21284 int
21285 main ()
21286 {
21287 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21288   ;
21289   return 0;
21290 }
21291 _ACEOF
21292 if ac_fn_cxx_try_compile "$LINENO"; then :
21293   glibcxx_cv_func_float_trig_use=yes
21294 else
21295   glibcxx_cv_func_float_trig_use=no
21296 fi
21297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21298     ac_ext=c
21299 ac_cpp='$CPP $CPPFLAGS'
21300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21303
21304 fi
21305
21306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
21307 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
21308   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21309     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21310 do :
21311   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21312 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21313 eval as_val=\$$as_ac_var
21314    if test "x$as_val" = x""yes; then :
21315   cat >>confdefs.h <<_ACEOF
21316 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21317 _ACEOF
21318
21319 fi
21320 done
21321
21322   else
21323     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
21324 $as_echo_n "checking for _float trig functions... " >&6; }
21325     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
21326   $as_echo_n "(cached) " >&6
21327 else
21328
21329
21330       ac_ext=cpp
21331 ac_cpp='$CXXCPP $CPPFLAGS'
21332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21335
21336       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21337 /* end confdefs.h.  */
21338 #include <math.h>
21339 int
21340 main ()
21341 {
21342 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21343   ;
21344   return 0;
21345 }
21346 _ACEOF
21347 if ac_fn_cxx_try_compile "$LINENO"; then :
21348   glibcxx_cv_func__float_trig_use=yes
21349 else
21350   glibcxx_cv_func__float_trig_use=no
21351 fi
21352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21353       ac_ext=c
21354 ac_cpp='$CPP $CPPFLAGS'
21355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21358
21359 fi
21360
21361     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
21362 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
21363     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21364       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21365 do :
21366   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21367 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21368 eval as_val=\$$as_ac_var
21369    if test "x$as_val" = x""yes; then :
21370   cat >>confdefs.h <<_ACEOF
21371 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21372 _ACEOF
21373
21374 fi
21375 done
21376
21377     fi
21378   fi
21379
21380
21381
21382
21383
21384     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
21385 $as_echo_n "checking for float round functions... " >&6; }
21386   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
21387   $as_echo_n "(cached) " >&6
21388 else
21389
21390
21391     ac_ext=cpp
21392 ac_cpp='$CXXCPP $CPPFLAGS'
21393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21396
21397     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21398 /* end confdefs.h.  */
21399 #include <math.h>
21400 int
21401 main ()
21402 {
21403 ceilf (0); floorf (0);
21404   ;
21405   return 0;
21406 }
21407 _ACEOF
21408 if ac_fn_cxx_try_compile "$LINENO"; then :
21409   glibcxx_cv_func_float_round_use=yes
21410 else
21411   glibcxx_cv_func_float_round_use=no
21412 fi
21413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21414     ac_ext=c
21415 ac_cpp='$CPP $CPPFLAGS'
21416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21419
21420 fi
21421
21422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
21423 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
21424   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
21425     for ac_func in ceilf floorf
21426 do :
21427   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21428 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21429 eval as_val=\$$as_ac_var
21430    if test "x$as_val" = x""yes; then :
21431   cat >>confdefs.h <<_ACEOF
21432 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21433 _ACEOF
21434
21435 fi
21436 done
21437
21438   else
21439     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
21440 $as_echo_n "checking for _float round functions... " >&6; }
21441     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
21442   $as_echo_n "(cached) " >&6
21443 else
21444
21445
21446       ac_ext=cpp
21447 ac_cpp='$CXXCPP $CPPFLAGS'
21448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21451
21452       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21453 /* end confdefs.h.  */
21454 #include <math.h>
21455 int
21456 main ()
21457 {
21458 _ceilf (0); _floorf (0);
21459   ;
21460   return 0;
21461 }
21462 _ACEOF
21463 if ac_fn_cxx_try_compile "$LINENO"; then :
21464   glibcxx_cv_func__float_round_use=yes
21465 else
21466   glibcxx_cv_func__float_round_use=no
21467 fi
21468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21469       ac_ext=c
21470 ac_cpp='$CPP $CPPFLAGS'
21471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21474
21475 fi
21476
21477     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
21478 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
21479     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21480       for ac_func in _ceilf _floorf
21481 do :
21482   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21483 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21484 eval as_val=\$$as_ac_var
21485    if test "x$as_val" = x""yes; then :
21486   cat >>confdefs.h <<_ACEOF
21487 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21488 _ACEOF
21489
21490 fi
21491 done
21492
21493     fi
21494   fi
21495
21496
21497
21498
21499
21500
21501   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
21502 $as_echo_n "checking for expf declaration... " >&6; }
21503   if test x${glibcxx_cv_func_expf_use+set} != xset; then
21504     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
21505   $as_echo_n "(cached) " >&6
21506 else
21507
21508
21509       ac_ext=cpp
21510 ac_cpp='$CXXCPP $CPPFLAGS'
21511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21514
21515       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21516 /* end confdefs.h.  */
21517 #include <math.h>
21518                       #ifdef HAVE_IEEEFP_H
21519                       #include <ieeefp.h>
21520                       #endif
21521
21522 int
21523 main ()
21524 {
21525  expf(0);
21526   ;
21527   return 0;
21528 }
21529 _ACEOF
21530 if ac_fn_cxx_try_compile "$LINENO"; then :
21531   glibcxx_cv_func_expf_use=yes
21532 else
21533   glibcxx_cv_func_expf_use=no
21534 fi
21535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21536       ac_ext=c
21537 ac_cpp='$CPP $CPPFLAGS'
21538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21541
21542
21543 fi
21544
21545   fi
21546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
21547 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
21548
21549   if test x$glibcxx_cv_func_expf_use = x"yes"; then
21550     for ac_func in expf
21551 do :
21552   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
21553 if test "x$ac_cv_func_expf" = x""yes; then :
21554   cat >>confdefs.h <<_ACEOF
21555 #define HAVE_EXPF 1
21556 _ACEOF
21557
21558 fi
21559 done
21560
21561   else
21562
21563   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
21564 $as_echo_n "checking for _expf declaration... " >&6; }
21565   if test x${glibcxx_cv_func__expf_use+set} != xset; then
21566     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
21567   $as_echo_n "(cached) " >&6
21568 else
21569
21570
21571       ac_ext=cpp
21572 ac_cpp='$CXXCPP $CPPFLAGS'
21573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21576
21577       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21578 /* end confdefs.h.  */
21579 #include <math.h>
21580                       #ifdef HAVE_IEEEFP_H
21581                       #include <ieeefp.h>
21582                       #endif
21583
21584 int
21585 main ()
21586 {
21587  _expf(0);
21588   ;
21589   return 0;
21590 }
21591 _ACEOF
21592 if ac_fn_cxx_try_compile "$LINENO"; then :
21593   glibcxx_cv_func__expf_use=yes
21594 else
21595   glibcxx_cv_func__expf_use=no
21596 fi
21597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21598       ac_ext=c
21599 ac_cpp='$CPP $CPPFLAGS'
21600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21603
21604
21605 fi
21606
21607   fi
21608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
21609 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
21610
21611     if test x$glibcxx_cv_func__expf_use = x"yes"; then
21612       for ac_func in _expf
21613 do :
21614   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
21615 if test "x$ac_cv_func__expf" = x""yes; then :
21616   cat >>confdefs.h <<_ACEOF
21617 #define HAVE__EXPF 1
21618 _ACEOF
21619
21620 fi
21621 done
21622
21623     fi
21624   fi
21625
21626
21627
21628
21629
21630   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21631 $as_echo_n "checking for isnanf declaration... " >&6; }
21632   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21633     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21634   $as_echo_n "(cached) " >&6
21635 else
21636
21637
21638       ac_ext=cpp
21639 ac_cpp='$CXXCPP $CPPFLAGS'
21640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21643
21644       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21645 /* end confdefs.h.  */
21646 #include <math.h>
21647                       #ifdef HAVE_IEEEFP_H
21648                       #include <ieeefp.h>
21649                       #endif
21650
21651 int
21652 main ()
21653 {
21654  isnanf(0);
21655   ;
21656   return 0;
21657 }
21658 _ACEOF
21659 if ac_fn_cxx_try_compile "$LINENO"; then :
21660   glibcxx_cv_func_isnanf_use=yes
21661 else
21662   glibcxx_cv_func_isnanf_use=no
21663 fi
21664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21665       ac_ext=c
21666 ac_cpp='$CPP $CPPFLAGS'
21667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21670
21671
21672 fi
21673
21674   fi
21675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
21676 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
21677
21678   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21679     for ac_func in isnanf
21680 do :
21681   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
21682 if test "x$ac_cv_func_isnanf" = x""yes; then :
21683   cat >>confdefs.h <<_ACEOF
21684 #define HAVE_ISNANF 1
21685 _ACEOF
21686
21687 fi
21688 done
21689
21690   else
21691
21692   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
21693 $as_echo_n "checking for _isnanf declaration... " >&6; }
21694   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
21695     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
21696   $as_echo_n "(cached) " >&6
21697 else
21698
21699
21700       ac_ext=cpp
21701 ac_cpp='$CXXCPP $CPPFLAGS'
21702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21705
21706       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21707 /* end confdefs.h.  */
21708 #include <math.h>
21709                       #ifdef HAVE_IEEEFP_H
21710                       #include <ieeefp.h>
21711                       #endif
21712
21713 int
21714 main ()
21715 {
21716  _isnanf(0);
21717   ;
21718   return 0;
21719 }
21720 _ACEOF
21721 if ac_fn_cxx_try_compile "$LINENO"; then :
21722   glibcxx_cv_func__isnanf_use=yes
21723 else
21724   glibcxx_cv_func__isnanf_use=no
21725 fi
21726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21727       ac_ext=c
21728 ac_cpp='$CPP $CPPFLAGS'
21729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21732
21733
21734 fi
21735
21736   fi
21737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
21738 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
21739
21740     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
21741       for ac_func in _isnanf
21742 do :
21743   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
21744 if test "x$ac_cv_func__isnanf" = x""yes; then :
21745   cat >>confdefs.h <<_ACEOF
21746 #define HAVE__ISNANF 1
21747 _ACEOF
21748
21749 fi
21750 done
21751
21752     fi
21753   fi
21754
21755
21756
21757
21758
21759   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
21760 $as_echo_n "checking for isinff declaration... " >&6; }
21761   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
21762     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
21763   $as_echo_n "(cached) " >&6
21764 else
21765
21766
21767       ac_ext=cpp
21768 ac_cpp='$CXXCPP $CPPFLAGS'
21769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21772
21773       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21774 /* end confdefs.h.  */
21775 #include <math.h>
21776                       #ifdef HAVE_IEEEFP_H
21777                       #include <ieeefp.h>
21778                       #endif
21779
21780 int
21781 main ()
21782 {
21783  isinff(0);
21784   ;
21785   return 0;
21786 }
21787 _ACEOF
21788 if ac_fn_cxx_try_compile "$LINENO"; then :
21789   glibcxx_cv_func_isinff_use=yes
21790 else
21791   glibcxx_cv_func_isinff_use=no
21792 fi
21793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21794       ac_ext=c
21795 ac_cpp='$CPP $CPPFLAGS'
21796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21799
21800
21801 fi
21802
21803   fi
21804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
21805 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
21806
21807   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
21808     for ac_func in isinff
21809 do :
21810   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
21811 if test "x$ac_cv_func_isinff" = x""yes; then :
21812   cat >>confdefs.h <<_ACEOF
21813 #define HAVE_ISINFF 1
21814 _ACEOF
21815
21816 fi
21817 done
21818
21819   else
21820
21821   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
21822 $as_echo_n "checking for _isinff declaration... " >&6; }
21823   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
21824     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
21825   $as_echo_n "(cached) " >&6
21826 else
21827
21828
21829       ac_ext=cpp
21830 ac_cpp='$CXXCPP $CPPFLAGS'
21831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21834
21835       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21836 /* end confdefs.h.  */
21837 #include <math.h>
21838                       #ifdef HAVE_IEEEFP_H
21839                       #include <ieeefp.h>
21840                       #endif
21841
21842 int
21843 main ()
21844 {
21845  _isinff(0);
21846   ;
21847   return 0;
21848 }
21849 _ACEOF
21850 if ac_fn_cxx_try_compile "$LINENO"; then :
21851   glibcxx_cv_func__isinff_use=yes
21852 else
21853   glibcxx_cv_func__isinff_use=no
21854 fi
21855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21856       ac_ext=c
21857 ac_cpp='$CPP $CPPFLAGS'
21858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21861
21862
21863 fi
21864
21865   fi
21866   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
21867 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
21868
21869     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
21870       for ac_func in _isinff
21871 do :
21872   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
21873 if test "x$ac_cv_func__isinff" = x""yes; then :
21874   cat >>confdefs.h <<_ACEOF
21875 #define HAVE__ISINFF 1
21876 _ACEOF
21877
21878 fi
21879 done
21880
21881     fi
21882   fi
21883
21884
21885
21886
21887
21888   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
21889 $as_echo_n "checking for atan2f declaration... " >&6; }
21890   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
21891     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
21892   $as_echo_n "(cached) " >&6
21893 else
21894
21895
21896       ac_ext=cpp
21897 ac_cpp='$CXXCPP $CPPFLAGS'
21898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21901
21902       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21903 /* end confdefs.h.  */
21904 #include <math.h>
21905 int
21906 main ()
21907 {
21908  atan2f(0, 0);
21909   ;
21910   return 0;
21911 }
21912 _ACEOF
21913 if ac_fn_cxx_try_compile "$LINENO"; then :
21914   glibcxx_cv_func_atan2f_use=yes
21915 else
21916   glibcxx_cv_func_atan2f_use=no
21917 fi
21918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21919       ac_ext=c
21920 ac_cpp='$CPP $CPPFLAGS'
21921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21924
21925
21926 fi
21927
21928   fi
21929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
21930 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
21931
21932   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
21933     for ac_func in atan2f
21934 do :
21935   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
21936 if test "x$ac_cv_func_atan2f" = x""yes; then :
21937   cat >>confdefs.h <<_ACEOF
21938 #define HAVE_ATAN2F 1
21939 _ACEOF
21940
21941 fi
21942 done
21943
21944   else
21945
21946   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
21947 $as_echo_n "checking for _atan2f declaration... " >&6; }
21948   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
21949     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
21950   $as_echo_n "(cached) " >&6
21951 else
21952
21953
21954       ac_ext=cpp
21955 ac_cpp='$CXXCPP $CPPFLAGS'
21956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21959
21960       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21961 /* end confdefs.h.  */
21962 #include <math.h>
21963 int
21964 main ()
21965 {
21966  _atan2f(0, 0);
21967   ;
21968   return 0;
21969 }
21970 _ACEOF
21971 if ac_fn_cxx_try_compile "$LINENO"; then :
21972   glibcxx_cv_func__atan2f_use=yes
21973 else
21974   glibcxx_cv_func__atan2f_use=no
21975 fi
21976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21977       ac_ext=c
21978 ac_cpp='$CPP $CPPFLAGS'
21979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21982
21983
21984 fi
21985
21986   fi
21987   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
21988 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
21989
21990     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
21991       for ac_func in _atan2f
21992 do :
21993   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
21994 if test "x$ac_cv_func__atan2f" = x""yes; then :
21995   cat >>confdefs.h <<_ACEOF
21996 #define HAVE__ATAN2F 1
21997 _ACEOF
21998
21999 fi
22000 done
22001
22002     fi
22003   fi
22004
22005
22006
22007
22008
22009   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22010 $as_echo_n "checking for fabsf declaration... " >&6; }
22011   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22012     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22013   $as_echo_n "(cached) " >&6
22014 else
22015
22016
22017       ac_ext=cpp
22018 ac_cpp='$CXXCPP $CPPFLAGS'
22019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22022
22023       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22024 /* end confdefs.h.  */
22025 #include <math.h>
22026                       #ifdef HAVE_IEEEFP_H
22027                       #include <ieeefp.h>
22028                       #endif
22029
22030 int
22031 main ()
22032 {
22033  fabsf(0);
22034   ;
22035   return 0;
22036 }
22037 _ACEOF
22038 if ac_fn_cxx_try_compile "$LINENO"; then :
22039   glibcxx_cv_func_fabsf_use=yes
22040 else
22041   glibcxx_cv_func_fabsf_use=no
22042 fi
22043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22044       ac_ext=c
22045 ac_cpp='$CPP $CPPFLAGS'
22046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22049
22050
22051 fi
22052
22053   fi
22054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22055 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22056
22057   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22058     for ac_func in fabsf
22059 do :
22060   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22061 if test "x$ac_cv_func_fabsf" = x""yes; then :
22062   cat >>confdefs.h <<_ACEOF
22063 #define HAVE_FABSF 1
22064 _ACEOF
22065
22066 fi
22067 done
22068
22069   else
22070
22071   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22072 $as_echo_n "checking for _fabsf declaration... " >&6; }
22073   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22074     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22075   $as_echo_n "(cached) " >&6
22076 else
22077
22078
22079       ac_ext=cpp
22080 ac_cpp='$CXXCPP $CPPFLAGS'
22081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22084
22085       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22086 /* end confdefs.h.  */
22087 #include <math.h>
22088                       #ifdef HAVE_IEEEFP_H
22089                       #include <ieeefp.h>
22090                       #endif
22091
22092 int
22093 main ()
22094 {
22095  _fabsf(0);
22096   ;
22097   return 0;
22098 }
22099 _ACEOF
22100 if ac_fn_cxx_try_compile "$LINENO"; then :
22101   glibcxx_cv_func__fabsf_use=yes
22102 else
22103   glibcxx_cv_func__fabsf_use=no
22104 fi
22105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22106       ac_ext=c
22107 ac_cpp='$CPP $CPPFLAGS'
22108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22111
22112
22113 fi
22114
22115   fi
22116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22117 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22118
22119     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22120       for ac_func in _fabsf
22121 do :
22122   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22123 if test "x$ac_cv_func__fabsf" = x""yes; then :
22124   cat >>confdefs.h <<_ACEOF
22125 #define HAVE__FABSF 1
22126 _ACEOF
22127
22128 fi
22129 done
22130
22131     fi
22132   fi
22133
22134
22135
22136
22137
22138   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22139 $as_echo_n "checking for fmodf declaration... " >&6; }
22140   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22141     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22142   $as_echo_n "(cached) " >&6
22143 else
22144
22145
22146       ac_ext=cpp
22147 ac_cpp='$CXXCPP $CPPFLAGS'
22148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22151
22152       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22153 /* end confdefs.h.  */
22154 #include <math.h>
22155 int
22156 main ()
22157 {
22158  fmodf(0, 0);
22159   ;
22160   return 0;
22161 }
22162 _ACEOF
22163 if ac_fn_cxx_try_compile "$LINENO"; then :
22164   glibcxx_cv_func_fmodf_use=yes
22165 else
22166   glibcxx_cv_func_fmodf_use=no
22167 fi
22168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22169       ac_ext=c
22170 ac_cpp='$CPP $CPPFLAGS'
22171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22174
22175
22176 fi
22177
22178   fi
22179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22180 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22181
22182   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22183     for ac_func in fmodf
22184 do :
22185   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22186 if test "x$ac_cv_func_fmodf" = x""yes; then :
22187   cat >>confdefs.h <<_ACEOF
22188 #define HAVE_FMODF 1
22189 _ACEOF
22190
22191 fi
22192 done
22193
22194   else
22195
22196   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22197 $as_echo_n "checking for _fmodf declaration... " >&6; }
22198   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22199     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22200   $as_echo_n "(cached) " >&6
22201 else
22202
22203
22204       ac_ext=cpp
22205 ac_cpp='$CXXCPP $CPPFLAGS'
22206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22209
22210       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22211 /* end confdefs.h.  */
22212 #include <math.h>
22213 int
22214 main ()
22215 {
22216  _fmodf(0, 0);
22217   ;
22218   return 0;
22219 }
22220 _ACEOF
22221 if ac_fn_cxx_try_compile "$LINENO"; then :
22222   glibcxx_cv_func__fmodf_use=yes
22223 else
22224   glibcxx_cv_func__fmodf_use=no
22225 fi
22226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22227       ac_ext=c
22228 ac_cpp='$CPP $CPPFLAGS'
22229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22232
22233
22234 fi
22235
22236   fi
22237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22238 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22239
22240     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22241       for ac_func in _fmodf
22242 do :
22243   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22244 if test "x$ac_cv_func__fmodf" = x""yes; then :
22245   cat >>confdefs.h <<_ACEOF
22246 #define HAVE__FMODF 1
22247 _ACEOF
22248
22249 fi
22250 done
22251
22252     fi
22253   fi
22254
22255
22256
22257
22258
22259   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22260 $as_echo_n "checking for frexpf declaration... " >&6; }
22261   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22262     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22263   $as_echo_n "(cached) " >&6
22264 else
22265
22266
22267       ac_ext=cpp
22268 ac_cpp='$CXXCPP $CPPFLAGS'
22269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22272
22273       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22274 /* end confdefs.h.  */
22275 #include <math.h>
22276 int
22277 main ()
22278 {
22279  frexpf(0, 0);
22280   ;
22281   return 0;
22282 }
22283 _ACEOF
22284 if ac_fn_cxx_try_compile "$LINENO"; then :
22285   glibcxx_cv_func_frexpf_use=yes
22286 else
22287   glibcxx_cv_func_frexpf_use=no
22288 fi
22289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22290       ac_ext=c
22291 ac_cpp='$CPP $CPPFLAGS'
22292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22295
22296
22297 fi
22298
22299   fi
22300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
22301 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
22302
22303   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
22304     for ac_func in frexpf
22305 do :
22306   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
22307 if test "x$ac_cv_func_frexpf" = x""yes; then :
22308   cat >>confdefs.h <<_ACEOF
22309 #define HAVE_FREXPF 1
22310 _ACEOF
22311
22312 fi
22313 done
22314
22315   else
22316
22317   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
22318 $as_echo_n "checking for _frexpf declaration... " >&6; }
22319   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
22320     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
22321   $as_echo_n "(cached) " >&6
22322 else
22323
22324
22325       ac_ext=cpp
22326 ac_cpp='$CXXCPP $CPPFLAGS'
22327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22330
22331       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22332 /* end confdefs.h.  */
22333 #include <math.h>
22334 int
22335 main ()
22336 {
22337  _frexpf(0, 0);
22338   ;
22339   return 0;
22340 }
22341 _ACEOF
22342 if ac_fn_cxx_try_compile "$LINENO"; then :
22343   glibcxx_cv_func__frexpf_use=yes
22344 else
22345   glibcxx_cv_func__frexpf_use=no
22346 fi
22347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22348       ac_ext=c
22349 ac_cpp='$CPP $CPPFLAGS'
22350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22353
22354
22355 fi
22356
22357   fi
22358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
22359 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
22360
22361     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
22362       for ac_func in _frexpf
22363 do :
22364   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
22365 if test "x$ac_cv_func__frexpf" = x""yes; then :
22366   cat >>confdefs.h <<_ACEOF
22367 #define HAVE__FREXPF 1
22368 _ACEOF
22369
22370 fi
22371 done
22372
22373     fi
22374   fi
22375
22376
22377
22378
22379
22380   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
22381 $as_echo_n "checking for hypotf declaration... " >&6; }
22382   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
22383     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
22384   $as_echo_n "(cached) " >&6
22385 else
22386
22387
22388       ac_ext=cpp
22389 ac_cpp='$CXXCPP $CPPFLAGS'
22390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22393
22394       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22395 /* end confdefs.h.  */
22396 #include <math.h>
22397 int
22398 main ()
22399 {
22400  hypotf(0, 0);
22401   ;
22402   return 0;
22403 }
22404 _ACEOF
22405 if ac_fn_cxx_try_compile "$LINENO"; then :
22406   glibcxx_cv_func_hypotf_use=yes
22407 else
22408   glibcxx_cv_func_hypotf_use=no
22409 fi
22410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22411       ac_ext=c
22412 ac_cpp='$CPP $CPPFLAGS'
22413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22416
22417
22418 fi
22419
22420   fi
22421   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
22422 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
22423
22424   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
22425     for ac_func in hypotf
22426 do :
22427   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
22428 if test "x$ac_cv_func_hypotf" = x""yes; then :
22429   cat >>confdefs.h <<_ACEOF
22430 #define HAVE_HYPOTF 1
22431 _ACEOF
22432
22433 fi
22434 done
22435
22436   else
22437
22438   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
22439 $as_echo_n "checking for _hypotf declaration... " >&6; }
22440   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
22441     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
22442   $as_echo_n "(cached) " >&6
22443 else
22444
22445
22446       ac_ext=cpp
22447 ac_cpp='$CXXCPP $CPPFLAGS'
22448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22451
22452       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22453 /* end confdefs.h.  */
22454 #include <math.h>
22455 int
22456 main ()
22457 {
22458  _hypotf(0, 0);
22459   ;
22460   return 0;
22461 }
22462 _ACEOF
22463 if ac_fn_cxx_try_compile "$LINENO"; then :
22464   glibcxx_cv_func__hypotf_use=yes
22465 else
22466   glibcxx_cv_func__hypotf_use=no
22467 fi
22468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22469       ac_ext=c
22470 ac_cpp='$CPP $CPPFLAGS'
22471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22474
22475
22476 fi
22477
22478   fi
22479   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
22480 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
22481
22482     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
22483       for ac_func in _hypotf
22484 do :
22485   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
22486 if test "x$ac_cv_func__hypotf" = x""yes; then :
22487   cat >>confdefs.h <<_ACEOF
22488 #define HAVE__HYPOTF 1
22489 _ACEOF
22490
22491 fi
22492 done
22493
22494     fi
22495   fi
22496
22497
22498
22499
22500
22501   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
22502 $as_echo_n "checking for ldexpf declaration... " >&6; }
22503   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
22504     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
22505   $as_echo_n "(cached) " >&6
22506 else
22507
22508
22509       ac_ext=cpp
22510 ac_cpp='$CXXCPP $CPPFLAGS'
22511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22514
22515       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22516 /* end confdefs.h.  */
22517 #include <math.h>
22518 int
22519 main ()
22520 {
22521  ldexpf(0, 0);
22522   ;
22523   return 0;
22524 }
22525 _ACEOF
22526 if ac_fn_cxx_try_compile "$LINENO"; then :
22527   glibcxx_cv_func_ldexpf_use=yes
22528 else
22529   glibcxx_cv_func_ldexpf_use=no
22530 fi
22531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22532       ac_ext=c
22533 ac_cpp='$CPP $CPPFLAGS'
22534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22537
22538
22539 fi
22540
22541   fi
22542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
22543 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
22544
22545   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
22546     for ac_func in ldexpf
22547 do :
22548   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
22549 if test "x$ac_cv_func_ldexpf" = x""yes; then :
22550   cat >>confdefs.h <<_ACEOF
22551 #define HAVE_LDEXPF 1
22552 _ACEOF
22553
22554 fi
22555 done
22556
22557   else
22558
22559   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
22560 $as_echo_n "checking for _ldexpf declaration... " >&6; }
22561   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
22562     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
22563   $as_echo_n "(cached) " >&6
22564 else
22565
22566
22567       ac_ext=cpp
22568 ac_cpp='$CXXCPP $CPPFLAGS'
22569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22572
22573       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22574 /* end confdefs.h.  */
22575 #include <math.h>
22576 int
22577 main ()
22578 {
22579  _ldexpf(0, 0);
22580   ;
22581   return 0;
22582 }
22583 _ACEOF
22584 if ac_fn_cxx_try_compile "$LINENO"; then :
22585   glibcxx_cv_func__ldexpf_use=yes
22586 else
22587   glibcxx_cv_func__ldexpf_use=no
22588 fi
22589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22590       ac_ext=c
22591 ac_cpp='$CPP $CPPFLAGS'
22592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22595
22596
22597 fi
22598
22599   fi
22600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
22601 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
22602
22603     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
22604       for ac_func in _ldexpf
22605 do :
22606   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
22607 if test "x$ac_cv_func__ldexpf" = x""yes; then :
22608   cat >>confdefs.h <<_ACEOF
22609 #define HAVE__LDEXPF 1
22610 _ACEOF
22611
22612 fi
22613 done
22614
22615     fi
22616   fi
22617
22618
22619
22620
22621
22622   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22623 $as_echo_n "checking for logf declaration... " >&6; }
22624   if test x${glibcxx_cv_func_logf_use+set} != xset; then
22625     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22626   $as_echo_n "(cached) " >&6
22627 else
22628
22629
22630       ac_ext=cpp
22631 ac_cpp='$CXXCPP $CPPFLAGS'
22632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22635
22636       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22637 /* end confdefs.h.  */
22638 #include <math.h>
22639                       #ifdef HAVE_IEEEFP_H
22640                       #include <ieeefp.h>
22641                       #endif
22642
22643 int
22644 main ()
22645 {
22646  logf(0);
22647   ;
22648   return 0;
22649 }
22650 _ACEOF
22651 if ac_fn_cxx_try_compile "$LINENO"; then :
22652   glibcxx_cv_func_logf_use=yes
22653 else
22654   glibcxx_cv_func_logf_use=no
22655 fi
22656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22657       ac_ext=c
22658 ac_cpp='$CPP $CPPFLAGS'
22659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22662
22663
22664 fi
22665
22666   fi
22667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
22668 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
22669
22670   if test x$glibcxx_cv_func_logf_use = x"yes"; then
22671     for ac_func in logf
22672 do :
22673   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
22674 if test "x$ac_cv_func_logf" = x""yes; then :
22675   cat >>confdefs.h <<_ACEOF
22676 #define HAVE_LOGF 1
22677 _ACEOF
22678
22679 fi
22680 done
22681
22682   else
22683
22684   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
22685 $as_echo_n "checking for _logf declaration... " >&6; }
22686   if test x${glibcxx_cv_func__logf_use+set} != xset; then
22687     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
22688   $as_echo_n "(cached) " >&6
22689 else
22690
22691
22692       ac_ext=cpp
22693 ac_cpp='$CXXCPP $CPPFLAGS'
22694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22697
22698       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22699 /* end confdefs.h.  */
22700 #include <math.h>
22701                       #ifdef HAVE_IEEEFP_H
22702                       #include <ieeefp.h>
22703                       #endif
22704
22705 int
22706 main ()
22707 {
22708  _logf(0);
22709   ;
22710   return 0;
22711 }
22712 _ACEOF
22713 if ac_fn_cxx_try_compile "$LINENO"; then :
22714   glibcxx_cv_func__logf_use=yes
22715 else
22716   glibcxx_cv_func__logf_use=no
22717 fi
22718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22719       ac_ext=c
22720 ac_cpp='$CPP $CPPFLAGS'
22721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22724
22725
22726 fi
22727
22728   fi
22729   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
22730 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
22731
22732     if test x$glibcxx_cv_func__logf_use = x"yes"; then
22733       for ac_func in _logf
22734 do :
22735   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
22736 if test "x$ac_cv_func__logf" = x""yes; then :
22737   cat >>confdefs.h <<_ACEOF
22738 #define HAVE__LOGF 1
22739 _ACEOF
22740
22741 fi
22742 done
22743
22744     fi
22745   fi
22746
22747
22748
22749
22750
22751   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
22752 $as_echo_n "checking for log10f declaration... " >&6; }
22753   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
22754     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
22755   $as_echo_n "(cached) " >&6
22756 else
22757
22758
22759       ac_ext=cpp
22760 ac_cpp='$CXXCPP $CPPFLAGS'
22761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22764
22765       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22766 /* end confdefs.h.  */
22767 #include <math.h>
22768                       #ifdef HAVE_IEEEFP_H
22769                       #include <ieeefp.h>
22770                       #endif
22771
22772 int
22773 main ()
22774 {
22775  log10f(0);
22776   ;
22777   return 0;
22778 }
22779 _ACEOF
22780 if ac_fn_cxx_try_compile "$LINENO"; then :
22781   glibcxx_cv_func_log10f_use=yes
22782 else
22783   glibcxx_cv_func_log10f_use=no
22784 fi
22785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22786       ac_ext=c
22787 ac_cpp='$CPP $CPPFLAGS'
22788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22791
22792
22793 fi
22794
22795   fi
22796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
22797 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
22798
22799   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
22800     for ac_func in log10f
22801 do :
22802   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
22803 if test "x$ac_cv_func_log10f" = x""yes; then :
22804   cat >>confdefs.h <<_ACEOF
22805 #define HAVE_LOG10F 1
22806 _ACEOF
22807
22808 fi
22809 done
22810
22811   else
22812
22813   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
22814 $as_echo_n "checking for _log10f declaration... " >&6; }
22815   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
22816     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
22817   $as_echo_n "(cached) " >&6
22818 else
22819
22820
22821       ac_ext=cpp
22822 ac_cpp='$CXXCPP $CPPFLAGS'
22823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22826
22827       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22828 /* end confdefs.h.  */
22829 #include <math.h>
22830                       #ifdef HAVE_IEEEFP_H
22831                       #include <ieeefp.h>
22832                       #endif
22833
22834 int
22835 main ()
22836 {
22837  _log10f(0);
22838   ;
22839   return 0;
22840 }
22841 _ACEOF
22842 if ac_fn_cxx_try_compile "$LINENO"; then :
22843   glibcxx_cv_func__log10f_use=yes
22844 else
22845   glibcxx_cv_func__log10f_use=no
22846 fi
22847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22848       ac_ext=c
22849 ac_cpp='$CPP $CPPFLAGS'
22850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22853
22854
22855 fi
22856
22857   fi
22858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
22859 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
22860
22861     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
22862       for ac_func in _log10f
22863 do :
22864   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
22865 if test "x$ac_cv_func__log10f" = x""yes; then :
22866   cat >>confdefs.h <<_ACEOF
22867 #define HAVE__LOG10F 1
22868 _ACEOF
22869
22870 fi
22871 done
22872
22873     fi
22874   fi
22875
22876
22877
22878
22879
22880   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
22881 $as_echo_n "checking for modff declaration... " >&6; }
22882   if test x${glibcxx_cv_func_modff_use+set} != xset; then
22883     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
22884   $as_echo_n "(cached) " >&6
22885 else
22886
22887
22888       ac_ext=cpp
22889 ac_cpp='$CXXCPP $CPPFLAGS'
22890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22893
22894       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22895 /* end confdefs.h.  */
22896 #include <math.h>
22897 int
22898 main ()
22899 {
22900  modff(0, 0);
22901   ;
22902   return 0;
22903 }
22904 _ACEOF
22905 if ac_fn_cxx_try_compile "$LINENO"; then :
22906   glibcxx_cv_func_modff_use=yes
22907 else
22908   glibcxx_cv_func_modff_use=no
22909 fi
22910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22911       ac_ext=c
22912 ac_cpp='$CPP $CPPFLAGS'
22913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22916
22917
22918 fi
22919
22920   fi
22921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
22922 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
22923
22924   if test x$glibcxx_cv_func_modff_use = x"yes"; then
22925     for ac_func in modff
22926 do :
22927   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
22928 if test "x$ac_cv_func_modff" = x""yes; then :
22929   cat >>confdefs.h <<_ACEOF
22930 #define HAVE_MODFF 1
22931 _ACEOF
22932
22933 fi
22934 done
22935
22936   else
22937
22938   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
22939 $as_echo_n "checking for _modff declaration... " >&6; }
22940   if test x${glibcxx_cv_func__modff_use+set} != xset; then
22941     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
22942   $as_echo_n "(cached) " >&6
22943 else
22944
22945
22946       ac_ext=cpp
22947 ac_cpp='$CXXCPP $CPPFLAGS'
22948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22951
22952       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22953 /* end confdefs.h.  */
22954 #include <math.h>
22955 int
22956 main ()
22957 {
22958  _modff(0, 0);
22959   ;
22960   return 0;
22961 }
22962 _ACEOF
22963 if ac_fn_cxx_try_compile "$LINENO"; then :
22964   glibcxx_cv_func__modff_use=yes
22965 else
22966   glibcxx_cv_func__modff_use=no
22967 fi
22968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22969       ac_ext=c
22970 ac_cpp='$CPP $CPPFLAGS'
22971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22974
22975
22976 fi
22977
22978   fi
22979   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
22980 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
22981
22982     if test x$glibcxx_cv_func__modff_use = x"yes"; then
22983       for ac_func in _modff
22984 do :
22985   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
22986 if test "x$ac_cv_func__modff" = x""yes; then :
22987   cat >>confdefs.h <<_ACEOF
22988 #define HAVE__MODFF 1
22989 _ACEOF
22990
22991 fi
22992 done
22993
22994     fi
22995   fi
22996
22997
22998
22999
23000
23001   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23002 $as_echo_n "checking for modf declaration... " >&6; }
23003   if test x${glibcxx_cv_func_modf_use+set} != xset; then
23004     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23005   $as_echo_n "(cached) " >&6
23006 else
23007
23008
23009       ac_ext=cpp
23010 ac_cpp='$CXXCPP $CPPFLAGS'
23011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23014
23015       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23016 /* end confdefs.h.  */
23017 #include <math.h>
23018 int
23019 main ()
23020 {
23021  modf(0, 0);
23022   ;
23023   return 0;
23024 }
23025 _ACEOF
23026 if ac_fn_cxx_try_compile "$LINENO"; then :
23027   glibcxx_cv_func_modf_use=yes
23028 else
23029   glibcxx_cv_func_modf_use=no
23030 fi
23031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23032       ac_ext=c
23033 ac_cpp='$CPP $CPPFLAGS'
23034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23037
23038
23039 fi
23040
23041   fi
23042   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23043 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23044
23045   if test x$glibcxx_cv_func_modf_use = x"yes"; then
23046     for ac_func in modf
23047 do :
23048   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23049 if test "x$ac_cv_func_modf" = x""yes; then :
23050   cat >>confdefs.h <<_ACEOF
23051 #define HAVE_MODF 1
23052 _ACEOF
23053
23054 fi
23055 done
23056
23057   else
23058
23059   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23060 $as_echo_n "checking for _modf declaration... " >&6; }
23061   if test x${glibcxx_cv_func__modf_use+set} != xset; then
23062     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23063   $as_echo_n "(cached) " >&6
23064 else
23065
23066
23067       ac_ext=cpp
23068 ac_cpp='$CXXCPP $CPPFLAGS'
23069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23072
23073       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23074 /* end confdefs.h.  */
23075 #include <math.h>
23076 int
23077 main ()
23078 {
23079  _modf(0, 0);
23080   ;
23081   return 0;
23082 }
23083 _ACEOF
23084 if ac_fn_cxx_try_compile "$LINENO"; then :
23085   glibcxx_cv_func__modf_use=yes
23086 else
23087   glibcxx_cv_func__modf_use=no
23088 fi
23089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23090       ac_ext=c
23091 ac_cpp='$CPP $CPPFLAGS'
23092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23095
23096
23097 fi
23098
23099   fi
23100   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23101 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23102
23103     if test x$glibcxx_cv_func__modf_use = x"yes"; then
23104       for ac_func in _modf
23105 do :
23106   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23107 if test "x$ac_cv_func__modf" = x""yes; then :
23108   cat >>confdefs.h <<_ACEOF
23109 #define HAVE__MODF 1
23110 _ACEOF
23111
23112 fi
23113 done
23114
23115     fi
23116   fi
23117
23118
23119
23120
23121
23122   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23123 $as_echo_n "checking for powf declaration... " >&6; }
23124   if test x${glibcxx_cv_func_powf_use+set} != xset; then
23125     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23126   $as_echo_n "(cached) " >&6
23127 else
23128
23129
23130       ac_ext=cpp
23131 ac_cpp='$CXXCPP $CPPFLAGS'
23132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23135
23136       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23137 /* end confdefs.h.  */
23138 #include <math.h>
23139 int
23140 main ()
23141 {
23142  powf(0, 0);
23143   ;
23144   return 0;
23145 }
23146 _ACEOF
23147 if ac_fn_cxx_try_compile "$LINENO"; then :
23148   glibcxx_cv_func_powf_use=yes
23149 else
23150   glibcxx_cv_func_powf_use=no
23151 fi
23152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23153       ac_ext=c
23154 ac_cpp='$CPP $CPPFLAGS'
23155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23158
23159
23160 fi
23161
23162   fi
23163   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23164 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23165
23166   if test x$glibcxx_cv_func_powf_use = x"yes"; then
23167     for ac_func in powf
23168 do :
23169   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23170 if test "x$ac_cv_func_powf" = x""yes; then :
23171   cat >>confdefs.h <<_ACEOF
23172 #define HAVE_POWF 1
23173 _ACEOF
23174
23175 fi
23176 done
23177
23178   else
23179
23180   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23181 $as_echo_n "checking for _powf declaration... " >&6; }
23182   if test x${glibcxx_cv_func__powf_use+set} != xset; then
23183     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23184   $as_echo_n "(cached) " >&6
23185 else
23186
23187
23188       ac_ext=cpp
23189 ac_cpp='$CXXCPP $CPPFLAGS'
23190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23193
23194       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23195 /* end confdefs.h.  */
23196 #include <math.h>
23197 int
23198 main ()
23199 {
23200  _powf(0, 0);
23201   ;
23202   return 0;
23203 }
23204 _ACEOF
23205 if ac_fn_cxx_try_compile "$LINENO"; then :
23206   glibcxx_cv_func__powf_use=yes
23207 else
23208   glibcxx_cv_func__powf_use=no
23209 fi
23210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23211       ac_ext=c
23212 ac_cpp='$CPP $CPPFLAGS'
23213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23216
23217
23218 fi
23219
23220   fi
23221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23222 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23223
23224     if test x$glibcxx_cv_func__powf_use = x"yes"; then
23225       for ac_func in _powf
23226 do :
23227   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23228 if test "x$ac_cv_func__powf" = x""yes; then :
23229   cat >>confdefs.h <<_ACEOF
23230 #define HAVE__POWF 1
23231 _ACEOF
23232
23233 fi
23234 done
23235
23236     fi
23237   fi
23238
23239
23240
23241
23242
23243   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23244 $as_echo_n "checking for sqrtf declaration... " >&6; }
23245   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23246     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23247   $as_echo_n "(cached) " >&6
23248 else
23249
23250
23251       ac_ext=cpp
23252 ac_cpp='$CXXCPP $CPPFLAGS'
23253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23256
23257       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23258 /* end confdefs.h.  */
23259 #include <math.h>
23260                       #ifdef HAVE_IEEEFP_H
23261                       #include <ieeefp.h>
23262                       #endif
23263
23264 int
23265 main ()
23266 {
23267  sqrtf(0);
23268   ;
23269   return 0;
23270 }
23271 _ACEOF
23272 if ac_fn_cxx_try_compile "$LINENO"; then :
23273   glibcxx_cv_func_sqrtf_use=yes
23274 else
23275   glibcxx_cv_func_sqrtf_use=no
23276 fi
23277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23278       ac_ext=c
23279 ac_cpp='$CPP $CPPFLAGS'
23280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23283
23284
23285 fi
23286
23287   fi
23288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23289 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23290
23291   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23292     for ac_func in sqrtf
23293 do :
23294   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23295 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23296   cat >>confdefs.h <<_ACEOF
23297 #define HAVE_SQRTF 1
23298 _ACEOF
23299
23300 fi
23301 done
23302
23303   else
23304
23305   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
23306 $as_echo_n "checking for _sqrtf declaration... " >&6; }
23307   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
23308     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
23309   $as_echo_n "(cached) " >&6
23310 else
23311
23312
23313       ac_ext=cpp
23314 ac_cpp='$CXXCPP $CPPFLAGS'
23315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23318
23319       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23320 /* end confdefs.h.  */
23321 #include <math.h>
23322                       #ifdef HAVE_IEEEFP_H
23323                       #include <ieeefp.h>
23324                       #endif
23325
23326 int
23327 main ()
23328 {
23329  _sqrtf(0);
23330   ;
23331   return 0;
23332 }
23333 _ACEOF
23334 if ac_fn_cxx_try_compile "$LINENO"; then :
23335   glibcxx_cv_func__sqrtf_use=yes
23336 else
23337   glibcxx_cv_func__sqrtf_use=no
23338 fi
23339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23340       ac_ext=c
23341 ac_cpp='$CPP $CPPFLAGS'
23342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23345
23346
23347 fi
23348
23349   fi
23350   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
23351 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
23352
23353     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
23354       for ac_func in _sqrtf
23355 do :
23356   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
23357 if test "x$ac_cv_func__sqrtf" = x""yes; then :
23358   cat >>confdefs.h <<_ACEOF
23359 #define HAVE__SQRTF 1
23360 _ACEOF
23361
23362 fi
23363 done
23364
23365     fi
23366   fi
23367
23368
23369
23370
23371
23372   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
23373 $as_echo_n "checking for sincosf declaration... " >&6; }
23374   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
23375     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
23376   $as_echo_n "(cached) " >&6
23377 else
23378
23379
23380       ac_ext=cpp
23381 ac_cpp='$CXXCPP $CPPFLAGS'
23382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23385
23386       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23387 /* end confdefs.h.  */
23388 #include <math.h>
23389 int
23390 main ()
23391 {
23392  sincosf(0, 0, 0);
23393   ;
23394   return 0;
23395 }
23396 _ACEOF
23397 if ac_fn_cxx_try_compile "$LINENO"; then :
23398   glibcxx_cv_func_sincosf_use=yes
23399 else
23400   glibcxx_cv_func_sincosf_use=no
23401 fi
23402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23403       ac_ext=c
23404 ac_cpp='$CPP $CPPFLAGS'
23405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23408
23409
23410 fi
23411
23412   fi
23413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
23414 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
23415
23416   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
23417     for ac_func in sincosf
23418 do :
23419   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
23420 if test "x$ac_cv_func_sincosf" = x""yes; then :
23421   cat >>confdefs.h <<_ACEOF
23422 #define HAVE_SINCOSF 1
23423 _ACEOF
23424
23425 fi
23426 done
23427
23428   else
23429
23430   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
23431 $as_echo_n "checking for _sincosf declaration... " >&6; }
23432   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
23433     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
23434   $as_echo_n "(cached) " >&6
23435 else
23436
23437
23438       ac_ext=cpp
23439 ac_cpp='$CXXCPP $CPPFLAGS'
23440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23443
23444       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23445 /* end confdefs.h.  */
23446 #include <math.h>
23447 int
23448 main ()
23449 {
23450  _sincosf(0, 0, 0);
23451   ;
23452   return 0;
23453 }
23454 _ACEOF
23455 if ac_fn_cxx_try_compile "$LINENO"; then :
23456   glibcxx_cv_func__sincosf_use=yes
23457 else
23458   glibcxx_cv_func__sincosf_use=no
23459 fi
23460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23461       ac_ext=c
23462 ac_cpp='$CPP $CPPFLAGS'
23463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23466
23467
23468 fi
23469
23470   fi
23471   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
23472 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
23473
23474     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
23475       for ac_func in _sincosf
23476 do :
23477   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
23478 if test "x$ac_cv_func__sincosf" = x""yes; then :
23479   cat >>confdefs.h <<_ACEOF
23480 #define HAVE__SINCOSF 1
23481 _ACEOF
23482
23483 fi
23484 done
23485
23486     fi
23487   fi
23488
23489
23490
23491
23492
23493   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
23494 $as_echo_n "checking for finitef declaration... " >&6; }
23495   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
23496     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
23497   $as_echo_n "(cached) " >&6
23498 else
23499
23500
23501       ac_ext=cpp
23502 ac_cpp='$CXXCPP $CPPFLAGS'
23503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23506
23507       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23508 /* end confdefs.h.  */
23509 #include <math.h>
23510                       #ifdef HAVE_IEEEFP_H
23511                       #include <ieeefp.h>
23512                       #endif
23513
23514 int
23515 main ()
23516 {
23517  finitef(0);
23518   ;
23519   return 0;
23520 }
23521 _ACEOF
23522 if ac_fn_cxx_try_compile "$LINENO"; then :
23523   glibcxx_cv_func_finitef_use=yes
23524 else
23525   glibcxx_cv_func_finitef_use=no
23526 fi
23527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23528       ac_ext=c
23529 ac_cpp='$CPP $CPPFLAGS'
23530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23533
23534
23535 fi
23536
23537   fi
23538   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
23539 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
23540
23541   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
23542     for ac_func in finitef
23543 do :
23544   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
23545 if test "x$ac_cv_func_finitef" = x""yes; then :
23546   cat >>confdefs.h <<_ACEOF
23547 #define HAVE_FINITEF 1
23548 _ACEOF
23549
23550 fi
23551 done
23552
23553   else
23554
23555   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
23556 $as_echo_n "checking for _finitef declaration... " >&6; }
23557   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
23558     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
23559   $as_echo_n "(cached) " >&6
23560 else
23561
23562
23563       ac_ext=cpp
23564 ac_cpp='$CXXCPP $CPPFLAGS'
23565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23568
23569       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23570 /* end confdefs.h.  */
23571 #include <math.h>
23572                       #ifdef HAVE_IEEEFP_H
23573                       #include <ieeefp.h>
23574                       #endif
23575
23576 int
23577 main ()
23578 {
23579  _finitef(0);
23580   ;
23581   return 0;
23582 }
23583 _ACEOF
23584 if ac_fn_cxx_try_compile "$LINENO"; then :
23585   glibcxx_cv_func__finitef_use=yes
23586 else
23587   glibcxx_cv_func__finitef_use=no
23588 fi
23589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23590       ac_ext=c
23591 ac_cpp='$CPP $CPPFLAGS'
23592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23595
23596
23597 fi
23598
23599   fi
23600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
23601 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
23602
23603     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
23604       for ac_func in _finitef
23605 do :
23606   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
23607 if test "x$ac_cv_func__finitef" = x""yes; then :
23608   cat >>confdefs.h <<_ACEOF
23609 #define HAVE__FINITEF 1
23610 _ACEOF
23611
23612 fi
23613 done
23614
23615     fi
23616   fi
23617
23618
23619
23620
23621
23622     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23623 $as_echo_n "checking for long double trig functions... " >&6; }
23624   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
23625   $as_echo_n "(cached) " >&6
23626 else
23627
23628
23629     ac_ext=cpp
23630 ac_cpp='$CXXCPP $CPPFLAGS'
23631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23634
23635     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23636 /* end confdefs.h.  */
23637 #include <math.h>
23638 int
23639 main ()
23640 {
23641 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
23642   ;
23643   return 0;
23644 }
23645 _ACEOF
23646 if ac_fn_cxx_try_compile "$LINENO"; then :
23647   glibcxx_cv_func_long_double_trig_use=yes
23648 else
23649   glibcxx_cv_func_long_double_trig_use=no
23650 fi
23651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23652     ac_ext=c
23653 ac_cpp='$CPP $CPPFLAGS'
23654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23657
23658 fi
23659
23660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
23661 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
23662   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
23663     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
23664 do :
23665   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23666 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23667 eval as_val=\$$as_ac_var
23668    if test "x$as_val" = x""yes; then :
23669   cat >>confdefs.h <<_ACEOF
23670 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23671 _ACEOF
23672
23673 fi
23674 done
23675
23676   else
23677     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
23678 $as_echo_n "checking for _long double trig functions... " >&6; }
23679     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
23680   $as_echo_n "(cached) " >&6
23681 else
23682
23683
23684       ac_ext=cpp
23685 ac_cpp='$CXXCPP $CPPFLAGS'
23686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23689
23690       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23691 /* end confdefs.h.  */
23692 #include <math.h>
23693 int
23694 main ()
23695 {
23696 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
23697   ;
23698   return 0;
23699 }
23700 _ACEOF
23701 if ac_fn_cxx_try_compile "$LINENO"; then :
23702   glibcxx_cv_func__long_double_trig_use=yes
23703 else
23704   glibcxx_cv_func__long_double_trig_use=no
23705 fi
23706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23707       ac_ext=c
23708 ac_cpp='$CPP $CPPFLAGS'
23709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23712
23713 fi
23714
23715     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
23716 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
23717     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
23718       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
23719 do :
23720   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23721 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23722 eval as_val=\$$as_ac_var
23723    if test "x$as_val" = x""yes; then :
23724   cat >>confdefs.h <<_ACEOF
23725 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23726 _ACEOF
23727
23728 fi
23729 done
23730
23731     fi
23732   fi
23733
23734
23735
23736
23737
23738     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
23739 $as_echo_n "checking for long double round functions... " >&6; }
23740   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
23741   $as_echo_n "(cached) " >&6
23742 else
23743
23744
23745     ac_ext=cpp
23746 ac_cpp='$CXXCPP $CPPFLAGS'
23747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23750
23751     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23752 /* end confdefs.h.  */
23753 #include <math.h>
23754 int
23755 main ()
23756 {
23757 ceill (0); floorl (0);
23758   ;
23759   return 0;
23760 }
23761 _ACEOF
23762 if ac_fn_cxx_try_compile "$LINENO"; then :
23763   glibcxx_cv_func_long_double_round_use=yes
23764 else
23765   glibcxx_cv_func_long_double_round_use=no
23766 fi
23767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23768     ac_ext=c
23769 ac_cpp='$CPP $CPPFLAGS'
23770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23773
23774 fi
23775
23776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
23777 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
23778   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
23779     for ac_func in ceill floorl
23780 do :
23781   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23782 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23783 eval as_val=\$$as_ac_var
23784    if test "x$as_val" = x""yes; then :
23785   cat >>confdefs.h <<_ACEOF
23786 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23787 _ACEOF
23788
23789 fi
23790 done
23791
23792   else
23793     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
23794 $as_echo_n "checking for _long double round functions... " >&6; }
23795     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
23796   $as_echo_n "(cached) " >&6
23797 else
23798
23799
23800       ac_ext=cpp
23801 ac_cpp='$CXXCPP $CPPFLAGS'
23802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23805
23806       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23807 /* end confdefs.h.  */
23808 #include <math.h>
23809 int
23810 main ()
23811 {
23812 _ceill (0); _floorl (0);
23813   ;
23814   return 0;
23815 }
23816 _ACEOF
23817 if ac_fn_cxx_try_compile "$LINENO"; then :
23818   glibcxx_cv_func__long_double_round_use=yes
23819 else
23820   glibcxx_cv_func__long_double_round_use=no
23821 fi
23822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23823       ac_ext=c
23824 ac_cpp='$CPP $CPPFLAGS'
23825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23828
23829 fi
23830
23831     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
23832 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
23833     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
23834       for ac_func in _ceill _floorl
23835 do :
23836   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23837 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23838 eval as_val=\$$as_ac_var
23839    if test "x$as_val" = x""yes; then :
23840   cat >>confdefs.h <<_ACEOF
23841 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23842 _ACEOF
23843
23844 fi
23845 done
23846
23847     fi
23848   fi
23849
23850
23851
23852
23853
23854
23855   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
23856 $as_echo_n "checking for isnanl declaration... " >&6; }
23857   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
23858     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
23859   $as_echo_n "(cached) " >&6
23860 else
23861
23862
23863       ac_ext=cpp
23864 ac_cpp='$CXXCPP $CPPFLAGS'
23865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23868
23869       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23870 /* end confdefs.h.  */
23871 #include <math.h>
23872                       #ifdef HAVE_IEEEFP_H
23873                       #include <ieeefp.h>
23874                       #endif
23875
23876 int
23877 main ()
23878 {
23879  isnanl(0);
23880   ;
23881   return 0;
23882 }
23883 _ACEOF
23884 if ac_fn_cxx_try_compile "$LINENO"; then :
23885   glibcxx_cv_func_isnanl_use=yes
23886 else
23887   glibcxx_cv_func_isnanl_use=no
23888 fi
23889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23890       ac_ext=c
23891 ac_cpp='$CPP $CPPFLAGS'
23892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23895
23896
23897 fi
23898
23899   fi
23900   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
23901 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
23902
23903   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
23904     for ac_func in isnanl
23905 do :
23906   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
23907 if test "x$ac_cv_func_isnanl" = x""yes; then :
23908   cat >>confdefs.h <<_ACEOF
23909 #define HAVE_ISNANL 1
23910 _ACEOF
23911
23912 fi
23913 done
23914
23915   else
23916
23917   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
23918 $as_echo_n "checking for _isnanl declaration... " >&6; }
23919   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
23920     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
23921   $as_echo_n "(cached) " >&6
23922 else
23923
23924
23925       ac_ext=cpp
23926 ac_cpp='$CXXCPP $CPPFLAGS'
23927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23930
23931       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23932 /* end confdefs.h.  */
23933 #include <math.h>
23934                       #ifdef HAVE_IEEEFP_H
23935                       #include <ieeefp.h>
23936                       #endif
23937
23938 int
23939 main ()
23940 {
23941  _isnanl(0);
23942   ;
23943   return 0;
23944 }
23945 _ACEOF
23946 if ac_fn_cxx_try_compile "$LINENO"; then :
23947   glibcxx_cv_func__isnanl_use=yes
23948 else
23949   glibcxx_cv_func__isnanl_use=no
23950 fi
23951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23952       ac_ext=c
23953 ac_cpp='$CPP $CPPFLAGS'
23954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23957
23958
23959 fi
23960
23961   fi
23962   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
23963 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
23964
23965     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
23966       for ac_func in _isnanl
23967 do :
23968   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
23969 if test "x$ac_cv_func__isnanl" = x""yes; then :
23970   cat >>confdefs.h <<_ACEOF
23971 #define HAVE__ISNANL 1
23972 _ACEOF
23973
23974 fi
23975 done
23976
23977     fi
23978   fi
23979
23980
23981
23982
23983
23984   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
23985 $as_echo_n "checking for isinfl declaration... " >&6; }
23986   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
23987     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
23988   $as_echo_n "(cached) " >&6
23989 else
23990
23991
23992       ac_ext=cpp
23993 ac_cpp='$CXXCPP $CPPFLAGS'
23994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23997
23998       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23999 /* end confdefs.h.  */
24000 #include <math.h>
24001                       #ifdef HAVE_IEEEFP_H
24002                       #include <ieeefp.h>
24003                       #endif
24004
24005 int
24006 main ()
24007 {
24008  isinfl(0);
24009   ;
24010   return 0;
24011 }
24012 _ACEOF
24013 if ac_fn_cxx_try_compile "$LINENO"; then :
24014   glibcxx_cv_func_isinfl_use=yes
24015 else
24016   glibcxx_cv_func_isinfl_use=no
24017 fi
24018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24019       ac_ext=c
24020 ac_cpp='$CPP $CPPFLAGS'
24021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24024
24025
24026 fi
24027
24028   fi
24029   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24030 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24031
24032   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24033     for ac_func in isinfl
24034 do :
24035   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24036 if test "x$ac_cv_func_isinfl" = x""yes; then :
24037   cat >>confdefs.h <<_ACEOF
24038 #define HAVE_ISINFL 1
24039 _ACEOF
24040
24041 fi
24042 done
24043
24044   else
24045
24046   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24047 $as_echo_n "checking for _isinfl declaration... " >&6; }
24048   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24049     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24050   $as_echo_n "(cached) " >&6
24051 else
24052
24053
24054       ac_ext=cpp
24055 ac_cpp='$CXXCPP $CPPFLAGS'
24056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24059
24060       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24061 /* end confdefs.h.  */
24062 #include <math.h>
24063                       #ifdef HAVE_IEEEFP_H
24064                       #include <ieeefp.h>
24065                       #endif
24066
24067 int
24068 main ()
24069 {
24070  _isinfl(0);
24071   ;
24072   return 0;
24073 }
24074 _ACEOF
24075 if ac_fn_cxx_try_compile "$LINENO"; then :
24076   glibcxx_cv_func__isinfl_use=yes
24077 else
24078   glibcxx_cv_func__isinfl_use=no
24079 fi
24080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24081       ac_ext=c
24082 ac_cpp='$CPP $CPPFLAGS'
24083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24086
24087
24088 fi
24089
24090   fi
24091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24092 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24093
24094     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24095       for ac_func in _isinfl
24096 do :
24097   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24098 if test "x$ac_cv_func__isinfl" = x""yes; then :
24099   cat >>confdefs.h <<_ACEOF
24100 #define HAVE__ISINFL 1
24101 _ACEOF
24102
24103 fi
24104 done
24105
24106     fi
24107   fi
24108
24109
24110
24111
24112
24113   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24114 $as_echo_n "checking for atan2l declaration... " >&6; }
24115   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24116     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24117   $as_echo_n "(cached) " >&6
24118 else
24119
24120
24121       ac_ext=cpp
24122 ac_cpp='$CXXCPP $CPPFLAGS'
24123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24126
24127       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24128 /* end confdefs.h.  */
24129 #include <math.h>
24130 int
24131 main ()
24132 {
24133  atan2l(0, 0);
24134   ;
24135   return 0;
24136 }
24137 _ACEOF
24138 if ac_fn_cxx_try_compile "$LINENO"; then :
24139   glibcxx_cv_func_atan2l_use=yes
24140 else
24141   glibcxx_cv_func_atan2l_use=no
24142 fi
24143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24144       ac_ext=c
24145 ac_cpp='$CPP $CPPFLAGS'
24146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24149
24150
24151 fi
24152
24153   fi
24154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24155 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24156
24157   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24158     for ac_func in atan2l
24159 do :
24160   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24161 if test "x$ac_cv_func_atan2l" = x""yes; then :
24162   cat >>confdefs.h <<_ACEOF
24163 #define HAVE_ATAN2L 1
24164 _ACEOF
24165
24166 fi
24167 done
24168
24169   else
24170
24171   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24172 $as_echo_n "checking for _atan2l declaration... " >&6; }
24173   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24174     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24175   $as_echo_n "(cached) " >&6
24176 else
24177
24178
24179       ac_ext=cpp
24180 ac_cpp='$CXXCPP $CPPFLAGS'
24181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24184
24185       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24186 /* end confdefs.h.  */
24187 #include <math.h>
24188 int
24189 main ()
24190 {
24191  _atan2l(0, 0);
24192   ;
24193   return 0;
24194 }
24195 _ACEOF
24196 if ac_fn_cxx_try_compile "$LINENO"; then :
24197   glibcxx_cv_func__atan2l_use=yes
24198 else
24199   glibcxx_cv_func__atan2l_use=no
24200 fi
24201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24202       ac_ext=c
24203 ac_cpp='$CPP $CPPFLAGS'
24204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24207
24208
24209 fi
24210
24211   fi
24212   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24213 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24214
24215     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24216       for ac_func in _atan2l
24217 do :
24218   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24219 if test "x$ac_cv_func__atan2l" = x""yes; then :
24220   cat >>confdefs.h <<_ACEOF
24221 #define HAVE__ATAN2L 1
24222 _ACEOF
24223
24224 fi
24225 done
24226
24227     fi
24228   fi
24229
24230
24231
24232
24233
24234   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24235 $as_echo_n "checking for expl declaration... " >&6; }
24236   if test x${glibcxx_cv_func_expl_use+set} != xset; then
24237     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24238   $as_echo_n "(cached) " >&6
24239 else
24240
24241
24242       ac_ext=cpp
24243 ac_cpp='$CXXCPP $CPPFLAGS'
24244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24247
24248       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24249 /* end confdefs.h.  */
24250 #include <math.h>
24251                       #ifdef HAVE_IEEEFP_H
24252                       #include <ieeefp.h>
24253                       #endif
24254
24255 int
24256 main ()
24257 {
24258  expl(0);
24259   ;
24260   return 0;
24261 }
24262 _ACEOF
24263 if ac_fn_cxx_try_compile "$LINENO"; then :
24264   glibcxx_cv_func_expl_use=yes
24265 else
24266   glibcxx_cv_func_expl_use=no
24267 fi
24268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24269       ac_ext=c
24270 ac_cpp='$CPP $CPPFLAGS'
24271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24274
24275
24276 fi
24277
24278   fi
24279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24280 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24281
24282   if test x$glibcxx_cv_func_expl_use = x"yes"; then
24283     for ac_func in expl
24284 do :
24285   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24286 if test "x$ac_cv_func_expl" = x""yes; then :
24287   cat >>confdefs.h <<_ACEOF
24288 #define HAVE_EXPL 1
24289 _ACEOF
24290
24291 fi
24292 done
24293
24294   else
24295
24296   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24297 $as_echo_n "checking for _expl declaration... " >&6; }
24298   if test x${glibcxx_cv_func__expl_use+set} != xset; then
24299     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
24300   $as_echo_n "(cached) " >&6
24301 else
24302
24303
24304       ac_ext=cpp
24305 ac_cpp='$CXXCPP $CPPFLAGS'
24306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24309
24310       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24311 /* end confdefs.h.  */
24312 #include <math.h>
24313                       #ifdef HAVE_IEEEFP_H
24314                       #include <ieeefp.h>
24315                       #endif
24316
24317 int
24318 main ()
24319 {
24320  _expl(0);
24321   ;
24322   return 0;
24323 }
24324 _ACEOF
24325 if ac_fn_cxx_try_compile "$LINENO"; then :
24326   glibcxx_cv_func__expl_use=yes
24327 else
24328   glibcxx_cv_func__expl_use=no
24329 fi
24330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24331       ac_ext=c
24332 ac_cpp='$CPP $CPPFLAGS'
24333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24336
24337
24338 fi
24339
24340   fi
24341   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
24342 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
24343
24344     if test x$glibcxx_cv_func__expl_use = x"yes"; then
24345       for ac_func in _expl
24346 do :
24347   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
24348 if test "x$ac_cv_func__expl" = x""yes; then :
24349   cat >>confdefs.h <<_ACEOF
24350 #define HAVE__EXPL 1
24351 _ACEOF
24352
24353 fi
24354 done
24355
24356     fi
24357   fi
24358
24359
24360
24361
24362
24363   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
24364 $as_echo_n "checking for fabsl declaration... " >&6; }
24365   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
24366     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
24367   $as_echo_n "(cached) " >&6
24368 else
24369
24370
24371       ac_ext=cpp
24372 ac_cpp='$CXXCPP $CPPFLAGS'
24373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24376
24377       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24378 /* end confdefs.h.  */
24379 #include <math.h>
24380                       #ifdef HAVE_IEEEFP_H
24381                       #include <ieeefp.h>
24382                       #endif
24383
24384 int
24385 main ()
24386 {
24387  fabsl(0);
24388   ;
24389   return 0;
24390 }
24391 _ACEOF
24392 if ac_fn_cxx_try_compile "$LINENO"; then :
24393   glibcxx_cv_func_fabsl_use=yes
24394 else
24395   glibcxx_cv_func_fabsl_use=no
24396 fi
24397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24398       ac_ext=c
24399 ac_cpp='$CPP $CPPFLAGS'
24400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24403
24404
24405 fi
24406
24407   fi
24408   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
24409 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
24410
24411   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
24412     for ac_func in fabsl
24413 do :
24414   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
24415 if test "x$ac_cv_func_fabsl" = x""yes; then :
24416   cat >>confdefs.h <<_ACEOF
24417 #define HAVE_FABSL 1
24418 _ACEOF
24419
24420 fi
24421 done
24422
24423   else
24424
24425   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
24426 $as_echo_n "checking for _fabsl declaration... " >&6; }
24427   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
24428     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
24429   $as_echo_n "(cached) " >&6
24430 else
24431
24432
24433       ac_ext=cpp
24434 ac_cpp='$CXXCPP $CPPFLAGS'
24435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24438
24439       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24440 /* end confdefs.h.  */
24441 #include <math.h>
24442                       #ifdef HAVE_IEEEFP_H
24443                       #include <ieeefp.h>
24444                       #endif
24445
24446 int
24447 main ()
24448 {
24449  _fabsl(0);
24450   ;
24451   return 0;
24452 }
24453 _ACEOF
24454 if ac_fn_cxx_try_compile "$LINENO"; then :
24455   glibcxx_cv_func__fabsl_use=yes
24456 else
24457   glibcxx_cv_func__fabsl_use=no
24458 fi
24459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24460       ac_ext=c
24461 ac_cpp='$CPP $CPPFLAGS'
24462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24465
24466
24467 fi
24468
24469   fi
24470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
24471 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
24472
24473     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
24474       for ac_func in _fabsl
24475 do :
24476   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
24477 if test "x$ac_cv_func__fabsl" = x""yes; then :
24478   cat >>confdefs.h <<_ACEOF
24479 #define HAVE__FABSL 1
24480 _ACEOF
24481
24482 fi
24483 done
24484
24485     fi
24486   fi
24487
24488
24489
24490
24491
24492   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
24493 $as_echo_n "checking for fmodl declaration... " >&6; }
24494   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
24495     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
24496   $as_echo_n "(cached) " >&6
24497 else
24498
24499
24500       ac_ext=cpp
24501 ac_cpp='$CXXCPP $CPPFLAGS'
24502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24505
24506       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24507 /* end confdefs.h.  */
24508 #include <math.h>
24509 int
24510 main ()
24511 {
24512  fmodl(0, 0);
24513   ;
24514   return 0;
24515 }
24516 _ACEOF
24517 if ac_fn_cxx_try_compile "$LINENO"; then :
24518   glibcxx_cv_func_fmodl_use=yes
24519 else
24520   glibcxx_cv_func_fmodl_use=no
24521 fi
24522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24523       ac_ext=c
24524 ac_cpp='$CPP $CPPFLAGS'
24525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24528
24529
24530 fi
24531
24532   fi
24533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
24534 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
24535
24536   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
24537     for ac_func in fmodl
24538 do :
24539   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
24540 if test "x$ac_cv_func_fmodl" = x""yes; then :
24541   cat >>confdefs.h <<_ACEOF
24542 #define HAVE_FMODL 1
24543 _ACEOF
24544
24545 fi
24546 done
24547
24548   else
24549
24550   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
24551 $as_echo_n "checking for _fmodl declaration... " >&6; }
24552   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
24553     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
24554   $as_echo_n "(cached) " >&6
24555 else
24556
24557
24558       ac_ext=cpp
24559 ac_cpp='$CXXCPP $CPPFLAGS'
24560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24563
24564       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24565 /* end confdefs.h.  */
24566 #include <math.h>
24567 int
24568 main ()
24569 {
24570  _fmodl(0, 0);
24571   ;
24572   return 0;
24573 }
24574 _ACEOF
24575 if ac_fn_cxx_try_compile "$LINENO"; then :
24576   glibcxx_cv_func__fmodl_use=yes
24577 else
24578   glibcxx_cv_func__fmodl_use=no
24579 fi
24580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24581       ac_ext=c
24582 ac_cpp='$CPP $CPPFLAGS'
24583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24586
24587
24588 fi
24589
24590   fi
24591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
24592 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
24593
24594     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
24595       for ac_func in _fmodl
24596 do :
24597   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
24598 if test "x$ac_cv_func__fmodl" = x""yes; then :
24599   cat >>confdefs.h <<_ACEOF
24600 #define HAVE__FMODL 1
24601 _ACEOF
24602
24603 fi
24604 done
24605
24606     fi
24607   fi
24608
24609
24610
24611
24612
24613   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
24614 $as_echo_n "checking for frexpl declaration... " >&6; }
24615   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
24616     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
24617   $as_echo_n "(cached) " >&6
24618 else
24619
24620
24621       ac_ext=cpp
24622 ac_cpp='$CXXCPP $CPPFLAGS'
24623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24626
24627       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24628 /* end confdefs.h.  */
24629 #include <math.h>
24630 int
24631 main ()
24632 {
24633  frexpl(0, 0);
24634   ;
24635   return 0;
24636 }
24637 _ACEOF
24638 if ac_fn_cxx_try_compile "$LINENO"; then :
24639   glibcxx_cv_func_frexpl_use=yes
24640 else
24641   glibcxx_cv_func_frexpl_use=no
24642 fi
24643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24644       ac_ext=c
24645 ac_cpp='$CPP $CPPFLAGS'
24646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24649
24650
24651 fi
24652
24653   fi
24654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
24655 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
24656
24657   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
24658     for ac_func in frexpl
24659 do :
24660   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
24661 if test "x$ac_cv_func_frexpl" = x""yes; then :
24662   cat >>confdefs.h <<_ACEOF
24663 #define HAVE_FREXPL 1
24664 _ACEOF
24665
24666 fi
24667 done
24668
24669   else
24670
24671   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
24672 $as_echo_n "checking for _frexpl declaration... " >&6; }
24673   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
24674     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
24675   $as_echo_n "(cached) " >&6
24676 else
24677
24678
24679       ac_ext=cpp
24680 ac_cpp='$CXXCPP $CPPFLAGS'
24681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24684
24685       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24686 /* end confdefs.h.  */
24687 #include <math.h>
24688 int
24689 main ()
24690 {
24691  _frexpl(0, 0);
24692   ;
24693   return 0;
24694 }
24695 _ACEOF
24696 if ac_fn_cxx_try_compile "$LINENO"; then :
24697   glibcxx_cv_func__frexpl_use=yes
24698 else
24699   glibcxx_cv_func__frexpl_use=no
24700 fi
24701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24702       ac_ext=c
24703 ac_cpp='$CPP $CPPFLAGS'
24704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24707
24708
24709 fi
24710
24711   fi
24712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
24713 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
24714
24715     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
24716       for ac_func in _frexpl
24717 do :
24718   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
24719 if test "x$ac_cv_func__frexpl" = x""yes; then :
24720   cat >>confdefs.h <<_ACEOF
24721 #define HAVE__FREXPL 1
24722 _ACEOF
24723
24724 fi
24725 done
24726
24727     fi
24728   fi
24729
24730
24731
24732
24733
24734   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
24735 $as_echo_n "checking for hypotl declaration... " >&6; }
24736   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
24737     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
24738   $as_echo_n "(cached) " >&6
24739 else
24740
24741
24742       ac_ext=cpp
24743 ac_cpp='$CXXCPP $CPPFLAGS'
24744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24747
24748       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24749 /* end confdefs.h.  */
24750 #include <math.h>
24751 int
24752 main ()
24753 {
24754  hypotl(0, 0);
24755   ;
24756   return 0;
24757 }
24758 _ACEOF
24759 if ac_fn_cxx_try_compile "$LINENO"; then :
24760   glibcxx_cv_func_hypotl_use=yes
24761 else
24762   glibcxx_cv_func_hypotl_use=no
24763 fi
24764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24765       ac_ext=c
24766 ac_cpp='$CPP $CPPFLAGS'
24767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24770
24771
24772 fi
24773
24774   fi
24775   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
24776 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
24777
24778   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
24779     for ac_func in hypotl
24780 do :
24781   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
24782 if test "x$ac_cv_func_hypotl" = x""yes; then :
24783   cat >>confdefs.h <<_ACEOF
24784 #define HAVE_HYPOTL 1
24785 _ACEOF
24786
24787 fi
24788 done
24789
24790   else
24791
24792   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
24793 $as_echo_n "checking for _hypotl declaration... " >&6; }
24794   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
24795     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
24796   $as_echo_n "(cached) " >&6
24797 else
24798
24799
24800       ac_ext=cpp
24801 ac_cpp='$CXXCPP $CPPFLAGS'
24802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24805
24806       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24807 /* end confdefs.h.  */
24808 #include <math.h>
24809 int
24810 main ()
24811 {
24812  _hypotl(0, 0);
24813   ;
24814   return 0;
24815 }
24816 _ACEOF
24817 if ac_fn_cxx_try_compile "$LINENO"; then :
24818   glibcxx_cv_func__hypotl_use=yes
24819 else
24820   glibcxx_cv_func__hypotl_use=no
24821 fi
24822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24823       ac_ext=c
24824 ac_cpp='$CPP $CPPFLAGS'
24825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24828
24829
24830 fi
24831
24832   fi
24833   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
24834 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
24835
24836     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
24837       for ac_func in _hypotl
24838 do :
24839   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
24840 if test "x$ac_cv_func__hypotl" = x""yes; then :
24841   cat >>confdefs.h <<_ACEOF
24842 #define HAVE__HYPOTL 1
24843 _ACEOF
24844
24845 fi
24846 done
24847
24848     fi
24849   fi
24850
24851
24852
24853
24854
24855   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
24856 $as_echo_n "checking for ldexpl declaration... " >&6; }
24857   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
24858     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
24859   $as_echo_n "(cached) " >&6
24860 else
24861
24862
24863       ac_ext=cpp
24864 ac_cpp='$CXXCPP $CPPFLAGS'
24865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24868
24869       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24870 /* end confdefs.h.  */
24871 #include <math.h>
24872 int
24873 main ()
24874 {
24875  ldexpl(0, 0);
24876   ;
24877   return 0;
24878 }
24879 _ACEOF
24880 if ac_fn_cxx_try_compile "$LINENO"; then :
24881   glibcxx_cv_func_ldexpl_use=yes
24882 else
24883   glibcxx_cv_func_ldexpl_use=no
24884 fi
24885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24886       ac_ext=c
24887 ac_cpp='$CPP $CPPFLAGS'
24888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24891
24892
24893 fi
24894
24895   fi
24896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
24897 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
24898
24899   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
24900     for ac_func in ldexpl
24901 do :
24902   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
24903 if test "x$ac_cv_func_ldexpl" = x""yes; then :
24904   cat >>confdefs.h <<_ACEOF
24905 #define HAVE_LDEXPL 1
24906 _ACEOF
24907
24908 fi
24909 done
24910
24911   else
24912
24913   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
24914 $as_echo_n "checking for _ldexpl declaration... " >&6; }
24915   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
24916     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
24917   $as_echo_n "(cached) " >&6
24918 else
24919
24920
24921       ac_ext=cpp
24922 ac_cpp='$CXXCPP $CPPFLAGS'
24923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24926
24927       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24928 /* end confdefs.h.  */
24929 #include <math.h>
24930 int
24931 main ()
24932 {
24933  _ldexpl(0, 0);
24934   ;
24935   return 0;
24936 }
24937 _ACEOF
24938 if ac_fn_cxx_try_compile "$LINENO"; then :
24939   glibcxx_cv_func__ldexpl_use=yes
24940 else
24941   glibcxx_cv_func__ldexpl_use=no
24942 fi
24943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24944       ac_ext=c
24945 ac_cpp='$CPP $CPPFLAGS'
24946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24949
24950
24951 fi
24952
24953   fi
24954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
24955 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
24956
24957     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
24958       for ac_func in _ldexpl
24959 do :
24960   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
24961 if test "x$ac_cv_func__ldexpl" = x""yes; then :
24962   cat >>confdefs.h <<_ACEOF
24963 #define HAVE__LDEXPL 1
24964 _ACEOF
24965
24966 fi
24967 done
24968
24969     fi
24970   fi
24971
24972
24973
24974
24975
24976   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
24977 $as_echo_n "checking for logl declaration... " >&6; }
24978   if test x${glibcxx_cv_func_logl_use+set} != xset; then
24979     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
24980   $as_echo_n "(cached) " >&6
24981 else
24982
24983
24984       ac_ext=cpp
24985 ac_cpp='$CXXCPP $CPPFLAGS'
24986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24989
24990       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24991 /* end confdefs.h.  */
24992 #include <math.h>
24993                       #ifdef HAVE_IEEEFP_H
24994                       #include <ieeefp.h>
24995                       #endif
24996
24997 int
24998 main ()
24999 {
25000  logl(0);
25001   ;
25002   return 0;
25003 }
25004 _ACEOF
25005 if ac_fn_cxx_try_compile "$LINENO"; then :
25006   glibcxx_cv_func_logl_use=yes
25007 else
25008   glibcxx_cv_func_logl_use=no
25009 fi
25010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25011       ac_ext=c
25012 ac_cpp='$CPP $CPPFLAGS'
25013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25016
25017
25018 fi
25019
25020   fi
25021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25022 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25023
25024   if test x$glibcxx_cv_func_logl_use = x"yes"; then
25025     for ac_func in logl
25026 do :
25027   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25028 if test "x$ac_cv_func_logl" = x""yes; then :
25029   cat >>confdefs.h <<_ACEOF
25030 #define HAVE_LOGL 1
25031 _ACEOF
25032
25033 fi
25034 done
25035
25036   else
25037
25038   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25039 $as_echo_n "checking for _logl declaration... " >&6; }
25040   if test x${glibcxx_cv_func__logl_use+set} != xset; then
25041     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25042   $as_echo_n "(cached) " >&6
25043 else
25044
25045
25046       ac_ext=cpp
25047 ac_cpp='$CXXCPP $CPPFLAGS'
25048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25051
25052       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25053 /* end confdefs.h.  */
25054 #include <math.h>
25055                       #ifdef HAVE_IEEEFP_H
25056                       #include <ieeefp.h>
25057                       #endif
25058
25059 int
25060 main ()
25061 {
25062  _logl(0);
25063   ;
25064   return 0;
25065 }
25066 _ACEOF
25067 if ac_fn_cxx_try_compile "$LINENO"; then :
25068   glibcxx_cv_func__logl_use=yes
25069 else
25070   glibcxx_cv_func__logl_use=no
25071 fi
25072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25073       ac_ext=c
25074 ac_cpp='$CPP $CPPFLAGS'
25075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25078
25079
25080 fi
25081
25082   fi
25083   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25084 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25085
25086     if test x$glibcxx_cv_func__logl_use = x"yes"; then
25087       for ac_func in _logl
25088 do :
25089   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25090 if test "x$ac_cv_func__logl" = x""yes; then :
25091   cat >>confdefs.h <<_ACEOF
25092 #define HAVE__LOGL 1
25093 _ACEOF
25094
25095 fi
25096 done
25097
25098     fi
25099   fi
25100
25101
25102
25103
25104
25105   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25106 $as_echo_n "checking for log10l declaration... " >&6; }
25107   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25108     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25109   $as_echo_n "(cached) " >&6
25110 else
25111
25112
25113       ac_ext=cpp
25114 ac_cpp='$CXXCPP $CPPFLAGS'
25115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25118
25119       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25120 /* end confdefs.h.  */
25121 #include <math.h>
25122                       #ifdef HAVE_IEEEFP_H
25123                       #include <ieeefp.h>
25124                       #endif
25125
25126 int
25127 main ()
25128 {
25129  log10l(0);
25130   ;
25131   return 0;
25132 }
25133 _ACEOF
25134 if ac_fn_cxx_try_compile "$LINENO"; then :
25135   glibcxx_cv_func_log10l_use=yes
25136 else
25137   glibcxx_cv_func_log10l_use=no
25138 fi
25139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25140       ac_ext=c
25141 ac_cpp='$CPP $CPPFLAGS'
25142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25145
25146
25147 fi
25148
25149   fi
25150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25151 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25152
25153   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25154     for ac_func in log10l
25155 do :
25156   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25157 if test "x$ac_cv_func_log10l" = x""yes; then :
25158   cat >>confdefs.h <<_ACEOF
25159 #define HAVE_LOG10L 1
25160 _ACEOF
25161
25162 fi
25163 done
25164
25165   else
25166
25167   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25168 $as_echo_n "checking for _log10l declaration... " >&6; }
25169   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25170     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25171   $as_echo_n "(cached) " >&6
25172 else
25173
25174
25175       ac_ext=cpp
25176 ac_cpp='$CXXCPP $CPPFLAGS'
25177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25180
25181       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25182 /* end confdefs.h.  */
25183 #include <math.h>
25184                       #ifdef HAVE_IEEEFP_H
25185                       #include <ieeefp.h>
25186                       #endif
25187
25188 int
25189 main ()
25190 {
25191  _log10l(0);
25192   ;
25193   return 0;
25194 }
25195 _ACEOF
25196 if ac_fn_cxx_try_compile "$LINENO"; then :
25197   glibcxx_cv_func__log10l_use=yes
25198 else
25199   glibcxx_cv_func__log10l_use=no
25200 fi
25201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25202       ac_ext=c
25203 ac_cpp='$CPP $CPPFLAGS'
25204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25207
25208
25209 fi
25210
25211   fi
25212   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25213 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25214
25215     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25216       for ac_func in _log10l
25217 do :
25218   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25219 if test "x$ac_cv_func__log10l" = x""yes; then :
25220   cat >>confdefs.h <<_ACEOF
25221 #define HAVE__LOG10L 1
25222 _ACEOF
25223
25224 fi
25225 done
25226
25227     fi
25228   fi
25229
25230
25231
25232
25233
25234   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25235 $as_echo_n "checking for modfl declaration... " >&6; }
25236   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25237     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25238   $as_echo_n "(cached) " >&6
25239 else
25240
25241
25242       ac_ext=cpp
25243 ac_cpp='$CXXCPP $CPPFLAGS'
25244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25247
25248       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25249 /* end confdefs.h.  */
25250 #include <math.h>
25251 int
25252 main ()
25253 {
25254  modfl(0, 0);
25255   ;
25256   return 0;
25257 }
25258 _ACEOF
25259 if ac_fn_cxx_try_compile "$LINENO"; then :
25260   glibcxx_cv_func_modfl_use=yes
25261 else
25262   glibcxx_cv_func_modfl_use=no
25263 fi
25264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25265       ac_ext=c
25266 ac_cpp='$CPP $CPPFLAGS'
25267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25270
25271
25272 fi
25273
25274   fi
25275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25276 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25277
25278   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25279     for ac_func in modfl
25280 do :
25281   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25282 if test "x$ac_cv_func_modfl" = x""yes; then :
25283   cat >>confdefs.h <<_ACEOF
25284 #define HAVE_MODFL 1
25285 _ACEOF
25286
25287 fi
25288 done
25289
25290   else
25291
25292   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25293 $as_echo_n "checking for _modfl declaration... " >&6; }
25294   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25295     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25296   $as_echo_n "(cached) " >&6
25297 else
25298
25299
25300       ac_ext=cpp
25301 ac_cpp='$CXXCPP $CPPFLAGS'
25302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25305
25306       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25307 /* end confdefs.h.  */
25308 #include <math.h>
25309 int
25310 main ()
25311 {
25312  _modfl(0, 0);
25313   ;
25314   return 0;
25315 }
25316 _ACEOF
25317 if ac_fn_cxx_try_compile "$LINENO"; then :
25318   glibcxx_cv_func__modfl_use=yes
25319 else
25320   glibcxx_cv_func__modfl_use=no
25321 fi
25322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25323       ac_ext=c
25324 ac_cpp='$CPP $CPPFLAGS'
25325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25328
25329
25330 fi
25331
25332   fi
25333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
25334 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
25335
25336     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
25337       for ac_func in _modfl
25338 do :
25339   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
25340 if test "x$ac_cv_func__modfl" = x""yes; then :
25341   cat >>confdefs.h <<_ACEOF
25342 #define HAVE__MODFL 1
25343 _ACEOF
25344
25345 fi
25346 done
25347
25348     fi
25349   fi
25350
25351
25352
25353
25354
25355   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
25356 $as_echo_n "checking for powl declaration... " >&6; }
25357   if test x${glibcxx_cv_func_powl_use+set} != xset; then
25358     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
25359   $as_echo_n "(cached) " >&6
25360 else
25361
25362
25363       ac_ext=cpp
25364 ac_cpp='$CXXCPP $CPPFLAGS'
25365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25368
25369       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25370 /* end confdefs.h.  */
25371 #include <math.h>
25372 int
25373 main ()
25374 {
25375  powl(0, 0);
25376   ;
25377   return 0;
25378 }
25379 _ACEOF
25380 if ac_fn_cxx_try_compile "$LINENO"; then :
25381   glibcxx_cv_func_powl_use=yes
25382 else
25383   glibcxx_cv_func_powl_use=no
25384 fi
25385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25386       ac_ext=c
25387 ac_cpp='$CPP $CPPFLAGS'
25388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25391
25392
25393 fi
25394
25395   fi
25396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
25397 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
25398
25399   if test x$glibcxx_cv_func_powl_use = x"yes"; then
25400     for ac_func in powl
25401 do :
25402   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
25403 if test "x$ac_cv_func_powl" = x""yes; then :
25404   cat >>confdefs.h <<_ACEOF
25405 #define HAVE_POWL 1
25406 _ACEOF
25407
25408 fi
25409 done
25410
25411   else
25412
25413   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
25414 $as_echo_n "checking for _powl declaration... " >&6; }
25415   if test x${glibcxx_cv_func__powl_use+set} != xset; then
25416     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
25417   $as_echo_n "(cached) " >&6
25418 else
25419
25420
25421       ac_ext=cpp
25422 ac_cpp='$CXXCPP $CPPFLAGS'
25423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25426
25427       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25428 /* end confdefs.h.  */
25429 #include <math.h>
25430 int
25431 main ()
25432 {
25433  _powl(0, 0);
25434   ;
25435   return 0;
25436 }
25437 _ACEOF
25438 if ac_fn_cxx_try_compile "$LINENO"; then :
25439   glibcxx_cv_func__powl_use=yes
25440 else
25441   glibcxx_cv_func__powl_use=no
25442 fi
25443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25444       ac_ext=c
25445 ac_cpp='$CPP $CPPFLAGS'
25446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25449
25450
25451 fi
25452
25453   fi
25454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
25455 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
25456
25457     if test x$glibcxx_cv_func__powl_use = x"yes"; then
25458       for ac_func in _powl
25459 do :
25460   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
25461 if test "x$ac_cv_func__powl" = x""yes; then :
25462   cat >>confdefs.h <<_ACEOF
25463 #define HAVE__POWL 1
25464 _ACEOF
25465
25466 fi
25467 done
25468
25469     fi
25470   fi
25471
25472
25473
25474
25475
25476   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
25477 $as_echo_n "checking for sqrtl declaration... " >&6; }
25478   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
25479     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
25480   $as_echo_n "(cached) " >&6
25481 else
25482
25483
25484       ac_ext=cpp
25485 ac_cpp='$CXXCPP $CPPFLAGS'
25486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25489
25490       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25491 /* end confdefs.h.  */
25492 #include <math.h>
25493                       #ifdef HAVE_IEEEFP_H
25494                       #include <ieeefp.h>
25495                       #endif
25496
25497 int
25498 main ()
25499 {
25500  sqrtl(0);
25501   ;
25502   return 0;
25503 }
25504 _ACEOF
25505 if ac_fn_cxx_try_compile "$LINENO"; then :
25506   glibcxx_cv_func_sqrtl_use=yes
25507 else
25508   glibcxx_cv_func_sqrtl_use=no
25509 fi
25510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25511       ac_ext=c
25512 ac_cpp='$CPP $CPPFLAGS'
25513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25516
25517
25518 fi
25519
25520   fi
25521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
25522 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
25523
25524   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
25525     for ac_func in sqrtl
25526 do :
25527   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
25528 if test "x$ac_cv_func_sqrtl" = x""yes; then :
25529   cat >>confdefs.h <<_ACEOF
25530 #define HAVE_SQRTL 1
25531 _ACEOF
25532
25533 fi
25534 done
25535
25536   else
25537
25538   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
25539 $as_echo_n "checking for _sqrtl declaration... " >&6; }
25540   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
25541     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
25542   $as_echo_n "(cached) " >&6
25543 else
25544
25545
25546       ac_ext=cpp
25547 ac_cpp='$CXXCPP $CPPFLAGS'
25548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25551
25552       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25553 /* end confdefs.h.  */
25554 #include <math.h>
25555                       #ifdef HAVE_IEEEFP_H
25556                       #include <ieeefp.h>
25557                       #endif
25558
25559 int
25560 main ()
25561 {
25562  _sqrtl(0);
25563   ;
25564   return 0;
25565 }
25566 _ACEOF
25567 if ac_fn_cxx_try_compile "$LINENO"; then :
25568   glibcxx_cv_func__sqrtl_use=yes
25569 else
25570   glibcxx_cv_func__sqrtl_use=no
25571 fi
25572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25573       ac_ext=c
25574 ac_cpp='$CPP $CPPFLAGS'
25575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25578
25579
25580 fi
25581
25582   fi
25583   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
25584 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
25585
25586     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25587       for ac_func in _sqrtl
25588 do :
25589   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
25590 if test "x$ac_cv_func__sqrtl" = x""yes; then :
25591   cat >>confdefs.h <<_ACEOF
25592 #define HAVE__SQRTL 1
25593 _ACEOF
25594
25595 fi
25596 done
25597
25598     fi
25599   fi
25600
25601
25602
25603
25604
25605   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
25606 $as_echo_n "checking for sincosl declaration... " >&6; }
25607   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25608     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
25609   $as_echo_n "(cached) " >&6
25610 else
25611
25612
25613       ac_ext=cpp
25614 ac_cpp='$CXXCPP $CPPFLAGS'
25615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25618
25619       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25620 /* end confdefs.h.  */
25621 #include <math.h>
25622 int
25623 main ()
25624 {
25625  sincosl(0, 0, 0);
25626   ;
25627   return 0;
25628 }
25629 _ACEOF
25630 if ac_fn_cxx_try_compile "$LINENO"; then :
25631   glibcxx_cv_func_sincosl_use=yes
25632 else
25633   glibcxx_cv_func_sincosl_use=no
25634 fi
25635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25636       ac_ext=c
25637 ac_cpp='$CPP $CPPFLAGS'
25638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25641
25642
25643 fi
25644
25645   fi
25646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
25647 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25648
25649   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25650     for ac_func in sincosl
25651 do :
25652   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
25653 if test "x$ac_cv_func_sincosl" = x""yes; then :
25654   cat >>confdefs.h <<_ACEOF
25655 #define HAVE_SINCOSL 1
25656 _ACEOF
25657
25658 fi
25659 done
25660
25661   else
25662
25663   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
25664 $as_echo_n "checking for _sincosl declaration... " >&6; }
25665   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25666     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
25667   $as_echo_n "(cached) " >&6
25668 else
25669
25670
25671       ac_ext=cpp
25672 ac_cpp='$CXXCPP $CPPFLAGS'
25673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25676
25677       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25678 /* end confdefs.h.  */
25679 #include <math.h>
25680 int
25681 main ()
25682 {
25683  _sincosl(0, 0, 0);
25684   ;
25685   return 0;
25686 }
25687 _ACEOF
25688 if ac_fn_cxx_try_compile "$LINENO"; then :
25689   glibcxx_cv_func__sincosl_use=yes
25690 else
25691   glibcxx_cv_func__sincosl_use=no
25692 fi
25693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25694       ac_ext=c
25695 ac_cpp='$CPP $CPPFLAGS'
25696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25699
25700
25701 fi
25702
25703   fi
25704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
25705 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
25706
25707     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25708       for ac_func in _sincosl
25709 do :
25710   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
25711 if test "x$ac_cv_func__sincosl" = x""yes; then :
25712   cat >>confdefs.h <<_ACEOF
25713 #define HAVE__SINCOSL 1
25714 _ACEOF
25715
25716 fi
25717 done
25718
25719     fi
25720   fi
25721
25722
25723
25724
25725
25726   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
25727 $as_echo_n "checking for finitel declaration... " >&6; }
25728   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25729     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
25730   $as_echo_n "(cached) " >&6
25731 else
25732
25733
25734       ac_ext=cpp
25735 ac_cpp='$CXXCPP $CPPFLAGS'
25736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25739
25740       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25741 /* end confdefs.h.  */
25742 #include <math.h>
25743                       #ifdef HAVE_IEEEFP_H
25744                       #include <ieeefp.h>
25745                       #endif
25746
25747 int
25748 main ()
25749 {
25750  finitel(0);
25751   ;
25752   return 0;
25753 }
25754 _ACEOF
25755 if ac_fn_cxx_try_compile "$LINENO"; then :
25756   glibcxx_cv_func_finitel_use=yes
25757 else
25758   glibcxx_cv_func_finitel_use=no
25759 fi
25760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25761       ac_ext=c
25762 ac_cpp='$CPP $CPPFLAGS'
25763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25766
25767
25768 fi
25769
25770   fi
25771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
25772 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
25773
25774   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25775     for ac_func in finitel
25776 do :
25777   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
25778 if test "x$ac_cv_func_finitel" = x""yes; then :
25779   cat >>confdefs.h <<_ACEOF
25780 #define HAVE_FINITEL 1
25781 _ACEOF
25782
25783 fi
25784 done
25785
25786   else
25787
25788   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
25789 $as_echo_n "checking for _finitel declaration... " >&6; }
25790   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25791     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
25792   $as_echo_n "(cached) " >&6
25793 else
25794
25795
25796       ac_ext=cpp
25797 ac_cpp='$CXXCPP $CPPFLAGS'
25798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25801
25802       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25803 /* end confdefs.h.  */
25804 #include <math.h>
25805                       #ifdef HAVE_IEEEFP_H
25806                       #include <ieeefp.h>
25807                       #endif
25808
25809 int
25810 main ()
25811 {
25812  _finitel(0);
25813   ;
25814   return 0;
25815 }
25816 _ACEOF
25817 if ac_fn_cxx_try_compile "$LINENO"; then :
25818   glibcxx_cv_func__finitel_use=yes
25819 else
25820   glibcxx_cv_func__finitel_use=no
25821 fi
25822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25823       ac_ext=c
25824 ac_cpp='$CPP $CPPFLAGS'
25825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25828
25829
25830 fi
25831
25832   fi
25833   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
25834 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
25835
25836     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25837       for ac_func in _finitel
25838 do :
25839   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
25840 if test "x$ac_cv_func__finitel" = x""yes; then :
25841   cat >>confdefs.h <<_ACEOF
25842 #define HAVE__FINITEL 1
25843 _ACEOF
25844
25845 fi
25846 done
25847
25848     fi
25849   fi
25850
25851
25852
25853
25854   LIBS="$ac_save_LIBS"
25855   CXXFLAGS="$ac_save_CXXFLAGS"
25856
25857
25858   ac_test_CXXFLAGS="${CXXFLAGS+set}"
25859   ac_save_CXXFLAGS="$CXXFLAGS"
25860   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
25861
25862
25863   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
25864 $as_echo_n "checking for strtold declaration... " >&6; }
25865   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
25866     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
25867   $as_echo_n "(cached) " >&6
25868 else
25869
25870
25871       ac_ext=cpp
25872 ac_cpp='$CXXCPP $CPPFLAGS'
25873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25876
25877       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25878 /* end confdefs.h.  */
25879 #include <stdlib.h>
25880 int
25881 main ()
25882 {
25883  strtold(0, 0);
25884   ;
25885   return 0;
25886 }
25887 _ACEOF
25888 if ac_fn_cxx_try_compile "$LINENO"; then :
25889   glibcxx_cv_func_strtold_use=yes
25890 else
25891   glibcxx_cv_func_strtold_use=no
25892 fi
25893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25894       ac_ext=c
25895 ac_cpp='$CPP $CPPFLAGS'
25896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25899
25900
25901 fi
25902
25903   fi
25904   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
25905 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
25906   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
25907     for ac_func in strtold
25908 do :
25909   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
25910 if test "x$ac_cv_func_strtold" = x""yes; then :
25911   cat >>confdefs.h <<_ACEOF
25912 #define HAVE_STRTOLD 1
25913 _ACEOF
25914
25915 fi
25916 done
25917
25918   fi
25919
25920
25921
25922
25923   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
25924 $as_echo_n "checking for strtof declaration... " >&6; }
25925   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
25926     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
25927   $as_echo_n "(cached) " >&6
25928 else
25929
25930
25931       ac_ext=cpp
25932 ac_cpp='$CXXCPP $CPPFLAGS'
25933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25936
25937       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25938 /* end confdefs.h.  */
25939 #include <stdlib.h>
25940 int
25941 main ()
25942 {
25943  strtof(0, 0);
25944   ;
25945   return 0;
25946 }
25947 _ACEOF
25948 if ac_fn_cxx_try_compile "$LINENO"; then :
25949   glibcxx_cv_func_strtof_use=yes
25950 else
25951   glibcxx_cv_func_strtof_use=no
25952 fi
25953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25954       ac_ext=c
25955 ac_cpp='$CPP $CPPFLAGS'
25956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25959
25960
25961 fi
25962
25963   fi
25964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
25965 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
25966   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
25967     for ac_func in strtof
25968 do :
25969   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
25970 if test "x$ac_cv_func_strtof" = x""yes; then :
25971   cat >>confdefs.h <<_ACEOF
25972 #define HAVE_STRTOF 1
25973 _ACEOF
25974
25975 fi
25976 done
25977
25978   fi
25979
25980
25981
25982
25983   CXXFLAGS="$ac_save_CXXFLAGS"
25984
25985
25986   # For /dev/random and /dev/urandom for TR1.
25987
25988
25989   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
25990 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
25991   if test "${glibcxx_cv_random_tr1+set}" = set; then :
25992   $as_echo_n "(cached) " >&6
25993 else
25994
25995     if test -r /dev/random && test -r /dev/urandom; then
25996       glibcxx_cv_random_tr1=yes;
25997     else
25998       glibcxx_cv_random_tr1=no;
25999     fi
26000
26001 fi
26002
26003   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26004 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26005
26006   if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26007
26008 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26009
26010   fi
26011
26012
26013
26014   # For TLS support.
26015
26016
26017    # Check whether --enable-tls was given.
26018 if test "${enable_tls+set}" = set; then :
26019   enableval=$enable_tls;
26020       case "$enableval" in
26021        yes|no) ;;
26022        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26023       esac
26024
26025 else
26026   enable_tls=yes
26027 fi
26028
26029
26030   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26031 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26032 if test "${gcc_cv_have_tls+set}" = set; then :
26033   $as_echo_n "(cached) " >&6
26034 else
26035
26036     if test "$cross_compiling" = yes; then :
26037                 if test x$gcc_no_link = xyes; then
26038   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26039 fi
26040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26041 /* end confdefs.h.  */
26042 __thread int a; int b; int main() { return a = b; }
26043 _ACEOF
26044 if ac_fn_c_try_link "$LINENO"; then :
26045   chktls_save_LDFLAGS="$LDFLAGS"
26046                           case $host in
26047             *-*-linux*)
26048               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26049               ;;
26050           esac
26051           chktls_save_CFLAGS="$CFLAGS"
26052           CFLAGS="-fPIC $CFLAGS"
26053                   if test x$gcc_no_link = xyes; then
26054   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26055 fi
26056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26057 /* end confdefs.h.  */
26058 int f() { return 0; }
26059 _ACEOF
26060 if ac_fn_c_try_link "$LINENO"; then :
26061   if test x$gcc_no_link = xyes; then
26062   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26063 fi
26064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26065 /* end confdefs.h.  */
26066 __thread int a; int b; int f() { return a = b; }
26067 _ACEOF
26068 if ac_fn_c_try_link "$LINENO"; then :
26069   gcc_cv_have_tls=yes
26070 else
26071   gcc_cv_have_tls=no
26072 fi
26073 rm -f core conftest.err conftest.$ac_objext \
26074     conftest$ac_exeext conftest.$ac_ext
26075 else
26076   gcc_cv_have_tls=yes
26077 fi
26078 rm -f core conftest.err conftest.$ac_objext \
26079     conftest$ac_exeext conftest.$ac_ext
26080           CFLAGS="$chktls_save_CFLAGS"
26081           LDFLAGS="$chktls_save_LDFLAGS"
26082 else
26083   gcc_cv_have_tls=no
26084 fi
26085 rm -f core conftest.err conftest.$ac_objext \
26086     conftest$ac_exeext conftest.$ac_ext
26087
26088
26089 else
26090   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26091 /* end confdefs.h.  */
26092 __thread int a; int b; int main() { return a = b; }
26093 _ACEOF
26094 if ac_fn_c_try_run "$LINENO"; then :
26095                       chktls_save_LDFLAGS="$LDFLAGS"
26096       LDFLAGS="-static $LDFLAGS"
26097       if test x$gcc_no_link = xyes; then
26098   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26099 fi
26100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26101 /* end confdefs.h.  */
26102 int main() { return 0; }
26103 _ACEOF
26104 if ac_fn_c_try_link "$LINENO"; then :
26105   if test "$cross_compiling" = yes; then :
26106   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26107 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26108 as_fn_error "cannot run test program while cross compiling
26109 See \`config.log' for more details." "$LINENO" 5; }
26110 else
26111   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26112 /* end confdefs.h.  */
26113 __thread int a; int b; int main() { return a = b; }
26114 _ACEOF
26115 if ac_fn_c_try_run "$LINENO"; then :
26116   gcc_cv_have_tls=yes
26117 else
26118   gcc_cv_have_tls=no
26119 fi
26120 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26121   conftest.$ac_objext conftest.beam conftest.$ac_ext
26122 fi
26123
26124 else
26125   gcc_cv_have_tls=yes
26126 fi
26127 rm -f core conftest.err conftest.$ac_objext \
26128     conftest$ac_exeext conftest.$ac_ext
26129       LDFLAGS="$chktls_save_LDFLAGS"
26130       if test $gcc_cv_have_tls = yes; then
26131                                                 chktls_save_CFLAGS="$CFLAGS"
26132         thread_CFLAGS=failed
26133         for flag in '' '-pthread' '-lpthread'; do
26134           CFLAGS="$flag $chktls_save_CFLAGS"
26135           if test x$gcc_no_link = xyes; then
26136   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26137 fi
26138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26139 /* end confdefs.h.  */
26140 #include <pthread.h>
26141                 void *g(void *d) { return NULL; }
26142 int
26143 main ()
26144 {
26145 pthread_t t; pthread_create(&t,NULL,g,NULL);
26146   ;
26147   return 0;
26148 }
26149 _ACEOF
26150 if ac_fn_c_try_link "$LINENO"; then :
26151   thread_CFLAGS="$flag"
26152 fi
26153 rm -f core conftest.err conftest.$ac_objext \
26154     conftest$ac_exeext conftest.$ac_ext
26155           if test "X$thread_CFLAGS" != Xfailed; then
26156             break
26157           fi
26158         done
26159         CFLAGS="$chktls_save_CFLAGS"
26160         if test "X$thread_CFLAGS" != Xfailed; then
26161           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26162                                                   if test "$cross_compiling" = yes; then :
26163   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26164 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26165 as_fn_error "cannot run test program while cross compiling
26166 See \`config.log' for more details." "$LINENO" 5; }
26167 else
26168   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26169 /* end confdefs.h.  */
26170 #include <pthread.h>
26171                 __thread int a;
26172                 static int *volatile a_in_other_thread;
26173                 static void *
26174                 thread_func (void *arg)
26175                 {
26176                   a_in_other_thread = &a;
26177                   return (void *)0;
26178                 }
26179 int
26180 main ()
26181 {
26182 pthread_t thread;
26183                 void *thread_retval;
26184                 int *volatile a_in_main_thread;
26185                 a_in_main_thread = &a;
26186                 if (pthread_create (&thread, (pthread_attr_t *)0,
26187                                     thread_func, (void *)0))
26188                   return 0;
26189                 if (pthread_join (thread, &thread_retval))
26190                   return 0;
26191                 return (a_in_other_thread == a_in_main_thread);
26192   ;
26193   return 0;
26194 }
26195 _ACEOF
26196 if ac_fn_c_try_run "$LINENO"; then :
26197   gcc_cv_have_tls=yes
26198 else
26199   gcc_cv_have_tls=no
26200 fi
26201 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26202   conftest.$ac_objext conftest.beam conftest.$ac_ext
26203 fi
26204
26205           CFLAGS="$chktls_save_CFLAGS"
26206         fi
26207       fi
26208 else
26209   gcc_cv_have_tls=no
26210 fi
26211 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26212   conftest.$ac_objext conftest.beam conftest.$ac_ext
26213 fi
26214
26215 fi
26216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
26217 $as_echo "$gcc_cv_have_tls" >&6; }
26218   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
26219
26220 $as_echo "#define HAVE_TLS 1" >>confdefs.h
26221
26222   fi
26223
26224   # For iconv support.
26225
26226       if test "X$prefix" = "XNONE"; then
26227     acl_final_prefix="$ac_default_prefix"
26228   else
26229     acl_final_prefix="$prefix"
26230   fi
26231   if test "X$exec_prefix" = "XNONE"; then
26232     acl_final_exec_prefix='${prefix}'
26233   else
26234     acl_final_exec_prefix="$exec_prefix"
26235   fi
26236   acl_save_prefix="$prefix"
26237   prefix="$acl_final_prefix"
26238   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
26239   prefix="$acl_save_prefix"
26240
26241
26242 # Check whether --with-gnu-ld was given.
26243 if test "${with_gnu_ld+set}" = set; then :
26244   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
26245 else
26246   with_gnu_ld=no
26247 fi
26248
26249 # Prepare PATH_SEPARATOR.
26250 # The user is always right.
26251 if test "${PATH_SEPARATOR+set}" != set; then
26252   echo "#! /bin/sh" >conf$$.sh
26253   echo  "exit 0"   >>conf$$.sh
26254   chmod +x conf$$.sh
26255   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
26256     PATH_SEPARATOR=';'
26257   else
26258     PATH_SEPARATOR=:
26259   fi
26260   rm -f conf$$.sh
26261 fi
26262 ac_prog=ld
26263 if test "$GCC" = yes; then
26264   # Check if gcc -print-prog-name=ld gives a path.
26265   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
26266 $as_echo_n "checking for ld used by GCC... " >&6; }
26267   case $host in
26268   *-*-mingw*)
26269     # gcc leaves a trailing carriage return which upsets mingw
26270     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
26271   *)
26272     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
26273   esac
26274   case $ac_prog in
26275     # Accept absolute paths.
26276     [\\/]* | [A-Za-z]:[\\/]*)
26277       re_direlt='/[^/][^/]*/\.\./'
26278       # Canonicalize the path of ld
26279       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
26280       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
26281         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
26282       done
26283       test -z "$LD" && LD="$ac_prog"
26284       ;;
26285   "")
26286     # If it fails, then pretend we aren't using GCC.
26287     ac_prog=ld
26288     ;;
26289   *)
26290     # If it is relative, then search for the first ld in PATH.
26291     with_gnu_ld=unknown
26292     ;;
26293   esac
26294 elif test "$with_gnu_ld" = yes; then
26295   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
26296 $as_echo_n "checking for GNU ld... " >&6; }
26297 else
26298   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
26299 $as_echo_n "checking for non-GNU ld... " >&6; }
26300 fi
26301 if test "${acl_cv_path_LD+set}" = set; then :
26302   $as_echo_n "(cached) " >&6
26303 else
26304   if test -z "$LD"; then
26305   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
26306   for ac_dir in $PATH; do
26307     test -z "$ac_dir" && ac_dir=.
26308     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
26309       acl_cv_path_LD="$ac_dir/$ac_prog"
26310       # Check to see if the program is GNU ld.  I'd rather use --version,
26311       # but apparently some GNU ld's only accept -v.
26312       # Break only if it was the GNU/non-GNU ld that we prefer.
26313       if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
26314         test "$with_gnu_ld" != no && break
26315       else
26316         test "$with_gnu_ld" != yes && break
26317       fi
26318     fi
26319   done
26320   IFS="$ac_save_ifs"
26321 else
26322   acl_cv_path_LD="$LD" # Let the user override the test with a path.
26323 fi
26324 fi
26325
26326 LD="$acl_cv_path_LD"
26327 if test -n "$LD"; then
26328   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
26329 $as_echo "$LD" >&6; }
26330 else
26331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26332 $as_echo "no" >&6; }
26333 fi
26334 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
26335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
26336 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
26337 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
26338   $as_echo_n "(cached) " >&6
26339 else
26340   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
26341 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
26342   acl_cv_prog_gnu_ld=yes
26343 else
26344   acl_cv_prog_gnu_ld=no
26345 fi
26346 fi
26347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
26348 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
26349 with_gnu_ld=$acl_cv_prog_gnu_ld
26350
26351
26352
26353                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
26354 $as_echo_n "checking for shared library run path origin... " >&6; }
26355 if test "${acl_cv_rpath+set}" = set; then :
26356   $as_echo_n "(cached) " >&6
26357 else
26358
26359     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
26360     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
26361     . ./conftest.sh
26362     rm -f ./conftest.sh
26363     acl_cv_rpath=done
26364
26365 fi
26366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
26367 $as_echo "$acl_cv_rpath" >&6; }
26368   wl="$acl_cv_wl"
26369   libext="$acl_cv_libext"
26370   shlibext="$acl_cv_shlibext"
26371   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
26372   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
26373   hardcode_direct="$acl_cv_hardcode_direct"
26374   hardcode_minus_L="$acl_cv_hardcode_minus_L"
26375     # Check whether --enable-rpath was given.
26376 if test "${enable_rpath+set}" = set; then :
26377   enableval=$enable_rpath; :
26378 else
26379   enable_rpath=yes
26380 fi
26381
26382
26383
26384
26385
26386
26387
26388
26389     use_additional=yes
26390
26391   acl_save_prefix="$prefix"
26392   prefix="$acl_final_prefix"
26393   acl_save_exec_prefix="$exec_prefix"
26394   exec_prefix="$acl_final_exec_prefix"
26395
26396     eval additional_includedir=\"$includedir\"
26397     eval additional_libdir=\"$libdir\"
26398
26399   exec_prefix="$acl_save_exec_prefix"
26400   prefix="$acl_save_prefix"
26401
26402
26403 # Check whether --with-libiconv-prefix was given.
26404 if test "${with_libiconv_prefix+set}" = set; then :
26405   withval=$with_libiconv_prefix;
26406     if test "X$withval" = "Xno"; then
26407       use_additional=no
26408     else
26409       if test "X$withval" = "X"; then
26410
26411   acl_save_prefix="$prefix"
26412   prefix="$acl_final_prefix"
26413   acl_save_exec_prefix="$exec_prefix"
26414   exec_prefix="$acl_final_exec_prefix"
26415
26416           eval additional_includedir=\"$includedir\"
26417           eval additional_libdir=\"$libdir\"
26418
26419   exec_prefix="$acl_save_exec_prefix"
26420   prefix="$acl_save_prefix"
26421
26422       else
26423         additional_includedir="$withval/include"
26424         additional_libdir="$withval/lib"
26425       fi
26426     fi
26427
26428 fi
26429
26430       LIBICONV=
26431   LTLIBICONV=
26432   INCICONV=
26433   rpathdirs=
26434   ltrpathdirs=
26435   names_already_handled=
26436   names_next_round='iconv '
26437   while test -n "$names_next_round"; do
26438     names_this_round="$names_next_round"
26439     names_next_round=
26440     for name in $names_this_round; do
26441       already_handled=
26442       for n in $names_already_handled; do
26443         if test "$n" = "$name"; then
26444           already_handled=yes
26445           break
26446         fi
26447       done
26448       if test -z "$already_handled"; then
26449         names_already_handled="$names_already_handled $name"
26450                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
26451         eval value=\"\$HAVE_LIB$uppername\"
26452         if test -n "$value"; then
26453           if test "$value" = yes; then
26454             eval value=\"\$LIB$uppername\"
26455             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
26456             eval value=\"\$LTLIB$uppername\"
26457             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
26458           else
26459                                     :
26460           fi
26461         else
26462                               found_dir=
26463           found_la=
26464           found_so=
26465           found_a=
26466           if test $use_additional = yes; then
26467             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
26468               found_dir="$additional_libdir"
26469               found_so="$additional_libdir/lib$name.$shlibext"
26470               if test -f "$additional_libdir/lib$name.la"; then
26471                 found_la="$additional_libdir/lib$name.la"
26472               fi
26473             else
26474               if test -f "$additional_libdir/lib$name.$libext"; then
26475                 found_dir="$additional_libdir"
26476                 found_a="$additional_libdir/lib$name.$libext"
26477                 if test -f "$additional_libdir/lib$name.la"; then
26478                   found_la="$additional_libdir/lib$name.la"
26479                 fi
26480               fi
26481             fi
26482           fi
26483           if test "X$found_dir" = "X"; then
26484             for x in $LDFLAGS $LTLIBICONV; do
26485
26486   acl_save_prefix="$prefix"
26487   prefix="$acl_final_prefix"
26488   acl_save_exec_prefix="$exec_prefix"
26489   exec_prefix="$acl_final_exec_prefix"
26490   eval x=\"$x\"
26491   exec_prefix="$acl_save_exec_prefix"
26492   prefix="$acl_save_prefix"
26493
26494               case "$x" in
26495                 -L*)
26496                   dir=`echo "X$x" | sed -e 's/^X-L//'`
26497                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
26498                     found_dir="$dir"
26499                     found_so="$dir/lib$name.$shlibext"
26500                     if test -f "$dir/lib$name.la"; then
26501                       found_la="$dir/lib$name.la"
26502                     fi
26503                   else
26504                     if test -f "$dir/lib$name.$libext"; then
26505                       found_dir="$dir"
26506                       found_a="$dir/lib$name.$libext"
26507                       if test -f "$dir/lib$name.la"; then
26508                         found_la="$dir/lib$name.la"
26509                       fi
26510                     fi
26511                   fi
26512                   ;;
26513               esac
26514               if test "X$found_dir" != "X"; then
26515                 break
26516               fi
26517             done
26518           fi
26519           if test "X$found_dir" != "X"; then
26520                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
26521             if test "X$found_so" != "X"; then
26522                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
26523                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26524               else
26525                                                                                 haveit=
26526                 for x in $ltrpathdirs; do
26527                   if test "X$x" = "X$found_dir"; then
26528                     haveit=yes
26529                     break
26530                   fi
26531                 done
26532                 if test -z "$haveit"; then
26533                   ltrpathdirs="$ltrpathdirs $found_dir"
26534                 fi
26535                                 if test "$hardcode_direct" = yes; then
26536                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26537                 else
26538                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
26539                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26540                                                             haveit=
26541                     for x in $rpathdirs; do
26542                       if test "X$x" = "X$found_dir"; then
26543                         haveit=yes
26544                         break
26545                       fi
26546                     done
26547                     if test -z "$haveit"; then
26548                       rpathdirs="$rpathdirs $found_dir"
26549                     fi
26550                   else
26551                                                                                 haveit=
26552                     for x in $LDFLAGS $LIBICONV; do
26553
26554   acl_save_prefix="$prefix"
26555   prefix="$acl_final_prefix"
26556   acl_save_exec_prefix="$exec_prefix"
26557   exec_prefix="$acl_final_exec_prefix"
26558   eval x=\"$x\"
26559   exec_prefix="$acl_save_exec_prefix"
26560   prefix="$acl_save_prefix"
26561
26562                       if test "X$x" = "X-L$found_dir"; then
26563                         haveit=yes
26564                         break
26565                       fi
26566                     done
26567                     if test -z "$haveit"; then
26568                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
26569                     fi
26570                     if test "$hardcode_minus_L" != no; then
26571                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26572                     else
26573                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26574                     fi
26575                   fi
26576                 fi
26577               fi
26578             else
26579               if test "X$found_a" != "X"; then
26580                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
26581               else
26582                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
26583               fi
26584             fi
26585                         additional_includedir=
26586             case "$found_dir" in
26587               */lib | */lib/)
26588                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
26589                 additional_includedir="$basedir/include"
26590                 ;;
26591             esac
26592             if test "X$additional_includedir" != "X"; then
26593                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
26594                 haveit=
26595                 if test "X$additional_includedir" = "X/usr/local/include"; then
26596                   if test -n "$GCC"; then
26597                     case $host_os in
26598                       linux*) haveit=yes;;
26599                     esac
26600                   fi
26601                 fi
26602                 if test -z "$haveit"; then
26603                   for x in $CPPFLAGS $INCICONV; do
26604
26605   acl_save_prefix="$prefix"
26606   prefix="$acl_final_prefix"
26607   acl_save_exec_prefix="$exec_prefix"
26608   exec_prefix="$acl_final_exec_prefix"
26609   eval x=\"$x\"
26610   exec_prefix="$acl_save_exec_prefix"
26611   prefix="$acl_save_prefix"
26612
26613                     if test "X$x" = "X-I$additional_includedir"; then
26614                       haveit=yes
26615                       break
26616                     fi
26617                   done
26618                   if test -z "$haveit"; then
26619                     if test -d "$additional_includedir"; then
26620                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26621                     fi
26622                   fi
26623                 fi
26624               fi
26625             fi
26626                         if test -n "$found_la"; then
26627                                                         save_libdir="$libdir"
26628               case "$found_la" in
26629                 */* | *\\*) . "$found_la" ;;
26630                 *) . "./$found_la" ;;
26631               esac
26632               libdir="$save_libdir"
26633                             for dep in $dependency_libs; do
26634                 case "$dep" in
26635                   -L*)
26636                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
26637                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
26638                       haveit=
26639                       if test "X$additional_libdir" = "X/usr/local/lib"; then
26640                         if test -n "$GCC"; then
26641                           case $host_os in
26642                             linux*) haveit=yes;;
26643                           esac
26644                         fi
26645                       fi
26646                       if test -z "$haveit"; then
26647                         haveit=
26648                         for x in $LDFLAGS $LIBICONV; do
26649
26650   acl_save_prefix="$prefix"
26651   prefix="$acl_final_prefix"
26652   acl_save_exec_prefix="$exec_prefix"
26653   exec_prefix="$acl_final_exec_prefix"
26654   eval x=\"$x\"
26655   exec_prefix="$acl_save_exec_prefix"
26656   prefix="$acl_save_prefix"
26657
26658                           if test "X$x" = "X-L$additional_libdir"; then
26659                             haveit=yes
26660                             break
26661                           fi
26662                         done
26663                         if test -z "$haveit"; then
26664                           if test -d "$additional_libdir"; then
26665                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
26666                           fi
26667                         fi
26668                         haveit=
26669                         for x in $LDFLAGS $LTLIBICONV; do
26670
26671   acl_save_prefix="$prefix"
26672   prefix="$acl_final_prefix"
26673   acl_save_exec_prefix="$exec_prefix"
26674   exec_prefix="$acl_final_exec_prefix"
26675   eval x=\"$x\"
26676   exec_prefix="$acl_save_exec_prefix"
26677   prefix="$acl_save_prefix"
26678
26679                           if test "X$x" = "X-L$additional_libdir"; then
26680                             haveit=yes
26681                             break
26682                           fi
26683                         done
26684                         if test -z "$haveit"; then
26685                           if test -d "$additional_libdir"; then
26686                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
26687                           fi
26688                         fi
26689                       fi
26690                     fi
26691                     ;;
26692                   -R*)
26693                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
26694                     if test "$enable_rpath" != no; then
26695                                                                   haveit=
26696                       for x in $rpathdirs; do
26697                         if test "X$x" = "X$dir"; then
26698                           haveit=yes
26699                           break
26700                         fi
26701                       done
26702                       if test -z "$haveit"; then
26703                         rpathdirs="$rpathdirs $dir"
26704                       fi
26705                                                                   haveit=
26706                       for x in $ltrpathdirs; do
26707                         if test "X$x" = "X$dir"; then
26708                           haveit=yes
26709                           break
26710                         fi
26711                       done
26712                       if test -z "$haveit"; then
26713                         ltrpathdirs="$ltrpathdirs $dir"
26714                       fi
26715                     fi
26716                     ;;
26717                   -l*)
26718                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
26719                     ;;
26720                   *.la)
26721                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
26722                     ;;
26723                   *)
26724                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
26725                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
26726                     ;;
26727                 esac
26728               done
26729             fi
26730           else
26731                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26732             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
26733           fi
26734         fi
26735       fi
26736     done
26737   done
26738   if test "X$rpathdirs" != "X"; then
26739     if test -n "$hardcode_libdir_separator"; then
26740                         alldirs=
26741       for found_dir in $rpathdirs; do
26742         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
26743       done
26744             acl_save_libdir="$libdir"
26745       libdir="$alldirs"
26746       eval flag=\"$hardcode_libdir_flag_spec\"
26747       libdir="$acl_save_libdir"
26748       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26749     else
26750             for found_dir in $rpathdirs; do
26751         acl_save_libdir="$libdir"
26752         libdir="$found_dir"
26753         eval flag=\"$hardcode_libdir_flag_spec\"
26754         libdir="$acl_save_libdir"
26755         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26756       done
26757     fi
26758   fi
26759   if test "X$ltrpathdirs" != "X"; then
26760             for found_dir in $ltrpathdirs; do
26761       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
26762     done
26763   fi
26764
26765
26766
26767
26768
26769
26770
26771           am_save_CPPFLAGS="$CPPFLAGS"
26772
26773   for element in $INCICONV; do
26774     haveit=
26775     for x in $CPPFLAGS; do
26776
26777   acl_save_prefix="$prefix"
26778   prefix="$acl_final_prefix"
26779   acl_save_exec_prefix="$exec_prefix"
26780   exec_prefix="$acl_final_exec_prefix"
26781   eval x=\"$x\"
26782   exec_prefix="$acl_save_exec_prefix"
26783   prefix="$acl_save_prefix"
26784
26785       if test "X$x" = "X$element"; then
26786         haveit=yes
26787         break
26788       fi
26789     done
26790     if test -z "$haveit"; then
26791       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
26792     fi
26793   done
26794
26795
26796   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
26797 $as_echo_n "checking for iconv... " >&6; }
26798 if test "${am_cv_func_iconv+set}" = set; then :
26799   $as_echo_n "(cached) " >&6
26800 else
26801
26802     am_cv_func_iconv="no, consider installing GNU libiconv"
26803     am_cv_lib_iconv=no
26804     if test x$gcc_no_link = xyes; then
26805   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26806 fi
26807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26808 /* end confdefs.h.  */
26809 #include <stdlib.h>
26810 #include <iconv.h>
26811 int
26812 main ()
26813 {
26814 iconv_t cd = iconv_open("","");
26815        iconv(cd,NULL,NULL,NULL,NULL);
26816        iconv_close(cd);
26817   ;
26818   return 0;
26819 }
26820 _ACEOF
26821 if ac_fn_c_try_link "$LINENO"; then :
26822   am_cv_func_iconv=yes
26823 fi
26824 rm -f core conftest.err conftest.$ac_objext \
26825     conftest$ac_exeext conftest.$ac_ext
26826     if test "$am_cv_func_iconv" != yes; then
26827       am_save_LIBS="$LIBS"
26828       LIBS="$LIBS $LIBICONV"
26829       if test x$gcc_no_link = xyes; then
26830   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26831 fi
26832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26833 /* end confdefs.h.  */
26834 #include <stdlib.h>
26835 #include <iconv.h>
26836 int
26837 main ()
26838 {
26839 iconv_t cd = iconv_open("","");
26840          iconv(cd,NULL,NULL,NULL,NULL);
26841          iconv_close(cd);
26842   ;
26843   return 0;
26844 }
26845 _ACEOF
26846 if ac_fn_c_try_link "$LINENO"; then :
26847   am_cv_lib_iconv=yes
26848         am_cv_func_iconv=yes
26849 fi
26850 rm -f core conftest.err conftest.$ac_objext \
26851     conftest$ac_exeext conftest.$ac_ext
26852       LIBS="$am_save_LIBS"
26853     fi
26854
26855 fi
26856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
26857 $as_echo "$am_cv_func_iconv" >&6; }
26858   if test "$am_cv_func_iconv" = yes; then
26859
26860 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26861
26862   fi
26863   if test "$am_cv_lib_iconv" = yes; then
26864     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
26865 $as_echo_n "checking how to link with libiconv... " >&6; }
26866     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
26867 $as_echo "$LIBICONV" >&6; }
26868   else
26869             CPPFLAGS="$am_save_CPPFLAGS"
26870     LIBICONV=
26871     LTLIBICONV=
26872   fi
26873
26874
26875
26876   if test "$am_cv_func_iconv" = yes; then
26877     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
26878 $as_echo_n "checking for iconv declaration... " >&6; }
26879     if test "${am_cv_proto_iconv+set}" = set; then :
26880   $as_echo_n "(cached) " >&6
26881 else
26882
26883       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26884 /* end confdefs.h.  */
26885
26886 #include <stdlib.h>
26887 #include <iconv.h>
26888 extern
26889 #ifdef __cplusplus
26890 "C"
26891 #endif
26892 #if defined(__STDC__) || defined(__cplusplus)
26893 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26894 #else
26895 size_t iconv();
26896 #endif
26897
26898 int
26899 main ()
26900 {
26901
26902   ;
26903   return 0;
26904 }
26905 _ACEOF
26906 if ac_fn_c_try_compile "$LINENO"; then :
26907   am_cv_proto_iconv_arg1=""
26908 else
26909   am_cv_proto_iconv_arg1="const"
26910 fi
26911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26912       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);"
26913 fi
26914
26915     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
26916     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
26917          }$am_cv_proto_iconv" >&5
26918 $as_echo "${ac_t:-
26919          }$am_cv_proto_iconv" >&6; }
26920
26921 cat >>confdefs.h <<_ACEOF
26922 #define ICONV_CONST $am_cv_proto_iconv_arg1
26923 _ACEOF
26924
26925   fi
26926
26927
26928 else
26929
26930   # This lets us hard-code the functionality we know we'll have in the cross
26931   # target environment.  "Let" is a sugar-coated word placed on an especially
26932   # dull and tedious hack, actually.
26933   #
26934   # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
26935   # that involve linking, can't be used:
26936   #    "cannot open sim-crt0.o"
26937   #    "cannot open crt0.o"
26938   # etc.  All this is because there currently exists no unified, consistent
26939   # way for top level CC information to be passed down to target directories:
26940   # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
26941   # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
26942   # crosses can be removed.
26943
26944   # If Canadian cross, then don't pick up tools from the build directory.
26945   # Used only in GLIBCXX_EXPORT_INCLUDES.
26946   if test -n "$with_cross_host" &&
26947      test x"$build_alias" != x"$with_cross_host" &&
26948      test x"$build" != x"$target";
26949   then
26950     CANADIAN=yes
26951   else
26952     CANADIAN=no
26953   fi
26954
26955   # Construct crosses by hand, eliminating bits that need ld...
26956   # GLIBCXX_CHECK_MATH_SUPPORT
26957
26958   # First, test for "known" system libraries.  We may be using newlib even
26959   # on a hosted environment.
26960   if test "x${with_newlib}" = "xyes"; then
26961     os_include_dir="os/newlib"
26962     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
26963
26964
26965     # GLIBCXX_CHECK_STDLIB_SUPPORT
26966     $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
26967
26968
26969     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
26970
26971     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
26972
26973     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
26974
26975     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
26976
26977     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
26978
26979     $as_echo "#define HAVE_COSF 1" >>confdefs.h
26980
26981     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
26982
26983     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
26984
26985     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
26986
26987     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
26988
26989     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
26990
26991     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
26992
26993     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
26994
26995     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
26996
26997     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
26998
26999     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27000
27001     $as_echo "#define HAVE_POWF 1" >>confdefs.h
27002
27003     $as_echo "#define HAVE_SINF 1" >>confdefs.h
27004
27005     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27006
27007     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27008
27009     $as_echo "#define HAVE_TANF 1" >>confdefs.h
27010
27011     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27012
27013
27014     $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27015
27016   else
27017
27018 # Base decisions on target environment.
27019 case "${host}" in
27020   arm*-*-symbianelf*)
27021     # This is a freestanding configuration; there is nothing to do here.
27022     ;;
27023
27024   mips*-sde-elf*)
27025     # These definitions are for the SDE C library rather than newlib.
27026     SECTION_FLAGS='-ffunction-sections -fdata-sections'
27027
27028
27029   # All these tests are for C++; save the language and the compiler flags.
27030   # The CXXFLAGS thing is suspicious, but based on similar bits previously
27031   # found in GLIBCXX_CONFIGURE.
27032
27033   ac_ext=cpp
27034 ac_cpp='$CXXCPP $CPPFLAGS'
27035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27038
27039   ac_test_CXXFLAGS="${CXXFLAGS+set}"
27040   ac_save_CXXFLAGS="$CXXFLAGS"
27041
27042   # Check for maintainer-mode bits.
27043   if test x"$USE_MAINTAINER_MODE" = xno; then
27044     WERROR=''
27045   else
27046     WERROR='-Werror'
27047   fi
27048
27049   # Check for -ffunction-sections -fdata-sections
27050   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27051 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27052   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27053   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27054 /* end confdefs.h.  */
27055 int foo; void bar() { };
27056 int
27057 main ()
27058 {
27059
27060   ;
27061   return 0;
27062 }
27063 _ACEOF
27064 if ac_fn_cxx_try_compile "$LINENO"; then :
27065   ac_fdsections=yes
27066 else
27067   ac_fdsections=no
27068 fi
27069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27070   if test "$ac_test_CXXFLAGS" = set; then
27071     CXXFLAGS="$ac_save_CXXFLAGS"
27072   else
27073     # this is the suspicious part
27074     CXXFLAGS=''
27075   fi
27076   if test x"$ac_fdsections" = x"yes"; then
27077     SECTION_FLAGS='-ffunction-sections -fdata-sections'
27078   fi
27079   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27080 $as_echo "$ac_fdsections" >&6; }
27081
27082   ac_ext=c
27083 ac_cpp='$CPP $CPPFLAGS'
27084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27087
27088
27089
27090
27091
27092   # If we're not using GNU ld, then there's no point in even trying these
27093   # tests.  Check for that first.  We should have already tested for gld
27094   # by now (in libtool), but require it now just to be safe...
27095   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27096   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27097
27098
27099
27100   # The name set by libtool depends on the version of libtool.  Shame on us
27101   # for depending on an impl detail, but c'est la vie.  Older versions used
27102   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27103   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27104   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
27105   # set (hence we're using an older libtool), then set it.
27106   if test x${with_gnu_ld+set} != xset; then
27107     if test x${ac_cv_prog_gnu_ld+set} != xset; then
27108       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
27109       with_gnu_ld=no
27110     else
27111       with_gnu_ld=$ac_cv_prog_gnu_ld
27112     fi
27113   fi
27114
27115   # Start by getting the version number.  I think the libtool test already
27116   # does some of this, but throws away the result.
27117   glibcxx_ld_is_gold=no
27118   if test x"$with_gnu_ld" = x"yes"; then
27119     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27120 $as_echo_n "checking for ld version... " >&6; }
27121
27122     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27123       glibcxx_ld_is_gold=yes
27124     fi
27125     ldver=`$LD --version 2>/dev/null |
27126            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'`
27127
27128     glibcxx_gnu_ld_version=`echo $ldver | \
27129            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27130     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27131 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27132   fi
27133
27134   # Set --gc-sections.
27135   glibcxx_have_gc_sections=no
27136   if test "$glibcxx_ld_is_gold" = "yes"; then
27137     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27138       glibcxx_have_gc_sections=yes
27139     fi
27140   else
27141     glibcxx_gcsections_min_ld=21602
27142     if test x"$with_gnu_ld" = x"yes" &&
27143         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27144       glibcxx_have_gc_sections=yes
27145     fi
27146   fi
27147   if test "$glibcxx_have_gc_sections" = "yes"; then
27148     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
27149     # NB: This flag only works reliably after 2.16.1. Configure tests
27150     # for this are difficult, so hard wire a value that should work.
27151
27152     ac_test_CFLAGS="${CFLAGS+set}"
27153     ac_save_CFLAGS="$CFLAGS"
27154     CFLAGS='-Wl,--gc-sections'
27155
27156     # Check for -Wl,--gc-sections
27157     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27158 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27159     if test x$gcc_no_link = xyes; then
27160   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27161 fi
27162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27163 /* end confdefs.h.  */
27164  int one(void) { return 1; }
27165      int two(void) { return 2; }
27166
27167 int
27168 main ()
27169 {
27170  two();
27171   ;
27172   return 0;
27173 }
27174 _ACEOF
27175 if ac_fn_c_try_link "$LINENO"; then :
27176   ac_gcsections=yes
27177 else
27178   ac_gcsections=no
27179 fi
27180 rm -f core conftest.err conftest.$ac_objext \
27181     conftest$ac_exeext conftest.$ac_ext
27182     if test "$ac_gcsections" = "yes"; then
27183       rm -f conftest.c
27184       touch conftest.c
27185       if $CC -c conftest.c; then
27186         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
27187            grep "Warning: gc-sections option ignored" > /dev/null; then
27188           ac_gcsections=no
27189         fi
27190       fi
27191       rm -f conftest.c conftest.o conftest
27192     fi
27193     if test "$ac_gcsections" = "yes"; then
27194       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
27195     fi
27196     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
27197 $as_echo "$ac_gcsections" >&6; }
27198
27199     if test "$ac_test_CFLAGS" = set; then
27200       CFLAGS="$ac_save_CFLAGS"
27201     else
27202       # this is the suspicious part
27203       CFLAGS=''
27204     fi
27205   fi
27206
27207   # Set -z,relro.
27208   # Note this is only for shared objects.
27209   ac_ld_relro=no
27210   if test x"$with_gnu_ld" = x"yes"; then
27211     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
27212 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
27213     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
27214     if test -n "$cxx_z_relo"; then
27215       OPT_LDFLAGS="-Wl,-z,relro"
27216       ac_ld_relro=yes
27217     fi
27218     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
27219 $as_echo "$ac_ld_relro" >&6; }
27220   fi
27221
27222   # Set linker optimization flags.
27223   if test x"$with_gnu_ld" = x"yes"; then
27224     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
27225   fi
27226
27227
27228
27229
27230
27231   ac_test_CXXFLAGS="${CXXFLAGS+set}"
27232   ac_save_CXXFLAGS="$CXXFLAGS"
27233   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27234
27235     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
27236 $as_echo_n "checking for sin in -lm... " >&6; }
27237 if test "${ac_cv_lib_m_sin+set}" = set; then :
27238   $as_echo_n "(cached) " >&6
27239 else
27240   ac_check_lib_save_LIBS=$LIBS
27241 LIBS="-lm  $LIBS"
27242 if test x$gcc_no_link = xyes; then
27243   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27244 fi
27245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27246 /* end confdefs.h.  */
27247
27248 /* Override any GCC internal prototype to avoid an error.
27249    Use char because int might match the return type of a GCC
27250    builtin and then its argument prototype would still apply.  */
27251 #ifdef __cplusplus
27252 extern "C"
27253 #endif
27254 char sin ();
27255 int
27256 main ()
27257 {
27258 return sin ();
27259   ;
27260   return 0;
27261 }
27262 _ACEOF
27263 if ac_fn_c_try_link "$LINENO"; then :
27264   ac_cv_lib_m_sin=yes
27265 else
27266   ac_cv_lib_m_sin=no
27267 fi
27268 rm -f core conftest.err conftest.$ac_objext \
27269     conftest$ac_exeext conftest.$ac_ext
27270 LIBS=$ac_check_lib_save_LIBS
27271 fi
27272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
27273 $as_echo "$ac_cv_lib_m_sin" >&6; }
27274 if test "x$ac_cv_lib_m_sin" = x""yes; then :
27275   libm="-lm"
27276 fi
27277
27278   ac_save_LIBS="$LIBS"
27279   LIBS="$LIBS $libm"
27280
27281
27282
27283   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
27284 $as_echo_n "checking for isinf declaration... " >&6; }
27285   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
27286     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
27287   $as_echo_n "(cached) " >&6
27288 else
27289
27290
27291       ac_ext=cpp
27292 ac_cpp='$CXXCPP $CPPFLAGS'
27293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27296
27297       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27298 /* end confdefs.h.  */
27299 #include <math.h>
27300                       #ifdef HAVE_IEEEFP_H
27301                       #include <ieeefp.h>
27302                       #endif
27303
27304 int
27305 main ()
27306 {
27307  isinf(0);
27308   ;
27309   return 0;
27310 }
27311 _ACEOF
27312 if ac_fn_cxx_try_compile "$LINENO"; then :
27313   glibcxx_cv_func_isinf_use=yes
27314 else
27315   glibcxx_cv_func_isinf_use=no
27316 fi
27317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27318       ac_ext=c
27319 ac_cpp='$CPP $CPPFLAGS'
27320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27323
27324
27325 fi
27326
27327   fi
27328   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
27329 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
27330
27331   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
27332     for ac_func in isinf
27333 do :
27334   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
27335 if test "x$ac_cv_func_isinf" = x""yes; then :
27336   cat >>confdefs.h <<_ACEOF
27337 #define HAVE_ISINF 1
27338 _ACEOF
27339
27340 fi
27341 done
27342
27343   else
27344
27345   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
27346 $as_echo_n "checking for _isinf declaration... " >&6; }
27347   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
27348     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
27349   $as_echo_n "(cached) " >&6
27350 else
27351
27352
27353       ac_ext=cpp
27354 ac_cpp='$CXXCPP $CPPFLAGS'
27355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27358
27359       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27360 /* end confdefs.h.  */
27361 #include <math.h>
27362                       #ifdef HAVE_IEEEFP_H
27363                       #include <ieeefp.h>
27364                       #endif
27365
27366 int
27367 main ()
27368 {
27369  _isinf(0);
27370   ;
27371   return 0;
27372 }
27373 _ACEOF
27374 if ac_fn_cxx_try_compile "$LINENO"; then :
27375   glibcxx_cv_func__isinf_use=yes
27376 else
27377   glibcxx_cv_func__isinf_use=no
27378 fi
27379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27380       ac_ext=c
27381 ac_cpp='$CPP $CPPFLAGS'
27382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27385
27386
27387 fi
27388
27389   fi
27390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
27391 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
27392
27393     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
27394       for ac_func in _isinf
27395 do :
27396   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
27397 if test "x$ac_cv_func__isinf" = x""yes; then :
27398   cat >>confdefs.h <<_ACEOF
27399 #define HAVE__ISINF 1
27400 _ACEOF
27401
27402 fi
27403 done
27404
27405     fi
27406   fi
27407
27408
27409
27410
27411
27412   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
27413 $as_echo_n "checking for isnan declaration... " >&6; }
27414   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
27415     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
27416   $as_echo_n "(cached) " >&6
27417 else
27418
27419
27420       ac_ext=cpp
27421 ac_cpp='$CXXCPP $CPPFLAGS'
27422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27425
27426       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27427 /* end confdefs.h.  */
27428 #include <math.h>
27429                       #ifdef HAVE_IEEEFP_H
27430                       #include <ieeefp.h>
27431                       #endif
27432
27433 int
27434 main ()
27435 {
27436  isnan(0);
27437   ;
27438   return 0;
27439 }
27440 _ACEOF
27441 if ac_fn_cxx_try_compile "$LINENO"; then :
27442   glibcxx_cv_func_isnan_use=yes
27443 else
27444   glibcxx_cv_func_isnan_use=no
27445 fi
27446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27447       ac_ext=c
27448 ac_cpp='$CPP $CPPFLAGS'
27449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27452
27453
27454 fi
27455
27456   fi
27457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
27458 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
27459
27460   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
27461     for ac_func in isnan
27462 do :
27463   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
27464 if test "x$ac_cv_func_isnan" = x""yes; then :
27465   cat >>confdefs.h <<_ACEOF
27466 #define HAVE_ISNAN 1
27467 _ACEOF
27468
27469 fi
27470 done
27471
27472   else
27473
27474   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
27475 $as_echo_n "checking for _isnan declaration... " >&6; }
27476   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
27477     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
27478   $as_echo_n "(cached) " >&6
27479 else
27480
27481
27482       ac_ext=cpp
27483 ac_cpp='$CXXCPP $CPPFLAGS'
27484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27487
27488       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27489 /* end confdefs.h.  */
27490 #include <math.h>
27491                       #ifdef HAVE_IEEEFP_H
27492                       #include <ieeefp.h>
27493                       #endif
27494
27495 int
27496 main ()
27497 {
27498  _isnan(0);
27499   ;
27500   return 0;
27501 }
27502 _ACEOF
27503 if ac_fn_cxx_try_compile "$LINENO"; then :
27504   glibcxx_cv_func__isnan_use=yes
27505 else
27506   glibcxx_cv_func__isnan_use=no
27507 fi
27508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27509       ac_ext=c
27510 ac_cpp='$CPP $CPPFLAGS'
27511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27514
27515
27516 fi
27517
27518   fi
27519   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
27520 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
27521
27522     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
27523       for ac_func in _isnan
27524 do :
27525   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
27526 if test "x$ac_cv_func__isnan" = x""yes; then :
27527   cat >>confdefs.h <<_ACEOF
27528 #define HAVE__ISNAN 1
27529 _ACEOF
27530
27531 fi
27532 done
27533
27534     fi
27535   fi
27536
27537
27538
27539
27540
27541   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
27542 $as_echo_n "checking for finite declaration... " >&6; }
27543   if test x${glibcxx_cv_func_finite_use+set} != xset; then
27544     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
27545   $as_echo_n "(cached) " >&6
27546 else
27547
27548
27549       ac_ext=cpp
27550 ac_cpp='$CXXCPP $CPPFLAGS'
27551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27554
27555       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27556 /* end confdefs.h.  */
27557 #include <math.h>
27558                       #ifdef HAVE_IEEEFP_H
27559                       #include <ieeefp.h>
27560                       #endif
27561
27562 int
27563 main ()
27564 {
27565  finite(0);
27566   ;
27567   return 0;
27568 }
27569 _ACEOF
27570 if ac_fn_cxx_try_compile "$LINENO"; then :
27571   glibcxx_cv_func_finite_use=yes
27572 else
27573   glibcxx_cv_func_finite_use=no
27574 fi
27575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27576       ac_ext=c
27577 ac_cpp='$CPP $CPPFLAGS'
27578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27581
27582
27583 fi
27584
27585   fi
27586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
27587 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
27588
27589   if test x$glibcxx_cv_func_finite_use = x"yes"; then
27590     for ac_func in finite
27591 do :
27592   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
27593 if test "x$ac_cv_func_finite" = x""yes; then :
27594   cat >>confdefs.h <<_ACEOF
27595 #define HAVE_FINITE 1
27596 _ACEOF
27597
27598 fi
27599 done
27600
27601   else
27602
27603   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
27604 $as_echo_n "checking for _finite declaration... " >&6; }
27605   if test x${glibcxx_cv_func__finite_use+set} != xset; then
27606     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
27607   $as_echo_n "(cached) " >&6
27608 else
27609
27610
27611       ac_ext=cpp
27612 ac_cpp='$CXXCPP $CPPFLAGS'
27613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27616
27617       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27618 /* end confdefs.h.  */
27619 #include <math.h>
27620                       #ifdef HAVE_IEEEFP_H
27621                       #include <ieeefp.h>
27622                       #endif
27623
27624 int
27625 main ()
27626 {
27627  _finite(0);
27628   ;
27629   return 0;
27630 }
27631 _ACEOF
27632 if ac_fn_cxx_try_compile "$LINENO"; then :
27633   glibcxx_cv_func__finite_use=yes
27634 else
27635   glibcxx_cv_func__finite_use=no
27636 fi
27637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27638       ac_ext=c
27639 ac_cpp='$CPP $CPPFLAGS'
27640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27643
27644
27645 fi
27646
27647   fi
27648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
27649 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
27650
27651     if test x$glibcxx_cv_func__finite_use = x"yes"; then
27652       for ac_func in _finite
27653 do :
27654   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
27655 if test "x$ac_cv_func__finite" = x""yes; then :
27656   cat >>confdefs.h <<_ACEOF
27657 #define HAVE__FINITE 1
27658 _ACEOF
27659
27660 fi
27661 done
27662
27663     fi
27664   fi
27665
27666
27667
27668
27669
27670   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
27671 $as_echo_n "checking for sincos declaration... " >&6; }
27672   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
27673     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
27674   $as_echo_n "(cached) " >&6
27675 else
27676
27677
27678       ac_ext=cpp
27679 ac_cpp='$CXXCPP $CPPFLAGS'
27680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27683
27684       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27685 /* end confdefs.h.  */
27686 #include <math.h>
27687 int
27688 main ()
27689 {
27690  sincos(0, 0, 0);
27691   ;
27692   return 0;
27693 }
27694 _ACEOF
27695 if ac_fn_cxx_try_compile "$LINENO"; then :
27696   glibcxx_cv_func_sincos_use=yes
27697 else
27698   glibcxx_cv_func_sincos_use=no
27699 fi
27700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27701       ac_ext=c
27702 ac_cpp='$CPP $CPPFLAGS'
27703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27706
27707
27708 fi
27709
27710   fi
27711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
27712 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
27713
27714   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
27715     for ac_func in sincos
27716 do :
27717   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
27718 if test "x$ac_cv_func_sincos" = x""yes; then :
27719   cat >>confdefs.h <<_ACEOF
27720 #define HAVE_SINCOS 1
27721 _ACEOF
27722
27723 fi
27724 done
27725
27726   else
27727
27728   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
27729 $as_echo_n "checking for _sincos declaration... " >&6; }
27730   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
27731     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
27732   $as_echo_n "(cached) " >&6
27733 else
27734
27735
27736       ac_ext=cpp
27737 ac_cpp='$CXXCPP $CPPFLAGS'
27738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27741
27742       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27743 /* end confdefs.h.  */
27744 #include <math.h>
27745 int
27746 main ()
27747 {
27748  _sincos(0, 0, 0);
27749   ;
27750   return 0;
27751 }
27752 _ACEOF
27753 if ac_fn_cxx_try_compile "$LINENO"; then :
27754   glibcxx_cv_func__sincos_use=yes
27755 else
27756   glibcxx_cv_func__sincos_use=no
27757 fi
27758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27759       ac_ext=c
27760 ac_cpp='$CPP $CPPFLAGS'
27761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27764
27765
27766 fi
27767
27768   fi
27769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
27770 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
27771
27772     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
27773       for ac_func in _sincos
27774 do :
27775   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
27776 if test "x$ac_cv_func__sincos" = x""yes; then :
27777   cat >>confdefs.h <<_ACEOF
27778 #define HAVE__SINCOS 1
27779 _ACEOF
27780
27781 fi
27782 done
27783
27784     fi
27785   fi
27786
27787
27788
27789
27790
27791   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
27792 $as_echo_n "checking for fpclass declaration... " >&6; }
27793   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
27794     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
27795   $as_echo_n "(cached) " >&6
27796 else
27797
27798
27799       ac_ext=cpp
27800 ac_cpp='$CXXCPP $CPPFLAGS'
27801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27804
27805       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27806 /* end confdefs.h.  */
27807 #include <math.h>
27808                       #ifdef HAVE_IEEEFP_H
27809                       #include <ieeefp.h>
27810                       #endif
27811
27812 int
27813 main ()
27814 {
27815  fpclass(0);
27816   ;
27817   return 0;
27818 }
27819 _ACEOF
27820 if ac_fn_cxx_try_compile "$LINENO"; then :
27821   glibcxx_cv_func_fpclass_use=yes
27822 else
27823   glibcxx_cv_func_fpclass_use=no
27824 fi
27825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27826       ac_ext=c
27827 ac_cpp='$CPP $CPPFLAGS'
27828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27831
27832
27833 fi
27834
27835   fi
27836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
27837 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
27838
27839   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
27840     for ac_func in fpclass
27841 do :
27842   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
27843 if test "x$ac_cv_func_fpclass" = x""yes; then :
27844   cat >>confdefs.h <<_ACEOF
27845 #define HAVE_FPCLASS 1
27846 _ACEOF
27847
27848 fi
27849 done
27850
27851   else
27852
27853   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
27854 $as_echo_n "checking for _fpclass declaration... " >&6; }
27855   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
27856     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
27857   $as_echo_n "(cached) " >&6
27858 else
27859
27860
27861       ac_ext=cpp
27862 ac_cpp='$CXXCPP $CPPFLAGS'
27863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27866
27867       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27868 /* end confdefs.h.  */
27869 #include <math.h>
27870                       #ifdef HAVE_IEEEFP_H
27871                       #include <ieeefp.h>
27872                       #endif
27873
27874 int
27875 main ()
27876 {
27877  _fpclass(0);
27878   ;
27879   return 0;
27880 }
27881 _ACEOF
27882 if ac_fn_cxx_try_compile "$LINENO"; then :
27883   glibcxx_cv_func__fpclass_use=yes
27884 else
27885   glibcxx_cv_func__fpclass_use=no
27886 fi
27887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27888       ac_ext=c
27889 ac_cpp='$CPP $CPPFLAGS'
27890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27893
27894
27895 fi
27896
27897   fi
27898   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
27899 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
27900
27901     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
27902       for ac_func in _fpclass
27903 do :
27904   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
27905 if test "x$ac_cv_func__fpclass" = x""yes; then :
27906   cat >>confdefs.h <<_ACEOF
27907 #define HAVE__FPCLASS 1
27908 _ACEOF
27909
27910 fi
27911 done
27912
27913     fi
27914   fi
27915
27916
27917
27918
27919
27920   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
27921 $as_echo_n "checking for qfpclass declaration... " >&6; }
27922   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
27923     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
27924   $as_echo_n "(cached) " >&6
27925 else
27926
27927
27928       ac_ext=cpp
27929 ac_cpp='$CXXCPP $CPPFLAGS'
27930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27933
27934       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27935 /* end confdefs.h.  */
27936 #include <math.h>
27937                       #ifdef HAVE_IEEEFP_H
27938                       #include <ieeefp.h>
27939                       #endif
27940
27941 int
27942 main ()
27943 {
27944  qfpclass(0);
27945   ;
27946   return 0;
27947 }
27948 _ACEOF
27949 if ac_fn_cxx_try_compile "$LINENO"; then :
27950   glibcxx_cv_func_qfpclass_use=yes
27951 else
27952   glibcxx_cv_func_qfpclass_use=no
27953 fi
27954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27955       ac_ext=c
27956 ac_cpp='$CPP $CPPFLAGS'
27957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27960
27961
27962 fi
27963
27964   fi
27965   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
27966 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
27967
27968   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
27969     for ac_func in qfpclass
27970 do :
27971   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
27972 if test "x$ac_cv_func_qfpclass" = x""yes; then :
27973   cat >>confdefs.h <<_ACEOF
27974 #define HAVE_QFPCLASS 1
27975 _ACEOF
27976
27977 fi
27978 done
27979
27980   else
27981
27982   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
27983 $as_echo_n "checking for _qfpclass declaration... " >&6; }
27984   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
27985     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
27986   $as_echo_n "(cached) " >&6
27987 else
27988
27989
27990       ac_ext=cpp
27991 ac_cpp='$CXXCPP $CPPFLAGS'
27992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27995
27996       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27997 /* end confdefs.h.  */
27998 #include <math.h>
27999                       #ifdef HAVE_IEEEFP_H
28000                       #include <ieeefp.h>
28001                       #endif
28002
28003 int
28004 main ()
28005 {
28006  _qfpclass(0);
28007   ;
28008   return 0;
28009 }
28010 _ACEOF
28011 if ac_fn_cxx_try_compile "$LINENO"; then :
28012   glibcxx_cv_func__qfpclass_use=yes
28013 else
28014   glibcxx_cv_func__qfpclass_use=no
28015 fi
28016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28017       ac_ext=c
28018 ac_cpp='$CPP $CPPFLAGS'
28019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28022
28023
28024 fi
28025
28026   fi
28027   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28028 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28029
28030     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28031       for ac_func in _qfpclass
28032 do :
28033   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28034 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28035   cat >>confdefs.h <<_ACEOF
28036 #define HAVE__QFPCLASS 1
28037 _ACEOF
28038
28039 fi
28040 done
28041
28042     fi
28043   fi
28044
28045
28046
28047
28048
28049   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28050 $as_echo_n "checking for hypot declaration... " >&6; }
28051   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28052     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28053   $as_echo_n "(cached) " >&6
28054 else
28055
28056
28057       ac_ext=cpp
28058 ac_cpp='$CXXCPP $CPPFLAGS'
28059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28062
28063       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28064 /* end confdefs.h.  */
28065 #include <math.h>
28066 int
28067 main ()
28068 {
28069  hypot(0, 0);
28070   ;
28071   return 0;
28072 }
28073 _ACEOF
28074 if ac_fn_cxx_try_compile "$LINENO"; then :
28075   glibcxx_cv_func_hypot_use=yes
28076 else
28077   glibcxx_cv_func_hypot_use=no
28078 fi
28079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28080       ac_ext=c
28081 ac_cpp='$CPP $CPPFLAGS'
28082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28085
28086
28087 fi
28088
28089   fi
28090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28091 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28092
28093   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28094     for ac_func in hypot
28095 do :
28096   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28097 if test "x$ac_cv_func_hypot" = x""yes; then :
28098   cat >>confdefs.h <<_ACEOF
28099 #define HAVE_HYPOT 1
28100 _ACEOF
28101
28102 fi
28103 done
28104
28105   else
28106
28107   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28108 $as_echo_n "checking for _hypot declaration... " >&6; }
28109   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28110     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28111   $as_echo_n "(cached) " >&6
28112 else
28113
28114
28115       ac_ext=cpp
28116 ac_cpp='$CXXCPP $CPPFLAGS'
28117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28120
28121       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28122 /* end confdefs.h.  */
28123 #include <math.h>
28124 int
28125 main ()
28126 {
28127  _hypot(0, 0);
28128   ;
28129   return 0;
28130 }
28131 _ACEOF
28132 if ac_fn_cxx_try_compile "$LINENO"; then :
28133   glibcxx_cv_func__hypot_use=yes
28134 else
28135   glibcxx_cv_func__hypot_use=no
28136 fi
28137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28138       ac_ext=c
28139 ac_cpp='$CPP $CPPFLAGS'
28140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28143
28144
28145 fi
28146
28147   fi
28148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28149 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28150
28151     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28152       for ac_func in _hypot
28153 do :
28154   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28155 if test "x$ac_cv_func__hypot" = x""yes; then :
28156   cat >>confdefs.h <<_ACEOF
28157 #define HAVE__HYPOT 1
28158 _ACEOF
28159
28160 fi
28161 done
28162
28163     fi
28164   fi
28165
28166
28167
28168
28169
28170     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
28171 $as_echo_n "checking for float trig functions... " >&6; }
28172   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
28173   $as_echo_n "(cached) " >&6
28174 else
28175
28176
28177     ac_ext=cpp
28178 ac_cpp='$CXXCPP $CPPFLAGS'
28179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28182
28183     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28184 /* end confdefs.h.  */
28185 #include <math.h>
28186 int
28187 main ()
28188 {
28189 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
28190   ;
28191   return 0;
28192 }
28193 _ACEOF
28194 if ac_fn_cxx_try_compile "$LINENO"; then :
28195   glibcxx_cv_func_float_trig_use=yes
28196 else
28197   glibcxx_cv_func_float_trig_use=no
28198 fi
28199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28200     ac_ext=c
28201 ac_cpp='$CPP $CPPFLAGS'
28202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28205
28206 fi
28207
28208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
28209 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
28210   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
28211     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
28212 do :
28213   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28214 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28215 eval as_val=\$$as_ac_var
28216    if test "x$as_val" = x""yes; then :
28217   cat >>confdefs.h <<_ACEOF
28218 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28219 _ACEOF
28220
28221 fi
28222 done
28223
28224   else
28225     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
28226 $as_echo_n "checking for _float trig functions... " >&6; }
28227     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
28228   $as_echo_n "(cached) " >&6
28229 else
28230
28231
28232       ac_ext=cpp
28233 ac_cpp='$CXXCPP $CPPFLAGS'
28234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28237
28238       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28239 /* end confdefs.h.  */
28240 #include <math.h>
28241 int
28242 main ()
28243 {
28244 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
28245   ;
28246   return 0;
28247 }
28248 _ACEOF
28249 if ac_fn_cxx_try_compile "$LINENO"; then :
28250   glibcxx_cv_func__float_trig_use=yes
28251 else
28252   glibcxx_cv_func__float_trig_use=no
28253 fi
28254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28255       ac_ext=c
28256 ac_cpp='$CPP $CPPFLAGS'
28257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28260
28261 fi
28262
28263     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
28264 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
28265     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
28266       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
28267 do :
28268   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28269 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28270 eval as_val=\$$as_ac_var
28271    if test "x$as_val" = x""yes; then :
28272   cat >>confdefs.h <<_ACEOF
28273 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28274 _ACEOF
28275
28276 fi
28277 done
28278
28279     fi
28280   fi
28281
28282
28283
28284
28285
28286     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
28287 $as_echo_n "checking for float round functions... " >&6; }
28288   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
28289   $as_echo_n "(cached) " >&6
28290 else
28291
28292
28293     ac_ext=cpp
28294 ac_cpp='$CXXCPP $CPPFLAGS'
28295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28298
28299     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28300 /* end confdefs.h.  */
28301 #include <math.h>
28302 int
28303 main ()
28304 {
28305 ceilf (0); floorf (0);
28306   ;
28307   return 0;
28308 }
28309 _ACEOF
28310 if ac_fn_cxx_try_compile "$LINENO"; then :
28311   glibcxx_cv_func_float_round_use=yes
28312 else
28313   glibcxx_cv_func_float_round_use=no
28314 fi
28315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28316     ac_ext=c
28317 ac_cpp='$CPP $CPPFLAGS'
28318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28321
28322 fi
28323
28324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
28325 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
28326   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
28327     for ac_func in ceilf floorf
28328 do :
28329   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28330 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28331 eval as_val=\$$as_ac_var
28332    if test "x$as_val" = x""yes; then :
28333   cat >>confdefs.h <<_ACEOF
28334 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28335 _ACEOF
28336
28337 fi
28338 done
28339
28340   else
28341     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
28342 $as_echo_n "checking for _float round functions... " >&6; }
28343     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
28344   $as_echo_n "(cached) " >&6
28345 else
28346
28347
28348       ac_ext=cpp
28349 ac_cpp='$CXXCPP $CPPFLAGS'
28350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28353
28354       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28355 /* end confdefs.h.  */
28356 #include <math.h>
28357 int
28358 main ()
28359 {
28360 _ceilf (0); _floorf (0);
28361   ;
28362   return 0;
28363 }
28364 _ACEOF
28365 if ac_fn_cxx_try_compile "$LINENO"; then :
28366   glibcxx_cv_func__float_round_use=yes
28367 else
28368   glibcxx_cv_func__float_round_use=no
28369 fi
28370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28371       ac_ext=c
28372 ac_cpp='$CPP $CPPFLAGS'
28373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28376
28377 fi
28378
28379     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
28380 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
28381     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
28382       for ac_func in _ceilf _floorf
28383 do :
28384   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28385 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28386 eval as_val=\$$as_ac_var
28387    if test "x$as_val" = x""yes; then :
28388   cat >>confdefs.h <<_ACEOF
28389 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28390 _ACEOF
28391
28392 fi
28393 done
28394
28395     fi
28396   fi
28397
28398
28399
28400
28401
28402
28403   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
28404 $as_echo_n "checking for expf declaration... " >&6; }
28405   if test x${glibcxx_cv_func_expf_use+set} != xset; then
28406     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
28407   $as_echo_n "(cached) " >&6
28408 else
28409
28410
28411       ac_ext=cpp
28412 ac_cpp='$CXXCPP $CPPFLAGS'
28413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28416
28417       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28418 /* end confdefs.h.  */
28419 #include <math.h>
28420                       #ifdef HAVE_IEEEFP_H
28421                       #include <ieeefp.h>
28422                       #endif
28423
28424 int
28425 main ()
28426 {
28427  expf(0);
28428   ;
28429   return 0;
28430 }
28431 _ACEOF
28432 if ac_fn_cxx_try_compile "$LINENO"; then :
28433   glibcxx_cv_func_expf_use=yes
28434 else
28435   glibcxx_cv_func_expf_use=no
28436 fi
28437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28438       ac_ext=c
28439 ac_cpp='$CPP $CPPFLAGS'
28440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28443
28444
28445 fi
28446
28447   fi
28448   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
28449 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
28450
28451   if test x$glibcxx_cv_func_expf_use = x"yes"; then
28452     for ac_func in expf
28453 do :
28454   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
28455 if test "x$ac_cv_func_expf" = x""yes; then :
28456   cat >>confdefs.h <<_ACEOF
28457 #define HAVE_EXPF 1
28458 _ACEOF
28459
28460 fi
28461 done
28462
28463   else
28464
28465   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
28466 $as_echo_n "checking for _expf declaration... " >&6; }
28467   if test x${glibcxx_cv_func__expf_use+set} != xset; then
28468     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
28469   $as_echo_n "(cached) " >&6
28470 else
28471
28472
28473       ac_ext=cpp
28474 ac_cpp='$CXXCPP $CPPFLAGS'
28475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28478
28479       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28480 /* end confdefs.h.  */
28481 #include <math.h>
28482                       #ifdef HAVE_IEEEFP_H
28483                       #include <ieeefp.h>
28484                       #endif
28485
28486 int
28487 main ()
28488 {
28489  _expf(0);
28490   ;
28491   return 0;
28492 }
28493 _ACEOF
28494 if ac_fn_cxx_try_compile "$LINENO"; then :
28495   glibcxx_cv_func__expf_use=yes
28496 else
28497   glibcxx_cv_func__expf_use=no
28498 fi
28499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28500       ac_ext=c
28501 ac_cpp='$CPP $CPPFLAGS'
28502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28505
28506
28507 fi
28508
28509   fi
28510   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
28511 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
28512
28513     if test x$glibcxx_cv_func__expf_use = x"yes"; then
28514       for ac_func in _expf
28515 do :
28516   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
28517 if test "x$ac_cv_func__expf" = x""yes; then :
28518   cat >>confdefs.h <<_ACEOF
28519 #define HAVE__EXPF 1
28520 _ACEOF
28521
28522 fi
28523 done
28524
28525     fi
28526   fi
28527
28528
28529
28530
28531
28532   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
28533 $as_echo_n "checking for isnanf declaration... " >&6; }
28534   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
28535     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
28536   $as_echo_n "(cached) " >&6
28537 else
28538
28539
28540       ac_ext=cpp
28541 ac_cpp='$CXXCPP $CPPFLAGS'
28542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28545
28546       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28547 /* end confdefs.h.  */
28548 #include <math.h>
28549                       #ifdef HAVE_IEEEFP_H
28550                       #include <ieeefp.h>
28551                       #endif
28552
28553 int
28554 main ()
28555 {
28556  isnanf(0);
28557   ;
28558   return 0;
28559 }
28560 _ACEOF
28561 if ac_fn_cxx_try_compile "$LINENO"; then :
28562   glibcxx_cv_func_isnanf_use=yes
28563 else
28564   glibcxx_cv_func_isnanf_use=no
28565 fi
28566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28567       ac_ext=c
28568 ac_cpp='$CPP $CPPFLAGS'
28569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28572
28573
28574 fi
28575
28576   fi
28577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
28578 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
28579
28580   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
28581     for ac_func in isnanf
28582 do :
28583   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
28584 if test "x$ac_cv_func_isnanf" = x""yes; then :
28585   cat >>confdefs.h <<_ACEOF
28586 #define HAVE_ISNANF 1
28587 _ACEOF
28588
28589 fi
28590 done
28591
28592   else
28593
28594   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
28595 $as_echo_n "checking for _isnanf declaration... " >&6; }
28596   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
28597     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
28598   $as_echo_n "(cached) " >&6
28599 else
28600
28601
28602       ac_ext=cpp
28603 ac_cpp='$CXXCPP $CPPFLAGS'
28604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28607
28608       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28609 /* end confdefs.h.  */
28610 #include <math.h>
28611                       #ifdef HAVE_IEEEFP_H
28612                       #include <ieeefp.h>
28613                       #endif
28614
28615 int
28616 main ()
28617 {
28618  _isnanf(0);
28619   ;
28620   return 0;
28621 }
28622 _ACEOF
28623 if ac_fn_cxx_try_compile "$LINENO"; then :
28624   glibcxx_cv_func__isnanf_use=yes
28625 else
28626   glibcxx_cv_func__isnanf_use=no
28627 fi
28628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28629       ac_ext=c
28630 ac_cpp='$CPP $CPPFLAGS'
28631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28634
28635
28636 fi
28637
28638   fi
28639   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
28640 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
28641
28642     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28643       for ac_func in _isnanf
28644 do :
28645   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
28646 if test "x$ac_cv_func__isnanf" = x""yes; then :
28647   cat >>confdefs.h <<_ACEOF
28648 #define HAVE__ISNANF 1
28649 _ACEOF
28650
28651 fi
28652 done
28653
28654     fi
28655   fi
28656
28657
28658
28659
28660
28661   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
28662 $as_echo_n "checking for isinff declaration... " >&6; }
28663   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
28664     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
28665   $as_echo_n "(cached) " >&6
28666 else
28667
28668
28669       ac_ext=cpp
28670 ac_cpp='$CXXCPP $CPPFLAGS'
28671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28674
28675       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28676 /* end confdefs.h.  */
28677 #include <math.h>
28678                       #ifdef HAVE_IEEEFP_H
28679                       #include <ieeefp.h>
28680                       #endif
28681
28682 int
28683 main ()
28684 {
28685  isinff(0);
28686   ;
28687   return 0;
28688 }
28689 _ACEOF
28690 if ac_fn_cxx_try_compile "$LINENO"; then :
28691   glibcxx_cv_func_isinff_use=yes
28692 else
28693   glibcxx_cv_func_isinff_use=no
28694 fi
28695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28696       ac_ext=c
28697 ac_cpp='$CPP $CPPFLAGS'
28698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28701
28702
28703 fi
28704
28705   fi
28706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
28707 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
28708
28709   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
28710     for ac_func in isinff
28711 do :
28712   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
28713 if test "x$ac_cv_func_isinff" = x""yes; then :
28714   cat >>confdefs.h <<_ACEOF
28715 #define HAVE_ISINFF 1
28716 _ACEOF
28717
28718 fi
28719 done
28720
28721   else
28722
28723   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
28724 $as_echo_n "checking for _isinff declaration... " >&6; }
28725   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
28726     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
28727   $as_echo_n "(cached) " >&6
28728 else
28729
28730
28731       ac_ext=cpp
28732 ac_cpp='$CXXCPP $CPPFLAGS'
28733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28736
28737       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28738 /* end confdefs.h.  */
28739 #include <math.h>
28740                       #ifdef HAVE_IEEEFP_H
28741                       #include <ieeefp.h>
28742                       #endif
28743
28744 int
28745 main ()
28746 {
28747  _isinff(0);
28748   ;
28749   return 0;
28750 }
28751 _ACEOF
28752 if ac_fn_cxx_try_compile "$LINENO"; then :
28753   glibcxx_cv_func__isinff_use=yes
28754 else
28755   glibcxx_cv_func__isinff_use=no
28756 fi
28757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28758       ac_ext=c
28759 ac_cpp='$CPP $CPPFLAGS'
28760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28763
28764
28765 fi
28766
28767   fi
28768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
28769 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
28770
28771     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
28772       for ac_func in _isinff
28773 do :
28774   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
28775 if test "x$ac_cv_func__isinff" = x""yes; then :
28776   cat >>confdefs.h <<_ACEOF
28777 #define HAVE__ISINFF 1
28778 _ACEOF
28779
28780 fi
28781 done
28782
28783     fi
28784   fi
28785
28786
28787
28788
28789
28790   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
28791 $as_echo_n "checking for atan2f declaration... " >&6; }
28792   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
28793     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
28794   $as_echo_n "(cached) " >&6
28795 else
28796
28797
28798       ac_ext=cpp
28799 ac_cpp='$CXXCPP $CPPFLAGS'
28800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28803
28804       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28805 /* end confdefs.h.  */
28806 #include <math.h>
28807 int
28808 main ()
28809 {
28810  atan2f(0, 0);
28811   ;
28812   return 0;
28813 }
28814 _ACEOF
28815 if ac_fn_cxx_try_compile "$LINENO"; then :
28816   glibcxx_cv_func_atan2f_use=yes
28817 else
28818   glibcxx_cv_func_atan2f_use=no
28819 fi
28820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28821       ac_ext=c
28822 ac_cpp='$CPP $CPPFLAGS'
28823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28826
28827
28828 fi
28829
28830   fi
28831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
28832 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
28833
28834   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
28835     for ac_func in atan2f
28836 do :
28837   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
28838 if test "x$ac_cv_func_atan2f" = x""yes; then :
28839   cat >>confdefs.h <<_ACEOF
28840 #define HAVE_ATAN2F 1
28841 _ACEOF
28842
28843 fi
28844 done
28845
28846   else
28847
28848   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
28849 $as_echo_n "checking for _atan2f declaration... " >&6; }
28850   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
28851     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
28852   $as_echo_n "(cached) " >&6
28853 else
28854
28855
28856       ac_ext=cpp
28857 ac_cpp='$CXXCPP $CPPFLAGS'
28858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28861
28862       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28863 /* end confdefs.h.  */
28864 #include <math.h>
28865 int
28866 main ()
28867 {
28868  _atan2f(0, 0);
28869   ;
28870   return 0;
28871 }
28872 _ACEOF
28873 if ac_fn_cxx_try_compile "$LINENO"; then :
28874   glibcxx_cv_func__atan2f_use=yes
28875 else
28876   glibcxx_cv_func__atan2f_use=no
28877 fi
28878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28879       ac_ext=c
28880 ac_cpp='$CPP $CPPFLAGS'
28881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28884
28885
28886 fi
28887
28888   fi
28889   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
28890 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
28891
28892     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
28893       for ac_func in _atan2f
28894 do :
28895   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
28896 if test "x$ac_cv_func__atan2f" = x""yes; then :
28897   cat >>confdefs.h <<_ACEOF
28898 #define HAVE__ATAN2F 1
28899 _ACEOF
28900
28901 fi
28902 done
28903
28904     fi
28905   fi
28906
28907
28908
28909
28910
28911   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
28912 $as_echo_n "checking for fabsf declaration... " >&6; }
28913   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
28914     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
28915   $as_echo_n "(cached) " >&6
28916 else
28917
28918
28919       ac_ext=cpp
28920 ac_cpp='$CXXCPP $CPPFLAGS'
28921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28924
28925       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28926 /* end confdefs.h.  */
28927 #include <math.h>
28928                       #ifdef HAVE_IEEEFP_H
28929                       #include <ieeefp.h>
28930                       #endif
28931
28932 int
28933 main ()
28934 {
28935  fabsf(0);
28936   ;
28937   return 0;
28938 }
28939 _ACEOF
28940 if ac_fn_cxx_try_compile "$LINENO"; then :
28941   glibcxx_cv_func_fabsf_use=yes
28942 else
28943   glibcxx_cv_func_fabsf_use=no
28944 fi
28945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28946       ac_ext=c
28947 ac_cpp='$CPP $CPPFLAGS'
28948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28951
28952
28953 fi
28954
28955   fi
28956   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
28957 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
28958
28959   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
28960     for ac_func in fabsf
28961 do :
28962   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
28963 if test "x$ac_cv_func_fabsf" = x""yes; then :
28964   cat >>confdefs.h <<_ACEOF
28965 #define HAVE_FABSF 1
28966 _ACEOF
28967
28968 fi
28969 done
28970
28971   else
28972
28973   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
28974 $as_echo_n "checking for _fabsf declaration... " >&6; }
28975   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
28976     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
28977   $as_echo_n "(cached) " >&6
28978 else
28979
28980
28981       ac_ext=cpp
28982 ac_cpp='$CXXCPP $CPPFLAGS'
28983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28986
28987       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28988 /* end confdefs.h.  */
28989 #include <math.h>
28990                       #ifdef HAVE_IEEEFP_H
28991                       #include <ieeefp.h>
28992                       #endif
28993
28994 int
28995 main ()
28996 {
28997  _fabsf(0);
28998   ;
28999   return 0;
29000 }
29001 _ACEOF
29002 if ac_fn_cxx_try_compile "$LINENO"; then :
29003   glibcxx_cv_func__fabsf_use=yes
29004 else
29005   glibcxx_cv_func__fabsf_use=no
29006 fi
29007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29008       ac_ext=c
29009 ac_cpp='$CPP $CPPFLAGS'
29010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29013
29014
29015 fi
29016
29017   fi
29018   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29019 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29020
29021     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29022       for ac_func in _fabsf
29023 do :
29024   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29025 if test "x$ac_cv_func__fabsf" = x""yes; then :
29026   cat >>confdefs.h <<_ACEOF
29027 #define HAVE__FABSF 1
29028 _ACEOF
29029
29030 fi
29031 done
29032
29033     fi
29034   fi
29035
29036
29037
29038
29039
29040   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29041 $as_echo_n "checking for fmodf declaration... " >&6; }
29042   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29043     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29044   $as_echo_n "(cached) " >&6
29045 else
29046
29047
29048       ac_ext=cpp
29049 ac_cpp='$CXXCPP $CPPFLAGS'
29050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29053
29054       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29055 /* end confdefs.h.  */
29056 #include <math.h>
29057 int
29058 main ()
29059 {
29060  fmodf(0, 0);
29061   ;
29062   return 0;
29063 }
29064 _ACEOF
29065 if ac_fn_cxx_try_compile "$LINENO"; then :
29066   glibcxx_cv_func_fmodf_use=yes
29067 else
29068   glibcxx_cv_func_fmodf_use=no
29069 fi
29070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29071       ac_ext=c
29072 ac_cpp='$CPP $CPPFLAGS'
29073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29076
29077
29078 fi
29079
29080   fi
29081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29082 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29083
29084   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29085     for ac_func in fmodf
29086 do :
29087   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29088 if test "x$ac_cv_func_fmodf" = x""yes; then :
29089   cat >>confdefs.h <<_ACEOF
29090 #define HAVE_FMODF 1
29091 _ACEOF
29092
29093 fi
29094 done
29095
29096   else
29097
29098   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29099 $as_echo_n "checking for _fmodf declaration... " >&6; }
29100   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29101     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29102   $as_echo_n "(cached) " >&6
29103 else
29104
29105
29106       ac_ext=cpp
29107 ac_cpp='$CXXCPP $CPPFLAGS'
29108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29111
29112       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29113 /* end confdefs.h.  */
29114 #include <math.h>
29115 int
29116 main ()
29117 {
29118  _fmodf(0, 0);
29119   ;
29120   return 0;
29121 }
29122 _ACEOF
29123 if ac_fn_cxx_try_compile "$LINENO"; then :
29124   glibcxx_cv_func__fmodf_use=yes
29125 else
29126   glibcxx_cv_func__fmodf_use=no
29127 fi
29128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29129       ac_ext=c
29130 ac_cpp='$CPP $CPPFLAGS'
29131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29134
29135
29136 fi
29137
29138   fi
29139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29140 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29141
29142     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29143       for ac_func in _fmodf
29144 do :
29145   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29146 if test "x$ac_cv_func__fmodf" = x""yes; then :
29147   cat >>confdefs.h <<_ACEOF
29148 #define HAVE__FMODF 1
29149 _ACEOF
29150
29151 fi
29152 done
29153
29154     fi
29155   fi
29156
29157
29158
29159
29160
29161   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29162 $as_echo_n "checking for frexpf declaration... " >&6; }
29163   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29164     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
29165   $as_echo_n "(cached) " >&6
29166 else
29167
29168
29169       ac_ext=cpp
29170 ac_cpp='$CXXCPP $CPPFLAGS'
29171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29174
29175       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29176 /* end confdefs.h.  */
29177 #include <math.h>
29178 int
29179 main ()
29180 {
29181  frexpf(0, 0);
29182   ;
29183   return 0;
29184 }
29185 _ACEOF
29186 if ac_fn_cxx_try_compile "$LINENO"; then :
29187   glibcxx_cv_func_frexpf_use=yes
29188 else
29189   glibcxx_cv_func_frexpf_use=no
29190 fi
29191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29192       ac_ext=c
29193 ac_cpp='$CPP $CPPFLAGS'
29194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29197
29198
29199 fi
29200
29201   fi
29202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
29203 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
29204
29205   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
29206     for ac_func in frexpf
29207 do :
29208   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
29209 if test "x$ac_cv_func_frexpf" = x""yes; then :
29210   cat >>confdefs.h <<_ACEOF
29211 #define HAVE_FREXPF 1
29212 _ACEOF
29213
29214 fi
29215 done
29216
29217   else
29218
29219   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
29220 $as_echo_n "checking for _frexpf declaration... " >&6; }
29221   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
29222     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
29223   $as_echo_n "(cached) " >&6
29224 else
29225
29226
29227       ac_ext=cpp
29228 ac_cpp='$CXXCPP $CPPFLAGS'
29229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29232
29233       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29234 /* end confdefs.h.  */
29235 #include <math.h>
29236 int
29237 main ()
29238 {
29239  _frexpf(0, 0);
29240   ;
29241   return 0;
29242 }
29243 _ACEOF
29244 if ac_fn_cxx_try_compile "$LINENO"; then :
29245   glibcxx_cv_func__frexpf_use=yes
29246 else
29247   glibcxx_cv_func__frexpf_use=no
29248 fi
29249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29250       ac_ext=c
29251 ac_cpp='$CPP $CPPFLAGS'
29252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29255
29256
29257 fi
29258
29259   fi
29260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
29261 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
29262
29263     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
29264       for ac_func in _frexpf
29265 do :
29266   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
29267 if test "x$ac_cv_func__frexpf" = x""yes; then :
29268   cat >>confdefs.h <<_ACEOF
29269 #define HAVE__FREXPF 1
29270 _ACEOF
29271
29272 fi
29273 done
29274
29275     fi
29276   fi
29277
29278
29279
29280
29281
29282   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
29283 $as_echo_n "checking for hypotf declaration... " >&6; }
29284   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
29285     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
29286   $as_echo_n "(cached) " >&6
29287 else
29288
29289
29290       ac_ext=cpp
29291 ac_cpp='$CXXCPP $CPPFLAGS'
29292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29295
29296       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29297 /* end confdefs.h.  */
29298 #include <math.h>
29299 int
29300 main ()
29301 {
29302  hypotf(0, 0);
29303   ;
29304   return 0;
29305 }
29306 _ACEOF
29307 if ac_fn_cxx_try_compile "$LINENO"; then :
29308   glibcxx_cv_func_hypotf_use=yes
29309 else
29310   glibcxx_cv_func_hypotf_use=no
29311 fi
29312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29313       ac_ext=c
29314 ac_cpp='$CPP $CPPFLAGS'
29315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29318
29319
29320 fi
29321
29322   fi
29323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
29324 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
29325
29326   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
29327     for ac_func in hypotf
29328 do :
29329   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
29330 if test "x$ac_cv_func_hypotf" = x""yes; then :
29331   cat >>confdefs.h <<_ACEOF
29332 #define HAVE_HYPOTF 1
29333 _ACEOF
29334
29335 fi
29336 done
29337
29338   else
29339
29340   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
29341 $as_echo_n "checking for _hypotf declaration... " >&6; }
29342   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
29343     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
29344   $as_echo_n "(cached) " >&6
29345 else
29346
29347
29348       ac_ext=cpp
29349 ac_cpp='$CXXCPP $CPPFLAGS'
29350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29353
29354       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29355 /* end confdefs.h.  */
29356 #include <math.h>
29357 int
29358 main ()
29359 {
29360  _hypotf(0, 0);
29361   ;
29362   return 0;
29363 }
29364 _ACEOF
29365 if ac_fn_cxx_try_compile "$LINENO"; then :
29366   glibcxx_cv_func__hypotf_use=yes
29367 else
29368   glibcxx_cv_func__hypotf_use=no
29369 fi
29370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29371       ac_ext=c
29372 ac_cpp='$CPP $CPPFLAGS'
29373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29376
29377
29378 fi
29379
29380   fi
29381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
29382 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
29383
29384     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
29385       for ac_func in _hypotf
29386 do :
29387   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
29388 if test "x$ac_cv_func__hypotf" = x""yes; then :
29389   cat >>confdefs.h <<_ACEOF
29390 #define HAVE__HYPOTF 1
29391 _ACEOF
29392
29393 fi
29394 done
29395
29396     fi
29397   fi
29398
29399
29400
29401
29402
29403   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
29404 $as_echo_n "checking for ldexpf declaration... " >&6; }
29405   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
29406     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
29407   $as_echo_n "(cached) " >&6
29408 else
29409
29410
29411       ac_ext=cpp
29412 ac_cpp='$CXXCPP $CPPFLAGS'
29413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29416
29417       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29418 /* end confdefs.h.  */
29419 #include <math.h>
29420 int
29421 main ()
29422 {
29423  ldexpf(0, 0);
29424   ;
29425   return 0;
29426 }
29427 _ACEOF
29428 if ac_fn_cxx_try_compile "$LINENO"; then :
29429   glibcxx_cv_func_ldexpf_use=yes
29430 else
29431   glibcxx_cv_func_ldexpf_use=no
29432 fi
29433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29434       ac_ext=c
29435 ac_cpp='$CPP $CPPFLAGS'
29436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29439
29440
29441 fi
29442
29443   fi
29444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
29445 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
29446
29447   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
29448     for ac_func in ldexpf
29449 do :
29450   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
29451 if test "x$ac_cv_func_ldexpf" = x""yes; then :
29452   cat >>confdefs.h <<_ACEOF
29453 #define HAVE_LDEXPF 1
29454 _ACEOF
29455
29456 fi
29457 done
29458
29459   else
29460
29461   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
29462 $as_echo_n "checking for _ldexpf declaration... " >&6; }
29463   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
29464     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
29465   $as_echo_n "(cached) " >&6
29466 else
29467
29468
29469       ac_ext=cpp
29470 ac_cpp='$CXXCPP $CPPFLAGS'
29471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29474
29475       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29476 /* end confdefs.h.  */
29477 #include <math.h>
29478 int
29479 main ()
29480 {
29481  _ldexpf(0, 0);
29482   ;
29483   return 0;
29484 }
29485 _ACEOF
29486 if ac_fn_cxx_try_compile "$LINENO"; then :
29487   glibcxx_cv_func__ldexpf_use=yes
29488 else
29489   glibcxx_cv_func__ldexpf_use=no
29490 fi
29491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29492       ac_ext=c
29493 ac_cpp='$CPP $CPPFLAGS'
29494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29497
29498
29499 fi
29500
29501   fi
29502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
29503 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
29504
29505     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
29506       for ac_func in _ldexpf
29507 do :
29508   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
29509 if test "x$ac_cv_func__ldexpf" = x""yes; then :
29510   cat >>confdefs.h <<_ACEOF
29511 #define HAVE__LDEXPF 1
29512 _ACEOF
29513
29514 fi
29515 done
29516
29517     fi
29518   fi
29519
29520
29521
29522
29523
29524   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
29525 $as_echo_n "checking for logf declaration... " >&6; }
29526   if test x${glibcxx_cv_func_logf_use+set} != xset; then
29527     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
29528   $as_echo_n "(cached) " >&6
29529 else
29530
29531
29532       ac_ext=cpp
29533 ac_cpp='$CXXCPP $CPPFLAGS'
29534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29537
29538       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29539 /* end confdefs.h.  */
29540 #include <math.h>
29541                       #ifdef HAVE_IEEEFP_H
29542                       #include <ieeefp.h>
29543                       #endif
29544
29545 int
29546 main ()
29547 {
29548  logf(0);
29549   ;
29550   return 0;
29551 }
29552 _ACEOF
29553 if ac_fn_cxx_try_compile "$LINENO"; then :
29554   glibcxx_cv_func_logf_use=yes
29555 else
29556   glibcxx_cv_func_logf_use=no
29557 fi
29558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29559       ac_ext=c
29560 ac_cpp='$CPP $CPPFLAGS'
29561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29564
29565
29566 fi
29567
29568   fi
29569   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
29570 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
29571
29572   if test x$glibcxx_cv_func_logf_use = x"yes"; then
29573     for ac_func in logf
29574 do :
29575   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
29576 if test "x$ac_cv_func_logf" = x""yes; then :
29577   cat >>confdefs.h <<_ACEOF
29578 #define HAVE_LOGF 1
29579 _ACEOF
29580
29581 fi
29582 done
29583
29584   else
29585
29586   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
29587 $as_echo_n "checking for _logf declaration... " >&6; }
29588   if test x${glibcxx_cv_func__logf_use+set} != xset; then
29589     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
29590   $as_echo_n "(cached) " >&6
29591 else
29592
29593
29594       ac_ext=cpp
29595 ac_cpp='$CXXCPP $CPPFLAGS'
29596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29599
29600       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29601 /* end confdefs.h.  */
29602 #include <math.h>
29603                       #ifdef HAVE_IEEEFP_H
29604                       #include <ieeefp.h>
29605                       #endif
29606
29607 int
29608 main ()
29609 {
29610  _logf(0);
29611   ;
29612   return 0;
29613 }
29614 _ACEOF
29615 if ac_fn_cxx_try_compile "$LINENO"; then :
29616   glibcxx_cv_func__logf_use=yes
29617 else
29618   glibcxx_cv_func__logf_use=no
29619 fi
29620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29621       ac_ext=c
29622 ac_cpp='$CPP $CPPFLAGS'
29623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29626
29627
29628 fi
29629
29630   fi
29631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
29632 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
29633
29634     if test x$glibcxx_cv_func__logf_use = x"yes"; then
29635       for ac_func in _logf
29636 do :
29637   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
29638 if test "x$ac_cv_func__logf" = x""yes; then :
29639   cat >>confdefs.h <<_ACEOF
29640 #define HAVE__LOGF 1
29641 _ACEOF
29642
29643 fi
29644 done
29645
29646     fi
29647   fi
29648
29649
29650
29651
29652
29653   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
29654 $as_echo_n "checking for log10f declaration... " >&6; }
29655   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
29656     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
29657   $as_echo_n "(cached) " >&6
29658 else
29659
29660
29661       ac_ext=cpp
29662 ac_cpp='$CXXCPP $CPPFLAGS'
29663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29666
29667       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29668 /* end confdefs.h.  */
29669 #include <math.h>
29670                       #ifdef HAVE_IEEEFP_H
29671                       #include <ieeefp.h>
29672                       #endif
29673
29674 int
29675 main ()
29676 {
29677  log10f(0);
29678   ;
29679   return 0;
29680 }
29681 _ACEOF
29682 if ac_fn_cxx_try_compile "$LINENO"; then :
29683   glibcxx_cv_func_log10f_use=yes
29684 else
29685   glibcxx_cv_func_log10f_use=no
29686 fi
29687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29688       ac_ext=c
29689 ac_cpp='$CPP $CPPFLAGS'
29690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29693
29694
29695 fi
29696
29697   fi
29698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
29699 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
29700
29701   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
29702     for ac_func in log10f
29703 do :
29704   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
29705 if test "x$ac_cv_func_log10f" = x""yes; then :
29706   cat >>confdefs.h <<_ACEOF
29707 #define HAVE_LOG10F 1
29708 _ACEOF
29709
29710 fi
29711 done
29712
29713   else
29714
29715   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
29716 $as_echo_n "checking for _log10f declaration... " >&6; }
29717   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
29718     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
29719   $as_echo_n "(cached) " >&6
29720 else
29721
29722
29723       ac_ext=cpp
29724 ac_cpp='$CXXCPP $CPPFLAGS'
29725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29728
29729       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29730 /* end confdefs.h.  */
29731 #include <math.h>
29732                       #ifdef HAVE_IEEEFP_H
29733                       #include <ieeefp.h>
29734                       #endif
29735
29736 int
29737 main ()
29738 {
29739  _log10f(0);
29740   ;
29741   return 0;
29742 }
29743 _ACEOF
29744 if ac_fn_cxx_try_compile "$LINENO"; then :
29745   glibcxx_cv_func__log10f_use=yes
29746 else
29747   glibcxx_cv_func__log10f_use=no
29748 fi
29749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29750       ac_ext=c
29751 ac_cpp='$CPP $CPPFLAGS'
29752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29755
29756
29757 fi
29758
29759   fi
29760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
29761 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
29762
29763     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
29764       for ac_func in _log10f
29765 do :
29766   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
29767 if test "x$ac_cv_func__log10f" = x""yes; then :
29768   cat >>confdefs.h <<_ACEOF
29769 #define HAVE__LOG10F 1
29770 _ACEOF
29771
29772 fi
29773 done
29774
29775     fi
29776   fi
29777
29778
29779
29780
29781
29782   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
29783 $as_echo_n "checking for modff declaration... " >&6; }
29784   if test x${glibcxx_cv_func_modff_use+set} != xset; then
29785     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
29786   $as_echo_n "(cached) " >&6
29787 else
29788
29789
29790       ac_ext=cpp
29791 ac_cpp='$CXXCPP $CPPFLAGS'
29792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29795
29796       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29797 /* end confdefs.h.  */
29798 #include <math.h>
29799 int
29800 main ()
29801 {
29802  modff(0, 0);
29803   ;
29804   return 0;
29805 }
29806 _ACEOF
29807 if ac_fn_cxx_try_compile "$LINENO"; then :
29808   glibcxx_cv_func_modff_use=yes
29809 else
29810   glibcxx_cv_func_modff_use=no
29811 fi
29812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29813       ac_ext=c
29814 ac_cpp='$CPP $CPPFLAGS'
29815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29818
29819
29820 fi
29821
29822   fi
29823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
29824 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
29825
29826   if test x$glibcxx_cv_func_modff_use = x"yes"; then
29827     for ac_func in modff
29828 do :
29829   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
29830 if test "x$ac_cv_func_modff" = x""yes; then :
29831   cat >>confdefs.h <<_ACEOF
29832 #define HAVE_MODFF 1
29833 _ACEOF
29834
29835 fi
29836 done
29837
29838   else
29839
29840   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
29841 $as_echo_n "checking for _modff declaration... " >&6; }
29842   if test x${glibcxx_cv_func__modff_use+set} != xset; then
29843     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
29844   $as_echo_n "(cached) " >&6
29845 else
29846
29847
29848       ac_ext=cpp
29849 ac_cpp='$CXXCPP $CPPFLAGS'
29850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29853
29854       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29855 /* end confdefs.h.  */
29856 #include <math.h>
29857 int
29858 main ()
29859 {
29860  _modff(0, 0);
29861   ;
29862   return 0;
29863 }
29864 _ACEOF
29865 if ac_fn_cxx_try_compile "$LINENO"; then :
29866   glibcxx_cv_func__modff_use=yes
29867 else
29868   glibcxx_cv_func__modff_use=no
29869 fi
29870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29871       ac_ext=c
29872 ac_cpp='$CPP $CPPFLAGS'
29873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29876
29877
29878 fi
29879
29880   fi
29881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
29882 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
29883
29884     if test x$glibcxx_cv_func__modff_use = x"yes"; then
29885       for ac_func in _modff
29886 do :
29887   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
29888 if test "x$ac_cv_func__modff" = x""yes; then :
29889   cat >>confdefs.h <<_ACEOF
29890 #define HAVE__MODFF 1
29891 _ACEOF
29892
29893 fi
29894 done
29895
29896     fi
29897   fi
29898
29899
29900
29901
29902
29903   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
29904 $as_echo_n "checking for modf declaration... " >&6; }
29905   if test x${glibcxx_cv_func_modf_use+set} != xset; then
29906     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
29907   $as_echo_n "(cached) " >&6
29908 else
29909
29910
29911       ac_ext=cpp
29912 ac_cpp='$CXXCPP $CPPFLAGS'
29913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29916
29917       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29918 /* end confdefs.h.  */
29919 #include <math.h>
29920 int
29921 main ()
29922 {
29923  modf(0, 0);
29924   ;
29925   return 0;
29926 }
29927 _ACEOF
29928 if ac_fn_cxx_try_compile "$LINENO"; then :
29929   glibcxx_cv_func_modf_use=yes
29930 else
29931   glibcxx_cv_func_modf_use=no
29932 fi
29933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29934       ac_ext=c
29935 ac_cpp='$CPP $CPPFLAGS'
29936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29939
29940
29941 fi
29942
29943   fi
29944   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
29945 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
29946
29947   if test x$glibcxx_cv_func_modf_use = x"yes"; then
29948     for ac_func in modf
29949 do :
29950   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
29951 if test "x$ac_cv_func_modf" = x""yes; then :
29952   cat >>confdefs.h <<_ACEOF
29953 #define HAVE_MODF 1
29954 _ACEOF
29955
29956 fi
29957 done
29958
29959   else
29960
29961   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
29962 $as_echo_n "checking for _modf declaration... " >&6; }
29963   if test x${glibcxx_cv_func__modf_use+set} != xset; then
29964     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
29965   $as_echo_n "(cached) " >&6
29966 else
29967
29968
29969       ac_ext=cpp
29970 ac_cpp='$CXXCPP $CPPFLAGS'
29971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29974
29975       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29976 /* end confdefs.h.  */
29977 #include <math.h>
29978 int
29979 main ()
29980 {
29981  _modf(0, 0);
29982   ;
29983   return 0;
29984 }
29985 _ACEOF
29986 if ac_fn_cxx_try_compile "$LINENO"; then :
29987   glibcxx_cv_func__modf_use=yes
29988 else
29989   glibcxx_cv_func__modf_use=no
29990 fi
29991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29992       ac_ext=c
29993 ac_cpp='$CPP $CPPFLAGS'
29994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29997
29998
29999 fi
30000
30001   fi
30002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30003 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30004
30005     if test x$glibcxx_cv_func__modf_use = x"yes"; then
30006       for ac_func in _modf
30007 do :
30008   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30009 if test "x$ac_cv_func__modf" = x""yes; then :
30010   cat >>confdefs.h <<_ACEOF
30011 #define HAVE__MODF 1
30012 _ACEOF
30013
30014 fi
30015 done
30016
30017     fi
30018   fi
30019
30020
30021
30022
30023
30024   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30025 $as_echo_n "checking for powf declaration... " >&6; }
30026   if test x${glibcxx_cv_func_powf_use+set} != xset; then
30027     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30028   $as_echo_n "(cached) " >&6
30029 else
30030
30031
30032       ac_ext=cpp
30033 ac_cpp='$CXXCPP $CPPFLAGS'
30034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30037
30038       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30039 /* end confdefs.h.  */
30040 #include <math.h>
30041 int
30042 main ()
30043 {
30044  powf(0, 0);
30045   ;
30046   return 0;
30047 }
30048 _ACEOF
30049 if ac_fn_cxx_try_compile "$LINENO"; then :
30050   glibcxx_cv_func_powf_use=yes
30051 else
30052   glibcxx_cv_func_powf_use=no
30053 fi
30054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30055       ac_ext=c
30056 ac_cpp='$CPP $CPPFLAGS'
30057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30060
30061
30062 fi
30063
30064   fi
30065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30066 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30067
30068   if test x$glibcxx_cv_func_powf_use = x"yes"; then
30069     for ac_func in powf
30070 do :
30071   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30072 if test "x$ac_cv_func_powf" = x""yes; then :
30073   cat >>confdefs.h <<_ACEOF
30074 #define HAVE_POWF 1
30075 _ACEOF
30076
30077 fi
30078 done
30079
30080   else
30081
30082   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30083 $as_echo_n "checking for _powf declaration... " >&6; }
30084   if test x${glibcxx_cv_func__powf_use+set} != xset; then
30085     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30086   $as_echo_n "(cached) " >&6
30087 else
30088
30089
30090       ac_ext=cpp
30091 ac_cpp='$CXXCPP $CPPFLAGS'
30092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30095
30096       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30097 /* end confdefs.h.  */
30098 #include <math.h>
30099 int
30100 main ()
30101 {
30102  _powf(0, 0);
30103   ;
30104   return 0;
30105 }
30106 _ACEOF
30107 if ac_fn_cxx_try_compile "$LINENO"; then :
30108   glibcxx_cv_func__powf_use=yes
30109 else
30110   glibcxx_cv_func__powf_use=no
30111 fi
30112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30113       ac_ext=c
30114 ac_cpp='$CPP $CPPFLAGS'
30115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30118
30119
30120 fi
30121
30122   fi
30123   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30124 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30125
30126     if test x$glibcxx_cv_func__powf_use = x"yes"; then
30127       for ac_func in _powf
30128 do :
30129   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30130 if test "x$ac_cv_func__powf" = x""yes; then :
30131   cat >>confdefs.h <<_ACEOF
30132 #define HAVE__POWF 1
30133 _ACEOF
30134
30135 fi
30136 done
30137
30138     fi
30139   fi
30140
30141
30142
30143
30144
30145   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30146 $as_echo_n "checking for sqrtf declaration... " >&6; }
30147   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30148     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30149   $as_echo_n "(cached) " >&6
30150 else
30151
30152
30153       ac_ext=cpp
30154 ac_cpp='$CXXCPP $CPPFLAGS'
30155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30158
30159       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30160 /* end confdefs.h.  */
30161 #include <math.h>
30162                       #ifdef HAVE_IEEEFP_H
30163                       #include <ieeefp.h>
30164                       #endif
30165
30166 int
30167 main ()
30168 {
30169  sqrtf(0);
30170   ;
30171   return 0;
30172 }
30173 _ACEOF
30174 if ac_fn_cxx_try_compile "$LINENO"; then :
30175   glibcxx_cv_func_sqrtf_use=yes
30176 else
30177   glibcxx_cv_func_sqrtf_use=no
30178 fi
30179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30180       ac_ext=c
30181 ac_cpp='$CPP $CPPFLAGS'
30182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30185
30186
30187 fi
30188
30189   fi
30190   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
30191 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
30192
30193   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
30194     for ac_func in sqrtf
30195 do :
30196   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
30197 if test "x$ac_cv_func_sqrtf" = x""yes; then :
30198   cat >>confdefs.h <<_ACEOF
30199 #define HAVE_SQRTF 1
30200 _ACEOF
30201
30202 fi
30203 done
30204
30205   else
30206
30207   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
30208 $as_echo_n "checking for _sqrtf declaration... " >&6; }
30209   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
30210     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
30211   $as_echo_n "(cached) " >&6
30212 else
30213
30214
30215       ac_ext=cpp
30216 ac_cpp='$CXXCPP $CPPFLAGS'
30217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30220
30221       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30222 /* end confdefs.h.  */
30223 #include <math.h>
30224                       #ifdef HAVE_IEEEFP_H
30225                       #include <ieeefp.h>
30226                       #endif
30227
30228 int
30229 main ()
30230 {
30231  _sqrtf(0);
30232   ;
30233   return 0;
30234 }
30235 _ACEOF
30236 if ac_fn_cxx_try_compile "$LINENO"; then :
30237   glibcxx_cv_func__sqrtf_use=yes
30238 else
30239   glibcxx_cv_func__sqrtf_use=no
30240 fi
30241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30242       ac_ext=c
30243 ac_cpp='$CPP $CPPFLAGS'
30244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30247
30248
30249 fi
30250
30251   fi
30252   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
30253 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
30254
30255     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
30256       for ac_func in _sqrtf
30257 do :
30258   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
30259 if test "x$ac_cv_func__sqrtf" = x""yes; then :
30260   cat >>confdefs.h <<_ACEOF
30261 #define HAVE__SQRTF 1
30262 _ACEOF
30263
30264 fi
30265 done
30266
30267     fi
30268   fi
30269
30270
30271
30272
30273
30274   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
30275 $as_echo_n "checking for sincosf declaration... " >&6; }
30276   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
30277     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
30278   $as_echo_n "(cached) " >&6
30279 else
30280
30281
30282       ac_ext=cpp
30283 ac_cpp='$CXXCPP $CPPFLAGS'
30284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30287
30288       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30289 /* end confdefs.h.  */
30290 #include <math.h>
30291 int
30292 main ()
30293 {
30294  sincosf(0, 0, 0);
30295   ;
30296   return 0;
30297 }
30298 _ACEOF
30299 if ac_fn_cxx_try_compile "$LINENO"; then :
30300   glibcxx_cv_func_sincosf_use=yes
30301 else
30302   glibcxx_cv_func_sincosf_use=no
30303 fi
30304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30305       ac_ext=c
30306 ac_cpp='$CPP $CPPFLAGS'
30307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30310
30311
30312 fi
30313
30314   fi
30315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
30316 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
30317
30318   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
30319     for ac_func in sincosf
30320 do :
30321   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
30322 if test "x$ac_cv_func_sincosf" = x""yes; then :
30323   cat >>confdefs.h <<_ACEOF
30324 #define HAVE_SINCOSF 1
30325 _ACEOF
30326
30327 fi
30328 done
30329
30330   else
30331
30332   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
30333 $as_echo_n "checking for _sincosf declaration... " >&6; }
30334   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
30335     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
30336   $as_echo_n "(cached) " >&6
30337 else
30338
30339
30340       ac_ext=cpp
30341 ac_cpp='$CXXCPP $CPPFLAGS'
30342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30345
30346       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30347 /* end confdefs.h.  */
30348 #include <math.h>
30349 int
30350 main ()
30351 {
30352  _sincosf(0, 0, 0);
30353   ;
30354   return 0;
30355 }
30356 _ACEOF
30357 if ac_fn_cxx_try_compile "$LINENO"; then :
30358   glibcxx_cv_func__sincosf_use=yes
30359 else
30360   glibcxx_cv_func__sincosf_use=no
30361 fi
30362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30363       ac_ext=c
30364 ac_cpp='$CPP $CPPFLAGS'
30365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30368
30369
30370 fi
30371
30372   fi
30373   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
30374 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
30375
30376     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
30377       for ac_func in _sincosf
30378 do :
30379   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
30380 if test "x$ac_cv_func__sincosf" = x""yes; then :
30381   cat >>confdefs.h <<_ACEOF
30382 #define HAVE__SINCOSF 1
30383 _ACEOF
30384
30385 fi
30386 done
30387
30388     fi
30389   fi
30390
30391
30392
30393
30394
30395   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
30396 $as_echo_n "checking for finitef declaration... " >&6; }
30397   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
30398     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
30399   $as_echo_n "(cached) " >&6
30400 else
30401
30402
30403       ac_ext=cpp
30404 ac_cpp='$CXXCPP $CPPFLAGS'
30405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30408
30409       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30410 /* end confdefs.h.  */
30411 #include <math.h>
30412                       #ifdef HAVE_IEEEFP_H
30413                       #include <ieeefp.h>
30414                       #endif
30415
30416 int
30417 main ()
30418 {
30419  finitef(0);
30420   ;
30421   return 0;
30422 }
30423 _ACEOF
30424 if ac_fn_cxx_try_compile "$LINENO"; then :
30425   glibcxx_cv_func_finitef_use=yes
30426 else
30427   glibcxx_cv_func_finitef_use=no
30428 fi
30429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30430       ac_ext=c
30431 ac_cpp='$CPP $CPPFLAGS'
30432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30435
30436
30437 fi
30438
30439   fi
30440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
30441 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
30442
30443   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
30444     for ac_func in finitef
30445 do :
30446   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
30447 if test "x$ac_cv_func_finitef" = x""yes; then :
30448   cat >>confdefs.h <<_ACEOF
30449 #define HAVE_FINITEF 1
30450 _ACEOF
30451
30452 fi
30453 done
30454
30455   else
30456
30457   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
30458 $as_echo_n "checking for _finitef declaration... " >&6; }
30459   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
30460     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
30461   $as_echo_n "(cached) " >&6
30462 else
30463
30464
30465       ac_ext=cpp
30466 ac_cpp='$CXXCPP $CPPFLAGS'
30467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30470
30471       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30472 /* end confdefs.h.  */
30473 #include <math.h>
30474                       #ifdef HAVE_IEEEFP_H
30475                       #include <ieeefp.h>
30476                       #endif
30477
30478 int
30479 main ()
30480 {
30481  _finitef(0);
30482   ;
30483   return 0;
30484 }
30485 _ACEOF
30486 if ac_fn_cxx_try_compile "$LINENO"; then :
30487   glibcxx_cv_func__finitef_use=yes
30488 else
30489   glibcxx_cv_func__finitef_use=no
30490 fi
30491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30492       ac_ext=c
30493 ac_cpp='$CPP $CPPFLAGS'
30494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30497
30498
30499 fi
30500
30501   fi
30502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
30503 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
30504
30505     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
30506       for ac_func in _finitef
30507 do :
30508   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
30509 if test "x$ac_cv_func__finitef" = x""yes; then :
30510   cat >>confdefs.h <<_ACEOF
30511 #define HAVE__FINITEF 1
30512 _ACEOF
30513
30514 fi
30515 done
30516
30517     fi
30518   fi
30519
30520
30521
30522
30523
30524     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
30525 $as_echo_n "checking for long double trig functions... " >&6; }
30526   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
30527   $as_echo_n "(cached) " >&6
30528 else
30529
30530
30531     ac_ext=cpp
30532 ac_cpp='$CXXCPP $CPPFLAGS'
30533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30536
30537     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30538 /* end confdefs.h.  */
30539 #include <math.h>
30540 int
30541 main ()
30542 {
30543 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
30544   ;
30545   return 0;
30546 }
30547 _ACEOF
30548 if ac_fn_cxx_try_compile "$LINENO"; then :
30549   glibcxx_cv_func_long_double_trig_use=yes
30550 else
30551   glibcxx_cv_func_long_double_trig_use=no
30552 fi
30553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30554     ac_ext=c
30555 ac_cpp='$CPP $CPPFLAGS'
30556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30559
30560 fi
30561
30562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
30563 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
30564   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
30565     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
30566 do :
30567   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30568 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30569 eval as_val=\$$as_ac_var
30570    if test "x$as_val" = x""yes; then :
30571   cat >>confdefs.h <<_ACEOF
30572 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30573 _ACEOF
30574
30575 fi
30576 done
30577
30578   else
30579     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
30580 $as_echo_n "checking for _long double trig functions... " >&6; }
30581     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
30582   $as_echo_n "(cached) " >&6
30583 else
30584
30585
30586       ac_ext=cpp
30587 ac_cpp='$CXXCPP $CPPFLAGS'
30588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30591
30592       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30593 /* end confdefs.h.  */
30594 #include <math.h>
30595 int
30596 main ()
30597 {
30598 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
30599   ;
30600   return 0;
30601 }
30602 _ACEOF
30603 if ac_fn_cxx_try_compile "$LINENO"; then :
30604   glibcxx_cv_func__long_double_trig_use=yes
30605 else
30606   glibcxx_cv_func__long_double_trig_use=no
30607 fi
30608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30609       ac_ext=c
30610 ac_cpp='$CPP $CPPFLAGS'
30611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30614
30615 fi
30616
30617     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
30618 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
30619     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
30620       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
30621 do :
30622   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30623 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30624 eval as_val=\$$as_ac_var
30625    if test "x$as_val" = x""yes; then :
30626   cat >>confdefs.h <<_ACEOF
30627 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30628 _ACEOF
30629
30630 fi
30631 done
30632
30633     fi
30634   fi
30635
30636
30637
30638
30639
30640     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30641 $as_echo_n "checking for long double round functions... " >&6; }
30642   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
30643   $as_echo_n "(cached) " >&6
30644 else
30645
30646
30647     ac_ext=cpp
30648 ac_cpp='$CXXCPP $CPPFLAGS'
30649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30652
30653     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30654 /* end confdefs.h.  */
30655 #include <math.h>
30656 int
30657 main ()
30658 {
30659 ceill (0); floorl (0);
30660   ;
30661   return 0;
30662 }
30663 _ACEOF
30664 if ac_fn_cxx_try_compile "$LINENO"; then :
30665   glibcxx_cv_func_long_double_round_use=yes
30666 else
30667   glibcxx_cv_func_long_double_round_use=no
30668 fi
30669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30670     ac_ext=c
30671 ac_cpp='$CPP $CPPFLAGS'
30672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30675
30676 fi
30677
30678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
30679 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
30680   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
30681     for ac_func in ceill floorl
30682 do :
30683   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30684 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30685 eval as_val=\$$as_ac_var
30686    if test "x$as_val" = x""yes; then :
30687   cat >>confdefs.h <<_ACEOF
30688 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30689 _ACEOF
30690
30691 fi
30692 done
30693
30694   else
30695     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
30696 $as_echo_n "checking for _long double round functions... " >&6; }
30697     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
30698   $as_echo_n "(cached) " >&6
30699 else
30700
30701
30702       ac_ext=cpp
30703 ac_cpp='$CXXCPP $CPPFLAGS'
30704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30707
30708       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30709 /* end confdefs.h.  */
30710 #include <math.h>
30711 int
30712 main ()
30713 {
30714 _ceill (0); _floorl (0);
30715   ;
30716   return 0;
30717 }
30718 _ACEOF
30719 if ac_fn_cxx_try_compile "$LINENO"; then :
30720   glibcxx_cv_func__long_double_round_use=yes
30721 else
30722   glibcxx_cv_func__long_double_round_use=no
30723 fi
30724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30725       ac_ext=c
30726 ac_cpp='$CPP $CPPFLAGS'
30727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30730
30731 fi
30732
30733     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
30734 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
30735     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
30736       for ac_func in _ceill _floorl
30737 do :
30738   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30739 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30740 eval as_val=\$$as_ac_var
30741    if test "x$as_val" = x""yes; then :
30742   cat >>confdefs.h <<_ACEOF
30743 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30744 _ACEOF
30745
30746 fi
30747 done
30748
30749     fi
30750   fi
30751
30752
30753
30754
30755
30756
30757   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
30758 $as_echo_n "checking for isnanl declaration... " >&6; }
30759   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
30760     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
30761   $as_echo_n "(cached) " >&6
30762 else
30763
30764
30765       ac_ext=cpp
30766 ac_cpp='$CXXCPP $CPPFLAGS'
30767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30770
30771       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30772 /* end confdefs.h.  */
30773 #include <math.h>
30774                       #ifdef HAVE_IEEEFP_H
30775                       #include <ieeefp.h>
30776                       #endif
30777
30778 int
30779 main ()
30780 {
30781  isnanl(0);
30782   ;
30783   return 0;
30784 }
30785 _ACEOF
30786 if ac_fn_cxx_try_compile "$LINENO"; then :
30787   glibcxx_cv_func_isnanl_use=yes
30788 else
30789   glibcxx_cv_func_isnanl_use=no
30790 fi
30791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30792       ac_ext=c
30793 ac_cpp='$CPP $CPPFLAGS'
30794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30797
30798
30799 fi
30800
30801   fi
30802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
30803 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
30804
30805   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
30806     for ac_func in isnanl
30807 do :
30808   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
30809 if test "x$ac_cv_func_isnanl" = x""yes; then :
30810   cat >>confdefs.h <<_ACEOF
30811 #define HAVE_ISNANL 1
30812 _ACEOF
30813
30814 fi
30815 done
30816
30817   else
30818
30819   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
30820 $as_echo_n "checking for _isnanl declaration... " >&6; }
30821   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
30822     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
30823   $as_echo_n "(cached) " >&6
30824 else
30825
30826
30827       ac_ext=cpp
30828 ac_cpp='$CXXCPP $CPPFLAGS'
30829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30832
30833       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30834 /* end confdefs.h.  */
30835 #include <math.h>
30836                       #ifdef HAVE_IEEEFP_H
30837                       #include <ieeefp.h>
30838                       #endif
30839
30840 int
30841 main ()
30842 {
30843  _isnanl(0);
30844   ;
30845   return 0;
30846 }
30847 _ACEOF
30848 if ac_fn_cxx_try_compile "$LINENO"; then :
30849   glibcxx_cv_func__isnanl_use=yes
30850 else
30851   glibcxx_cv_func__isnanl_use=no
30852 fi
30853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30854       ac_ext=c
30855 ac_cpp='$CPP $CPPFLAGS'
30856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30859
30860
30861 fi
30862
30863   fi
30864   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
30865 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
30866
30867     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
30868       for ac_func in _isnanl
30869 do :
30870   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
30871 if test "x$ac_cv_func__isnanl" = x""yes; then :
30872   cat >>confdefs.h <<_ACEOF
30873 #define HAVE__ISNANL 1
30874 _ACEOF
30875
30876 fi
30877 done
30878
30879     fi
30880   fi
30881
30882
30883
30884
30885
30886   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
30887 $as_echo_n "checking for isinfl declaration... " >&6; }
30888   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
30889     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
30890   $as_echo_n "(cached) " >&6
30891 else
30892
30893
30894       ac_ext=cpp
30895 ac_cpp='$CXXCPP $CPPFLAGS'
30896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30899
30900       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30901 /* end confdefs.h.  */
30902 #include <math.h>
30903                       #ifdef HAVE_IEEEFP_H
30904                       #include <ieeefp.h>
30905                       #endif
30906
30907 int
30908 main ()
30909 {
30910  isinfl(0);
30911   ;
30912   return 0;
30913 }
30914 _ACEOF
30915 if ac_fn_cxx_try_compile "$LINENO"; then :
30916   glibcxx_cv_func_isinfl_use=yes
30917 else
30918   glibcxx_cv_func_isinfl_use=no
30919 fi
30920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30921       ac_ext=c
30922 ac_cpp='$CPP $CPPFLAGS'
30923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30926
30927
30928 fi
30929
30930   fi
30931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
30932 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
30933
30934   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
30935     for ac_func in isinfl
30936 do :
30937   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
30938 if test "x$ac_cv_func_isinfl" = x""yes; then :
30939   cat >>confdefs.h <<_ACEOF
30940 #define HAVE_ISINFL 1
30941 _ACEOF
30942
30943 fi
30944 done
30945
30946   else
30947
30948   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
30949 $as_echo_n "checking for _isinfl declaration... " >&6; }
30950   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
30951     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
30952   $as_echo_n "(cached) " >&6
30953 else
30954
30955
30956       ac_ext=cpp
30957 ac_cpp='$CXXCPP $CPPFLAGS'
30958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30961
30962       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30963 /* end confdefs.h.  */
30964 #include <math.h>
30965                       #ifdef HAVE_IEEEFP_H
30966                       #include <ieeefp.h>
30967                       #endif
30968
30969 int
30970 main ()
30971 {
30972  _isinfl(0);
30973   ;
30974   return 0;
30975 }
30976 _ACEOF
30977 if ac_fn_cxx_try_compile "$LINENO"; then :
30978   glibcxx_cv_func__isinfl_use=yes
30979 else
30980   glibcxx_cv_func__isinfl_use=no
30981 fi
30982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30983       ac_ext=c
30984 ac_cpp='$CPP $CPPFLAGS'
30985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30988
30989
30990 fi
30991
30992   fi
30993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
30994 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
30995
30996     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
30997       for ac_func in _isinfl
30998 do :
30999   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31000 if test "x$ac_cv_func__isinfl" = x""yes; then :
31001   cat >>confdefs.h <<_ACEOF
31002 #define HAVE__ISINFL 1
31003 _ACEOF
31004
31005 fi
31006 done
31007
31008     fi
31009   fi
31010
31011
31012
31013
31014
31015   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31016 $as_echo_n "checking for atan2l declaration... " >&6; }
31017   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31018     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31019   $as_echo_n "(cached) " >&6
31020 else
31021
31022
31023       ac_ext=cpp
31024 ac_cpp='$CXXCPP $CPPFLAGS'
31025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31028
31029       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31030 /* end confdefs.h.  */
31031 #include <math.h>
31032 int
31033 main ()
31034 {
31035  atan2l(0, 0);
31036   ;
31037   return 0;
31038 }
31039 _ACEOF
31040 if ac_fn_cxx_try_compile "$LINENO"; then :
31041   glibcxx_cv_func_atan2l_use=yes
31042 else
31043   glibcxx_cv_func_atan2l_use=no
31044 fi
31045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31046       ac_ext=c
31047 ac_cpp='$CPP $CPPFLAGS'
31048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31051
31052
31053 fi
31054
31055   fi
31056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31057 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31058
31059   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31060     for ac_func in atan2l
31061 do :
31062   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31063 if test "x$ac_cv_func_atan2l" = x""yes; then :
31064   cat >>confdefs.h <<_ACEOF
31065 #define HAVE_ATAN2L 1
31066 _ACEOF
31067
31068 fi
31069 done
31070
31071   else
31072
31073   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31074 $as_echo_n "checking for _atan2l declaration... " >&6; }
31075   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31076     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31077   $as_echo_n "(cached) " >&6
31078 else
31079
31080
31081       ac_ext=cpp
31082 ac_cpp='$CXXCPP $CPPFLAGS'
31083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31086
31087       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31088 /* end confdefs.h.  */
31089 #include <math.h>
31090 int
31091 main ()
31092 {
31093  _atan2l(0, 0);
31094   ;
31095   return 0;
31096 }
31097 _ACEOF
31098 if ac_fn_cxx_try_compile "$LINENO"; then :
31099   glibcxx_cv_func__atan2l_use=yes
31100 else
31101   glibcxx_cv_func__atan2l_use=no
31102 fi
31103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31104       ac_ext=c
31105 ac_cpp='$CPP $CPPFLAGS'
31106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31109
31110
31111 fi
31112
31113   fi
31114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31115 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31116
31117     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31118       for ac_func in _atan2l
31119 do :
31120   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31121 if test "x$ac_cv_func__atan2l" = x""yes; then :
31122   cat >>confdefs.h <<_ACEOF
31123 #define HAVE__ATAN2L 1
31124 _ACEOF
31125
31126 fi
31127 done
31128
31129     fi
31130   fi
31131
31132
31133
31134
31135
31136   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31137 $as_echo_n "checking for expl declaration... " >&6; }
31138   if test x${glibcxx_cv_func_expl_use+set} != xset; then
31139     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31140   $as_echo_n "(cached) " >&6
31141 else
31142
31143
31144       ac_ext=cpp
31145 ac_cpp='$CXXCPP $CPPFLAGS'
31146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31149
31150       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31151 /* end confdefs.h.  */
31152 #include <math.h>
31153                       #ifdef HAVE_IEEEFP_H
31154                       #include <ieeefp.h>
31155                       #endif
31156
31157 int
31158 main ()
31159 {
31160  expl(0);
31161   ;
31162   return 0;
31163 }
31164 _ACEOF
31165 if ac_fn_cxx_try_compile "$LINENO"; then :
31166   glibcxx_cv_func_expl_use=yes
31167 else
31168   glibcxx_cv_func_expl_use=no
31169 fi
31170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31171       ac_ext=c
31172 ac_cpp='$CPP $CPPFLAGS'
31173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31176
31177
31178 fi
31179
31180   fi
31181   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
31182 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
31183
31184   if test x$glibcxx_cv_func_expl_use = x"yes"; then
31185     for ac_func in expl
31186 do :
31187   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
31188 if test "x$ac_cv_func_expl" = x""yes; then :
31189   cat >>confdefs.h <<_ACEOF
31190 #define HAVE_EXPL 1
31191 _ACEOF
31192
31193 fi
31194 done
31195
31196   else
31197
31198   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
31199 $as_echo_n "checking for _expl declaration... " >&6; }
31200   if test x${glibcxx_cv_func__expl_use+set} != xset; then
31201     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
31202   $as_echo_n "(cached) " >&6
31203 else
31204
31205
31206       ac_ext=cpp
31207 ac_cpp='$CXXCPP $CPPFLAGS'
31208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31211
31212       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31213 /* end confdefs.h.  */
31214 #include <math.h>
31215                       #ifdef HAVE_IEEEFP_H
31216                       #include <ieeefp.h>
31217                       #endif
31218
31219 int
31220 main ()
31221 {
31222  _expl(0);
31223   ;
31224   return 0;
31225 }
31226 _ACEOF
31227 if ac_fn_cxx_try_compile "$LINENO"; then :
31228   glibcxx_cv_func__expl_use=yes
31229 else
31230   glibcxx_cv_func__expl_use=no
31231 fi
31232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31233       ac_ext=c
31234 ac_cpp='$CPP $CPPFLAGS'
31235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31238
31239
31240 fi
31241
31242   fi
31243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
31244 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
31245
31246     if test x$glibcxx_cv_func__expl_use = x"yes"; then
31247       for ac_func in _expl
31248 do :
31249   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
31250 if test "x$ac_cv_func__expl" = x""yes; then :
31251   cat >>confdefs.h <<_ACEOF
31252 #define HAVE__EXPL 1
31253 _ACEOF
31254
31255 fi
31256 done
31257
31258     fi
31259   fi
31260
31261
31262
31263
31264
31265   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
31266 $as_echo_n "checking for fabsl declaration... " >&6; }
31267   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31268     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
31269   $as_echo_n "(cached) " >&6
31270 else
31271
31272
31273       ac_ext=cpp
31274 ac_cpp='$CXXCPP $CPPFLAGS'
31275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31278
31279       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31280 /* end confdefs.h.  */
31281 #include <math.h>
31282                       #ifdef HAVE_IEEEFP_H
31283                       #include <ieeefp.h>
31284                       #endif
31285
31286 int
31287 main ()
31288 {
31289  fabsl(0);
31290   ;
31291   return 0;
31292 }
31293 _ACEOF
31294 if ac_fn_cxx_try_compile "$LINENO"; then :
31295   glibcxx_cv_func_fabsl_use=yes
31296 else
31297   glibcxx_cv_func_fabsl_use=no
31298 fi
31299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31300       ac_ext=c
31301 ac_cpp='$CPP $CPPFLAGS'
31302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31305
31306
31307 fi
31308
31309   fi
31310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
31311 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
31312
31313   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31314     for ac_func in fabsl
31315 do :
31316   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
31317 if test "x$ac_cv_func_fabsl" = x""yes; then :
31318   cat >>confdefs.h <<_ACEOF
31319 #define HAVE_FABSL 1
31320 _ACEOF
31321
31322 fi
31323 done
31324
31325   else
31326
31327   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
31328 $as_echo_n "checking for _fabsl declaration... " >&6; }
31329   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31330     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
31331   $as_echo_n "(cached) " >&6
31332 else
31333
31334
31335       ac_ext=cpp
31336 ac_cpp='$CXXCPP $CPPFLAGS'
31337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31340
31341       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31342 /* end confdefs.h.  */
31343 #include <math.h>
31344                       #ifdef HAVE_IEEEFP_H
31345                       #include <ieeefp.h>
31346                       #endif
31347
31348 int
31349 main ()
31350 {
31351  _fabsl(0);
31352   ;
31353   return 0;
31354 }
31355 _ACEOF
31356 if ac_fn_cxx_try_compile "$LINENO"; then :
31357   glibcxx_cv_func__fabsl_use=yes
31358 else
31359   glibcxx_cv_func__fabsl_use=no
31360 fi
31361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31362       ac_ext=c
31363 ac_cpp='$CPP $CPPFLAGS'
31364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31367
31368
31369 fi
31370
31371   fi
31372   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
31373 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
31374
31375     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31376       for ac_func in _fabsl
31377 do :
31378   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
31379 if test "x$ac_cv_func__fabsl" = x""yes; then :
31380   cat >>confdefs.h <<_ACEOF
31381 #define HAVE__FABSL 1
31382 _ACEOF
31383
31384 fi
31385 done
31386
31387     fi
31388   fi
31389
31390
31391
31392
31393
31394   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
31395 $as_echo_n "checking for fmodl declaration... " >&6; }
31396   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31397     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
31398   $as_echo_n "(cached) " >&6
31399 else
31400
31401
31402       ac_ext=cpp
31403 ac_cpp='$CXXCPP $CPPFLAGS'
31404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31407
31408       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31409 /* end confdefs.h.  */
31410 #include <math.h>
31411 int
31412 main ()
31413 {
31414  fmodl(0, 0);
31415   ;
31416   return 0;
31417 }
31418 _ACEOF
31419 if ac_fn_cxx_try_compile "$LINENO"; then :
31420   glibcxx_cv_func_fmodl_use=yes
31421 else
31422   glibcxx_cv_func_fmodl_use=no
31423 fi
31424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31425       ac_ext=c
31426 ac_cpp='$CPP $CPPFLAGS'
31427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31430
31431
31432 fi
31433
31434   fi
31435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
31436 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
31437
31438   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
31439     for ac_func in fmodl
31440 do :
31441   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
31442 if test "x$ac_cv_func_fmodl" = x""yes; then :
31443   cat >>confdefs.h <<_ACEOF
31444 #define HAVE_FMODL 1
31445 _ACEOF
31446
31447 fi
31448 done
31449
31450   else
31451
31452   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
31453 $as_echo_n "checking for _fmodl declaration... " >&6; }
31454   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
31455     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
31456   $as_echo_n "(cached) " >&6
31457 else
31458
31459
31460       ac_ext=cpp
31461 ac_cpp='$CXXCPP $CPPFLAGS'
31462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31465
31466       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31467 /* end confdefs.h.  */
31468 #include <math.h>
31469 int
31470 main ()
31471 {
31472  _fmodl(0, 0);
31473   ;
31474   return 0;
31475 }
31476 _ACEOF
31477 if ac_fn_cxx_try_compile "$LINENO"; then :
31478   glibcxx_cv_func__fmodl_use=yes
31479 else
31480   glibcxx_cv_func__fmodl_use=no
31481 fi
31482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31483       ac_ext=c
31484 ac_cpp='$CPP $CPPFLAGS'
31485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31488
31489
31490 fi
31491
31492   fi
31493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
31494 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
31495
31496     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
31497       for ac_func in _fmodl
31498 do :
31499   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
31500 if test "x$ac_cv_func__fmodl" = x""yes; then :
31501   cat >>confdefs.h <<_ACEOF
31502 #define HAVE__FMODL 1
31503 _ACEOF
31504
31505 fi
31506 done
31507
31508     fi
31509   fi
31510
31511
31512
31513
31514
31515   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
31516 $as_echo_n "checking for frexpl declaration... " >&6; }
31517   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
31518     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
31519   $as_echo_n "(cached) " >&6
31520 else
31521
31522
31523       ac_ext=cpp
31524 ac_cpp='$CXXCPP $CPPFLAGS'
31525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31528
31529       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31530 /* end confdefs.h.  */
31531 #include <math.h>
31532 int
31533 main ()
31534 {
31535  frexpl(0, 0);
31536   ;
31537   return 0;
31538 }
31539 _ACEOF
31540 if ac_fn_cxx_try_compile "$LINENO"; then :
31541   glibcxx_cv_func_frexpl_use=yes
31542 else
31543   glibcxx_cv_func_frexpl_use=no
31544 fi
31545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31546       ac_ext=c
31547 ac_cpp='$CPP $CPPFLAGS'
31548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31551
31552
31553 fi
31554
31555   fi
31556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
31557 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
31558
31559   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
31560     for ac_func in frexpl
31561 do :
31562   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
31563 if test "x$ac_cv_func_frexpl" = x""yes; then :
31564   cat >>confdefs.h <<_ACEOF
31565 #define HAVE_FREXPL 1
31566 _ACEOF
31567
31568 fi
31569 done
31570
31571   else
31572
31573   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
31574 $as_echo_n "checking for _frexpl declaration... " >&6; }
31575   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
31576     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
31577   $as_echo_n "(cached) " >&6
31578 else
31579
31580
31581       ac_ext=cpp
31582 ac_cpp='$CXXCPP $CPPFLAGS'
31583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31586
31587       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31588 /* end confdefs.h.  */
31589 #include <math.h>
31590 int
31591 main ()
31592 {
31593  _frexpl(0, 0);
31594   ;
31595   return 0;
31596 }
31597 _ACEOF
31598 if ac_fn_cxx_try_compile "$LINENO"; then :
31599   glibcxx_cv_func__frexpl_use=yes
31600 else
31601   glibcxx_cv_func__frexpl_use=no
31602 fi
31603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31604       ac_ext=c
31605 ac_cpp='$CPP $CPPFLAGS'
31606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31609
31610
31611 fi
31612
31613   fi
31614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
31615 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
31616
31617     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31618       for ac_func in _frexpl
31619 do :
31620   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
31621 if test "x$ac_cv_func__frexpl" = x""yes; then :
31622   cat >>confdefs.h <<_ACEOF
31623 #define HAVE__FREXPL 1
31624 _ACEOF
31625
31626 fi
31627 done
31628
31629     fi
31630   fi
31631
31632
31633
31634
31635
31636   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
31637 $as_echo_n "checking for hypotl declaration... " >&6; }
31638   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31639     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
31640   $as_echo_n "(cached) " >&6
31641 else
31642
31643
31644       ac_ext=cpp
31645 ac_cpp='$CXXCPP $CPPFLAGS'
31646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31649
31650       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31651 /* end confdefs.h.  */
31652 #include <math.h>
31653 int
31654 main ()
31655 {
31656  hypotl(0, 0);
31657   ;
31658   return 0;
31659 }
31660 _ACEOF
31661 if ac_fn_cxx_try_compile "$LINENO"; then :
31662   glibcxx_cv_func_hypotl_use=yes
31663 else
31664   glibcxx_cv_func_hypotl_use=no
31665 fi
31666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31667       ac_ext=c
31668 ac_cpp='$CPP $CPPFLAGS'
31669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31672
31673
31674 fi
31675
31676   fi
31677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
31678 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
31679
31680   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31681     for ac_func in hypotl
31682 do :
31683   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
31684 if test "x$ac_cv_func_hypotl" = x""yes; then :
31685   cat >>confdefs.h <<_ACEOF
31686 #define HAVE_HYPOTL 1
31687 _ACEOF
31688
31689 fi
31690 done
31691
31692   else
31693
31694   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
31695 $as_echo_n "checking for _hypotl declaration... " >&6; }
31696   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
31697     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
31698   $as_echo_n "(cached) " >&6
31699 else
31700
31701
31702       ac_ext=cpp
31703 ac_cpp='$CXXCPP $CPPFLAGS'
31704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31707
31708       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31709 /* end confdefs.h.  */
31710 #include <math.h>
31711 int
31712 main ()
31713 {
31714  _hypotl(0, 0);
31715   ;
31716   return 0;
31717 }
31718 _ACEOF
31719 if ac_fn_cxx_try_compile "$LINENO"; then :
31720   glibcxx_cv_func__hypotl_use=yes
31721 else
31722   glibcxx_cv_func__hypotl_use=no
31723 fi
31724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31725       ac_ext=c
31726 ac_cpp='$CPP $CPPFLAGS'
31727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31730
31731
31732 fi
31733
31734   fi
31735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
31736 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
31737
31738     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
31739       for ac_func in _hypotl
31740 do :
31741   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
31742 if test "x$ac_cv_func__hypotl" = x""yes; then :
31743   cat >>confdefs.h <<_ACEOF
31744 #define HAVE__HYPOTL 1
31745 _ACEOF
31746
31747 fi
31748 done
31749
31750     fi
31751   fi
31752
31753
31754
31755
31756
31757   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
31758 $as_echo_n "checking for ldexpl declaration... " >&6; }
31759   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
31760     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
31761   $as_echo_n "(cached) " >&6
31762 else
31763
31764
31765       ac_ext=cpp
31766 ac_cpp='$CXXCPP $CPPFLAGS'
31767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31770
31771       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31772 /* end confdefs.h.  */
31773 #include <math.h>
31774 int
31775 main ()
31776 {
31777  ldexpl(0, 0);
31778   ;
31779   return 0;
31780 }
31781 _ACEOF
31782 if ac_fn_cxx_try_compile "$LINENO"; then :
31783   glibcxx_cv_func_ldexpl_use=yes
31784 else
31785   glibcxx_cv_func_ldexpl_use=no
31786 fi
31787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31788       ac_ext=c
31789 ac_cpp='$CPP $CPPFLAGS'
31790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31793
31794
31795 fi
31796
31797   fi
31798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
31799 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
31800
31801   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
31802     for ac_func in ldexpl
31803 do :
31804   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
31805 if test "x$ac_cv_func_ldexpl" = x""yes; then :
31806   cat >>confdefs.h <<_ACEOF
31807 #define HAVE_LDEXPL 1
31808 _ACEOF
31809
31810 fi
31811 done
31812
31813   else
31814
31815   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
31816 $as_echo_n "checking for _ldexpl declaration... " >&6; }
31817   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
31818     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
31819   $as_echo_n "(cached) " >&6
31820 else
31821
31822
31823       ac_ext=cpp
31824 ac_cpp='$CXXCPP $CPPFLAGS'
31825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31828
31829       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31830 /* end confdefs.h.  */
31831 #include <math.h>
31832 int
31833 main ()
31834 {
31835  _ldexpl(0, 0);
31836   ;
31837   return 0;
31838 }
31839 _ACEOF
31840 if ac_fn_cxx_try_compile "$LINENO"; then :
31841   glibcxx_cv_func__ldexpl_use=yes
31842 else
31843   glibcxx_cv_func__ldexpl_use=no
31844 fi
31845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31846       ac_ext=c
31847 ac_cpp='$CPP $CPPFLAGS'
31848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31851
31852
31853 fi
31854
31855   fi
31856   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
31857 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
31858
31859     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
31860       for ac_func in _ldexpl
31861 do :
31862   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
31863 if test "x$ac_cv_func__ldexpl" = x""yes; then :
31864   cat >>confdefs.h <<_ACEOF
31865 #define HAVE__LDEXPL 1
31866 _ACEOF
31867
31868 fi
31869 done
31870
31871     fi
31872   fi
31873
31874
31875
31876
31877
31878   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
31879 $as_echo_n "checking for logl declaration... " >&6; }
31880   if test x${glibcxx_cv_func_logl_use+set} != xset; then
31881     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
31882   $as_echo_n "(cached) " >&6
31883 else
31884
31885
31886       ac_ext=cpp
31887 ac_cpp='$CXXCPP $CPPFLAGS'
31888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31891
31892       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31893 /* end confdefs.h.  */
31894 #include <math.h>
31895                       #ifdef HAVE_IEEEFP_H
31896                       #include <ieeefp.h>
31897                       #endif
31898
31899 int
31900 main ()
31901 {
31902  logl(0);
31903   ;
31904   return 0;
31905 }
31906 _ACEOF
31907 if ac_fn_cxx_try_compile "$LINENO"; then :
31908   glibcxx_cv_func_logl_use=yes
31909 else
31910   glibcxx_cv_func_logl_use=no
31911 fi
31912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31913       ac_ext=c
31914 ac_cpp='$CPP $CPPFLAGS'
31915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31918
31919
31920 fi
31921
31922   fi
31923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
31924 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
31925
31926   if test x$glibcxx_cv_func_logl_use = x"yes"; then
31927     for ac_func in logl
31928 do :
31929   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
31930 if test "x$ac_cv_func_logl" = x""yes; then :
31931   cat >>confdefs.h <<_ACEOF
31932 #define HAVE_LOGL 1
31933 _ACEOF
31934
31935 fi
31936 done
31937
31938   else
31939
31940   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
31941 $as_echo_n "checking for _logl declaration... " >&6; }
31942   if test x${glibcxx_cv_func__logl_use+set} != xset; then
31943     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
31944   $as_echo_n "(cached) " >&6
31945 else
31946
31947
31948       ac_ext=cpp
31949 ac_cpp='$CXXCPP $CPPFLAGS'
31950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31953
31954       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31955 /* end confdefs.h.  */
31956 #include <math.h>
31957                       #ifdef HAVE_IEEEFP_H
31958                       #include <ieeefp.h>
31959                       #endif
31960
31961 int
31962 main ()
31963 {
31964  _logl(0);
31965   ;
31966   return 0;
31967 }
31968 _ACEOF
31969 if ac_fn_cxx_try_compile "$LINENO"; then :
31970   glibcxx_cv_func__logl_use=yes
31971 else
31972   glibcxx_cv_func__logl_use=no
31973 fi
31974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31975       ac_ext=c
31976 ac_cpp='$CPP $CPPFLAGS'
31977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31980
31981
31982 fi
31983
31984   fi
31985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
31986 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
31987
31988     if test x$glibcxx_cv_func__logl_use = x"yes"; then
31989       for ac_func in _logl
31990 do :
31991   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
31992 if test "x$ac_cv_func__logl" = x""yes; then :
31993   cat >>confdefs.h <<_ACEOF
31994 #define HAVE__LOGL 1
31995 _ACEOF
31996
31997 fi
31998 done
31999
32000     fi
32001   fi
32002
32003
32004
32005
32006
32007   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32008 $as_echo_n "checking for log10l declaration... " >&6; }
32009   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32010     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32011   $as_echo_n "(cached) " >&6
32012 else
32013
32014
32015       ac_ext=cpp
32016 ac_cpp='$CXXCPP $CPPFLAGS'
32017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32020
32021       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32022 /* end confdefs.h.  */
32023 #include <math.h>
32024                       #ifdef HAVE_IEEEFP_H
32025                       #include <ieeefp.h>
32026                       #endif
32027
32028 int
32029 main ()
32030 {
32031  log10l(0);
32032   ;
32033   return 0;
32034 }
32035 _ACEOF
32036 if ac_fn_cxx_try_compile "$LINENO"; then :
32037   glibcxx_cv_func_log10l_use=yes
32038 else
32039   glibcxx_cv_func_log10l_use=no
32040 fi
32041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32042       ac_ext=c
32043 ac_cpp='$CPP $CPPFLAGS'
32044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32047
32048
32049 fi
32050
32051   fi
32052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32053 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32054
32055   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32056     for ac_func in log10l
32057 do :
32058   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32059 if test "x$ac_cv_func_log10l" = x""yes; then :
32060   cat >>confdefs.h <<_ACEOF
32061 #define HAVE_LOG10L 1
32062 _ACEOF
32063
32064 fi
32065 done
32066
32067   else
32068
32069   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32070 $as_echo_n "checking for _log10l declaration... " >&6; }
32071   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32072     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32073   $as_echo_n "(cached) " >&6
32074 else
32075
32076
32077       ac_ext=cpp
32078 ac_cpp='$CXXCPP $CPPFLAGS'
32079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32082
32083       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32084 /* end confdefs.h.  */
32085 #include <math.h>
32086                       #ifdef HAVE_IEEEFP_H
32087                       #include <ieeefp.h>
32088                       #endif
32089
32090 int
32091 main ()
32092 {
32093  _log10l(0);
32094   ;
32095   return 0;
32096 }
32097 _ACEOF
32098 if ac_fn_cxx_try_compile "$LINENO"; then :
32099   glibcxx_cv_func__log10l_use=yes
32100 else
32101   glibcxx_cv_func__log10l_use=no
32102 fi
32103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32104       ac_ext=c
32105 ac_cpp='$CPP $CPPFLAGS'
32106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32109
32110
32111 fi
32112
32113   fi
32114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32115 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32116
32117     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32118       for ac_func in _log10l
32119 do :
32120   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32121 if test "x$ac_cv_func__log10l" = x""yes; then :
32122   cat >>confdefs.h <<_ACEOF
32123 #define HAVE__LOG10L 1
32124 _ACEOF
32125
32126 fi
32127 done
32128
32129     fi
32130   fi
32131
32132
32133
32134
32135
32136   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32137 $as_echo_n "checking for modfl declaration... " >&6; }
32138   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32139     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32140   $as_echo_n "(cached) " >&6
32141 else
32142
32143
32144       ac_ext=cpp
32145 ac_cpp='$CXXCPP $CPPFLAGS'
32146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32149
32150       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32151 /* end confdefs.h.  */
32152 #include <math.h>
32153 int
32154 main ()
32155 {
32156  modfl(0, 0);
32157   ;
32158   return 0;
32159 }
32160 _ACEOF
32161 if ac_fn_cxx_try_compile "$LINENO"; then :
32162   glibcxx_cv_func_modfl_use=yes
32163 else
32164   glibcxx_cv_func_modfl_use=no
32165 fi
32166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32167       ac_ext=c
32168 ac_cpp='$CPP $CPPFLAGS'
32169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32172
32173
32174 fi
32175
32176   fi
32177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
32178 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
32179
32180   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
32181     for ac_func in modfl
32182 do :
32183   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
32184 if test "x$ac_cv_func_modfl" = x""yes; then :
32185   cat >>confdefs.h <<_ACEOF
32186 #define HAVE_MODFL 1
32187 _ACEOF
32188
32189 fi
32190 done
32191
32192   else
32193
32194   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
32195 $as_echo_n "checking for _modfl declaration... " >&6; }
32196   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
32197     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
32198   $as_echo_n "(cached) " >&6
32199 else
32200
32201
32202       ac_ext=cpp
32203 ac_cpp='$CXXCPP $CPPFLAGS'
32204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32207
32208       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32209 /* end confdefs.h.  */
32210 #include <math.h>
32211 int
32212 main ()
32213 {
32214  _modfl(0, 0);
32215   ;
32216   return 0;
32217 }
32218 _ACEOF
32219 if ac_fn_cxx_try_compile "$LINENO"; then :
32220   glibcxx_cv_func__modfl_use=yes
32221 else
32222   glibcxx_cv_func__modfl_use=no
32223 fi
32224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32225       ac_ext=c
32226 ac_cpp='$CPP $CPPFLAGS'
32227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32230
32231
32232 fi
32233
32234   fi
32235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
32236 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
32237
32238     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
32239       for ac_func in _modfl
32240 do :
32241   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
32242 if test "x$ac_cv_func__modfl" = x""yes; then :
32243   cat >>confdefs.h <<_ACEOF
32244 #define HAVE__MODFL 1
32245 _ACEOF
32246
32247 fi
32248 done
32249
32250     fi
32251   fi
32252
32253
32254
32255
32256
32257   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
32258 $as_echo_n "checking for powl declaration... " >&6; }
32259   if test x${glibcxx_cv_func_powl_use+set} != xset; then
32260     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
32261   $as_echo_n "(cached) " >&6
32262 else
32263
32264
32265       ac_ext=cpp
32266 ac_cpp='$CXXCPP $CPPFLAGS'
32267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32270
32271       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32272 /* end confdefs.h.  */
32273 #include <math.h>
32274 int
32275 main ()
32276 {
32277  powl(0, 0);
32278   ;
32279   return 0;
32280 }
32281 _ACEOF
32282 if ac_fn_cxx_try_compile "$LINENO"; then :
32283   glibcxx_cv_func_powl_use=yes
32284 else
32285   glibcxx_cv_func_powl_use=no
32286 fi
32287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32288       ac_ext=c
32289 ac_cpp='$CPP $CPPFLAGS'
32290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32293
32294
32295 fi
32296
32297   fi
32298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
32299 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
32300
32301   if test x$glibcxx_cv_func_powl_use = x"yes"; then
32302     for ac_func in powl
32303 do :
32304   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
32305 if test "x$ac_cv_func_powl" = x""yes; then :
32306   cat >>confdefs.h <<_ACEOF
32307 #define HAVE_POWL 1
32308 _ACEOF
32309
32310 fi
32311 done
32312
32313   else
32314
32315   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
32316 $as_echo_n "checking for _powl declaration... " >&6; }
32317   if test x${glibcxx_cv_func__powl_use+set} != xset; then
32318     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
32319   $as_echo_n "(cached) " >&6
32320 else
32321
32322
32323       ac_ext=cpp
32324 ac_cpp='$CXXCPP $CPPFLAGS'
32325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32328
32329       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32330 /* end confdefs.h.  */
32331 #include <math.h>
32332 int
32333 main ()
32334 {
32335  _powl(0, 0);
32336   ;
32337   return 0;
32338 }
32339 _ACEOF
32340 if ac_fn_cxx_try_compile "$LINENO"; then :
32341   glibcxx_cv_func__powl_use=yes
32342 else
32343   glibcxx_cv_func__powl_use=no
32344 fi
32345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32346       ac_ext=c
32347 ac_cpp='$CPP $CPPFLAGS'
32348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32351
32352
32353 fi
32354
32355   fi
32356   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
32357 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
32358
32359     if test x$glibcxx_cv_func__powl_use = x"yes"; then
32360       for ac_func in _powl
32361 do :
32362   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
32363 if test "x$ac_cv_func__powl" = x""yes; then :
32364   cat >>confdefs.h <<_ACEOF
32365 #define HAVE__POWL 1
32366 _ACEOF
32367
32368 fi
32369 done
32370
32371     fi
32372   fi
32373
32374
32375
32376
32377
32378   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
32379 $as_echo_n "checking for sqrtl declaration... " >&6; }
32380   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
32381     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
32382   $as_echo_n "(cached) " >&6
32383 else
32384
32385
32386       ac_ext=cpp
32387 ac_cpp='$CXXCPP $CPPFLAGS'
32388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32391
32392       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32393 /* end confdefs.h.  */
32394 #include <math.h>
32395                       #ifdef HAVE_IEEEFP_H
32396                       #include <ieeefp.h>
32397                       #endif
32398
32399 int
32400 main ()
32401 {
32402  sqrtl(0);
32403   ;
32404   return 0;
32405 }
32406 _ACEOF
32407 if ac_fn_cxx_try_compile "$LINENO"; then :
32408   glibcxx_cv_func_sqrtl_use=yes
32409 else
32410   glibcxx_cv_func_sqrtl_use=no
32411 fi
32412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32413       ac_ext=c
32414 ac_cpp='$CPP $CPPFLAGS'
32415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32418
32419
32420 fi
32421
32422   fi
32423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
32424 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
32425
32426   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
32427     for ac_func in sqrtl
32428 do :
32429   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
32430 if test "x$ac_cv_func_sqrtl" = x""yes; then :
32431   cat >>confdefs.h <<_ACEOF
32432 #define HAVE_SQRTL 1
32433 _ACEOF
32434
32435 fi
32436 done
32437
32438   else
32439
32440   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
32441 $as_echo_n "checking for _sqrtl declaration... " >&6; }
32442   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
32443     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
32444   $as_echo_n "(cached) " >&6
32445 else
32446
32447
32448       ac_ext=cpp
32449 ac_cpp='$CXXCPP $CPPFLAGS'
32450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32453
32454       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32455 /* end confdefs.h.  */
32456 #include <math.h>
32457                       #ifdef HAVE_IEEEFP_H
32458                       #include <ieeefp.h>
32459                       #endif
32460
32461 int
32462 main ()
32463 {
32464  _sqrtl(0);
32465   ;
32466   return 0;
32467 }
32468 _ACEOF
32469 if ac_fn_cxx_try_compile "$LINENO"; then :
32470   glibcxx_cv_func__sqrtl_use=yes
32471 else
32472   glibcxx_cv_func__sqrtl_use=no
32473 fi
32474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32475       ac_ext=c
32476 ac_cpp='$CPP $CPPFLAGS'
32477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32480
32481
32482 fi
32483
32484   fi
32485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
32486 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
32487
32488     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
32489       for ac_func in _sqrtl
32490 do :
32491   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
32492 if test "x$ac_cv_func__sqrtl" = x""yes; then :
32493   cat >>confdefs.h <<_ACEOF
32494 #define HAVE__SQRTL 1
32495 _ACEOF
32496
32497 fi
32498 done
32499
32500     fi
32501   fi
32502
32503
32504
32505
32506
32507   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
32508 $as_echo_n "checking for sincosl declaration... " >&6; }
32509   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
32510     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
32511   $as_echo_n "(cached) " >&6
32512 else
32513
32514
32515       ac_ext=cpp
32516 ac_cpp='$CXXCPP $CPPFLAGS'
32517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32520
32521       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32522 /* end confdefs.h.  */
32523 #include <math.h>
32524 int
32525 main ()
32526 {
32527  sincosl(0, 0, 0);
32528   ;
32529   return 0;
32530 }
32531 _ACEOF
32532 if ac_fn_cxx_try_compile "$LINENO"; then :
32533   glibcxx_cv_func_sincosl_use=yes
32534 else
32535   glibcxx_cv_func_sincosl_use=no
32536 fi
32537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32538       ac_ext=c
32539 ac_cpp='$CPP $CPPFLAGS'
32540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32543
32544
32545 fi
32546
32547   fi
32548   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
32549 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
32550
32551   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
32552     for ac_func in sincosl
32553 do :
32554   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
32555 if test "x$ac_cv_func_sincosl" = x""yes; then :
32556   cat >>confdefs.h <<_ACEOF
32557 #define HAVE_SINCOSL 1
32558 _ACEOF
32559
32560 fi
32561 done
32562
32563   else
32564
32565   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
32566 $as_echo_n "checking for _sincosl declaration... " >&6; }
32567   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
32568     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
32569   $as_echo_n "(cached) " >&6
32570 else
32571
32572
32573       ac_ext=cpp
32574 ac_cpp='$CXXCPP $CPPFLAGS'
32575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32578
32579       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32580 /* end confdefs.h.  */
32581 #include <math.h>
32582 int
32583 main ()
32584 {
32585  _sincosl(0, 0, 0);
32586   ;
32587   return 0;
32588 }
32589 _ACEOF
32590 if ac_fn_cxx_try_compile "$LINENO"; then :
32591   glibcxx_cv_func__sincosl_use=yes
32592 else
32593   glibcxx_cv_func__sincosl_use=no
32594 fi
32595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32596       ac_ext=c
32597 ac_cpp='$CPP $CPPFLAGS'
32598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32601
32602
32603 fi
32604
32605   fi
32606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
32607 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
32608
32609     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
32610       for ac_func in _sincosl
32611 do :
32612   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
32613 if test "x$ac_cv_func__sincosl" = x""yes; then :
32614   cat >>confdefs.h <<_ACEOF
32615 #define HAVE__SINCOSL 1
32616 _ACEOF
32617
32618 fi
32619 done
32620
32621     fi
32622   fi
32623
32624
32625
32626
32627
32628   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
32629 $as_echo_n "checking for finitel declaration... " >&6; }
32630   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32631     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
32632   $as_echo_n "(cached) " >&6
32633 else
32634
32635
32636       ac_ext=cpp
32637 ac_cpp='$CXXCPP $CPPFLAGS'
32638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32641
32642       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32643 /* end confdefs.h.  */
32644 #include <math.h>
32645                       #ifdef HAVE_IEEEFP_H
32646                       #include <ieeefp.h>
32647                       #endif
32648
32649 int
32650 main ()
32651 {
32652  finitel(0);
32653   ;
32654   return 0;
32655 }
32656 _ACEOF
32657 if ac_fn_cxx_try_compile "$LINENO"; then :
32658   glibcxx_cv_func_finitel_use=yes
32659 else
32660   glibcxx_cv_func_finitel_use=no
32661 fi
32662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32663       ac_ext=c
32664 ac_cpp='$CPP $CPPFLAGS'
32665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32668
32669
32670 fi
32671
32672   fi
32673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
32674 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
32675
32676   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
32677     for ac_func in finitel
32678 do :
32679   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
32680 if test "x$ac_cv_func_finitel" = x""yes; then :
32681   cat >>confdefs.h <<_ACEOF
32682 #define HAVE_FINITEL 1
32683 _ACEOF
32684
32685 fi
32686 done
32687
32688   else
32689
32690   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
32691 $as_echo_n "checking for _finitel declaration... " >&6; }
32692   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
32693     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
32694   $as_echo_n "(cached) " >&6
32695 else
32696
32697
32698       ac_ext=cpp
32699 ac_cpp='$CXXCPP $CPPFLAGS'
32700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32703
32704       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32705 /* end confdefs.h.  */
32706 #include <math.h>
32707                       #ifdef HAVE_IEEEFP_H
32708                       #include <ieeefp.h>
32709                       #endif
32710
32711 int
32712 main ()
32713 {
32714  _finitel(0);
32715   ;
32716   return 0;
32717 }
32718 _ACEOF
32719 if ac_fn_cxx_try_compile "$LINENO"; then :
32720   glibcxx_cv_func__finitel_use=yes
32721 else
32722   glibcxx_cv_func__finitel_use=no
32723 fi
32724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32725       ac_ext=c
32726 ac_cpp='$CPP $CPPFLAGS'
32727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32730
32731
32732 fi
32733
32734   fi
32735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
32736 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
32737
32738     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
32739       for ac_func in _finitel
32740 do :
32741   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
32742 if test "x$ac_cv_func__finitel" = x""yes; then :
32743   cat >>confdefs.h <<_ACEOF
32744 #define HAVE__FINITEL 1
32745 _ACEOF
32746
32747 fi
32748 done
32749
32750     fi
32751   fi
32752
32753
32754
32755
32756   LIBS="$ac_save_LIBS"
32757   CXXFLAGS="$ac_save_CXXFLAGS"
32758
32759
32760   ac_test_CXXFLAGS="${CXXFLAGS+set}"
32761   ac_save_CXXFLAGS="$CXXFLAGS"
32762   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32763
32764
32765   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
32766 $as_echo_n "checking for strtold declaration... " >&6; }
32767   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
32768     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
32769   $as_echo_n "(cached) " >&6
32770 else
32771
32772
32773       ac_ext=cpp
32774 ac_cpp='$CXXCPP $CPPFLAGS'
32775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32778
32779       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32780 /* end confdefs.h.  */
32781 #include <stdlib.h>
32782 int
32783 main ()
32784 {
32785  strtold(0, 0);
32786   ;
32787   return 0;
32788 }
32789 _ACEOF
32790 if ac_fn_cxx_try_compile "$LINENO"; then :
32791   glibcxx_cv_func_strtold_use=yes
32792 else
32793   glibcxx_cv_func_strtold_use=no
32794 fi
32795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32796       ac_ext=c
32797 ac_cpp='$CPP $CPPFLAGS'
32798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32801
32802
32803 fi
32804
32805   fi
32806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
32807 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
32808   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
32809     for ac_func in strtold
32810 do :
32811   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
32812 if test "x$ac_cv_func_strtold" = x""yes; then :
32813   cat >>confdefs.h <<_ACEOF
32814 #define HAVE_STRTOLD 1
32815 _ACEOF
32816
32817 fi
32818 done
32819
32820   fi
32821
32822
32823
32824
32825   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
32826 $as_echo_n "checking for strtof declaration... " >&6; }
32827   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
32828     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
32829   $as_echo_n "(cached) " >&6
32830 else
32831
32832
32833       ac_ext=cpp
32834 ac_cpp='$CXXCPP $CPPFLAGS'
32835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32838
32839       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32840 /* end confdefs.h.  */
32841 #include <stdlib.h>
32842 int
32843 main ()
32844 {
32845  strtof(0, 0);
32846   ;
32847   return 0;
32848 }
32849 _ACEOF
32850 if ac_fn_cxx_try_compile "$LINENO"; then :
32851   glibcxx_cv_func_strtof_use=yes
32852 else
32853   glibcxx_cv_func_strtof_use=no
32854 fi
32855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32856       ac_ext=c
32857 ac_cpp='$CPP $CPPFLAGS'
32858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32861
32862
32863 fi
32864
32865   fi
32866   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
32867 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
32868   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
32869     for ac_func in strtof
32870 do :
32871   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
32872 if test "x$ac_cv_func_strtof" = x""yes; then :
32873   cat >>confdefs.h <<_ACEOF
32874 #define HAVE_STRTOF 1
32875 _ACEOF
32876
32877 fi
32878 done
32879
32880   fi
32881
32882
32883
32884
32885   CXXFLAGS="$ac_save_CXXFLAGS"
32886
32887
32888     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
32889
32890     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
32891
32892     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
32893
32894     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
32895
32896
32897     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
32898
32899     $as_echo "#define HAVE_MODF 1" >>confdefs.h
32900
32901     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
32902
32903     ;;
32904
32905   *-aix*)
32906
32907   # If we're not using GNU ld, then there's no point in even trying these
32908   # tests.  Check for that first.  We should have already tested for gld
32909   # by now (in libtool), but require it now just to be safe...
32910   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
32911   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
32912
32913
32914
32915   # The name set by libtool depends on the version of libtool.  Shame on us
32916   # for depending on an impl detail, but c'est la vie.  Older versions used
32917   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
32918   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
32919   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
32920   # set (hence we're using an older libtool), then set it.
32921   if test x${with_gnu_ld+set} != xset; then
32922     if test x${ac_cv_prog_gnu_ld+set} != xset; then
32923       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
32924       with_gnu_ld=no
32925     else
32926       with_gnu_ld=$ac_cv_prog_gnu_ld
32927     fi
32928   fi
32929
32930   # Start by getting the version number.  I think the libtool test already
32931   # does some of this, but throws away the result.
32932   glibcxx_ld_is_gold=no
32933   if test x"$with_gnu_ld" = x"yes"; then
32934     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
32935 $as_echo_n "checking for ld version... " >&6; }
32936
32937     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
32938       glibcxx_ld_is_gold=yes
32939     fi
32940     ldver=`$LD --version 2>/dev/null |
32941            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'`
32942
32943     glibcxx_gnu_ld_version=`echo $ldver | \
32944            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
32945     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
32946 $as_echo "$glibcxx_gnu_ld_version" >&6; }
32947   fi
32948
32949   # Set --gc-sections.
32950   glibcxx_have_gc_sections=no
32951   if test "$glibcxx_ld_is_gold" = "yes"; then
32952     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
32953       glibcxx_have_gc_sections=yes
32954     fi
32955   else
32956     glibcxx_gcsections_min_ld=21602
32957     if test x"$with_gnu_ld" = x"yes" &&
32958         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
32959       glibcxx_have_gc_sections=yes
32960     fi
32961   fi
32962   if test "$glibcxx_have_gc_sections" = "yes"; then
32963     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
32964     # NB: This flag only works reliably after 2.16.1. Configure tests
32965     # for this are difficult, so hard wire a value that should work.
32966
32967     ac_test_CFLAGS="${CFLAGS+set}"
32968     ac_save_CFLAGS="$CFLAGS"
32969     CFLAGS='-Wl,--gc-sections'
32970
32971     # Check for -Wl,--gc-sections
32972     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
32973 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
32974     if test x$gcc_no_link = xyes; then
32975   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32976 fi
32977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32978 /* end confdefs.h.  */
32979  int one(void) { return 1; }
32980      int two(void) { return 2; }
32981
32982 int
32983 main ()
32984 {
32985  two();
32986   ;
32987   return 0;
32988 }
32989 _ACEOF
32990 if ac_fn_c_try_link "$LINENO"; then :
32991   ac_gcsections=yes
32992 else
32993   ac_gcsections=no
32994 fi
32995 rm -f core conftest.err conftest.$ac_objext \
32996     conftest$ac_exeext conftest.$ac_ext
32997     if test "$ac_gcsections" = "yes"; then
32998       rm -f conftest.c
32999       touch conftest.c
33000       if $CC -c conftest.c; then
33001         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
33002            grep "Warning: gc-sections option ignored" > /dev/null; then
33003           ac_gcsections=no
33004         fi
33005       fi
33006       rm -f conftest.c conftest.o conftest
33007     fi
33008     if test "$ac_gcsections" = "yes"; then
33009       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
33010     fi
33011     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
33012 $as_echo "$ac_gcsections" >&6; }
33013
33014     if test "$ac_test_CFLAGS" = set; then
33015       CFLAGS="$ac_save_CFLAGS"
33016     else
33017       # this is the suspicious part
33018       CFLAGS=''
33019     fi
33020   fi
33021
33022   # Set -z,relro.
33023   # Note this is only for shared objects.
33024   ac_ld_relro=no
33025   if test x"$with_gnu_ld" = x"yes"; then
33026     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
33027 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
33028     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
33029     if test -n "$cxx_z_relo"; then
33030       OPT_LDFLAGS="-Wl,-z,relro"
33031       ac_ld_relro=yes
33032     fi
33033     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
33034 $as_echo "$ac_ld_relro" >&6; }
33035   fi
33036
33037   # Set linker optimization flags.
33038   if test x"$with_gnu_ld" = x"yes"; then
33039     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
33040   fi
33041
33042
33043
33044
33045
33046   ac_test_CXXFLAGS="${CXXFLAGS+set}"
33047   ac_save_CXXFLAGS="$CXXFLAGS"
33048   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33049
33050     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
33051 $as_echo_n "checking for sin in -lm... " >&6; }
33052 if test "${ac_cv_lib_m_sin+set}" = set; then :
33053   $as_echo_n "(cached) " >&6
33054 else
33055   ac_check_lib_save_LIBS=$LIBS
33056 LIBS="-lm  $LIBS"
33057 if test x$gcc_no_link = xyes; then
33058   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33059 fi
33060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33061 /* end confdefs.h.  */
33062
33063 /* Override any GCC internal prototype to avoid an error.
33064    Use char because int might match the return type of a GCC
33065    builtin and then its argument prototype would still apply.  */
33066 #ifdef __cplusplus
33067 extern "C"
33068 #endif
33069 char sin ();
33070 int
33071 main ()
33072 {
33073 return sin ();
33074   ;
33075   return 0;
33076 }
33077 _ACEOF
33078 if ac_fn_c_try_link "$LINENO"; then :
33079   ac_cv_lib_m_sin=yes
33080 else
33081   ac_cv_lib_m_sin=no
33082 fi
33083 rm -f core conftest.err conftest.$ac_objext \
33084     conftest$ac_exeext conftest.$ac_ext
33085 LIBS=$ac_check_lib_save_LIBS
33086 fi
33087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
33088 $as_echo "$ac_cv_lib_m_sin" >&6; }
33089 if test "x$ac_cv_lib_m_sin" = x""yes; then :
33090   libm="-lm"
33091 fi
33092
33093   ac_save_LIBS="$LIBS"
33094   LIBS="$LIBS $libm"
33095
33096
33097
33098   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
33099 $as_echo_n "checking for isinf declaration... " >&6; }
33100   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
33101     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
33102   $as_echo_n "(cached) " >&6
33103 else
33104
33105
33106       ac_ext=cpp
33107 ac_cpp='$CXXCPP $CPPFLAGS'
33108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33111
33112       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33113 /* end confdefs.h.  */
33114 #include <math.h>
33115                       #ifdef HAVE_IEEEFP_H
33116                       #include <ieeefp.h>
33117                       #endif
33118
33119 int
33120 main ()
33121 {
33122  isinf(0);
33123   ;
33124   return 0;
33125 }
33126 _ACEOF
33127 if ac_fn_cxx_try_compile "$LINENO"; then :
33128   glibcxx_cv_func_isinf_use=yes
33129 else
33130   glibcxx_cv_func_isinf_use=no
33131 fi
33132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33133       ac_ext=c
33134 ac_cpp='$CPP $CPPFLAGS'
33135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33138
33139
33140 fi
33141
33142   fi
33143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
33144 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
33145
33146   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
33147     for ac_func in isinf
33148 do :
33149   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
33150 if test "x$ac_cv_func_isinf" = x""yes; then :
33151   cat >>confdefs.h <<_ACEOF
33152 #define HAVE_ISINF 1
33153 _ACEOF
33154
33155 fi
33156 done
33157
33158   else
33159
33160   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
33161 $as_echo_n "checking for _isinf declaration... " >&6; }
33162   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
33163     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
33164   $as_echo_n "(cached) " >&6
33165 else
33166
33167
33168       ac_ext=cpp
33169 ac_cpp='$CXXCPP $CPPFLAGS'
33170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33173
33174       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33175 /* end confdefs.h.  */
33176 #include <math.h>
33177                       #ifdef HAVE_IEEEFP_H
33178                       #include <ieeefp.h>
33179                       #endif
33180
33181 int
33182 main ()
33183 {
33184  _isinf(0);
33185   ;
33186   return 0;
33187 }
33188 _ACEOF
33189 if ac_fn_cxx_try_compile "$LINENO"; then :
33190   glibcxx_cv_func__isinf_use=yes
33191 else
33192   glibcxx_cv_func__isinf_use=no
33193 fi
33194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33195       ac_ext=c
33196 ac_cpp='$CPP $CPPFLAGS'
33197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33200
33201
33202 fi
33203
33204   fi
33205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
33206 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
33207
33208     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
33209       for ac_func in _isinf
33210 do :
33211   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
33212 if test "x$ac_cv_func__isinf" = x""yes; then :
33213   cat >>confdefs.h <<_ACEOF
33214 #define HAVE__ISINF 1
33215 _ACEOF
33216
33217 fi
33218 done
33219
33220     fi
33221   fi
33222
33223
33224
33225
33226
33227   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
33228 $as_echo_n "checking for isnan declaration... " >&6; }
33229   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
33230     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
33231   $as_echo_n "(cached) " >&6
33232 else
33233
33234
33235       ac_ext=cpp
33236 ac_cpp='$CXXCPP $CPPFLAGS'
33237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33240
33241       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33242 /* end confdefs.h.  */
33243 #include <math.h>
33244                       #ifdef HAVE_IEEEFP_H
33245                       #include <ieeefp.h>
33246                       #endif
33247
33248 int
33249 main ()
33250 {
33251  isnan(0);
33252   ;
33253   return 0;
33254 }
33255 _ACEOF
33256 if ac_fn_cxx_try_compile "$LINENO"; then :
33257   glibcxx_cv_func_isnan_use=yes
33258 else
33259   glibcxx_cv_func_isnan_use=no
33260 fi
33261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33262       ac_ext=c
33263 ac_cpp='$CPP $CPPFLAGS'
33264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33267
33268
33269 fi
33270
33271   fi
33272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
33273 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
33274
33275   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
33276     for ac_func in isnan
33277 do :
33278   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
33279 if test "x$ac_cv_func_isnan" = x""yes; then :
33280   cat >>confdefs.h <<_ACEOF
33281 #define HAVE_ISNAN 1
33282 _ACEOF
33283
33284 fi
33285 done
33286
33287   else
33288
33289   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
33290 $as_echo_n "checking for _isnan declaration... " >&6; }
33291   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
33292     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
33293   $as_echo_n "(cached) " >&6
33294 else
33295
33296
33297       ac_ext=cpp
33298 ac_cpp='$CXXCPP $CPPFLAGS'
33299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33302
33303       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33304 /* end confdefs.h.  */
33305 #include <math.h>
33306                       #ifdef HAVE_IEEEFP_H
33307                       #include <ieeefp.h>
33308                       #endif
33309
33310 int
33311 main ()
33312 {
33313  _isnan(0);
33314   ;
33315   return 0;
33316 }
33317 _ACEOF
33318 if ac_fn_cxx_try_compile "$LINENO"; then :
33319   glibcxx_cv_func__isnan_use=yes
33320 else
33321   glibcxx_cv_func__isnan_use=no
33322 fi
33323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33324       ac_ext=c
33325 ac_cpp='$CPP $CPPFLAGS'
33326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33329
33330
33331 fi
33332
33333   fi
33334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
33335 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
33336
33337     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
33338       for ac_func in _isnan
33339 do :
33340   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
33341 if test "x$ac_cv_func__isnan" = x""yes; then :
33342   cat >>confdefs.h <<_ACEOF
33343 #define HAVE__ISNAN 1
33344 _ACEOF
33345
33346 fi
33347 done
33348
33349     fi
33350   fi
33351
33352
33353
33354
33355
33356   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
33357 $as_echo_n "checking for finite declaration... " >&6; }
33358   if test x${glibcxx_cv_func_finite_use+set} != xset; then
33359     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
33360   $as_echo_n "(cached) " >&6
33361 else
33362
33363
33364       ac_ext=cpp
33365 ac_cpp='$CXXCPP $CPPFLAGS'
33366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33369
33370       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33371 /* end confdefs.h.  */
33372 #include <math.h>
33373                       #ifdef HAVE_IEEEFP_H
33374                       #include <ieeefp.h>
33375                       #endif
33376
33377 int
33378 main ()
33379 {
33380  finite(0);
33381   ;
33382   return 0;
33383 }
33384 _ACEOF
33385 if ac_fn_cxx_try_compile "$LINENO"; then :
33386   glibcxx_cv_func_finite_use=yes
33387 else
33388   glibcxx_cv_func_finite_use=no
33389 fi
33390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33391       ac_ext=c
33392 ac_cpp='$CPP $CPPFLAGS'
33393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33396
33397
33398 fi
33399
33400   fi
33401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
33402 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
33403
33404   if test x$glibcxx_cv_func_finite_use = x"yes"; then
33405     for ac_func in finite
33406 do :
33407   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
33408 if test "x$ac_cv_func_finite" = x""yes; then :
33409   cat >>confdefs.h <<_ACEOF
33410 #define HAVE_FINITE 1
33411 _ACEOF
33412
33413 fi
33414 done
33415
33416   else
33417
33418   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
33419 $as_echo_n "checking for _finite declaration... " >&6; }
33420   if test x${glibcxx_cv_func__finite_use+set} != xset; then
33421     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
33422   $as_echo_n "(cached) " >&6
33423 else
33424
33425
33426       ac_ext=cpp
33427 ac_cpp='$CXXCPP $CPPFLAGS'
33428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33431
33432       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33433 /* end confdefs.h.  */
33434 #include <math.h>
33435                       #ifdef HAVE_IEEEFP_H
33436                       #include <ieeefp.h>
33437                       #endif
33438
33439 int
33440 main ()
33441 {
33442  _finite(0);
33443   ;
33444   return 0;
33445 }
33446 _ACEOF
33447 if ac_fn_cxx_try_compile "$LINENO"; then :
33448   glibcxx_cv_func__finite_use=yes
33449 else
33450   glibcxx_cv_func__finite_use=no
33451 fi
33452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33453       ac_ext=c
33454 ac_cpp='$CPP $CPPFLAGS'
33455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33458
33459
33460 fi
33461
33462   fi
33463   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
33464 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
33465
33466     if test x$glibcxx_cv_func__finite_use = x"yes"; then
33467       for ac_func in _finite
33468 do :
33469   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
33470 if test "x$ac_cv_func__finite" = x""yes; then :
33471   cat >>confdefs.h <<_ACEOF
33472 #define HAVE__FINITE 1
33473 _ACEOF
33474
33475 fi
33476 done
33477
33478     fi
33479   fi
33480
33481
33482
33483
33484
33485   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
33486 $as_echo_n "checking for sincos declaration... " >&6; }
33487   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
33488     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
33489   $as_echo_n "(cached) " >&6
33490 else
33491
33492
33493       ac_ext=cpp
33494 ac_cpp='$CXXCPP $CPPFLAGS'
33495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33498
33499       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33500 /* end confdefs.h.  */
33501 #include <math.h>
33502 int
33503 main ()
33504 {
33505  sincos(0, 0, 0);
33506   ;
33507   return 0;
33508 }
33509 _ACEOF
33510 if ac_fn_cxx_try_compile "$LINENO"; then :
33511   glibcxx_cv_func_sincos_use=yes
33512 else
33513   glibcxx_cv_func_sincos_use=no
33514 fi
33515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33516       ac_ext=c
33517 ac_cpp='$CPP $CPPFLAGS'
33518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33521
33522
33523 fi
33524
33525   fi
33526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
33527 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
33528
33529   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
33530     for ac_func in sincos
33531 do :
33532   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
33533 if test "x$ac_cv_func_sincos" = x""yes; then :
33534   cat >>confdefs.h <<_ACEOF
33535 #define HAVE_SINCOS 1
33536 _ACEOF
33537
33538 fi
33539 done
33540
33541   else
33542
33543   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
33544 $as_echo_n "checking for _sincos declaration... " >&6; }
33545   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33546     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
33547   $as_echo_n "(cached) " >&6
33548 else
33549
33550
33551       ac_ext=cpp
33552 ac_cpp='$CXXCPP $CPPFLAGS'
33553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33556
33557       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33558 /* end confdefs.h.  */
33559 #include <math.h>
33560 int
33561 main ()
33562 {
33563  _sincos(0, 0, 0);
33564   ;
33565   return 0;
33566 }
33567 _ACEOF
33568 if ac_fn_cxx_try_compile "$LINENO"; then :
33569   glibcxx_cv_func__sincos_use=yes
33570 else
33571   glibcxx_cv_func__sincos_use=no
33572 fi
33573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33574       ac_ext=c
33575 ac_cpp='$CPP $CPPFLAGS'
33576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33579
33580
33581 fi
33582
33583   fi
33584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
33585 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
33586
33587     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33588       for ac_func in _sincos
33589 do :
33590   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
33591 if test "x$ac_cv_func__sincos" = x""yes; then :
33592   cat >>confdefs.h <<_ACEOF
33593 #define HAVE__SINCOS 1
33594 _ACEOF
33595
33596 fi
33597 done
33598
33599     fi
33600   fi
33601
33602
33603
33604
33605
33606   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
33607 $as_echo_n "checking for fpclass declaration... " >&6; }
33608   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33609     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
33610   $as_echo_n "(cached) " >&6
33611 else
33612
33613
33614       ac_ext=cpp
33615 ac_cpp='$CXXCPP $CPPFLAGS'
33616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33619
33620       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33621 /* end confdefs.h.  */
33622 #include <math.h>
33623                       #ifdef HAVE_IEEEFP_H
33624                       #include <ieeefp.h>
33625                       #endif
33626
33627 int
33628 main ()
33629 {
33630  fpclass(0);
33631   ;
33632   return 0;
33633 }
33634 _ACEOF
33635 if ac_fn_cxx_try_compile "$LINENO"; then :
33636   glibcxx_cv_func_fpclass_use=yes
33637 else
33638   glibcxx_cv_func_fpclass_use=no
33639 fi
33640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33641       ac_ext=c
33642 ac_cpp='$CPP $CPPFLAGS'
33643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33646
33647
33648 fi
33649
33650   fi
33651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
33652 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
33653
33654   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33655     for ac_func in fpclass
33656 do :
33657   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
33658 if test "x$ac_cv_func_fpclass" = x""yes; then :
33659   cat >>confdefs.h <<_ACEOF
33660 #define HAVE_FPCLASS 1
33661 _ACEOF
33662
33663 fi
33664 done
33665
33666   else
33667
33668   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
33669 $as_echo_n "checking for _fpclass declaration... " >&6; }
33670   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33671     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
33672   $as_echo_n "(cached) " >&6
33673 else
33674
33675
33676       ac_ext=cpp
33677 ac_cpp='$CXXCPP $CPPFLAGS'
33678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33681
33682       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33683 /* end confdefs.h.  */
33684 #include <math.h>
33685                       #ifdef HAVE_IEEEFP_H
33686                       #include <ieeefp.h>
33687                       #endif
33688
33689 int
33690 main ()
33691 {
33692  _fpclass(0);
33693   ;
33694   return 0;
33695 }
33696 _ACEOF
33697 if ac_fn_cxx_try_compile "$LINENO"; then :
33698   glibcxx_cv_func__fpclass_use=yes
33699 else
33700   glibcxx_cv_func__fpclass_use=no
33701 fi
33702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33703       ac_ext=c
33704 ac_cpp='$CPP $CPPFLAGS'
33705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33708
33709
33710 fi
33711
33712   fi
33713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
33714 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
33715
33716     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33717       for ac_func in _fpclass
33718 do :
33719   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
33720 if test "x$ac_cv_func__fpclass" = x""yes; then :
33721   cat >>confdefs.h <<_ACEOF
33722 #define HAVE__FPCLASS 1
33723 _ACEOF
33724
33725 fi
33726 done
33727
33728     fi
33729   fi
33730
33731
33732
33733
33734
33735   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
33736 $as_echo_n "checking for qfpclass declaration... " >&6; }
33737   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33738     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
33739   $as_echo_n "(cached) " >&6
33740 else
33741
33742
33743       ac_ext=cpp
33744 ac_cpp='$CXXCPP $CPPFLAGS'
33745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33748
33749       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33750 /* end confdefs.h.  */
33751 #include <math.h>
33752                       #ifdef HAVE_IEEEFP_H
33753                       #include <ieeefp.h>
33754                       #endif
33755
33756 int
33757 main ()
33758 {
33759  qfpclass(0);
33760   ;
33761   return 0;
33762 }
33763 _ACEOF
33764 if ac_fn_cxx_try_compile "$LINENO"; then :
33765   glibcxx_cv_func_qfpclass_use=yes
33766 else
33767   glibcxx_cv_func_qfpclass_use=no
33768 fi
33769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33770       ac_ext=c
33771 ac_cpp='$CPP $CPPFLAGS'
33772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33775
33776
33777 fi
33778
33779   fi
33780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
33781 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
33782
33783   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33784     for ac_func in qfpclass
33785 do :
33786   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
33787 if test "x$ac_cv_func_qfpclass" = x""yes; then :
33788   cat >>confdefs.h <<_ACEOF
33789 #define HAVE_QFPCLASS 1
33790 _ACEOF
33791
33792 fi
33793 done
33794
33795   else
33796
33797   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
33798 $as_echo_n "checking for _qfpclass declaration... " >&6; }
33799   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33800     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
33801   $as_echo_n "(cached) " >&6
33802 else
33803
33804
33805       ac_ext=cpp
33806 ac_cpp='$CXXCPP $CPPFLAGS'
33807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33810
33811       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33812 /* end confdefs.h.  */
33813 #include <math.h>
33814                       #ifdef HAVE_IEEEFP_H
33815                       #include <ieeefp.h>
33816                       #endif
33817
33818 int
33819 main ()
33820 {
33821  _qfpclass(0);
33822   ;
33823   return 0;
33824 }
33825 _ACEOF
33826 if ac_fn_cxx_try_compile "$LINENO"; then :
33827   glibcxx_cv_func__qfpclass_use=yes
33828 else
33829   glibcxx_cv_func__qfpclass_use=no
33830 fi
33831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33832       ac_ext=c
33833 ac_cpp='$CPP $CPPFLAGS'
33834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33837
33838
33839 fi
33840
33841   fi
33842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
33843 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
33844
33845     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33846       for ac_func in _qfpclass
33847 do :
33848   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
33849 if test "x$ac_cv_func__qfpclass" = x""yes; then :
33850   cat >>confdefs.h <<_ACEOF
33851 #define HAVE__QFPCLASS 1
33852 _ACEOF
33853
33854 fi
33855 done
33856
33857     fi
33858   fi
33859
33860
33861
33862
33863
33864   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
33865 $as_echo_n "checking for hypot declaration... " >&6; }
33866   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
33867     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
33868   $as_echo_n "(cached) " >&6
33869 else
33870
33871
33872       ac_ext=cpp
33873 ac_cpp='$CXXCPP $CPPFLAGS'
33874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33877
33878       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33879 /* end confdefs.h.  */
33880 #include <math.h>
33881 int
33882 main ()
33883 {
33884  hypot(0, 0);
33885   ;
33886   return 0;
33887 }
33888 _ACEOF
33889 if ac_fn_cxx_try_compile "$LINENO"; then :
33890   glibcxx_cv_func_hypot_use=yes
33891 else
33892   glibcxx_cv_func_hypot_use=no
33893 fi
33894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33895       ac_ext=c
33896 ac_cpp='$CPP $CPPFLAGS'
33897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33900
33901
33902 fi
33903
33904   fi
33905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
33906 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
33907
33908   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
33909     for ac_func in hypot
33910 do :
33911   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
33912 if test "x$ac_cv_func_hypot" = x""yes; then :
33913   cat >>confdefs.h <<_ACEOF
33914 #define HAVE_HYPOT 1
33915 _ACEOF
33916
33917 fi
33918 done
33919
33920   else
33921
33922   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
33923 $as_echo_n "checking for _hypot declaration... " >&6; }
33924   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
33925     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
33926   $as_echo_n "(cached) " >&6
33927 else
33928
33929
33930       ac_ext=cpp
33931 ac_cpp='$CXXCPP $CPPFLAGS'
33932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33935
33936       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33937 /* end confdefs.h.  */
33938 #include <math.h>
33939 int
33940 main ()
33941 {
33942  _hypot(0, 0);
33943   ;
33944   return 0;
33945 }
33946 _ACEOF
33947 if ac_fn_cxx_try_compile "$LINENO"; then :
33948   glibcxx_cv_func__hypot_use=yes
33949 else
33950   glibcxx_cv_func__hypot_use=no
33951 fi
33952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33953       ac_ext=c
33954 ac_cpp='$CPP $CPPFLAGS'
33955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33958
33959
33960 fi
33961
33962   fi
33963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
33964 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
33965
33966     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
33967       for ac_func in _hypot
33968 do :
33969   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
33970 if test "x$ac_cv_func__hypot" = x""yes; then :
33971   cat >>confdefs.h <<_ACEOF
33972 #define HAVE__HYPOT 1
33973 _ACEOF
33974
33975 fi
33976 done
33977
33978     fi
33979   fi
33980
33981
33982
33983
33984
33985     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
33986 $as_echo_n "checking for float trig functions... " >&6; }
33987   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
33988   $as_echo_n "(cached) " >&6
33989 else
33990
33991
33992     ac_ext=cpp
33993 ac_cpp='$CXXCPP $CPPFLAGS'
33994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33997
33998     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33999 /* end confdefs.h.  */
34000 #include <math.h>
34001 int
34002 main ()
34003 {
34004 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34005   ;
34006   return 0;
34007 }
34008 _ACEOF
34009 if ac_fn_cxx_try_compile "$LINENO"; then :
34010   glibcxx_cv_func_float_trig_use=yes
34011 else
34012   glibcxx_cv_func_float_trig_use=no
34013 fi
34014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34015     ac_ext=c
34016 ac_cpp='$CPP $CPPFLAGS'
34017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34020
34021 fi
34022
34023   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
34024 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
34025   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34026     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34027 do :
34028   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34029 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34030 eval as_val=\$$as_ac_var
34031    if test "x$as_val" = x""yes; then :
34032   cat >>confdefs.h <<_ACEOF
34033 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34034 _ACEOF
34035
34036 fi
34037 done
34038
34039   else
34040     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
34041 $as_echo_n "checking for _float trig functions... " >&6; }
34042     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
34043   $as_echo_n "(cached) " >&6
34044 else
34045
34046
34047       ac_ext=cpp
34048 ac_cpp='$CXXCPP $CPPFLAGS'
34049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34052
34053       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34054 /* end confdefs.h.  */
34055 #include <math.h>
34056 int
34057 main ()
34058 {
34059 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34060   ;
34061   return 0;
34062 }
34063 _ACEOF
34064 if ac_fn_cxx_try_compile "$LINENO"; then :
34065   glibcxx_cv_func__float_trig_use=yes
34066 else
34067   glibcxx_cv_func__float_trig_use=no
34068 fi
34069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34070       ac_ext=c
34071 ac_cpp='$CPP $CPPFLAGS'
34072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34075
34076 fi
34077
34078     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
34079 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
34080     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34081       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34082 do :
34083   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34084 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34085 eval as_val=\$$as_ac_var
34086    if test "x$as_val" = x""yes; then :
34087   cat >>confdefs.h <<_ACEOF
34088 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34089 _ACEOF
34090
34091 fi
34092 done
34093
34094     fi
34095   fi
34096
34097
34098
34099
34100
34101     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
34102 $as_echo_n "checking for float round functions... " >&6; }
34103   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
34104   $as_echo_n "(cached) " >&6
34105 else
34106
34107
34108     ac_ext=cpp
34109 ac_cpp='$CXXCPP $CPPFLAGS'
34110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34113
34114     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34115 /* end confdefs.h.  */
34116 #include <math.h>
34117 int
34118 main ()
34119 {
34120 ceilf (0); floorf (0);
34121   ;
34122   return 0;
34123 }
34124 _ACEOF
34125 if ac_fn_cxx_try_compile "$LINENO"; then :
34126   glibcxx_cv_func_float_round_use=yes
34127 else
34128   glibcxx_cv_func_float_round_use=no
34129 fi
34130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34131     ac_ext=c
34132 ac_cpp='$CPP $CPPFLAGS'
34133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34136
34137 fi
34138
34139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
34140 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
34141   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34142     for ac_func in ceilf floorf
34143 do :
34144   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34145 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34146 eval as_val=\$$as_ac_var
34147    if test "x$as_val" = x""yes; then :
34148   cat >>confdefs.h <<_ACEOF
34149 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34150 _ACEOF
34151
34152 fi
34153 done
34154
34155   else
34156     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
34157 $as_echo_n "checking for _float round functions... " >&6; }
34158     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
34159   $as_echo_n "(cached) " >&6
34160 else
34161
34162
34163       ac_ext=cpp
34164 ac_cpp='$CXXCPP $CPPFLAGS'
34165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34168
34169       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34170 /* end confdefs.h.  */
34171 #include <math.h>
34172 int
34173 main ()
34174 {
34175 _ceilf (0); _floorf (0);
34176   ;
34177   return 0;
34178 }
34179 _ACEOF
34180 if ac_fn_cxx_try_compile "$LINENO"; then :
34181   glibcxx_cv_func__float_round_use=yes
34182 else
34183   glibcxx_cv_func__float_round_use=no
34184 fi
34185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34186       ac_ext=c
34187 ac_cpp='$CPP $CPPFLAGS'
34188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34191
34192 fi
34193
34194     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
34195 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
34196     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
34197       for ac_func in _ceilf _floorf
34198 do :
34199   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34200 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34201 eval as_val=\$$as_ac_var
34202    if test "x$as_val" = x""yes; then :
34203   cat >>confdefs.h <<_ACEOF
34204 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34205 _ACEOF
34206
34207 fi
34208 done
34209
34210     fi
34211   fi
34212
34213
34214
34215
34216
34217
34218   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
34219 $as_echo_n "checking for expf declaration... " >&6; }
34220   if test x${glibcxx_cv_func_expf_use+set} != xset; then
34221     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
34222   $as_echo_n "(cached) " >&6
34223 else
34224
34225
34226       ac_ext=cpp
34227 ac_cpp='$CXXCPP $CPPFLAGS'
34228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34231
34232       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34233 /* end confdefs.h.  */
34234 #include <math.h>
34235                       #ifdef HAVE_IEEEFP_H
34236                       #include <ieeefp.h>
34237                       #endif
34238
34239 int
34240 main ()
34241 {
34242  expf(0);
34243   ;
34244   return 0;
34245 }
34246 _ACEOF
34247 if ac_fn_cxx_try_compile "$LINENO"; then :
34248   glibcxx_cv_func_expf_use=yes
34249 else
34250   glibcxx_cv_func_expf_use=no
34251 fi
34252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34253       ac_ext=c
34254 ac_cpp='$CPP $CPPFLAGS'
34255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34258
34259
34260 fi
34261
34262   fi
34263   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
34264 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
34265
34266   if test x$glibcxx_cv_func_expf_use = x"yes"; then
34267     for ac_func in expf
34268 do :
34269   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
34270 if test "x$ac_cv_func_expf" = x""yes; then :
34271   cat >>confdefs.h <<_ACEOF
34272 #define HAVE_EXPF 1
34273 _ACEOF
34274
34275 fi
34276 done
34277
34278   else
34279
34280   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
34281 $as_echo_n "checking for _expf declaration... " >&6; }
34282   if test x${glibcxx_cv_func__expf_use+set} != xset; then
34283     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
34284   $as_echo_n "(cached) " >&6
34285 else
34286
34287
34288       ac_ext=cpp
34289 ac_cpp='$CXXCPP $CPPFLAGS'
34290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34293
34294       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34295 /* end confdefs.h.  */
34296 #include <math.h>
34297                       #ifdef HAVE_IEEEFP_H
34298                       #include <ieeefp.h>
34299                       #endif
34300
34301 int
34302 main ()
34303 {
34304  _expf(0);
34305   ;
34306   return 0;
34307 }
34308 _ACEOF
34309 if ac_fn_cxx_try_compile "$LINENO"; then :
34310   glibcxx_cv_func__expf_use=yes
34311 else
34312   glibcxx_cv_func__expf_use=no
34313 fi
34314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34315       ac_ext=c
34316 ac_cpp='$CPP $CPPFLAGS'
34317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34320
34321
34322 fi
34323
34324   fi
34325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
34326 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
34327
34328     if test x$glibcxx_cv_func__expf_use = x"yes"; then
34329       for ac_func in _expf
34330 do :
34331   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
34332 if test "x$ac_cv_func__expf" = x""yes; then :
34333   cat >>confdefs.h <<_ACEOF
34334 #define HAVE__EXPF 1
34335 _ACEOF
34336
34337 fi
34338 done
34339
34340     fi
34341   fi
34342
34343
34344
34345
34346
34347   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
34348 $as_echo_n "checking for isnanf declaration... " >&6; }
34349   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
34350     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
34351   $as_echo_n "(cached) " >&6
34352 else
34353
34354
34355       ac_ext=cpp
34356 ac_cpp='$CXXCPP $CPPFLAGS'
34357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34360
34361       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34362 /* end confdefs.h.  */
34363 #include <math.h>
34364                       #ifdef HAVE_IEEEFP_H
34365                       #include <ieeefp.h>
34366                       #endif
34367
34368 int
34369 main ()
34370 {
34371  isnanf(0);
34372   ;
34373   return 0;
34374 }
34375 _ACEOF
34376 if ac_fn_cxx_try_compile "$LINENO"; then :
34377   glibcxx_cv_func_isnanf_use=yes
34378 else
34379   glibcxx_cv_func_isnanf_use=no
34380 fi
34381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34382       ac_ext=c
34383 ac_cpp='$CPP $CPPFLAGS'
34384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34387
34388
34389 fi
34390
34391   fi
34392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
34393 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
34394
34395   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
34396     for ac_func in isnanf
34397 do :
34398   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
34399 if test "x$ac_cv_func_isnanf" = x""yes; then :
34400   cat >>confdefs.h <<_ACEOF
34401 #define HAVE_ISNANF 1
34402 _ACEOF
34403
34404 fi
34405 done
34406
34407   else
34408
34409   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
34410 $as_echo_n "checking for _isnanf declaration... " >&6; }
34411   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
34412     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
34413   $as_echo_n "(cached) " >&6
34414 else
34415
34416
34417       ac_ext=cpp
34418 ac_cpp='$CXXCPP $CPPFLAGS'
34419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34422
34423       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34424 /* end confdefs.h.  */
34425 #include <math.h>
34426                       #ifdef HAVE_IEEEFP_H
34427                       #include <ieeefp.h>
34428                       #endif
34429
34430 int
34431 main ()
34432 {
34433  _isnanf(0);
34434   ;
34435   return 0;
34436 }
34437 _ACEOF
34438 if ac_fn_cxx_try_compile "$LINENO"; then :
34439   glibcxx_cv_func__isnanf_use=yes
34440 else
34441   glibcxx_cv_func__isnanf_use=no
34442 fi
34443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34444       ac_ext=c
34445 ac_cpp='$CPP $CPPFLAGS'
34446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34449
34450
34451 fi
34452
34453   fi
34454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
34455 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
34456
34457     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
34458       for ac_func in _isnanf
34459 do :
34460   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
34461 if test "x$ac_cv_func__isnanf" = x""yes; then :
34462   cat >>confdefs.h <<_ACEOF
34463 #define HAVE__ISNANF 1
34464 _ACEOF
34465
34466 fi
34467 done
34468
34469     fi
34470   fi
34471
34472
34473
34474
34475
34476   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
34477 $as_echo_n "checking for isinff declaration... " >&6; }
34478   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
34479     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
34480   $as_echo_n "(cached) " >&6
34481 else
34482
34483
34484       ac_ext=cpp
34485 ac_cpp='$CXXCPP $CPPFLAGS'
34486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34489
34490       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34491 /* end confdefs.h.  */
34492 #include <math.h>
34493                       #ifdef HAVE_IEEEFP_H
34494                       #include <ieeefp.h>
34495                       #endif
34496
34497 int
34498 main ()
34499 {
34500  isinff(0);
34501   ;
34502   return 0;
34503 }
34504 _ACEOF
34505 if ac_fn_cxx_try_compile "$LINENO"; then :
34506   glibcxx_cv_func_isinff_use=yes
34507 else
34508   glibcxx_cv_func_isinff_use=no
34509 fi
34510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34511       ac_ext=c
34512 ac_cpp='$CPP $CPPFLAGS'
34513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34516
34517
34518 fi
34519
34520   fi
34521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
34522 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
34523
34524   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
34525     for ac_func in isinff
34526 do :
34527   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
34528 if test "x$ac_cv_func_isinff" = x""yes; then :
34529   cat >>confdefs.h <<_ACEOF
34530 #define HAVE_ISINFF 1
34531 _ACEOF
34532
34533 fi
34534 done
34535
34536   else
34537
34538   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
34539 $as_echo_n "checking for _isinff declaration... " >&6; }
34540   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
34541     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
34542   $as_echo_n "(cached) " >&6
34543 else
34544
34545
34546       ac_ext=cpp
34547 ac_cpp='$CXXCPP $CPPFLAGS'
34548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34551
34552       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34553 /* end confdefs.h.  */
34554 #include <math.h>
34555                       #ifdef HAVE_IEEEFP_H
34556                       #include <ieeefp.h>
34557                       #endif
34558
34559 int
34560 main ()
34561 {
34562  _isinff(0);
34563   ;
34564   return 0;
34565 }
34566 _ACEOF
34567 if ac_fn_cxx_try_compile "$LINENO"; then :
34568   glibcxx_cv_func__isinff_use=yes
34569 else
34570   glibcxx_cv_func__isinff_use=no
34571 fi
34572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34573       ac_ext=c
34574 ac_cpp='$CPP $CPPFLAGS'
34575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34578
34579
34580 fi
34581
34582   fi
34583   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
34584 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
34585
34586     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
34587       for ac_func in _isinff
34588 do :
34589   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
34590 if test "x$ac_cv_func__isinff" = x""yes; then :
34591   cat >>confdefs.h <<_ACEOF
34592 #define HAVE__ISINFF 1
34593 _ACEOF
34594
34595 fi
34596 done
34597
34598     fi
34599   fi
34600
34601
34602
34603
34604
34605   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
34606 $as_echo_n "checking for atan2f declaration... " >&6; }
34607   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
34608     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
34609   $as_echo_n "(cached) " >&6
34610 else
34611
34612
34613       ac_ext=cpp
34614 ac_cpp='$CXXCPP $CPPFLAGS'
34615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34618
34619       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34620 /* end confdefs.h.  */
34621 #include <math.h>
34622 int
34623 main ()
34624 {
34625  atan2f(0, 0);
34626   ;
34627   return 0;
34628 }
34629 _ACEOF
34630 if ac_fn_cxx_try_compile "$LINENO"; then :
34631   glibcxx_cv_func_atan2f_use=yes
34632 else
34633   glibcxx_cv_func_atan2f_use=no
34634 fi
34635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34636       ac_ext=c
34637 ac_cpp='$CPP $CPPFLAGS'
34638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34641
34642
34643 fi
34644
34645   fi
34646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
34647 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
34648
34649   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
34650     for ac_func in atan2f
34651 do :
34652   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
34653 if test "x$ac_cv_func_atan2f" = x""yes; then :
34654   cat >>confdefs.h <<_ACEOF
34655 #define HAVE_ATAN2F 1
34656 _ACEOF
34657
34658 fi
34659 done
34660
34661   else
34662
34663   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
34664 $as_echo_n "checking for _atan2f declaration... " >&6; }
34665   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
34666     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
34667   $as_echo_n "(cached) " >&6
34668 else
34669
34670
34671       ac_ext=cpp
34672 ac_cpp='$CXXCPP $CPPFLAGS'
34673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34676
34677       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34678 /* end confdefs.h.  */
34679 #include <math.h>
34680 int
34681 main ()
34682 {
34683  _atan2f(0, 0);
34684   ;
34685   return 0;
34686 }
34687 _ACEOF
34688 if ac_fn_cxx_try_compile "$LINENO"; then :
34689   glibcxx_cv_func__atan2f_use=yes
34690 else
34691   glibcxx_cv_func__atan2f_use=no
34692 fi
34693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34694       ac_ext=c
34695 ac_cpp='$CPP $CPPFLAGS'
34696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34699
34700
34701 fi
34702
34703   fi
34704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
34705 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
34706
34707     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
34708       for ac_func in _atan2f
34709 do :
34710   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
34711 if test "x$ac_cv_func__atan2f" = x""yes; then :
34712   cat >>confdefs.h <<_ACEOF
34713 #define HAVE__ATAN2F 1
34714 _ACEOF
34715
34716 fi
34717 done
34718
34719     fi
34720   fi
34721
34722
34723
34724
34725
34726   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
34727 $as_echo_n "checking for fabsf declaration... " >&6; }
34728   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
34729     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
34730   $as_echo_n "(cached) " >&6
34731 else
34732
34733
34734       ac_ext=cpp
34735 ac_cpp='$CXXCPP $CPPFLAGS'
34736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34739
34740       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34741 /* end confdefs.h.  */
34742 #include <math.h>
34743                       #ifdef HAVE_IEEEFP_H
34744                       #include <ieeefp.h>
34745                       #endif
34746
34747 int
34748 main ()
34749 {
34750  fabsf(0);
34751   ;
34752   return 0;
34753 }
34754 _ACEOF
34755 if ac_fn_cxx_try_compile "$LINENO"; then :
34756   glibcxx_cv_func_fabsf_use=yes
34757 else
34758   glibcxx_cv_func_fabsf_use=no
34759 fi
34760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34761       ac_ext=c
34762 ac_cpp='$CPP $CPPFLAGS'
34763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34766
34767
34768 fi
34769
34770   fi
34771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
34772 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
34773
34774   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
34775     for ac_func in fabsf
34776 do :
34777   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
34778 if test "x$ac_cv_func_fabsf" = x""yes; then :
34779   cat >>confdefs.h <<_ACEOF
34780 #define HAVE_FABSF 1
34781 _ACEOF
34782
34783 fi
34784 done
34785
34786   else
34787
34788   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
34789 $as_echo_n "checking for _fabsf declaration... " >&6; }
34790   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
34791     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
34792   $as_echo_n "(cached) " >&6
34793 else
34794
34795
34796       ac_ext=cpp
34797 ac_cpp='$CXXCPP $CPPFLAGS'
34798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34801
34802       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34803 /* end confdefs.h.  */
34804 #include <math.h>
34805                       #ifdef HAVE_IEEEFP_H
34806                       #include <ieeefp.h>
34807                       #endif
34808
34809 int
34810 main ()
34811 {
34812  _fabsf(0);
34813   ;
34814   return 0;
34815 }
34816 _ACEOF
34817 if ac_fn_cxx_try_compile "$LINENO"; then :
34818   glibcxx_cv_func__fabsf_use=yes
34819 else
34820   glibcxx_cv_func__fabsf_use=no
34821 fi
34822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34823       ac_ext=c
34824 ac_cpp='$CPP $CPPFLAGS'
34825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34828
34829
34830 fi
34831
34832   fi
34833   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
34834 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
34835
34836     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
34837       for ac_func in _fabsf
34838 do :
34839   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
34840 if test "x$ac_cv_func__fabsf" = x""yes; then :
34841   cat >>confdefs.h <<_ACEOF
34842 #define HAVE__FABSF 1
34843 _ACEOF
34844
34845 fi
34846 done
34847
34848     fi
34849   fi
34850
34851
34852
34853
34854
34855   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
34856 $as_echo_n "checking for fmodf declaration... " >&6; }
34857   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
34858     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
34859   $as_echo_n "(cached) " >&6
34860 else
34861
34862
34863       ac_ext=cpp
34864 ac_cpp='$CXXCPP $CPPFLAGS'
34865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34868
34869       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34870 /* end confdefs.h.  */
34871 #include <math.h>
34872 int
34873 main ()
34874 {
34875  fmodf(0, 0);
34876   ;
34877   return 0;
34878 }
34879 _ACEOF
34880 if ac_fn_cxx_try_compile "$LINENO"; then :
34881   glibcxx_cv_func_fmodf_use=yes
34882 else
34883   glibcxx_cv_func_fmodf_use=no
34884 fi
34885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34886       ac_ext=c
34887 ac_cpp='$CPP $CPPFLAGS'
34888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34891
34892
34893 fi
34894
34895   fi
34896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
34897 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
34898
34899   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
34900     for ac_func in fmodf
34901 do :
34902   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
34903 if test "x$ac_cv_func_fmodf" = x""yes; then :
34904   cat >>confdefs.h <<_ACEOF
34905 #define HAVE_FMODF 1
34906 _ACEOF
34907
34908 fi
34909 done
34910
34911   else
34912
34913   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
34914 $as_echo_n "checking for _fmodf declaration... " >&6; }
34915   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
34916     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
34917   $as_echo_n "(cached) " >&6
34918 else
34919
34920
34921       ac_ext=cpp
34922 ac_cpp='$CXXCPP $CPPFLAGS'
34923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34926
34927       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34928 /* end confdefs.h.  */
34929 #include <math.h>
34930 int
34931 main ()
34932 {
34933  _fmodf(0, 0);
34934   ;
34935   return 0;
34936 }
34937 _ACEOF
34938 if ac_fn_cxx_try_compile "$LINENO"; then :
34939   glibcxx_cv_func__fmodf_use=yes
34940 else
34941   glibcxx_cv_func__fmodf_use=no
34942 fi
34943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34944       ac_ext=c
34945 ac_cpp='$CPP $CPPFLAGS'
34946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34949
34950
34951 fi
34952
34953   fi
34954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
34955 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
34956
34957     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
34958       for ac_func in _fmodf
34959 do :
34960   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
34961 if test "x$ac_cv_func__fmodf" = x""yes; then :
34962   cat >>confdefs.h <<_ACEOF
34963 #define HAVE__FMODF 1
34964 _ACEOF
34965
34966 fi
34967 done
34968
34969     fi
34970   fi
34971
34972
34973
34974
34975
34976   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
34977 $as_echo_n "checking for frexpf declaration... " >&6; }
34978   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
34979     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
34980   $as_echo_n "(cached) " >&6
34981 else
34982
34983
34984       ac_ext=cpp
34985 ac_cpp='$CXXCPP $CPPFLAGS'
34986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34989
34990       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34991 /* end confdefs.h.  */
34992 #include <math.h>
34993 int
34994 main ()
34995 {
34996  frexpf(0, 0);
34997   ;
34998   return 0;
34999 }
35000 _ACEOF
35001 if ac_fn_cxx_try_compile "$LINENO"; then :
35002   glibcxx_cv_func_frexpf_use=yes
35003 else
35004   glibcxx_cv_func_frexpf_use=no
35005 fi
35006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35007       ac_ext=c
35008 ac_cpp='$CPP $CPPFLAGS'
35009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35012
35013
35014 fi
35015
35016   fi
35017   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
35018 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
35019
35020   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
35021     for ac_func in frexpf
35022 do :
35023   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
35024 if test "x$ac_cv_func_frexpf" = x""yes; then :
35025   cat >>confdefs.h <<_ACEOF
35026 #define HAVE_FREXPF 1
35027 _ACEOF
35028
35029 fi
35030 done
35031
35032   else
35033
35034   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
35035 $as_echo_n "checking for _frexpf declaration... " >&6; }
35036   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
35037     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
35038   $as_echo_n "(cached) " >&6
35039 else
35040
35041
35042       ac_ext=cpp
35043 ac_cpp='$CXXCPP $CPPFLAGS'
35044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35047
35048       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35049 /* end confdefs.h.  */
35050 #include <math.h>
35051 int
35052 main ()
35053 {
35054  _frexpf(0, 0);
35055   ;
35056   return 0;
35057 }
35058 _ACEOF
35059 if ac_fn_cxx_try_compile "$LINENO"; then :
35060   glibcxx_cv_func__frexpf_use=yes
35061 else
35062   glibcxx_cv_func__frexpf_use=no
35063 fi
35064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35065       ac_ext=c
35066 ac_cpp='$CPP $CPPFLAGS'
35067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35070
35071
35072 fi
35073
35074   fi
35075   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
35076 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
35077
35078     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
35079       for ac_func in _frexpf
35080 do :
35081   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
35082 if test "x$ac_cv_func__frexpf" = x""yes; then :
35083   cat >>confdefs.h <<_ACEOF
35084 #define HAVE__FREXPF 1
35085 _ACEOF
35086
35087 fi
35088 done
35089
35090     fi
35091   fi
35092
35093
35094
35095
35096
35097   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
35098 $as_echo_n "checking for hypotf declaration... " >&6; }
35099   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
35100     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
35101   $as_echo_n "(cached) " >&6
35102 else
35103
35104
35105       ac_ext=cpp
35106 ac_cpp='$CXXCPP $CPPFLAGS'
35107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35110
35111       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35112 /* end confdefs.h.  */
35113 #include <math.h>
35114 int
35115 main ()
35116 {
35117  hypotf(0, 0);
35118   ;
35119   return 0;
35120 }
35121 _ACEOF
35122 if ac_fn_cxx_try_compile "$LINENO"; then :
35123   glibcxx_cv_func_hypotf_use=yes
35124 else
35125   glibcxx_cv_func_hypotf_use=no
35126 fi
35127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35128       ac_ext=c
35129 ac_cpp='$CPP $CPPFLAGS'
35130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35133
35134
35135 fi
35136
35137   fi
35138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
35139 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
35140
35141   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
35142     for ac_func in hypotf
35143 do :
35144   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
35145 if test "x$ac_cv_func_hypotf" = x""yes; then :
35146   cat >>confdefs.h <<_ACEOF
35147 #define HAVE_HYPOTF 1
35148 _ACEOF
35149
35150 fi
35151 done
35152
35153   else
35154
35155   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
35156 $as_echo_n "checking for _hypotf declaration... " >&6; }
35157   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
35158     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
35159   $as_echo_n "(cached) " >&6
35160 else
35161
35162
35163       ac_ext=cpp
35164 ac_cpp='$CXXCPP $CPPFLAGS'
35165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35168
35169       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35170 /* end confdefs.h.  */
35171 #include <math.h>
35172 int
35173 main ()
35174 {
35175  _hypotf(0, 0);
35176   ;
35177   return 0;
35178 }
35179 _ACEOF
35180 if ac_fn_cxx_try_compile "$LINENO"; then :
35181   glibcxx_cv_func__hypotf_use=yes
35182 else
35183   glibcxx_cv_func__hypotf_use=no
35184 fi
35185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35186       ac_ext=c
35187 ac_cpp='$CPP $CPPFLAGS'
35188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35191
35192
35193 fi
35194
35195   fi
35196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
35197 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
35198
35199     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
35200       for ac_func in _hypotf
35201 do :
35202   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
35203 if test "x$ac_cv_func__hypotf" = x""yes; then :
35204   cat >>confdefs.h <<_ACEOF
35205 #define HAVE__HYPOTF 1
35206 _ACEOF
35207
35208 fi
35209 done
35210
35211     fi
35212   fi
35213
35214
35215
35216
35217
35218   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
35219 $as_echo_n "checking for ldexpf declaration... " >&6; }
35220   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
35221     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
35222   $as_echo_n "(cached) " >&6
35223 else
35224
35225
35226       ac_ext=cpp
35227 ac_cpp='$CXXCPP $CPPFLAGS'
35228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35231
35232       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35233 /* end confdefs.h.  */
35234 #include <math.h>
35235 int
35236 main ()
35237 {
35238  ldexpf(0, 0);
35239   ;
35240   return 0;
35241 }
35242 _ACEOF
35243 if ac_fn_cxx_try_compile "$LINENO"; then :
35244   glibcxx_cv_func_ldexpf_use=yes
35245 else
35246   glibcxx_cv_func_ldexpf_use=no
35247 fi
35248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35249       ac_ext=c
35250 ac_cpp='$CPP $CPPFLAGS'
35251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35254
35255
35256 fi
35257
35258   fi
35259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
35260 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
35261
35262   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
35263     for ac_func in ldexpf
35264 do :
35265   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
35266 if test "x$ac_cv_func_ldexpf" = x""yes; then :
35267   cat >>confdefs.h <<_ACEOF
35268 #define HAVE_LDEXPF 1
35269 _ACEOF
35270
35271 fi
35272 done
35273
35274   else
35275
35276   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
35277 $as_echo_n "checking for _ldexpf declaration... " >&6; }
35278   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
35279     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
35280   $as_echo_n "(cached) " >&6
35281 else
35282
35283
35284       ac_ext=cpp
35285 ac_cpp='$CXXCPP $CPPFLAGS'
35286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35289
35290       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35291 /* end confdefs.h.  */
35292 #include <math.h>
35293 int
35294 main ()
35295 {
35296  _ldexpf(0, 0);
35297   ;
35298   return 0;
35299 }
35300 _ACEOF
35301 if ac_fn_cxx_try_compile "$LINENO"; then :
35302   glibcxx_cv_func__ldexpf_use=yes
35303 else
35304   glibcxx_cv_func__ldexpf_use=no
35305 fi
35306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35307       ac_ext=c
35308 ac_cpp='$CPP $CPPFLAGS'
35309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35312
35313
35314 fi
35315
35316   fi
35317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
35318 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
35319
35320     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
35321       for ac_func in _ldexpf
35322 do :
35323   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
35324 if test "x$ac_cv_func__ldexpf" = x""yes; then :
35325   cat >>confdefs.h <<_ACEOF
35326 #define HAVE__LDEXPF 1
35327 _ACEOF
35328
35329 fi
35330 done
35331
35332     fi
35333   fi
35334
35335
35336
35337
35338
35339   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
35340 $as_echo_n "checking for logf declaration... " >&6; }
35341   if test x${glibcxx_cv_func_logf_use+set} != xset; then
35342     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
35343   $as_echo_n "(cached) " >&6
35344 else
35345
35346
35347       ac_ext=cpp
35348 ac_cpp='$CXXCPP $CPPFLAGS'
35349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35352
35353       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35354 /* end confdefs.h.  */
35355 #include <math.h>
35356                       #ifdef HAVE_IEEEFP_H
35357                       #include <ieeefp.h>
35358                       #endif
35359
35360 int
35361 main ()
35362 {
35363  logf(0);
35364   ;
35365   return 0;
35366 }
35367 _ACEOF
35368 if ac_fn_cxx_try_compile "$LINENO"; then :
35369   glibcxx_cv_func_logf_use=yes
35370 else
35371   glibcxx_cv_func_logf_use=no
35372 fi
35373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35374       ac_ext=c
35375 ac_cpp='$CPP $CPPFLAGS'
35376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35379
35380
35381 fi
35382
35383   fi
35384   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
35385 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
35386
35387   if test x$glibcxx_cv_func_logf_use = x"yes"; then
35388     for ac_func in logf
35389 do :
35390   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
35391 if test "x$ac_cv_func_logf" = x""yes; then :
35392   cat >>confdefs.h <<_ACEOF
35393 #define HAVE_LOGF 1
35394 _ACEOF
35395
35396 fi
35397 done
35398
35399   else
35400
35401   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
35402 $as_echo_n "checking for _logf declaration... " >&6; }
35403   if test x${glibcxx_cv_func__logf_use+set} != xset; then
35404     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
35405   $as_echo_n "(cached) " >&6
35406 else
35407
35408
35409       ac_ext=cpp
35410 ac_cpp='$CXXCPP $CPPFLAGS'
35411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35414
35415       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35416 /* end confdefs.h.  */
35417 #include <math.h>
35418                       #ifdef HAVE_IEEEFP_H
35419                       #include <ieeefp.h>
35420                       #endif
35421
35422 int
35423 main ()
35424 {
35425  _logf(0);
35426   ;
35427   return 0;
35428 }
35429 _ACEOF
35430 if ac_fn_cxx_try_compile "$LINENO"; then :
35431   glibcxx_cv_func__logf_use=yes
35432 else
35433   glibcxx_cv_func__logf_use=no
35434 fi
35435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35436       ac_ext=c
35437 ac_cpp='$CPP $CPPFLAGS'
35438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35441
35442
35443 fi
35444
35445   fi
35446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
35447 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
35448
35449     if test x$glibcxx_cv_func__logf_use = x"yes"; then
35450       for ac_func in _logf
35451 do :
35452   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
35453 if test "x$ac_cv_func__logf" = x""yes; then :
35454   cat >>confdefs.h <<_ACEOF
35455 #define HAVE__LOGF 1
35456 _ACEOF
35457
35458 fi
35459 done
35460
35461     fi
35462   fi
35463
35464
35465
35466
35467
35468   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
35469 $as_echo_n "checking for log10f declaration... " >&6; }
35470   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
35471     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
35472   $as_echo_n "(cached) " >&6
35473 else
35474
35475
35476       ac_ext=cpp
35477 ac_cpp='$CXXCPP $CPPFLAGS'
35478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35481
35482       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35483 /* end confdefs.h.  */
35484 #include <math.h>
35485                       #ifdef HAVE_IEEEFP_H
35486                       #include <ieeefp.h>
35487                       #endif
35488
35489 int
35490 main ()
35491 {
35492  log10f(0);
35493   ;
35494   return 0;
35495 }
35496 _ACEOF
35497 if ac_fn_cxx_try_compile "$LINENO"; then :
35498   glibcxx_cv_func_log10f_use=yes
35499 else
35500   glibcxx_cv_func_log10f_use=no
35501 fi
35502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35503       ac_ext=c
35504 ac_cpp='$CPP $CPPFLAGS'
35505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35508
35509
35510 fi
35511
35512   fi
35513   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
35514 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
35515
35516   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
35517     for ac_func in log10f
35518 do :
35519   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
35520 if test "x$ac_cv_func_log10f" = x""yes; then :
35521   cat >>confdefs.h <<_ACEOF
35522 #define HAVE_LOG10F 1
35523 _ACEOF
35524
35525 fi
35526 done
35527
35528   else
35529
35530   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
35531 $as_echo_n "checking for _log10f declaration... " >&6; }
35532   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
35533     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
35534   $as_echo_n "(cached) " >&6
35535 else
35536
35537
35538       ac_ext=cpp
35539 ac_cpp='$CXXCPP $CPPFLAGS'
35540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35543
35544       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35545 /* end confdefs.h.  */
35546 #include <math.h>
35547                       #ifdef HAVE_IEEEFP_H
35548                       #include <ieeefp.h>
35549                       #endif
35550
35551 int
35552 main ()
35553 {
35554  _log10f(0);
35555   ;
35556   return 0;
35557 }
35558 _ACEOF
35559 if ac_fn_cxx_try_compile "$LINENO"; then :
35560   glibcxx_cv_func__log10f_use=yes
35561 else
35562   glibcxx_cv_func__log10f_use=no
35563 fi
35564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35565       ac_ext=c
35566 ac_cpp='$CPP $CPPFLAGS'
35567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35570
35571
35572 fi
35573
35574   fi
35575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
35576 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
35577
35578     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
35579       for ac_func in _log10f
35580 do :
35581   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
35582 if test "x$ac_cv_func__log10f" = x""yes; then :
35583   cat >>confdefs.h <<_ACEOF
35584 #define HAVE__LOG10F 1
35585 _ACEOF
35586
35587 fi
35588 done
35589
35590     fi
35591   fi
35592
35593
35594
35595
35596
35597   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
35598 $as_echo_n "checking for modff declaration... " >&6; }
35599   if test x${glibcxx_cv_func_modff_use+set} != xset; then
35600     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
35601   $as_echo_n "(cached) " >&6
35602 else
35603
35604
35605       ac_ext=cpp
35606 ac_cpp='$CXXCPP $CPPFLAGS'
35607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35610
35611       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35612 /* end confdefs.h.  */
35613 #include <math.h>
35614 int
35615 main ()
35616 {
35617  modff(0, 0);
35618   ;
35619   return 0;
35620 }
35621 _ACEOF
35622 if ac_fn_cxx_try_compile "$LINENO"; then :
35623   glibcxx_cv_func_modff_use=yes
35624 else
35625   glibcxx_cv_func_modff_use=no
35626 fi
35627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35628       ac_ext=c
35629 ac_cpp='$CPP $CPPFLAGS'
35630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35633
35634
35635 fi
35636
35637   fi
35638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
35639 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
35640
35641   if test x$glibcxx_cv_func_modff_use = x"yes"; then
35642     for ac_func in modff
35643 do :
35644   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
35645 if test "x$ac_cv_func_modff" = x""yes; then :
35646   cat >>confdefs.h <<_ACEOF
35647 #define HAVE_MODFF 1
35648 _ACEOF
35649
35650 fi
35651 done
35652
35653   else
35654
35655   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
35656 $as_echo_n "checking for _modff declaration... " >&6; }
35657   if test x${glibcxx_cv_func__modff_use+set} != xset; then
35658     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
35659   $as_echo_n "(cached) " >&6
35660 else
35661
35662
35663       ac_ext=cpp
35664 ac_cpp='$CXXCPP $CPPFLAGS'
35665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35668
35669       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35670 /* end confdefs.h.  */
35671 #include <math.h>
35672 int
35673 main ()
35674 {
35675  _modff(0, 0);
35676   ;
35677   return 0;
35678 }
35679 _ACEOF
35680 if ac_fn_cxx_try_compile "$LINENO"; then :
35681   glibcxx_cv_func__modff_use=yes
35682 else
35683   glibcxx_cv_func__modff_use=no
35684 fi
35685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35686       ac_ext=c
35687 ac_cpp='$CPP $CPPFLAGS'
35688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35691
35692
35693 fi
35694
35695   fi
35696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
35697 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
35698
35699     if test x$glibcxx_cv_func__modff_use = x"yes"; then
35700       for ac_func in _modff
35701 do :
35702   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
35703 if test "x$ac_cv_func__modff" = x""yes; then :
35704   cat >>confdefs.h <<_ACEOF
35705 #define HAVE__MODFF 1
35706 _ACEOF
35707
35708 fi
35709 done
35710
35711     fi
35712   fi
35713
35714
35715
35716
35717
35718   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
35719 $as_echo_n "checking for modf declaration... " >&6; }
35720   if test x${glibcxx_cv_func_modf_use+set} != xset; then
35721     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
35722   $as_echo_n "(cached) " >&6
35723 else
35724
35725
35726       ac_ext=cpp
35727 ac_cpp='$CXXCPP $CPPFLAGS'
35728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35731
35732       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35733 /* end confdefs.h.  */
35734 #include <math.h>
35735 int
35736 main ()
35737 {
35738  modf(0, 0);
35739   ;
35740   return 0;
35741 }
35742 _ACEOF
35743 if ac_fn_cxx_try_compile "$LINENO"; then :
35744   glibcxx_cv_func_modf_use=yes
35745 else
35746   glibcxx_cv_func_modf_use=no
35747 fi
35748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35749       ac_ext=c
35750 ac_cpp='$CPP $CPPFLAGS'
35751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35754
35755
35756 fi
35757
35758   fi
35759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
35760 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
35761
35762   if test x$glibcxx_cv_func_modf_use = x"yes"; then
35763     for ac_func in modf
35764 do :
35765   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
35766 if test "x$ac_cv_func_modf" = x""yes; then :
35767   cat >>confdefs.h <<_ACEOF
35768 #define HAVE_MODF 1
35769 _ACEOF
35770
35771 fi
35772 done
35773
35774   else
35775
35776   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
35777 $as_echo_n "checking for _modf declaration... " >&6; }
35778   if test x${glibcxx_cv_func__modf_use+set} != xset; then
35779     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
35780   $as_echo_n "(cached) " >&6
35781 else
35782
35783
35784       ac_ext=cpp
35785 ac_cpp='$CXXCPP $CPPFLAGS'
35786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35789
35790       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35791 /* end confdefs.h.  */
35792 #include <math.h>
35793 int
35794 main ()
35795 {
35796  _modf(0, 0);
35797   ;
35798   return 0;
35799 }
35800 _ACEOF
35801 if ac_fn_cxx_try_compile "$LINENO"; then :
35802   glibcxx_cv_func__modf_use=yes
35803 else
35804   glibcxx_cv_func__modf_use=no
35805 fi
35806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35807       ac_ext=c
35808 ac_cpp='$CPP $CPPFLAGS'
35809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35812
35813
35814 fi
35815
35816   fi
35817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
35818 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
35819
35820     if test x$glibcxx_cv_func__modf_use = x"yes"; then
35821       for ac_func in _modf
35822 do :
35823   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
35824 if test "x$ac_cv_func__modf" = x""yes; then :
35825   cat >>confdefs.h <<_ACEOF
35826 #define HAVE__MODF 1
35827 _ACEOF
35828
35829 fi
35830 done
35831
35832     fi
35833   fi
35834
35835
35836
35837
35838
35839   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
35840 $as_echo_n "checking for powf declaration... " >&6; }
35841   if test x${glibcxx_cv_func_powf_use+set} != xset; then
35842     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
35843   $as_echo_n "(cached) " >&6
35844 else
35845
35846
35847       ac_ext=cpp
35848 ac_cpp='$CXXCPP $CPPFLAGS'
35849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35852
35853       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35854 /* end confdefs.h.  */
35855 #include <math.h>
35856 int
35857 main ()
35858 {
35859  powf(0, 0);
35860   ;
35861   return 0;
35862 }
35863 _ACEOF
35864 if ac_fn_cxx_try_compile "$LINENO"; then :
35865   glibcxx_cv_func_powf_use=yes
35866 else
35867   glibcxx_cv_func_powf_use=no
35868 fi
35869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35870       ac_ext=c
35871 ac_cpp='$CPP $CPPFLAGS'
35872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35875
35876
35877 fi
35878
35879   fi
35880   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
35881 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
35882
35883   if test x$glibcxx_cv_func_powf_use = x"yes"; then
35884     for ac_func in powf
35885 do :
35886   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
35887 if test "x$ac_cv_func_powf" = x""yes; then :
35888   cat >>confdefs.h <<_ACEOF
35889 #define HAVE_POWF 1
35890 _ACEOF
35891
35892 fi
35893 done
35894
35895   else
35896
35897   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
35898 $as_echo_n "checking for _powf declaration... " >&6; }
35899   if test x${glibcxx_cv_func__powf_use+set} != xset; then
35900     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
35901   $as_echo_n "(cached) " >&6
35902 else
35903
35904
35905       ac_ext=cpp
35906 ac_cpp='$CXXCPP $CPPFLAGS'
35907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35910
35911       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35912 /* end confdefs.h.  */
35913 #include <math.h>
35914 int
35915 main ()
35916 {
35917  _powf(0, 0);
35918   ;
35919   return 0;
35920 }
35921 _ACEOF
35922 if ac_fn_cxx_try_compile "$LINENO"; then :
35923   glibcxx_cv_func__powf_use=yes
35924 else
35925   glibcxx_cv_func__powf_use=no
35926 fi
35927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35928       ac_ext=c
35929 ac_cpp='$CPP $CPPFLAGS'
35930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35933
35934
35935 fi
35936
35937   fi
35938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
35939 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
35940
35941     if test x$glibcxx_cv_func__powf_use = x"yes"; then
35942       for ac_func in _powf
35943 do :
35944   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
35945 if test "x$ac_cv_func__powf" = x""yes; then :
35946   cat >>confdefs.h <<_ACEOF
35947 #define HAVE__POWF 1
35948 _ACEOF
35949
35950 fi
35951 done
35952
35953     fi
35954   fi
35955
35956
35957
35958
35959
35960   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
35961 $as_echo_n "checking for sqrtf declaration... " >&6; }
35962   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
35963     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
35964   $as_echo_n "(cached) " >&6
35965 else
35966
35967
35968       ac_ext=cpp
35969 ac_cpp='$CXXCPP $CPPFLAGS'
35970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35973
35974       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35975 /* end confdefs.h.  */
35976 #include <math.h>
35977                       #ifdef HAVE_IEEEFP_H
35978                       #include <ieeefp.h>
35979                       #endif
35980
35981 int
35982 main ()
35983 {
35984  sqrtf(0);
35985   ;
35986   return 0;
35987 }
35988 _ACEOF
35989 if ac_fn_cxx_try_compile "$LINENO"; then :
35990   glibcxx_cv_func_sqrtf_use=yes
35991 else
35992   glibcxx_cv_func_sqrtf_use=no
35993 fi
35994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35995       ac_ext=c
35996 ac_cpp='$CPP $CPPFLAGS'
35997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36000
36001
36002 fi
36003
36004   fi
36005   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
36006 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
36007
36008   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
36009     for ac_func in sqrtf
36010 do :
36011   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
36012 if test "x$ac_cv_func_sqrtf" = x""yes; then :
36013   cat >>confdefs.h <<_ACEOF
36014 #define HAVE_SQRTF 1
36015 _ACEOF
36016
36017 fi
36018 done
36019
36020   else
36021
36022   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
36023 $as_echo_n "checking for _sqrtf declaration... " >&6; }
36024   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
36025     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
36026   $as_echo_n "(cached) " >&6
36027 else
36028
36029
36030       ac_ext=cpp
36031 ac_cpp='$CXXCPP $CPPFLAGS'
36032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36035
36036       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36037 /* end confdefs.h.  */
36038 #include <math.h>
36039                       #ifdef HAVE_IEEEFP_H
36040                       #include <ieeefp.h>
36041                       #endif
36042
36043 int
36044 main ()
36045 {
36046  _sqrtf(0);
36047   ;
36048   return 0;
36049 }
36050 _ACEOF
36051 if ac_fn_cxx_try_compile "$LINENO"; then :
36052   glibcxx_cv_func__sqrtf_use=yes
36053 else
36054   glibcxx_cv_func__sqrtf_use=no
36055 fi
36056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36057       ac_ext=c
36058 ac_cpp='$CPP $CPPFLAGS'
36059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36062
36063
36064 fi
36065
36066   fi
36067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
36068 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
36069
36070     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
36071       for ac_func in _sqrtf
36072 do :
36073   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
36074 if test "x$ac_cv_func__sqrtf" = x""yes; then :
36075   cat >>confdefs.h <<_ACEOF
36076 #define HAVE__SQRTF 1
36077 _ACEOF
36078
36079 fi
36080 done
36081
36082     fi
36083   fi
36084
36085
36086
36087
36088
36089   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
36090 $as_echo_n "checking for sincosf declaration... " >&6; }
36091   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
36092     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
36093   $as_echo_n "(cached) " >&6
36094 else
36095
36096
36097       ac_ext=cpp
36098 ac_cpp='$CXXCPP $CPPFLAGS'
36099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36102
36103       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36104 /* end confdefs.h.  */
36105 #include <math.h>
36106 int
36107 main ()
36108 {
36109  sincosf(0, 0, 0);
36110   ;
36111   return 0;
36112 }
36113 _ACEOF
36114 if ac_fn_cxx_try_compile "$LINENO"; then :
36115   glibcxx_cv_func_sincosf_use=yes
36116 else
36117   glibcxx_cv_func_sincosf_use=no
36118 fi
36119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36120       ac_ext=c
36121 ac_cpp='$CPP $CPPFLAGS'
36122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36125
36126
36127 fi
36128
36129   fi
36130   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
36131 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
36132
36133   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
36134     for ac_func in sincosf
36135 do :
36136   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
36137 if test "x$ac_cv_func_sincosf" = x""yes; then :
36138   cat >>confdefs.h <<_ACEOF
36139 #define HAVE_SINCOSF 1
36140 _ACEOF
36141
36142 fi
36143 done
36144
36145   else
36146
36147   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
36148 $as_echo_n "checking for _sincosf declaration... " >&6; }
36149   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
36150     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
36151   $as_echo_n "(cached) " >&6
36152 else
36153
36154
36155       ac_ext=cpp
36156 ac_cpp='$CXXCPP $CPPFLAGS'
36157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36160
36161       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36162 /* end confdefs.h.  */
36163 #include <math.h>
36164 int
36165 main ()
36166 {
36167  _sincosf(0, 0, 0);
36168   ;
36169   return 0;
36170 }
36171 _ACEOF
36172 if ac_fn_cxx_try_compile "$LINENO"; then :
36173   glibcxx_cv_func__sincosf_use=yes
36174 else
36175   glibcxx_cv_func__sincosf_use=no
36176 fi
36177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36178       ac_ext=c
36179 ac_cpp='$CPP $CPPFLAGS'
36180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36183
36184
36185 fi
36186
36187   fi
36188   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
36189 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
36190
36191     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
36192       for ac_func in _sincosf
36193 do :
36194   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
36195 if test "x$ac_cv_func__sincosf" = x""yes; then :
36196   cat >>confdefs.h <<_ACEOF
36197 #define HAVE__SINCOSF 1
36198 _ACEOF
36199
36200 fi
36201 done
36202
36203     fi
36204   fi
36205
36206
36207
36208
36209
36210   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
36211 $as_echo_n "checking for finitef declaration... " >&6; }
36212   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
36213     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
36214   $as_echo_n "(cached) " >&6
36215 else
36216
36217
36218       ac_ext=cpp
36219 ac_cpp='$CXXCPP $CPPFLAGS'
36220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36223
36224       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36225 /* end confdefs.h.  */
36226 #include <math.h>
36227                       #ifdef HAVE_IEEEFP_H
36228                       #include <ieeefp.h>
36229                       #endif
36230
36231 int
36232 main ()
36233 {
36234  finitef(0);
36235   ;
36236   return 0;
36237 }
36238 _ACEOF
36239 if ac_fn_cxx_try_compile "$LINENO"; then :
36240   glibcxx_cv_func_finitef_use=yes
36241 else
36242   glibcxx_cv_func_finitef_use=no
36243 fi
36244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36245       ac_ext=c
36246 ac_cpp='$CPP $CPPFLAGS'
36247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36250
36251
36252 fi
36253
36254   fi
36255   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
36256 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
36257
36258   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
36259     for ac_func in finitef
36260 do :
36261   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
36262 if test "x$ac_cv_func_finitef" = x""yes; then :
36263   cat >>confdefs.h <<_ACEOF
36264 #define HAVE_FINITEF 1
36265 _ACEOF
36266
36267 fi
36268 done
36269
36270   else
36271
36272   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
36273 $as_echo_n "checking for _finitef declaration... " >&6; }
36274   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
36275     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
36276   $as_echo_n "(cached) " >&6
36277 else
36278
36279
36280       ac_ext=cpp
36281 ac_cpp='$CXXCPP $CPPFLAGS'
36282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36285
36286       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36287 /* end confdefs.h.  */
36288 #include <math.h>
36289                       #ifdef HAVE_IEEEFP_H
36290                       #include <ieeefp.h>
36291                       #endif
36292
36293 int
36294 main ()
36295 {
36296  _finitef(0);
36297   ;
36298   return 0;
36299 }
36300 _ACEOF
36301 if ac_fn_cxx_try_compile "$LINENO"; then :
36302   glibcxx_cv_func__finitef_use=yes
36303 else
36304   glibcxx_cv_func__finitef_use=no
36305 fi
36306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36307       ac_ext=c
36308 ac_cpp='$CPP $CPPFLAGS'
36309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36312
36313
36314 fi
36315
36316   fi
36317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
36318 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
36319
36320     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
36321       for ac_func in _finitef
36322 do :
36323   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
36324 if test "x$ac_cv_func__finitef" = x""yes; then :
36325   cat >>confdefs.h <<_ACEOF
36326 #define HAVE__FINITEF 1
36327 _ACEOF
36328
36329 fi
36330 done
36331
36332     fi
36333   fi
36334
36335
36336
36337
36338
36339     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
36340 $as_echo_n "checking for long double trig functions... " >&6; }
36341   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
36342   $as_echo_n "(cached) " >&6
36343 else
36344
36345
36346     ac_ext=cpp
36347 ac_cpp='$CXXCPP $CPPFLAGS'
36348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36351
36352     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36353 /* end confdefs.h.  */
36354 #include <math.h>
36355 int
36356 main ()
36357 {
36358 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
36359   ;
36360   return 0;
36361 }
36362 _ACEOF
36363 if ac_fn_cxx_try_compile "$LINENO"; then :
36364   glibcxx_cv_func_long_double_trig_use=yes
36365 else
36366   glibcxx_cv_func_long_double_trig_use=no
36367 fi
36368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36369     ac_ext=c
36370 ac_cpp='$CPP $CPPFLAGS'
36371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36374
36375 fi
36376
36377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
36378 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
36379   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
36380     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
36381 do :
36382   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36383 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36384 eval as_val=\$$as_ac_var
36385    if test "x$as_val" = x""yes; then :
36386   cat >>confdefs.h <<_ACEOF
36387 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36388 _ACEOF
36389
36390 fi
36391 done
36392
36393   else
36394     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
36395 $as_echo_n "checking for _long double trig functions... " >&6; }
36396     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
36397   $as_echo_n "(cached) " >&6
36398 else
36399
36400
36401       ac_ext=cpp
36402 ac_cpp='$CXXCPP $CPPFLAGS'
36403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36406
36407       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36408 /* end confdefs.h.  */
36409 #include <math.h>
36410 int
36411 main ()
36412 {
36413 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
36414   ;
36415   return 0;
36416 }
36417 _ACEOF
36418 if ac_fn_cxx_try_compile "$LINENO"; then :
36419   glibcxx_cv_func__long_double_trig_use=yes
36420 else
36421   glibcxx_cv_func__long_double_trig_use=no
36422 fi
36423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36424       ac_ext=c
36425 ac_cpp='$CPP $CPPFLAGS'
36426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36429
36430 fi
36431
36432     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
36433 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
36434     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
36435       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
36436 do :
36437   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36438 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36439 eval as_val=\$$as_ac_var
36440    if test "x$as_val" = x""yes; then :
36441   cat >>confdefs.h <<_ACEOF
36442 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36443 _ACEOF
36444
36445 fi
36446 done
36447
36448     fi
36449   fi
36450
36451
36452
36453
36454
36455     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
36456 $as_echo_n "checking for long double round functions... " >&6; }
36457   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
36458   $as_echo_n "(cached) " >&6
36459 else
36460
36461
36462     ac_ext=cpp
36463 ac_cpp='$CXXCPP $CPPFLAGS'
36464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36467
36468     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36469 /* end confdefs.h.  */
36470 #include <math.h>
36471 int
36472 main ()
36473 {
36474 ceill (0); floorl (0);
36475   ;
36476   return 0;
36477 }
36478 _ACEOF
36479 if ac_fn_cxx_try_compile "$LINENO"; then :
36480   glibcxx_cv_func_long_double_round_use=yes
36481 else
36482   glibcxx_cv_func_long_double_round_use=no
36483 fi
36484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36485     ac_ext=c
36486 ac_cpp='$CPP $CPPFLAGS'
36487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36490
36491 fi
36492
36493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
36494 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
36495   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
36496     for ac_func in ceill floorl
36497 do :
36498   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36499 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36500 eval as_val=\$$as_ac_var
36501    if test "x$as_val" = x""yes; then :
36502   cat >>confdefs.h <<_ACEOF
36503 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36504 _ACEOF
36505
36506 fi
36507 done
36508
36509   else
36510     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
36511 $as_echo_n "checking for _long double round functions... " >&6; }
36512     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
36513   $as_echo_n "(cached) " >&6
36514 else
36515
36516
36517       ac_ext=cpp
36518 ac_cpp='$CXXCPP $CPPFLAGS'
36519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36522
36523       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36524 /* end confdefs.h.  */
36525 #include <math.h>
36526 int
36527 main ()
36528 {
36529 _ceill (0); _floorl (0);
36530   ;
36531   return 0;
36532 }
36533 _ACEOF
36534 if ac_fn_cxx_try_compile "$LINENO"; then :
36535   glibcxx_cv_func__long_double_round_use=yes
36536 else
36537   glibcxx_cv_func__long_double_round_use=no
36538 fi
36539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36540       ac_ext=c
36541 ac_cpp='$CPP $CPPFLAGS'
36542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36545
36546 fi
36547
36548     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
36549 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
36550     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
36551       for ac_func in _ceill _floorl
36552 do :
36553   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36554 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36555 eval as_val=\$$as_ac_var
36556    if test "x$as_val" = x""yes; then :
36557   cat >>confdefs.h <<_ACEOF
36558 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36559 _ACEOF
36560
36561 fi
36562 done
36563
36564     fi
36565   fi
36566
36567
36568
36569
36570
36571
36572   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
36573 $as_echo_n "checking for isnanl declaration... " >&6; }
36574   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
36575     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
36576   $as_echo_n "(cached) " >&6
36577 else
36578
36579
36580       ac_ext=cpp
36581 ac_cpp='$CXXCPP $CPPFLAGS'
36582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36585
36586       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36587 /* end confdefs.h.  */
36588 #include <math.h>
36589                       #ifdef HAVE_IEEEFP_H
36590                       #include <ieeefp.h>
36591                       #endif
36592
36593 int
36594 main ()
36595 {
36596  isnanl(0);
36597   ;
36598   return 0;
36599 }
36600 _ACEOF
36601 if ac_fn_cxx_try_compile "$LINENO"; then :
36602   glibcxx_cv_func_isnanl_use=yes
36603 else
36604   glibcxx_cv_func_isnanl_use=no
36605 fi
36606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36607       ac_ext=c
36608 ac_cpp='$CPP $CPPFLAGS'
36609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36612
36613
36614 fi
36615
36616   fi
36617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
36618 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
36619
36620   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36621     for ac_func in isnanl
36622 do :
36623   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
36624 if test "x$ac_cv_func_isnanl" = x""yes; then :
36625   cat >>confdefs.h <<_ACEOF
36626 #define HAVE_ISNANL 1
36627 _ACEOF
36628
36629 fi
36630 done
36631
36632   else
36633
36634   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
36635 $as_echo_n "checking for _isnanl declaration... " >&6; }
36636   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36637     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
36638   $as_echo_n "(cached) " >&6
36639 else
36640
36641
36642       ac_ext=cpp
36643 ac_cpp='$CXXCPP $CPPFLAGS'
36644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36647
36648       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36649 /* end confdefs.h.  */
36650 #include <math.h>
36651                       #ifdef HAVE_IEEEFP_H
36652                       #include <ieeefp.h>
36653                       #endif
36654
36655 int
36656 main ()
36657 {
36658  _isnanl(0);
36659   ;
36660   return 0;
36661 }
36662 _ACEOF
36663 if ac_fn_cxx_try_compile "$LINENO"; then :
36664   glibcxx_cv_func__isnanl_use=yes
36665 else
36666   glibcxx_cv_func__isnanl_use=no
36667 fi
36668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36669       ac_ext=c
36670 ac_cpp='$CPP $CPPFLAGS'
36671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36674
36675
36676 fi
36677
36678   fi
36679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
36680 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
36681
36682     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36683       for ac_func in _isnanl
36684 do :
36685   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
36686 if test "x$ac_cv_func__isnanl" = x""yes; then :
36687   cat >>confdefs.h <<_ACEOF
36688 #define HAVE__ISNANL 1
36689 _ACEOF
36690
36691 fi
36692 done
36693
36694     fi
36695   fi
36696
36697
36698
36699
36700
36701   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
36702 $as_echo_n "checking for isinfl declaration... " >&6; }
36703   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
36704     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
36705   $as_echo_n "(cached) " >&6
36706 else
36707
36708
36709       ac_ext=cpp
36710 ac_cpp='$CXXCPP $CPPFLAGS'
36711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36714
36715       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36716 /* end confdefs.h.  */
36717 #include <math.h>
36718                       #ifdef HAVE_IEEEFP_H
36719                       #include <ieeefp.h>
36720                       #endif
36721
36722 int
36723 main ()
36724 {
36725  isinfl(0);
36726   ;
36727   return 0;
36728 }
36729 _ACEOF
36730 if ac_fn_cxx_try_compile "$LINENO"; then :
36731   glibcxx_cv_func_isinfl_use=yes
36732 else
36733   glibcxx_cv_func_isinfl_use=no
36734 fi
36735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36736       ac_ext=c
36737 ac_cpp='$CPP $CPPFLAGS'
36738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36741
36742
36743 fi
36744
36745   fi
36746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
36747 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
36748
36749   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
36750     for ac_func in isinfl
36751 do :
36752   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
36753 if test "x$ac_cv_func_isinfl" = x""yes; then :
36754   cat >>confdefs.h <<_ACEOF
36755 #define HAVE_ISINFL 1
36756 _ACEOF
36757
36758 fi
36759 done
36760
36761   else
36762
36763   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
36764 $as_echo_n "checking for _isinfl declaration... " >&6; }
36765   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
36766     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
36767   $as_echo_n "(cached) " >&6
36768 else
36769
36770
36771       ac_ext=cpp
36772 ac_cpp='$CXXCPP $CPPFLAGS'
36773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36776
36777       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36778 /* end confdefs.h.  */
36779 #include <math.h>
36780                       #ifdef HAVE_IEEEFP_H
36781                       #include <ieeefp.h>
36782                       #endif
36783
36784 int
36785 main ()
36786 {
36787  _isinfl(0);
36788   ;
36789   return 0;
36790 }
36791 _ACEOF
36792 if ac_fn_cxx_try_compile "$LINENO"; then :
36793   glibcxx_cv_func__isinfl_use=yes
36794 else
36795   glibcxx_cv_func__isinfl_use=no
36796 fi
36797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36798       ac_ext=c
36799 ac_cpp='$CPP $CPPFLAGS'
36800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36803
36804
36805 fi
36806
36807   fi
36808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
36809 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
36810
36811     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
36812       for ac_func in _isinfl
36813 do :
36814   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
36815 if test "x$ac_cv_func__isinfl" = x""yes; then :
36816   cat >>confdefs.h <<_ACEOF
36817 #define HAVE__ISINFL 1
36818 _ACEOF
36819
36820 fi
36821 done
36822
36823     fi
36824   fi
36825
36826
36827
36828
36829
36830   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
36831 $as_echo_n "checking for atan2l declaration... " >&6; }
36832   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
36833     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
36834   $as_echo_n "(cached) " >&6
36835 else
36836
36837
36838       ac_ext=cpp
36839 ac_cpp='$CXXCPP $CPPFLAGS'
36840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36843
36844       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36845 /* end confdefs.h.  */
36846 #include <math.h>
36847 int
36848 main ()
36849 {
36850  atan2l(0, 0);
36851   ;
36852   return 0;
36853 }
36854 _ACEOF
36855 if ac_fn_cxx_try_compile "$LINENO"; then :
36856   glibcxx_cv_func_atan2l_use=yes
36857 else
36858   glibcxx_cv_func_atan2l_use=no
36859 fi
36860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36861       ac_ext=c
36862 ac_cpp='$CPP $CPPFLAGS'
36863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36866
36867
36868 fi
36869
36870   fi
36871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
36872 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
36873
36874   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
36875     for ac_func in atan2l
36876 do :
36877   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
36878 if test "x$ac_cv_func_atan2l" = x""yes; then :
36879   cat >>confdefs.h <<_ACEOF
36880 #define HAVE_ATAN2L 1
36881 _ACEOF
36882
36883 fi
36884 done
36885
36886   else
36887
36888   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
36889 $as_echo_n "checking for _atan2l declaration... " >&6; }
36890   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
36891     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
36892   $as_echo_n "(cached) " >&6
36893 else
36894
36895
36896       ac_ext=cpp
36897 ac_cpp='$CXXCPP $CPPFLAGS'
36898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36901
36902       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36903 /* end confdefs.h.  */
36904 #include <math.h>
36905 int
36906 main ()
36907 {
36908  _atan2l(0, 0);
36909   ;
36910   return 0;
36911 }
36912 _ACEOF
36913 if ac_fn_cxx_try_compile "$LINENO"; then :
36914   glibcxx_cv_func__atan2l_use=yes
36915 else
36916   glibcxx_cv_func__atan2l_use=no
36917 fi
36918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36919       ac_ext=c
36920 ac_cpp='$CPP $CPPFLAGS'
36921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36924
36925
36926 fi
36927
36928   fi
36929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
36930 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
36931
36932     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
36933       for ac_func in _atan2l
36934 do :
36935   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
36936 if test "x$ac_cv_func__atan2l" = x""yes; then :
36937   cat >>confdefs.h <<_ACEOF
36938 #define HAVE__ATAN2L 1
36939 _ACEOF
36940
36941 fi
36942 done
36943
36944     fi
36945   fi
36946
36947
36948
36949
36950
36951   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
36952 $as_echo_n "checking for expl declaration... " >&6; }
36953   if test x${glibcxx_cv_func_expl_use+set} != xset; then
36954     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
36955   $as_echo_n "(cached) " >&6
36956 else
36957
36958
36959       ac_ext=cpp
36960 ac_cpp='$CXXCPP $CPPFLAGS'
36961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36964
36965       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36966 /* end confdefs.h.  */
36967 #include <math.h>
36968                       #ifdef HAVE_IEEEFP_H
36969                       #include <ieeefp.h>
36970                       #endif
36971
36972 int
36973 main ()
36974 {
36975  expl(0);
36976   ;
36977   return 0;
36978 }
36979 _ACEOF
36980 if ac_fn_cxx_try_compile "$LINENO"; then :
36981   glibcxx_cv_func_expl_use=yes
36982 else
36983   glibcxx_cv_func_expl_use=no
36984 fi
36985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36986       ac_ext=c
36987 ac_cpp='$CPP $CPPFLAGS'
36988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36991
36992
36993 fi
36994
36995   fi
36996   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
36997 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
36998
36999   if test x$glibcxx_cv_func_expl_use = x"yes"; then
37000     for ac_func in expl
37001 do :
37002   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
37003 if test "x$ac_cv_func_expl" = x""yes; then :
37004   cat >>confdefs.h <<_ACEOF
37005 #define HAVE_EXPL 1
37006 _ACEOF
37007
37008 fi
37009 done
37010
37011   else
37012
37013   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
37014 $as_echo_n "checking for _expl declaration... " >&6; }
37015   if test x${glibcxx_cv_func__expl_use+set} != xset; then
37016     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
37017   $as_echo_n "(cached) " >&6
37018 else
37019
37020
37021       ac_ext=cpp
37022 ac_cpp='$CXXCPP $CPPFLAGS'
37023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37026
37027       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37028 /* end confdefs.h.  */
37029 #include <math.h>
37030                       #ifdef HAVE_IEEEFP_H
37031                       #include <ieeefp.h>
37032                       #endif
37033
37034 int
37035 main ()
37036 {
37037  _expl(0);
37038   ;
37039   return 0;
37040 }
37041 _ACEOF
37042 if ac_fn_cxx_try_compile "$LINENO"; then :
37043   glibcxx_cv_func__expl_use=yes
37044 else
37045   glibcxx_cv_func__expl_use=no
37046 fi
37047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37048       ac_ext=c
37049 ac_cpp='$CPP $CPPFLAGS'
37050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37053
37054
37055 fi
37056
37057   fi
37058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
37059 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
37060
37061     if test x$glibcxx_cv_func__expl_use = x"yes"; then
37062       for ac_func in _expl
37063 do :
37064   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
37065 if test "x$ac_cv_func__expl" = x""yes; then :
37066   cat >>confdefs.h <<_ACEOF
37067 #define HAVE__EXPL 1
37068 _ACEOF
37069
37070 fi
37071 done
37072
37073     fi
37074   fi
37075
37076
37077
37078
37079
37080   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
37081 $as_echo_n "checking for fabsl declaration... " >&6; }
37082   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
37083     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
37084   $as_echo_n "(cached) " >&6
37085 else
37086
37087
37088       ac_ext=cpp
37089 ac_cpp='$CXXCPP $CPPFLAGS'
37090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37093
37094       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37095 /* end confdefs.h.  */
37096 #include <math.h>
37097                       #ifdef HAVE_IEEEFP_H
37098                       #include <ieeefp.h>
37099                       #endif
37100
37101 int
37102 main ()
37103 {
37104  fabsl(0);
37105   ;
37106   return 0;
37107 }
37108 _ACEOF
37109 if ac_fn_cxx_try_compile "$LINENO"; then :
37110   glibcxx_cv_func_fabsl_use=yes
37111 else
37112   glibcxx_cv_func_fabsl_use=no
37113 fi
37114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37115       ac_ext=c
37116 ac_cpp='$CPP $CPPFLAGS'
37117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37120
37121
37122 fi
37123
37124   fi
37125   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
37126 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
37127
37128   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
37129     for ac_func in fabsl
37130 do :
37131   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
37132 if test "x$ac_cv_func_fabsl" = x""yes; then :
37133   cat >>confdefs.h <<_ACEOF
37134 #define HAVE_FABSL 1
37135 _ACEOF
37136
37137 fi
37138 done
37139
37140   else
37141
37142   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
37143 $as_echo_n "checking for _fabsl declaration... " >&6; }
37144   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
37145     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
37146   $as_echo_n "(cached) " >&6
37147 else
37148
37149
37150       ac_ext=cpp
37151 ac_cpp='$CXXCPP $CPPFLAGS'
37152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37155
37156       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37157 /* end confdefs.h.  */
37158 #include <math.h>
37159                       #ifdef HAVE_IEEEFP_H
37160                       #include <ieeefp.h>
37161                       #endif
37162
37163 int
37164 main ()
37165 {
37166  _fabsl(0);
37167   ;
37168   return 0;
37169 }
37170 _ACEOF
37171 if ac_fn_cxx_try_compile "$LINENO"; then :
37172   glibcxx_cv_func__fabsl_use=yes
37173 else
37174   glibcxx_cv_func__fabsl_use=no
37175 fi
37176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37177       ac_ext=c
37178 ac_cpp='$CPP $CPPFLAGS'
37179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37182
37183
37184 fi
37185
37186   fi
37187   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
37188 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
37189
37190     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
37191       for ac_func in _fabsl
37192 do :
37193   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
37194 if test "x$ac_cv_func__fabsl" = x""yes; then :
37195   cat >>confdefs.h <<_ACEOF
37196 #define HAVE__FABSL 1
37197 _ACEOF
37198
37199 fi
37200 done
37201
37202     fi
37203   fi
37204
37205
37206
37207
37208
37209   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
37210 $as_echo_n "checking for fmodl declaration... " >&6; }
37211   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
37212     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
37213   $as_echo_n "(cached) " >&6
37214 else
37215
37216
37217       ac_ext=cpp
37218 ac_cpp='$CXXCPP $CPPFLAGS'
37219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37222
37223       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37224 /* end confdefs.h.  */
37225 #include <math.h>
37226 int
37227 main ()
37228 {
37229  fmodl(0, 0);
37230   ;
37231   return 0;
37232 }
37233 _ACEOF
37234 if ac_fn_cxx_try_compile "$LINENO"; then :
37235   glibcxx_cv_func_fmodl_use=yes
37236 else
37237   glibcxx_cv_func_fmodl_use=no
37238 fi
37239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37240       ac_ext=c
37241 ac_cpp='$CPP $CPPFLAGS'
37242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37245
37246
37247 fi
37248
37249   fi
37250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
37251 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
37252
37253   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
37254     for ac_func in fmodl
37255 do :
37256   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
37257 if test "x$ac_cv_func_fmodl" = x""yes; then :
37258   cat >>confdefs.h <<_ACEOF
37259 #define HAVE_FMODL 1
37260 _ACEOF
37261
37262 fi
37263 done
37264
37265   else
37266
37267   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
37268 $as_echo_n "checking for _fmodl declaration... " >&6; }
37269   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
37270     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
37271   $as_echo_n "(cached) " >&6
37272 else
37273
37274
37275       ac_ext=cpp
37276 ac_cpp='$CXXCPP $CPPFLAGS'
37277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37280
37281       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37282 /* end confdefs.h.  */
37283 #include <math.h>
37284 int
37285 main ()
37286 {
37287  _fmodl(0, 0);
37288   ;
37289   return 0;
37290 }
37291 _ACEOF
37292 if ac_fn_cxx_try_compile "$LINENO"; then :
37293   glibcxx_cv_func__fmodl_use=yes
37294 else
37295   glibcxx_cv_func__fmodl_use=no
37296 fi
37297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37298       ac_ext=c
37299 ac_cpp='$CPP $CPPFLAGS'
37300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37303
37304
37305 fi
37306
37307   fi
37308   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
37309 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
37310
37311     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
37312       for ac_func in _fmodl
37313 do :
37314   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
37315 if test "x$ac_cv_func__fmodl" = x""yes; then :
37316   cat >>confdefs.h <<_ACEOF
37317 #define HAVE__FMODL 1
37318 _ACEOF
37319
37320 fi
37321 done
37322
37323     fi
37324   fi
37325
37326
37327
37328
37329
37330   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
37331 $as_echo_n "checking for frexpl declaration... " >&6; }
37332   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
37333     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
37334   $as_echo_n "(cached) " >&6
37335 else
37336
37337
37338       ac_ext=cpp
37339 ac_cpp='$CXXCPP $CPPFLAGS'
37340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37343
37344       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37345 /* end confdefs.h.  */
37346 #include <math.h>
37347 int
37348 main ()
37349 {
37350  frexpl(0, 0);
37351   ;
37352   return 0;
37353 }
37354 _ACEOF
37355 if ac_fn_cxx_try_compile "$LINENO"; then :
37356   glibcxx_cv_func_frexpl_use=yes
37357 else
37358   glibcxx_cv_func_frexpl_use=no
37359 fi
37360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37361       ac_ext=c
37362 ac_cpp='$CPP $CPPFLAGS'
37363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37366
37367
37368 fi
37369
37370   fi
37371   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
37372 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
37373
37374   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
37375     for ac_func in frexpl
37376 do :
37377   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
37378 if test "x$ac_cv_func_frexpl" = x""yes; then :
37379   cat >>confdefs.h <<_ACEOF
37380 #define HAVE_FREXPL 1
37381 _ACEOF
37382
37383 fi
37384 done
37385
37386   else
37387
37388   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
37389 $as_echo_n "checking for _frexpl declaration... " >&6; }
37390   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
37391     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
37392   $as_echo_n "(cached) " >&6
37393 else
37394
37395
37396       ac_ext=cpp
37397 ac_cpp='$CXXCPP $CPPFLAGS'
37398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37401
37402       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37403 /* end confdefs.h.  */
37404 #include <math.h>
37405 int
37406 main ()
37407 {
37408  _frexpl(0, 0);
37409   ;
37410   return 0;
37411 }
37412 _ACEOF
37413 if ac_fn_cxx_try_compile "$LINENO"; then :
37414   glibcxx_cv_func__frexpl_use=yes
37415 else
37416   glibcxx_cv_func__frexpl_use=no
37417 fi
37418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37419       ac_ext=c
37420 ac_cpp='$CPP $CPPFLAGS'
37421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37424
37425
37426 fi
37427
37428   fi
37429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
37430 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
37431
37432     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
37433       for ac_func in _frexpl
37434 do :
37435   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
37436 if test "x$ac_cv_func__frexpl" = x""yes; then :
37437   cat >>confdefs.h <<_ACEOF
37438 #define HAVE__FREXPL 1
37439 _ACEOF
37440
37441 fi
37442 done
37443
37444     fi
37445   fi
37446
37447
37448
37449
37450
37451   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
37452 $as_echo_n "checking for hypotl declaration... " >&6; }
37453   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
37454     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
37455   $as_echo_n "(cached) " >&6
37456 else
37457
37458
37459       ac_ext=cpp
37460 ac_cpp='$CXXCPP $CPPFLAGS'
37461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37464
37465       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37466 /* end confdefs.h.  */
37467 #include <math.h>
37468 int
37469 main ()
37470 {
37471  hypotl(0, 0);
37472   ;
37473   return 0;
37474 }
37475 _ACEOF
37476 if ac_fn_cxx_try_compile "$LINENO"; then :
37477   glibcxx_cv_func_hypotl_use=yes
37478 else
37479   glibcxx_cv_func_hypotl_use=no
37480 fi
37481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37482       ac_ext=c
37483 ac_cpp='$CPP $CPPFLAGS'
37484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37487
37488
37489 fi
37490
37491   fi
37492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
37493 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
37494
37495   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
37496     for ac_func in hypotl
37497 do :
37498   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
37499 if test "x$ac_cv_func_hypotl" = x""yes; then :
37500   cat >>confdefs.h <<_ACEOF
37501 #define HAVE_HYPOTL 1
37502 _ACEOF
37503
37504 fi
37505 done
37506
37507   else
37508
37509   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
37510 $as_echo_n "checking for _hypotl declaration... " >&6; }
37511   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
37512     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
37513   $as_echo_n "(cached) " >&6
37514 else
37515
37516
37517       ac_ext=cpp
37518 ac_cpp='$CXXCPP $CPPFLAGS'
37519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37522
37523       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37524 /* end confdefs.h.  */
37525 #include <math.h>
37526 int
37527 main ()
37528 {
37529  _hypotl(0, 0);
37530   ;
37531   return 0;
37532 }
37533 _ACEOF
37534 if ac_fn_cxx_try_compile "$LINENO"; then :
37535   glibcxx_cv_func__hypotl_use=yes
37536 else
37537   glibcxx_cv_func__hypotl_use=no
37538 fi
37539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37540       ac_ext=c
37541 ac_cpp='$CPP $CPPFLAGS'
37542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37545
37546
37547 fi
37548
37549   fi
37550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
37551 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
37552
37553     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
37554       for ac_func in _hypotl
37555 do :
37556   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
37557 if test "x$ac_cv_func__hypotl" = x""yes; then :
37558   cat >>confdefs.h <<_ACEOF
37559 #define HAVE__HYPOTL 1
37560 _ACEOF
37561
37562 fi
37563 done
37564
37565     fi
37566   fi
37567
37568
37569
37570
37571
37572   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
37573 $as_echo_n "checking for ldexpl declaration... " >&6; }
37574   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
37575     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
37576   $as_echo_n "(cached) " >&6
37577 else
37578
37579
37580       ac_ext=cpp
37581 ac_cpp='$CXXCPP $CPPFLAGS'
37582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37585
37586       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37587 /* end confdefs.h.  */
37588 #include <math.h>
37589 int
37590 main ()
37591 {
37592  ldexpl(0, 0);
37593   ;
37594   return 0;
37595 }
37596 _ACEOF
37597 if ac_fn_cxx_try_compile "$LINENO"; then :
37598   glibcxx_cv_func_ldexpl_use=yes
37599 else
37600   glibcxx_cv_func_ldexpl_use=no
37601 fi
37602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37603       ac_ext=c
37604 ac_cpp='$CPP $CPPFLAGS'
37605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37608
37609
37610 fi
37611
37612   fi
37613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
37614 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
37615
37616   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37617     for ac_func in ldexpl
37618 do :
37619   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
37620 if test "x$ac_cv_func_ldexpl" = x""yes; then :
37621   cat >>confdefs.h <<_ACEOF
37622 #define HAVE_LDEXPL 1
37623 _ACEOF
37624
37625 fi
37626 done
37627
37628   else
37629
37630   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
37631 $as_echo_n "checking for _ldexpl declaration... " >&6; }
37632   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37633     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
37634   $as_echo_n "(cached) " >&6
37635 else
37636
37637
37638       ac_ext=cpp
37639 ac_cpp='$CXXCPP $CPPFLAGS'
37640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37643
37644       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37645 /* end confdefs.h.  */
37646 #include <math.h>
37647 int
37648 main ()
37649 {
37650  _ldexpl(0, 0);
37651   ;
37652   return 0;
37653 }
37654 _ACEOF
37655 if ac_fn_cxx_try_compile "$LINENO"; then :
37656   glibcxx_cv_func__ldexpl_use=yes
37657 else
37658   glibcxx_cv_func__ldexpl_use=no
37659 fi
37660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37661       ac_ext=c
37662 ac_cpp='$CPP $CPPFLAGS'
37663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37666
37667
37668 fi
37669
37670   fi
37671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
37672 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
37673
37674     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37675       for ac_func in _ldexpl
37676 do :
37677   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
37678 if test "x$ac_cv_func__ldexpl" = x""yes; then :
37679   cat >>confdefs.h <<_ACEOF
37680 #define HAVE__LDEXPL 1
37681 _ACEOF
37682
37683 fi
37684 done
37685
37686     fi
37687   fi
37688
37689
37690
37691
37692
37693   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
37694 $as_echo_n "checking for logl declaration... " >&6; }
37695   if test x${glibcxx_cv_func_logl_use+set} != xset; then
37696     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
37697   $as_echo_n "(cached) " >&6
37698 else
37699
37700
37701       ac_ext=cpp
37702 ac_cpp='$CXXCPP $CPPFLAGS'
37703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37706
37707       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37708 /* end confdefs.h.  */
37709 #include <math.h>
37710                       #ifdef HAVE_IEEEFP_H
37711                       #include <ieeefp.h>
37712                       #endif
37713
37714 int
37715 main ()
37716 {
37717  logl(0);
37718   ;
37719   return 0;
37720 }
37721 _ACEOF
37722 if ac_fn_cxx_try_compile "$LINENO"; then :
37723   glibcxx_cv_func_logl_use=yes
37724 else
37725   glibcxx_cv_func_logl_use=no
37726 fi
37727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37728       ac_ext=c
37729 ac_cpp='$CPP $CPPFLAGS'
37730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37733
37734
37735 fi
37736
37737   fi
37738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
37739 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
37740
37741   if test x$glibcxx_cv_func_logl_use = x"yes"; then
37742     for ac_func in logl
37743 do :
37744   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
37745 if test "x$ac_cv_func_logl" = x""yes; then :
37746   cat >>confdefs.h <<_ACEOF
37747 #define HAVE_LOGL 1
37748 _ACEOF
37749
37750 fi
37751 done
37752
37753   else
37754
37755   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
37756 $as_echo_n "checking for _logl declaration... " >&6; }
37757   if test x${glibcxx_cv_func__logl_use+set} != xset; then
37758     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
37759   $as_echo_n "(cached) " >&6
37760 else
37761
37762
37763       ac_ext=cpp
37764 ac_cpp='$CXXCPP $CPPFLAGS'
37765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37768
37769       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37770 /* end confdefs.h.  */
37771 #include <math.h>
37772                       #ifdef HAVE_IEEEFP_H
37773                       #include <ieeefp.h>
37774                       #endif
37775
37776 int
37777 main ()
37778 {
37779  _logl(0);
37780   ;
37781   return 0;
37782 }
37783 _ACEOF
37784 if ac_fn_cxx_try_compile "$LINENO"; then :
37785   glibcxx_cv_func__logl_use=yes
37786 else
37787   glibcxx_cv_func__logl_use=no
37788 fi
37789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37790       ac_ext=c
37791 ac_cpp='$CPP $CPPFLAGS'
37792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37795
37796
37797 fi
37798
37799   fi
37800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
37801 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
37802
37803     if test x$glibcxx_cv_func__logl_use = x"yes"; then
37804       for ac_func in _logl
37805 do :
37806   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
37807 if test "x$ac_cv_func__logl" = x""yes; then :
37808   cat >>confdefs.h <<_ACEOF
37809 #define HAVE__LOGL 1
37810 _ACEOF
37811
37812 fi
37813 done
37814
37815     fi
37816   fi
37817
37818
37819
37820
37821
37822   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
37823 $as_echo_n "checking for log10l declaration... " >&6; }
37824   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
37825     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
37826   $as_echo_n "(cached) " >&6
37827 else
37828
37829
37830       ac_ext=cpp
37831 ac_cpp='$CXXCPP $CPPFLAGS'
37832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37835
37836       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37837 /* end confdefs.h.  */
37838 #include <math.h>
37839                       #ifdef HAVE_IEEEFP_H
37840                       #include <ieeefp.h>
37841                       #endif
37842
37843 int
37844 main ()
37845 {
37846  log10l(0);
37847   ;
37848   return 0;
37849 }
37850 _ACEOF
37851 if ac_fn_cxx_try_compile "$LINENO"; then :
37852   glibcxx_cv_func_log10l_use=yes
37853 else
37854   glibcxx_cv_func_log10l_use=no
37855 fi
37856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37857       ac_ext=c
37858 ac_cpp='$CPP $CPPFLAGS'
37859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37862
37863
37864 fi
37865
37866   fi
37867   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
37868 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
37869
37870   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
37871     for ac_func in log10l
37872 do :
37873   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
37874 if test "x$ac_cv_func_log10l" = x""yes; then :
37875   cat >>confdefs.h <<_ACEOF
37876 #define HAVE_LOG10L 1
37877 _ACEOF
37878
37879 fi
37880 done
37881
37882   else
37883
37884   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
37885 $as_echo_n "checking for _log10l declaration... " >&6; }
37886   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
37887     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
37888   $as_echo_n "(cached) " >&6
37889 else
37890
37891
37892       ac_ext=cpp
37893 ac_cpp='$CXXCPP $CPPFLAGS'
37894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37897
37898       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37899 /* end confdefs.h.  */
37900 #include <math.h>
37901                       #ifdef HAVE_IEEEFP_H
37902                       #include <ieeefp.h>
37903                       #endif
37904
37905 int
37906 main ()
37907 {
37908  _log10l(0);
37909   ;
37910   return 0;
37911 }
37912 _ACEOF
37913 if ac_fn_cxx_try_compile "$LINENO"; then :
37914   glibcxx_cv_func__log10l_use=yes
37915 else
37916   glibcxx_cv_func__log10l_use=no
37917 fi
37918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37919       ac_ext=c
37920 ac_cpp='$CPP $CPPFLAGS'
37921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37924
37925
37926 fi
37927
37928   fi
37929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
37930 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
37931
37932     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
37933       for ac_func in _log10l
37934 do :
37935   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
37936 if test "x$ac_cv_func__log10l" = x""yes; then :
37937   cat >>confdefs.h <<_ACEOF
37938 #define HAVE__LOG10L 1
37939 _ACEOF
37940
37941 fi
37942 done
37943
37944     fi
37945   fi
37946
37947
37948
37949
37950
37951   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
37952 $as_echo_n "checking for modfl declaration... " >&6; }
37953   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
37954     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
37955   $as_echo_n "(cached) " >&6
37956 else
37957
37958
37959       ac_ext=cpp
37960 ac_cpp='$CXXCPP $CPPFLAGS'
37961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37964
37965       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37966 /* end confdefs.h.  */
37967 #include <math.h>
37968 int
37969 main ()
37970 {
37971  modfl(0, 0);
37972   ;
37973   return 0;
37974 }
37975 _ACEOF
37976 if ac_fn_cxx_try_compile "$LINENO"; then :
37977   glibcxx_cv_func_modfl_use=yes
37978 else
37979   glibcxx_cv_func_modfl_use=no
37980 fi
37981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37982       ac_ext=c
37983 ac_cpp='$CPP $CPPFLAGS'
37984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37987
37988
37989 fi
37990
37991   fi
37992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
37993 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
37994
37995   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
37996     for ac_func in modfl
37997 do :
37998   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
37999 if test "x$ac_cv_func_modfl" = x""yes; then :
38000   cat >>confdefs.h <<_ACEOF
38001 #define HAVE_MODFL 1
38002 _ACEOF
38003
38004 fi
38005 done
38006
38007   else
38008
38009   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
38010 $as_echo_n "checking for _modfl declaration... " >&6; }
38011   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
38012     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
38013   $as_echo_n "(cached) " >&6
38014 else
38015
38016
38017       ac_ext=cpp
38018 ac_cpp='$CXXCPP $CPPFLAGS'
38019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38022
38023       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38024 /* end confdefs.h.  */
38025 #include <math.h>
38026 int
38027 main ()
38028 {
38029  _modfl(0, 0);
38030   ;
38031   return 0;
38032 }
38033 _ACEOF
38034 if ac_fn_cxx_try_compile "$LINENO"; then :
38035   glibcxx_cv_func__modfl_use=yes
38036 else
38037   glibcxx_cv_func__modfl_use=no
38038 fi
38039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38040       ac_ext=c
38041 ac_cpp='$CPP $CPPFLAGS'
38042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38045
38046
38047 fi
38048
38049   fi
38050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
38051 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
38052
38053     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
38054       for ac_func in _modfl
38055 do :
38056   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
38057 if test "x$ac_cv_func__modfl" = x""yes; then :
38058   cat >>confdefs.h <<_ACEOF
38059 #define HAVE__MODFL 1
38060 _ACEOF
38061
38062 fi
38063 done
38064
38065     fi
38066   fi
38067
38068
38069
38070
38071
38072   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
38073 $as_echo_n "checking for powl declaration... " >&6; }
38074   if test x${glibcxx_cv_func_powl_use+set} != xset; then
38075     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
38076   $as_echo_n "(cached) " >&6
38077 else
38078
38079
38080       ac_ext=cpp
38081 ac_cpp='$CXXCPP $CPPFLAGS'
38082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38085
38086       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38087 /* end confdefs.h.  */
38088 #include <math.h>
38089 int
38090 main ()
38091 {
38092  powl(0, 0);
38093   ;
38094   return 0;
38095 }
38096 _ACEOF
38097 if ac_fn_cxx_try_compile "$LINENO"; then :
38098   glibcxx_cv_func_powl_use=yes
38099 else
38100   glibcxx_cv_func_powl_use=no
38101 fi
38102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38103       ac_ext=c
38104 ac_cpp='$CPP $CPPFLAGS'
38105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38108
38109
38110 fi
38111
38112   fi
38113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
38114 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
38115
38116   if test x$glibcxx_cv_func_powl_use = x"yes"; then
38117     for ac_func in powl
38118 do :
38119   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
38120 if test "x$ac_cv_func_powl" = x""yes; then :
38121   cat >>confdefs.h <<_ACEOF
38122 #define HAVE_POWL 1
38123 _ACEOF
38124
38125 fi
38126 done
38127
38128   else
38129
38130   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
38131 $as_echo_n "checking for _powl declaration... " >&6; }
38132   if test x${glibcxx_cv_func__powl_use+set} != xset; then
38133     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
38134   $as_echo_n "(cached) " >&6
38135 else
38136
38137
38138       ac_ext=cpp
38139 ac_cpp='$CXXCPP $CPPFLAGS'
38140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38143
38144       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38145 /* end confdefs.h.  */
38146 #include <math.h>
38147 int
38148 main ()
38149 {
38150  _powl(0, 0);
38151   ;
38152   return 0;
38153 }
38154 _ACEOF
38155 if ac_fn_cxx_try_compile "$LINENO"; then :
38156   glibcxx_cv_func__powl_use=yes
38157 else
38158   glibcxx_cv_func__powl_use=no
38159 fi
38160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38161       ac_ext=c
38162 ac_cpp='$CPP $CPPFLAGS'
38163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38166
38167
38168 fi
38169
38170   fi
38171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
38172 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
38173
38174     if test x$glibcxx_cv_func__powl_use = x"yes"; then
38175       for ac_func in _powl
38176 do :
38177   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
38178 if test "x$ac_cv_func__powl" = x""yes; then :
38179   cat >>confdefs.h <<_ACEOF
38180 #define HAVE__POWL 1
38181 _ACEOF
38182
38183 fi
38184 done
38185
38186     fi
38187   fi
38188
38189
38190
38191
38192
38193   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
38194 $as_echo_n "checking for sqrtl declaration... " >&6; }
38195   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
38196     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
38197   $as_echo_n "(cached) " >&6
38198 else
38199
38200
38201       ac_ext=cpp
38202 ac_cpp='$CXXCPP $CPPFLAGS'
38203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38206
38207       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38208 /* end confdefs.h.  */
38209 #include <math.h>
38210                       #ifdef HAVE_IEEEFP_H
38211                       #include <ieeefp.h>
38212                       #endif
38213
38214 int
38215 main ()
38216 {
38217  sqrtl(0);
38218   ;
38219   return 0;
38220 }
38221 _ACEOF
38222 if ac_fn_cxx_try_compile "$LINENO"; then :
38223   glibcxx_cv_func_sqrtl_use=yes
38224 else
38225   glibcxx_cv_func_sqrtl_use=no
38226 fi
38227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38228       ac_ext=c
38229 ac_cpp='$CPP $CPPFLAGS'
38230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38233
38234
38235 fi
38236
38237   fi
38238   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
38239 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
38240
38241   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
38242     for ac_func in sqrtl
38243 do :
38244   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
38245 if test "x$ac_cv_func_sqrtl" = x""yes; then :
38246   cat >>confdefs.h <<_ACEOF
38247 #define HAVE_SQRTL 1
38248 _ACEOF
38249
38250 fi
38251 done
38252
38253   else
38254
38255   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
38256 $as_echo_n "checking for _sqrtl declaration... " >&6; }
38257   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
38258     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
38259   $as_echo_n "(cached) " >&6
38260 else
38261
38262
38263       ac_ext=cpp
38264 ac_cpp='$CXXCPP $CPPFLAGS'
38265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38268
38269       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38270 /* end confdefs.h.  */
38271 #include <math.h>
38272                       #ifdef HAVE_IEEEFP_H
38273                       #include <ieeefp.h>
38274                       #endif
38275
38276 int
38277 main ()
38278 {
38279  _sqrtl(0);
38280   ;
38281   return 0;
38282 }
38283 _ACEOF
38284 if ac_fn_cxx_try_compile "$LINENO"; then :
38285   glibcxx_cv_func__sqrtl_use=yes
38286 else
38287   glibcxx_cv_func__sqrtl_use=no
38288 fi
38289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38290       ac_ext=c
38291 ac_cpp='$CPP $CPPFLAGS'
38292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38295
38296
38297 fi
38298
38299   fi
38300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
38301 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
38302
38303     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
38304       for ac_func in _sqrtl
38305 do :
38306   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
38307 if test "x$ac_cv_func__sqrtl" = x""yes; then :
38308   cat >>confdefs.h <<_ACEOF
38309 #define HAVE__SQRTL 1
38310 _ACEOF
38311
38312 fi
38313 done
38314
38315     fi
38316   fi
38317
38318
38319
38320
38321
38322   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
38323 $as_echo_n "checking for sincosl declaration... " >&6; }
38324   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
38325     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
38326   $as_echo_n "(cached) " >&6
38327 else
38328
38329
38330       ac_ext=cpp
38331 ac_cpp='$CXXCPP $CPPFLAGS'
38332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38335
38336       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38337 /* end confdefs.h.  */
38338 #include <math.h>
38339 int
38340 main ()
38341 {
38342  sincosl(0, 0, 0);
38343   ;
38344   return 0;
38345 }
38346 _ACEOF
38347 if ac_fn_cxx_try_compile "$LINENO"; then :
38348   glibcxx_cv_func_sincosl_use=yes
38349 else
38350   glibcxx_cv_func_sincosl_use=no
38351 fi
38352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38353       ac_ext=c
38354 ac_cpp='$CPP $CPPFLAGS'
38355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38358
38359
38360 fi
38361
38362   fi
38363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
38364 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
38365
38366   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
38367     for ac_func in sincosl
38368 do :
38369   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
38370 if test "x$ac_cv_func_sincosl" = x""yes; then :
38371   cat >>confdefs.h <<_ACEOF
38372 #define HAVE_SINCOSL 1
38373 _ACEOF
38374
38375 fi
38376 done
38377
38378   else
38379
38380   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
38381 $as_echo_n "checking for _sincosl declaration... " >&6; }
38382   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
38383     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
38384   $as_echo_n "(cached) " >&6
38385 else
38386
38387
38388       ac_ext=cpp
38389 ac_cpp='$CXXCPP $CPPFLAGS'
38390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38393
38394       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38395 /* end confdefs.h.  */
38396 #include <math.h>
38397 int
38398 main ()
38399 {
38400  _sincosl(0, 0, 0);
38401   ;
38402   return 0;
38403 }
38404 _ACEOF
38405 if ac_fn_cxx_try_compile "$LINENO"; then :
38406   glibcxx_cv_func__sincosl_use=yes
38407 else
38408   glibcxx_cv_func__sincosl_use=no
38409 fi
38410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38411       ac_ext=c
38412 ac_cpp='$CPP $CPPFLAGS'
38413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38416
38417
38418 fi
38419
38420   fi
38421   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
38422 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
38423
38424     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
38425       for ac_func in _sincosl
38426 do :
38427   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
38428 if test "x$ac_cv_func__sincosl" = x""yes; then :
38429   cat >>confdefs.h <<_ACEOF
38430 #define HAVE__SINCOSL 1
38431 _ACEOF
38432
38433 fi
38434 done
38435
38436     fi
38437   fi
38438
38439
38440
38441
38442
38443   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
38444 $as_echo_n "checking for finitel declaration... " >&6; }
38445   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
38446     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
38447   $as_echo_n "(cached) " >&6
38448 else
38449
38450
38451       ac_ext=cpp
38452 ac_cpp='$CXXCPP $CPPFLAGS'
38453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38456
38457       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38458 /* end confdefs.h.  */
38459 #include <math.h>
38460                       #ifdef HAVE_IEEEFP_H
38461                       #include <ieeefp.h>
38462                       #endif
38463
38464 int
38465 main ()
38466 {
38467  finitel(0);
38468   ;
38469   return 0;
38470 }
38471 _ACEOF
38472 if ac_fn_cxx_try_compile "$LINENO"; then :
38473   glibcxx_cv_func_finitel_use=yes
38474 else
38475   glibcxx_cv_func_finitel_use=no
38476 fi
38477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38478       ac_ext=c
38479 ac_cpp='$CPP $CPPFLAGS'
38480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38483
38484
38485 fi
38486
38487   fi
38488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
38489 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
38490
38491   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
38492     for ac_func in finitel
38493 do :
38494   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
38495 if test "x$ac_cv_func_finitel" = x""yes; then :
38496   cat >>confdefs.h <<_ACEOF
38497 #define HAVE_FINITEL 1
38498 _ACEOF
38499
38500 fi
38501 done
38502
38503   else
38504
38505   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
38506 $as_echo_n "checking for _finitel declaration... " >&6; }
38507   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
38508     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
38509   $as_echo_n "(cached) " >&6
38510 else
38511
38512
38513       ac_ext=cpp
38514 ac_cpp='$CXXCPP $CPPFLAGS'
38515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38518
38519       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38520 /* end confdefs.h.  */
38521 #include <math.h>
38522                       #ifdef HAVE_IEEEFP_H
38523                       #include <ieeefp.h>
38524                       #endif
38525
38526 int
38527 main ()
38528 {
38529  _finitel(0);
38530   ;
38531   return 0;
38532 }
38533 _ACEOF
38534 if ac_fn_cxx_try_compile "$LINENO"; then :
38535   glibcxx_cv_func__finitel_use=yes
38536 else
38537   glibcxx_cv_func__finitel_use=no
38538 fi
38539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38540       ac_ext=c
38541 ac_cpp='$CPP $CPPFLAGS'
38542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38545
38546
38547 fi
38548
38549   fi
38550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
38551 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
38552
38553     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
38554       for ac_func in _finitel
38555 do :
38556   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
38557 if test "x$ac_cv_func__finitel" = x""yes; then :
38558   cat >>confdefs.h <<_ACEOF
38559 #define HAVE__FINITEL 1
38560 _ACEOF
38561
38562 fi
38563 done
38564
38565     fi
38566   fi
38567
38568
38569
38570
38571   LIBS="$ac_save_LIBS"
38572   CXXFLAGS="$ac_save_CXXFLAGS"
38573
38574
38575   ac_test_CXXFLAGS="${CXXFLAGS+set}"
38576   ac_save_CXXFLAGS="$CXXFLAGS"
38577   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38578
38579
38580   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
38581 $as_echo_n "checking for strtold declaration... " >&6; }
38582   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38583     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
38584   $as_echo_n "(cached) " >&6
38585 else
38586
38587
38588       ac_ext=cpp
38589 ac_cpp='$CXXCPP $CPPFLAGS'
38590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38593
38594       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38595 /* end confdefs.h.  */
38596 #include <stdlib.h>
38597 int
38598 main ()
38599 {
38600  strtold(0, 0);
38601   ;
38602   return 0;
38603 }
38604 _ACEOF
38605 if ac_fn_cxx_try_compile "$LINENO"; then :
38606   glibcxx_cv_func_strtold_use=yes
38607 else
38608   glibcxx_cv_func_strtold_use=no
38609 fi
38610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38611       ac_ext=c
38612 ac_cpp='$CPP $CPPFLAGS'
38613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38616
38617
38618 fi
38619
38620   fi
38621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38622 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38623   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38624     for ac_func in strtold
38625 do :
38626   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
38627 if test "x$ac_cv_func_strtold" = x""yes; then :
38628   cat >>confdefs.h <<_ACEOF
38629 #define HAVE_STRTOLD 1
38630 _ACEOF
38631
38632 fi
38633 done
38634
38635   fi
38636
38637
38638
38639
38640   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38641 $as_echo_n "checking for strtof declaration... " >&6; }
38642   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38643     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
38644   $as_echo_n "(cached) " >&6
38645 else
38646
38647
38648       ac_ext=cpp
38649 ac_cpp='$CXXCPP $CPPFLAGS'
38650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38653
38654       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38655 /* end confdefs.h.  */
38656 #include <stdlib.h>
38657 int
38658 main ()
38659 {
38660  strtof(0, 0);
38661   ;
38662   return 0;
38663 }
38664 _ACEOF
38665 if ac_fn_cxx_try_compile "$LINENO"; then :
38666   glibcxx_cv_func_strtof_use=yes
38667 else
38668   glibcxx_cv_func_strtof_use=no
38669 fi
38670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38671       ac_ext=c
38672 ac_cpp='$CPP $CPPFLAGS'
38673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38676
38677
38678 fi
38679
38680   fi
38681   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
38682 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
38683   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38684     for ac_func in strtof
38685 do :
38686   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
38687 if test "x$ac_cv_func_strtof" = x""yes; then :
38688   cat >>confdefs.h <<_ACEOF
38689 #define HAVE_STRTOF 1
38690 _ACEOF
38691
38692 fi
38693 done
38694
38695   fi
38696
38697
38698
38699
38700   CXXFLAGS="$ac_save_CXXFLAGS"
38701
38702     $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
38703
38704     # We don't yet support AIX's TLS ABI.
38705     #GCC_CHECK_TLS
38706
38707
38708
38709
38710
38711           am_save_CPPFLAGS="$CPPFLAGS"
38712
38713   for element in $INCICONV; do
38714     haveit=
38715     for x in $CPPFLAGS; do
38716
38717   acl_save_prefix="$prefix"
38718   prefix="$acl_final_prefix"
38719   acl_save_exec_prefix="$exec_prefix"
38720   exec_prefix="$acl_final_exec_prefix"
38721   eval x=\"$x\"
38722   exec_prefix="$acl_save_exec_prefix"
38723   prefix="$acl_save_prefix"
38724
38725       if test "X$x" = "X$element"; then
38726         haveit=yes
38727         break
38728       fi
38729     done
38730     if test -z "$haveit"; then
38731       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
38732     fi
38733   done
38734
38735
38736   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
38737 $as_echo_n "checking for iconv... " >&6; }
38738 if test "${am_cv_func_iconv+set}" = set; then :
38739   $as_echo_n "(cached) " >&6
38740 else
38741
38742     am_cv_func_iconv="no, consider installing GNU libiconv"
38743     am_cv_lib_iconv=no
38744     if test x$gcc_no_link = xyes; then
38745   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38746 fi
38747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38748 /* end confdefs.h.  */
38749 #include <stdlib.h>
38750 #include <iconv.h>
38751 int
38752 main ()
38753 {
38754 iconv_t cd = iconv_open("","");
38755        iconv(cd,NULL,NULL,NULL,NULL);
38756        iconv_close(cd);
38757   ;
38758   return 0;
38759 }
38760 _ACEOF
38761 if ac_fn_c_try_link "$LINENO"; then :
38762   am_cv_func_iconv=yes
38763 fi
38764 rm -f core conftest.err conftest.$ac_objext \
38765     conftest$ac_exeext conftest.$ac_ext
38766     if test "$am_cv_func_iconv" != yes; then
38767       am_save_LIBS="$LIBS"
38768       LIBS="$LIBS $LIBICONV"
38769       if test x$gcc_no_link = xyes; then
38770   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38771 fi
38772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38773 /* end confdefs.h.  */
38774 #include <stdlib.h>
38775 #include <iconv.h>
38776 int
38777 main ()
38778 {
38779 iconv_t cd = iconv_open("","");
38780          iconv(cd,NULL,NULL,NULL,NULL);
38781          iconv_close(cd);
38782   ;
38783   return 0;
38784 }
38785 _ACEOF
38786 if ac_fn_c_try_link "$LINENO"; then :
38787   am_cv_lib_iconv=yes
38788         am_cv_func_iconv=yes
38789 fi
38790 rm -f core conftest.err conftest.$ac_objext \
38791     conftest$ac_exeext conftest.$ac_ext
38792       LIBS="$am_save_LIBS"
38793     fi
38794
38795 fi
38796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
38797 $as_echo "$am_cv_func_iconv" >&6; }
38798   if test "$am_cv_func_iconv" = yes; then
38799
38800 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
38801
38802   fi
38803   if test "$am_cv_lib_iconv" = yes; then
38804     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
38805 $as_echo_n "checking how to link with libiconv... " >&6; }
38806     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
38807 $as_echo "$LIBICONV" >&6; }
38808   else
38809             CPPFLAGS="$am_save_CPPFLAGS"
38810     LIBICONV=
38811     LTLIBICONV=
38812   fi
38813
38814
38815
38816   if test "$am_cv_func_iconv" = yes; then
38817     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
38818 $as_echo_n "checking for iconv declaration... " >&6; }
38819     if test "${am_cv_proto_iconv+set}" = set; then :
38820   $as_echo_n "(cached) " >&6
38821 else
38822
38823       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38824 /* end confdefs.h.  */
38825
38826 #include <stdlib.h>
38827 #include <iconv.h>
38828 extern
38829 #ifdef __cplusplus
38830 "C"
38831 #endif
38832 #if defined(__STDC__) || defined(__cplusplus)
38833 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38834 #else
38835 size_t iconv();
38836 #endif
38837
38838 int
38839 main ()
38840 {
38841
38842   ;
38843   return 0;
38844 }
38845 _ACEOF
38846 if ac_fn_c_try_compile "$LINENO"; then :
38847   am_cv_proto_iconv_arg1=""
38848 else
38849   am_cv_proto_iconv_arg1="const"
38850 fi
38851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38852       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);"
38853 fi
38854
38855     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
38856     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
38857          }$am_cv_proto_iconv" >&5
38858 $as_echo "${ac_t:-
38859          }$am_cv_proto_iconv" >&6; }
38860
38861 cat >>confdefs.h <<_ACEOF
38862 #define ICONV_CONST $am_cv_proto_iconv_arg1
38863 _ACEOF
38864
38865   fi
38866
38867     ;;
38868
38869   *-darwin*)
38870     # Darwin versions vary, but the linker should work in a cross environment,
38871     # so we just check for all the features here.
38872     # Check for available headers.
38873
38874     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
38875
38876   ac_test_CXXFLAGS="${CXXFLAGS+set}"
38877   ac_save_CXXFLAGS="$CXXFLAGS"
38878   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38879
38880     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
38881 $as_echo_n "checking for sin in -lm... " >&6; }
38882 if test "${ac_cv_lib_m_sin+set}" = set; then :
38883   $as_echo_n "(cached) " >&6
38884 else
38885   ac_check_lib_save_LIBS=$LIBS
38886 LIBS="-lm  $LIBS"
38887 if test x$gcc_no_link = xyes; then
38888   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38889 fi
38890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38891 /* end confdefs.h.  */
38892
38893 /* Override any GCC internal prototype to avoid an error.
38894    Use char because int might match the return type of a GCC
38895    builtin and then its argument prototype would still apply.  */
38896 #ifdef __cplusplus
38897 extern "C"
38898 #endif
38899 char sin ();
38900 int
38901 main ()
38902 {
38903 return sin ();
38904   ;
38905   return 0;
38906 }
38907 _ACEOF
38908 if ac_fn_c_try_link "$LINENO"; then :
38909   ac_cv_lib_m_sin=yes
38910 else
38911   ac_cv_lib_m_sin=no
38912 fi
38913 rm -f core conftest.err conftest.$ac_objext \
38914     conftest$ac_exeext conftest.$ac_ext
38915 LIBS=$ac_check_lib_save_LIBS
38916 fi
38917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
38918 $as_echo "$ac_cv_lib_m_sin" >&6; }
38919 if test "x$ac_cv_lib_m_sin" = x""yes; then :
38920   libm="-lm"
38921 fi
38922
38923   ac_save_LIBS="$LIBS"
38924   LIBS="$LIBS $libm"
38925
38926
38927
38928   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
38929 $as_echo_n "checking for isinf declaration... " >&6; }
38930   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
38931     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
38932   $as_echo_n "(cached) " >&6
38933 else
38934
38935
38936       ac_ext=cpp
38937 ac_cpp='$CXXCPP $CPPFLAGS'
38938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38941
38942       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38943 /* end confdefs.h.  */
38944 #include <math.h>
38945                       #ifdef HAVE_IEEEFP_H
38946                       #include <ieeefp.h>
38947                       #endif
38948
38949 int
38950 main ()
38951 {
38952  isinf(0);
38953   ;
38954   return 0;
38955 }
38956 _ACEOF
38957 if ac_fn_cxx_try_compile "$LINENO"; then :
38958   glibcxx_cv_func_isinf_use=yes
38959 else
38960   glibcxx_cv_func_isinf_use=no
38961 fi
38962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38963       ac_ext=c
38964 ac_cpp='$CPP $CPPFLAGS'
38965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38968
38969
38970 fi
38971
38972   fi
38973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
38974 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
38975
38976   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
38977     for ac_func in isinf
38978 do :
38979   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
38980 if test "x$ac_cv_func_isinf" = x""yes; then :
38981   cat >>confdefs.h <<_ACEOF
38982 #define HAVE_ISINF 1
38983 _ACEOF
38984
38985 fi
38986 done
38987
38988   else
38989
38990   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
38991 $as_echo_n "checking for _isinf declaration... " >&6; }
38992   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
38993     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
38994   $as_echo_n "(cached) " >&6
38995 else
38996
38997
38998       ac_ext=cpp
38999 ac_cpp='$CXXCPP $CPPFLAGS'
39000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39003
39004       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39005 /* end confdefs.h.  */
39006 #include <math.h>
39007                       #ifdef HAVE_IEEEFP_H
39008                       #include <ieeefp.h>
39009                       #endif
39010
39011 int
39012 main ()
39013 {
39014  _isinf(0);
39015   ;
39016   return 0;
39017 }
39018 _ACEOF
39019 if ac_fn_cxx_try_compile "$LINENO"; then :
39020   glibcxx_cv_func__isinf_use=yes
39021 else
39022   glibcxx_cv_func__isinf_use=no
39023 fi
39024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39025       ac_ext=c
39026 ac_cpp='$CPP $CPPFLAGS'
39027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39030
39031
39032 fi
39033
39034   fi
39035   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
39036 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
39037
39038     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
39039       for ac_func in _isinf
39040 do :
39041   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
39042 if test "x$ac_cv_func__isinf" = x""yes; then :
39043   cat >>confdefs.h <<_ACEOF
39044 #define HAVE__ISINF 1
39045 _ACEOF
39046
39047 fi
39048 done
39049
39050     fi
39051   fi
39052
39053
39054
39055
39056
39057   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
39058 $as_echo_n "checking for isnan declaration... " >&6; }
39059   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
39060     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
39061   $as_echo_n "(cached) " >&6
39062 else
39063
39064
39065       ac_ext=cpp
39066 ac_cpp='$CXXCPP $CPPFLAGS'
39067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39070
39071       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39072 /* end confdefs.h.  */
39073 #include <math.h>
39074                       #ifdef HAVE_IEEEFP_H
39075                       #include <ieeefp.h>
39076                       #endif
39077
39078 int
39079 main ()
39080 {
39081  isnan(0);
39082   ;
39083   return 0;
39084 }
39085 _ACEOF
39086 if ac_fn_cxx_try_compile "$LINENO"; then :
39087   glibcxx_cv_func_isnan_use=yes
39088 else
39089   glibcxx_cv_func_isnan_use=no
39090 fi
39091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39092       ac_ext=c
39093 ac_cpp='$CPP $CPPFLAGS'
39094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39097
39098
39099 fi
39100
39101   fi
39102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
39103 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
39104
39105   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
39106     for ac_func in isnan
39107 do :
39108   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
39109 if test "x$ac_cv_func_isnan" = x""yes; then :
39110   cat >>confdefs.h <<_ACEOF
39111 #define HAVE_ISNAN 1
39112 _ACEOF
39113
39114 fi
39115 done
39116
39117   else
39118
39119   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
39120 $as_echo_n "checking for _isnan declaration... " >&6; }
39121   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
39122     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
39123   $as_echo_n "(cached) " >&6
39124 else
39125
39126
39127       ac_ext=cpp
39128 ac_cpp='$CXXCPP $CPPFLAGS'
39129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39132
39133       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39134 /* end confdefs.h.  */
39135 #include <math.h>
39136                       #ifdef HAVE_IEEEFP_H
39137                       #include <ieeefp.h>
39138                       #endif
39139
39140 int
39141 main ()
39142 {
39143  _isnan(0);
39144   ;
39145   return 0;
39146 }
39147 _ACEOF
39148 if ac_fn_cxx_try_compile "$LINENO"; then :
39149   glibcxx_cv_func__isnan_use=yes
39150 else
39151   glibcxx_cv_func__isnan_use=no
39152 fi
39153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39154       ac_ext=c
39155 ac_cpp='$CPP $CPPFLAGS'
39156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39159
39160
39161 fi
39162
39163   fi
39164   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
39165 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
39166
39167     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
39168       for ac_func in _isnan
39169 do :
39170   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
39171 if test "x$ac_cv_func__isnan" = x""yes; then :
39172   cat >>confdefs.h <<_ACEOF
39173 #define HAVE__ISNAN 1
39174 _ACEOF
39175
39176 fi
39177 done
39178
39179     fi
39180   fi
39181
39182
39183
39184
39185
39186   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
39187 $as_echo_n "checking for finite declaration... " >&6; }
39188   if test x${glibcxx_cv_func_finite_use+set} != xset; then
39189     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
39190   $as_echo_n "(cached) " >&6
39191 else
39192
39193
39194       ac_ext=cpp
39195 ac_cpp='$CXXCPP $CPPFLAGS'
39196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39199
39200       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39201 /* end confdefs.h.  */
39202 #include <math.h>
39203                       #ifdef HAVE_IEEEFP_H
39204                       #include <ieeefp.h>
39205                       #endif
39206
39207 int
39208 main ()
39209 {
39210  finite(0);
39211   ;
39212   return 0;
39213 }
39214 _ACEOF
39215 if ac_fn_cxx_try_compile "$LINENO"; then :
39216   glibcxx_cv_func_finite_use=yes
39217 else
39218   glibcxx_cv_func_finite_use=no
39219 fi
39220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39221       ac_ext=c
39222 ac_cpp='$CPP $CPPFLAGS'
39223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39226
39227
39228 fi
39229
39230   fi
39231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
39232 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
39233
39234   if test x$glibcxx_cv_func_finite_use = x"yes"; then
39235     for ac_func in finite
39236 do :
39237   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
39238 if test "x$ac_cv_func_finite" = x""yes; then :
39239   cat >>confdefs.h <<_ACEOF
39240 #define HAVE_FINITE 1
39241 _ACEOF
39242
39243 fi
39244 done
39245
39246   else
39247
39248   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
39249 $as_echo_n "checking for _finite declaration... " >&6; }
39250   if test x${glibcxx_cv_func__finite_use+set} != xset; then
39251     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
39252   $as_echo_n "(cached) " >&6
39253 else
39254
39255
39256       ac_ext=cpp
39257 ac_cpp='$CXXCPP $CPPFLAGS'
39258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39261
39262       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39263 /* end confdefs.h.  */
39264 #include <math.h>
39265                       #ifdef HAVE_IEEEFP_H
39266                       #include <ieeefp.h>
39267                       #endif
39268
39269 int
39270 main ()
39271 {
39272  _finite(0);
39273   ;
39274   return 0;
39275 }
39276 _ACEOF
39277 if ac_fn_cxx_try_compile "$LINENO"; then :
39278   glibcxx_cv_func__finite_use=yes
39279 else
39280   glibcxx_cv_func__finite_use=no
39281 fi
39282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39283       ac_ext=c
39284 ac_cpp='$CPP $CPPFLAGS'
39285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39288
39289
39290 fi
39291
39292   fi
39293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
39294 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
39295
39296     if test x$glibcxx_cv_func__finite_use = x"yes"; then
39297       for ac_func in _finite
39298 do :
39299   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
39300 if test "x$ac_cv_func__finite" = x""yes; then :
39301   cat >>confdefs.h <<_ACEOF
39302 #define HAVE__FINITE 1
39303 _ACEOF
39304
39305 fi
39306 done
39307
39308     fi
39309   fi
39310
39311
39312
39313
39314
39315   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
39316 $as_echo_n "checking for sincos declaration... " >&6; }
39317   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
39318     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
39319   $as_echo_n "(cached) " >&6
39320 else
39321
39322
39323       ac_ext=cpp
39324 ac_cpp='$CXXCPP $CPPFLAGS'
39325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39328
39329       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39330 /* end confdefs.h.  */
39331 #include <math.h>
39332 int
39333 main ()
39334 {
39335  sincos(0, 0, 0);
39336   ;
39337   return 0;
39338 }
39339 _ACEOF
39340 if ac_fn_cxx_try_compile "$LINENO"; then :
39341   glibcxx_cv_func_sincos_use=yes
39342 else
39343   glibcxx_cv_func_sincos_use=no
39344 fi
39345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39346       ac_ext=c
39347 ac_cpp='$CPP $CPPFLAGS'
39348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39351
39352
39353 fi
39354
39355   fi
39356   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
39357 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
39358
39359   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
39360     for ac_func in sincos
39361 do :
39362   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
39363 if test "x$ac_cv_func_sincos" = x""yes; then :
39364   cat >>confdefs.h <<_ACEOF
39365 #define HAVE_SINCOS 1
39366 _ACEOF
39367
39368 fi
39369 done
39370
39371   else
39372
39373   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
39374 $as_echo_n "checking for _sincos declaration... " >&6; }
39375   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
39376     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
39377   $as_echo_n "(cached) " >&6
39378 else
39379
39380
39381       ac_ext=cpp
39382 ac_cpp='$CXXCPP $CPPFLAGS'
39383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39386
39387       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39388 /* end confdefs.h.  */
39389 #include <math.h>
39390 int
39391 main ()
39392 {
39393  _sincos(0, 0, 0);
39394   ;
39395   return 0;
39396 }
39397 _ACEOF
39398 if ac_fn_cxx_try_compile "$LINENO"; then :
39399   glibcxx_cv_func__sincos_use=yes
39400 else
39401   glibcxx_cv_func__sincos_use=no
39402 fi
39403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39404       ac_ext=c
39405 ac_cpp='$CPP $CPPFLAGS'
39406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39409
39410
39411 fi
39412
39413   fi
39414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
39415 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
39416
39417     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
39418       for ac_func in _sincos
39419 do :
39420   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
39421 if test "x$ac_cv_func__sincos" = x""yes; then :
39422   cat >>confdefs.h <<_ACEOF
39423 #define HAVE__SINCOS 1
39424 _ACEOF
39425
39426 fi
39427 done
39428
39429     fi
39430   fi
39431
39432
39433
39434
39435
39436   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
39437 $as_echo_n "checking for fpclass declaration... " >&6; }
39438   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
39439     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
39440   $as_echo_n "(cached) " >&6
39441 else
39442
39443
39444       ac_ext=cpp
39445 ac_cpp='$CXXCPP $CPPFLAGS'
39446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39449
39450       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39451 /* end confdefs.h.  */
39452 #include <math.h>
39453                       #ifdef HAVE_IEEEFP_H
39454                       #include <ieeefp.h>
39455                       #endif
39456
39457 int
39458 main ()
39459 {
39460  fpclass(0);
39461   ;
39462   return 0;
39463 }
39464 _ACEOF
39465 if ac_fn_cxx_try_compile "$LINENO"; then :
39466   glibcxx_cv_func_fpclass_use=yes
39467 else
39468   glibcxx_cv_func_fpclass_use=no
39469 fi
39470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39471       ac_ext=c
39472 ac_cpp='$CPP $CPPFLAGS'
39473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39476
39477
39478 fi
39479
39480   fi
39481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
39482 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
39483
39484   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
39485     for ac_func in fpclass
39486 do :
39487   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
39488 if test "x$ac_cv_func_fpclass" = x""yes; then :
39489   cat >>confdefs.h <<_ACEOF
39490 #define HAVE_FPCLASS 1
39491 _ACEOF
39492
39493 fi
39494 done
39495
39496   else
39497
39498   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
39499 $as_echo_n "checking for _fpclass declaration... " >&6; }
39500   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
39501     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
39502   $as_echo_n "(cached) " >&6
39503 else
39504
39505
39506       ac_ext=cpp
39507 ac_cpp='$CXXCPP $CPPFLAGS'
39508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39511
39512       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39513 /* end confdefs.h.  */
39514 #include <math.h>
39515                       #ifdef HAVE_IEEEFP_H
39516                       #include <ieeefp.h>
39517                       #endif
39518
39519 int
39520 main ()
39521 {
39522  _fpclass(0);
39523   ;
39524   return 0;
39525 }
39526 _ACEOF
39527 if ac_fn_cxx_try_compile "$LINENO"; then :
39528   glibcxx_cv_func__fpclass_use=yes
39529 else
39530   glibcxx_cv_func__fpclass_use=no
39531 fi
39532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39533       ac_ext=c
39534 ac_cpp='$CPP $CPPFLAGS'
39535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39538
39539
39540 fi
39541
39542   fi
39543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
39544 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
39545
39546     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
39547       for ac_func in _fpclass
39548 do :
39549   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
39550 if test "x$ac_cv_func__fpclass" = x""yes; then :
39551   cat >>confdefs.h <<_ACEOF
39552 #define HAVE__FPCLASS 1
39553 _ACEOF
39554
39555 fi
39556 done
39557
39558     fi
39559   fi
39560
39561
39562
39563
39564
39565   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
39566 $as_echo_n "checking for qfpclass declaration... " >&6; }
39567   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
39568     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
39569   $as_echo_n "(cached) " >&6
39570 else
39571
39572
39573       ac_ext=cpp
39574 ac_cpp='$CXXCPP $CPPFLAGS'
39575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39578
39579       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39580 /* end confdefs.h.  */
39581 #include <math.h>
39582                       #ifdef HAVE_IEEEFP_H
39583                       #include <ieeefp.h>
39584                       #endif
39585
39586 int
39587 main ()
39588 {
39589  qfpclass(0);
39590   ;
39591   return 0;
39592 }
39593 _ACEOF
39594 if ac_fn_cxx_try_compile "$LINENO"; then :
39595   glibcxx_cv_func_qfpclass_use=yes
39596 else
39597   glibcxx_cv_func_qfpclass_use=no
39598 fi
39599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39600       ac_ext=c
39601 ac_cpp='$CPP $CPPFLAGS'
39602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39605
39606
39607 fi
39608
39609   fi
39610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
39611 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
39612
39613   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
39614     for ac_func in qfpclass
39615 do :
39616   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
39617 if test "x$ac_cv_func_qfpclass" = x""yes; then :
39618   cat >>confdefs.h <<_ACEOF
39619 #define HAVE_QFPCLASS 1
39620 _ACEOF
39621
39622 fi
39623 done
39624
39625   else
39626
39627   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
39628 $as_echo_n "checking for _qfpclass declaration... " >&6; }
39629   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
39630     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
39631   $as_echo_n "(cached) " >&6
39632 else
39633
39634
39635       ac_ext=cpp
39636 ac_cpp='$CXXCPP $CPPFLAGS'
39637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39640
39641       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39642 /* end confdefs.h.  */
39643 #include <math.h>
39644                       #ifdef HAVE_IEEEFP_H
39645                       #include <ieeefp.h>
39646                       #endif
39647
39648 int
39649 main ()
39650 {
39651  _qfpclass(0);
39652   ;
39653   return 0;
39654 }
39655 _ACEOF
39656 if ac_fn_cxx_try_compile "$LINENO"; then :
39657   glibcxx_cv_func__qfpclass_use=yes
39658 else
39659   glibcxx_cv_func__qfpclass_use=no
39660 fi
39661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39662       ac_ext=c
39663 ac_cpp='$CPP $CPPFLAGS'
39664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39667
39668
39669 fi
39670
39671   fi
39672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
39673 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
39674
39675     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
39676       for ac_func in _qfpclass
39677 do :
39678   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
39679 if test "x$ac_cv_func__qfpclass" = x""yes; then :
39680   cat >>confdefs.h <<_ACEOF
39681 #define HAVE__QFPCLASS 1
39682 _ACEOF
39683
39684 fi
39685 done
39686
39687     fi
39688   fi
39689
39690
39691
39692
39693
39694   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
39695 $as_echo_n "checking for hypot declaration... " >&6; }
39696   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
39697     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
39698   $as_echo_n "(cached) " >&6
39699 else
39700
39701
39702       ac_ext=cpp
39703 ac_cpp='$CXXCPP $CPPFLAGS'
39704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39707
39708       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39709 /* end confdefs.h.  */
39710 #include <math.h>
39711 int
39712 main ()
39713 {
39714  hypot(0, 0);
39715   ;
39716   return 0;
39717 }
39718 _ACEOF
39719 if ac_fn_cxx_try_compile "$LINENO"; then :
39720   glibcxx_cv_func_hypot_use=yes
39721 else
39722   glibcxx_cv_func_hypot_use=no
39723 fi
39724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39725       ac_ext=c
39726 ac_cpp='$CPP $CPPFLAGS'
39727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39730
39731
39732 fi
39733
39734   fi
39735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
39736 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
39737
39738   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
39739     for ac_func in hypot
39740 do :
39741   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
39742 if test "x$ac_cv_func_hypot" = x""yes; then :
39743   cat >>confdefs.h <<_ACEOF
39744 #define HAVE_HYPOT 1
39745 _ACEOF
39746
39747 fi
39748 done
39749
39750   else
39751
39752   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
39753 $as_echo_n "checking for _hypot declaration... " >&6; }
39754   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
39755     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
39756   $as_echo_n "(cached) " >&6
39757 else
39758
39759
39760       ac_ext=cpp
39761 ac_cpp='$CXXCPP $CPPFLAGS'
39762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39765
39766       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39767 /* end confdefs.h.  */
39768 #include <math.h>
39769 int
39770 main ()
39771 {
39772  _hypot(0, 0);
39773   ;
39774   return 0;
39775 }
39776 _ACEOF
39777 if ac_fn_cxx_try_compile "$LINENO"; then :
39778   glibcxx_cv_func__hypot_use=yes
39779 else
39780   glibcxx_cv_func__hypot_use=no
39781 fi
39782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39783       ac_ext=c
39784 ac_cpp='$CPP $CPPFLAGS'
39785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39788
39789
39790 fi
39791
39792   fi
39793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
39794 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
39795
39796     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
39797       for ac_func in _hypot
39798 do :
39799   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
39800 if test "x$ac_cv_func__hypot" = x""yes; then :
39801   cat >>confdefs.h <<_ACEOF
39802 #define HAVE__HYPOT 1
39803 _ACEOF
39804
39805 fi
39806 done
39807
39808     fi
39809   fi
39810
39811
39812
39813
39814
39815     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
39816 $as_echo_n "checking for float trig functions... " >&6; }
39817   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
39818   $as_echo_n "(cached) " >&6
39819 else
39820
39821
39822     ac_ext=cpp
39823 ac_cpp='$CXXCPP $CPPFLAGS'
39824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39827
39828     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39829 /* end confdefs.h.  */
39830 #include <math.h>
39831 int
39832 main ()
39833 {
39834 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
39835   ;
39836   return 0;
39837 }
39838 _ACEOF
39839 if ac_fn_cxx_try_compile "$LINENO"; then :
39840   glibcxx_cv_func_float_trig_use=yes
39841 else
39842   glibcxx_cv_func_float_trig_use=no
39843 fi
39844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39845     ac_ext=c
39846 ac_cpp='$CPP $CPPFLAGS'
39847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39850
39851 fi
39852
39853   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
39854 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
39855   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
39856     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
39857 do :
39858   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39859 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39860 eval as_val=\$$as_ac_var
39861    if test "x$as_val" = x""yes; then :
39862   cat >>confdefs.h <<_ACEOF
39863 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39864 _ACEOF
39865
39866 fi
39867 done
39868
39869   else
39870     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
39871 $as_echo_n "checking for _float trig functions... " >&6; }
39872     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
39873   $as_echo_n "(cached) " >&6
39874 else
39875
39876
39877       ac_ext=cpp
39878 ac_cpp='$CXXCPP $CPPFLAGS'
39879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39882
39883       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39884 /* end confdefs.h.  */
39885 #include <math.h>
39886 int
39887 main ()
39888 {
39889 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
39890   ;
39891   return 0;
39892 }
39893 _ACEOF
39894 if ac_fn_cxx_try_compile "$LINENO"; then :
39895   glibcxx_cv_func__float_trig_use=yes
39896 else
39897   glibcxx_cv_func__float_trig_use=no
39898 fi
39899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39900       ac_ext=c
39901 ac_cpp='$CPP $CPPFLAGS'
39902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39905
39906 fi
39907
39908     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
39909 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
39910     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
39911       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
39912 do :
39913   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39914 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39915 eval as_val=\$$as_ac_var
39916    if test "x$as_val" = x""yes; then :
39917   cat >>confdefs.h <<_ACEOF
39918 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39919 _ACEOF
39920
39921 fi
39922 done
39923
39924     fi
39925   fi
39926
39927
39928
39929
39930
39931     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
39932 $as_echo_n "checking for float round functions... " >&6; }
39933   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
39934   $as_echo_n "(cached) " >&6
39935 else
39936
39937
39938     ac_ext=cpp
39939 ac_cpp='$CXXCPP $CPPFLAGS'
39940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39943
39944     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39945 /* end confdefs.h.  */
39946 #include <math.h>
39947 int
39948 main ()
39949 {
39950 ceilf (0); floorf (0);
39951   ;
39952   return 0;
39953 }
39954 _ACEOF
39955 if ac_fn_cxx_try_compile "$LINENO"; then :
39956   glibcxx_cv_func_float_round_use=yes
39957 else
39958   glibcxx_cv_func_float_round_use=no
39959 fi
39960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39961     ac_ext=c
39962 ac_cpp='$CPP $CPPFLAGS'
39963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39966
39967 fi
39968
39969   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
39970 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
39971   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
39972     for ac_func in ceilf floorf
39973 do :
39974   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39975 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39976 eval as_val=\$$as_ac_var
39977    if test "x$as_val" = x""yes; then :
39978   cat >>confdefs.h <<_ACEOF
39979 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39980 _ACEOF
39981
39982 fi
39983 done
39984
39985   else
39986     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
39987 $as_echo_n "checking for _float round functions... " >&6; }
39988     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
39989   $as_echo_n "(cached) " >&6
39990 else
39991
39992
39993       ac_ext=cpp
39994 ac_cpp='$CXXCPP $CPPFLAGS'
39995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39998
39999       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40000 /* end confdefs.h.  */
40001 #include <math.h>
40002 int
40003 main ()
40004 {
40005 _ceilf (0); _floorf (0);
40006   ;
40007   return 0;
40008 }
40009 _ACEOF
40010 if ac_fn_cxx_try_compile "$LINENO"; then :
40011   glibcxx_cv_func__float_round_use=yes
40012 else
40013   glibcxx_cv_func__float_round_use=no
40014 fi
40015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40016       ac_ext=c
40017 ac_cpp='$CPP $CPPFLAGS'
40018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40021
40022 fi
40023
40024     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
40025 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
40026     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
40027       for ac_func in _ceilf _floorf
40028 do :
40029   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40030 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40031 eval as_val=\$$as_ac_var
40032    if test "x$as_val" = x""yes; then :
40033   cat >>confdefs.h <<_ACEOF
40034 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40035 _ACEOF
40036
40037 fi
40038 done
40039
40040     fi
40041   fi
40042
40043
40044
40045
40046
40047
40048   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
40049 $as_echo_n "checking for expf declaration... " >&6; }
40050   if test x${glibcxx_cv_func_expf_use+set} != xset; then
40051     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
40052   $as_echo_n "(cached) " >&6
40053 else
40054
40055
40056       ac_ext=cpp
40057 ac_cpp='$CXXCPP $CPPFLAGS'
40058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40061
40062       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40063 /* end confdefs.h.  */
40064 #include <math.h>
40065                       #ifdef HAVE_IEEEFP_H
40066                       #include <ieeefp.h>
40067                       #endif
40068
40069 int
40070 main ()
40071 {
40072  expf(0);
40073   ;
40074   return 0;
40075 }
40076 _ACEOF
40077 if ac_fn_cxx_try_compile "$LINENO"; then :
40078   glibcxx_cv_func_expf_use=yes
40079 else
40080   glibcxx_cv_func_expf_use=no
40081 fi
40082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40083       ac_ext=c
40084 ac_cpp='$CPP $CPPFLAGS'
40085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40088
40089
40090 fi
40091
40092   fi
40093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
40094 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
40095
40096   if test x$glibcxx_cv_func_expf_use = x"yes"; then
40097     for ac_func in expf
40098 do :
40099   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
40100 if test "x$ac_cv_func_expf" = x""yes; then :
40101   cat >>confdefs.h <<_ACEOF
40102 #define HAVE_EXPF 1
40103 _ACEOF
40104
40105 fi
40106 done
40107
40108   else
40109
40110   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
40111 $as_echo_n "checking for _expf declaration... " >&6; }
40112   if test x${glibcxx_cv_func__expf_use+set} != xset; then
40113     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
40114   $as_echo_n "(cached) " >&6
40115 else
40116
40117
40118       ac_ext=cpp
40119 ac_cpp='$CXXCPP $CPPFLAGS'
40120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40123
40124       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40125 /* end confdefs.h.  */
40126 #include <math.h>
40127                       #ifdef HAVE_IEEEFP_H
40128                       #include <ieeefp.h>
40129                       #endif
40130
40131 int
40132 main ()
40133 {
40134  _expf(0);
40135   ;
40136   return 0;
40137 }
40138 _ACEOF
40139 if ac_fn_cxx_try_compile "$LINENO"; then :
40140   glibcxx_cv_func__expf_use=yes
40141 else
40142   glibcxx_cv_func__expf_use=no
40143 fi
40144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40145       ac_ext=c
40146 ac_cpp='$CPP $CPPFLAGS'
40147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40150
40151
40152 fi
40153
40154   fi
40155   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
40156 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
40157
40158     if test x$glibcxx_cv_func__expf_use = x"yes"; then
40159       for ac_func in _expf
40160 do :
40161   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
40162 if test "x$ac_cv_func__expf" = x""yes; then :
40163   cat >>confdefs.h <<_ACEOF
40164 #define HAVE__EXPF 1
40165 _ACEOF
40166
40167 fi
40168 done
40169
40170     fi
40171   fi
40172
40173
40174
40175
40176
40177   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
40178 $as_echo_n "checking for isnanf declaration... " >&6; }
40179   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
40180     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
40181   $as_echo_n "(cached) " >&6
40182 else
40183
40184
40185       ac_ext=cpp
40186 ac_cpp='$CXXCPP $CPPFLAGS'
40187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40190
40191       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40192 /* end confdefs.h.  */
40193 #include <math.h>
40194                       #ifdef HAVE_IEEEFP_H
40195                       #include <ieeefp.h>
40196                       #endif
40197
40198 int
40199 main ()
40200 {
40201  isnanf(0);
40202   ;
40203   return 0;
40204 }
40205 _ACEOF
40206 if ac_fn_cxx_try_compile "$LINENO"; then :
40207   glibcxx_cv_func_isnanf_use=yes
40208 else
40209   glibcxx_cv_func_isnanf_use=no
40210 fi
40211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40212       ac_ext=c
40213 ac_cpp='$CPP $CPPFLAGS'
40214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40217
40218
40219 fi
40220
40221   fi
40222   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
40223 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
40224
40225   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
40226     for ac_func in isnanf
40227 do :
40228   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
40229 if test "x$ac_cv_func_isnanf" = x""yes; then :
40230   cat >>confdefs.h <<_ACEOF
40231 #define HAVE_ISNANF 1
40232 _ACEOF
40233
40234 fi
40235 done
40236
40237   else
40238
40239   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
40240 $as_echo_n "checking for _isnanf declaration... " >&6; }
40241   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
40242     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
40243   $as_echo_n "(cached) " >&6
40244 else
40245
40246
40247       ac_ext=cpp
40248 ac_cpp='$CXXCPP $CPPFLAGS'
40249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40252
40253       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40254 /* end confdefs.h.  */
40255 #include <math.h>
40256                       #ifdef HAVE_IEEEFP_H
40257                       #include <ieeefp.h>
40258                       #endif
40259
40260 int
40261 main ()
40262 {
40263  _isnanf(0);
40264   ;
40265   return 0;
40266 }
40267 _ACEOF
40268 if ac_fn_cxx_try_compile "$LINENO"; then :
40269   glibcxx_cv_func__isnanf_use=yes
40270 else
40271   glibcxx_cv_func__isnanf_use=no
40272 fi
40273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40274       ac_ext=c
40275 ac_cpp='$CPP $CPPFLAGS'
40276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40279
40280
40281 fi
40282
40283   fi
40284   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
40285 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
40286
40287     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
40288       for ac_func in _isnanf
40289 do :
40290   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
40291 if test "x$ac_cv_func__isnanf" = x""yes; then :
40292   cat >>confdefs.h <<_ACEOF
40293 #define HAVE__ISNANF 1
40294 _ACEOF
40295
40296 fi
40297 done
40298
40299     fi
40300   fi
40301
40302
40303
40304
40305
40306   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
40307 $as_echo_n "checking for isinff declaration... " >&6; }
40308   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
40309     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
40310   $as_echo_n "(cached) " >&6
40311 else
40312
40313
40314       ac_ext=cpp
40315 ac_cpp='$CXXCPP $CPPFLAGS'
40316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40319
40320       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40321 /* end confdefs.h.  */
40322 #include <math.h>
40323                       #ifdef HAVE_IEEEFP_H
40324                       #include <ieeefp.h>
40325                       #endif
40326
40327 int
40328 main ()
40329 {
40330  isinff(0);
40331   ;
40332   return 0;
40333 }
40334 _ACEOF
40335 if ac_fn_cxx_try_compile "$LINENO"; then :
40336   glibcxx_cv_func_isinff_use=yes
40337 else
40338   glibcxx_cv_func_isinff_use=no
40339 fi
40340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40341       ac_ext=c
40342 ac_cpp='$CPP $CPPFLAGS'
40343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40346
40347
40348 fi
40349
40350   fi
40351   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
40352 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
40353
40354   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
40355     for ac_func in isinff
40356 do :
40357   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
40358 if test "x$ac_cv_func_isinff" = x""yes; then :
40359   cat >>confdefs.h <<_ACEOF
40360 #define HAVE_ISINFF 1
40361 _ACEOF
40362
40363 fi
40364 done
40365
40366   else
40367
40368   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
40369 $as_echo_n "checking for _isinff declaration... " >&6; }
40370   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
40371     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
40372   $as_echo_n "(cached) " >&6
40373 else
40374
40375
40376       ac_ext=cpp
40377 ac_cpp='$CXXCPP $CPPFLAGS'
40378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40381
40382       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40383 /* end confdefs.h.  */
40384 #include <math.h>
40385                       #ifdef HAVE_IEEEFP_H
40386                       #include <ieeefp.h>
40387                       #endif
40388
40389 int
40390 main ()
40391 {
40392  _isinff(0);
40393   ;
40394   return 0;
40395 }
40396 _ACEOF
40397 if ac_fn_cxx_try_compile "$LINENO"; then :
40398   glibcxx_cv_func__isinff_use=yes
40399 else
40400   glibcxx_cv_func__isinff_use=no
40401 fi
40402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40403       ac_ext=c
40404 ac_cpp='$CPP $CPPFLAGS'
40405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40408
40409
40410 fi
40411
40412   fi
40413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
40414 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
40415
40416     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
40417       for ac_func in _isinff
40418 do :
40419   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
40420 if test "x$ac_cv_func__isinff" = x""yes; then :
40421   cat >>confdefs.h <<_ACEOF
40422 #define HAVE__ISINFF 1
40423 _ACEOF
40424
40425 fi
40426 done
40427
40428     fi
40429   fi
40430
40431
40432
40433
40434
40435   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
40436 $as_echo_n "checking for atan2f declaration... " >&6; }
40437   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
40438     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
40439   $as_echo_n "(cached) " >&6
40440 else
40441
40442
40443       ac_ext=cpp
40444 ac_cpp='$CXXCPP $CPPFLAGS'
40445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40448
40449       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40450 /* end confdefs.h.  */
40451 #include <math.h>
40452 int
40453 main ()
40454 {
40455  atan2f(0, 0);
40456   ;
40457   return 0;
40458 }
40459 _ACEOF
40460 if ac_fn_cxx_try_compile "$LINENO"; then :
40461   glibcxx_cv_func_atan2f_use=yes
40462 else
40463   glibcxx_cv_func_atan2f_use=no
40464 fi
40465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40466       ac_ext=c
40467 ac_cpp='$CPP $CPPFLAGS'
40468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40471
40472
40473 fi
40474
40475   fi
40476   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
40477 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
40478
40479   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
40480     for ac_func in atan2f
40481 do :
40482   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
40483 if test "x$ac_cv_func_atan2f" = x""yes; then :
40484   cat >>confdefs.h <<_ACEOF
40485 #define HAVE_ATAN2F 1
40486 _ACEOF
40487
40488 fi
40489 done
40490
40491   else
40492
40493   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
40494 $as_echo_n "checking for _atan2f declaration... " >&6; }
40495   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
40496     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
40497   $as_echo_n "(cached) " >&6
40498 else
40499
40500
40501       ac_ext=cpp
40502 ac_cpp='$CXXCPP $CPPFLAGS'
40503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40506
40507       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40508 /* end confdefs.h.  */
40509 #include <math.h>
40510 int
40511 main ()
40512 {
40513  _atan2f(0, 0);
40514   ;
40515   return 0;
40516 }
40517 _ACEOF
40518 if ac_fn_cxx_try_compile "$LINENO"; then :
40519   glibcxx_cv_func__atan2f_use=yes
40520 else
40521   glibcxx_cv_func__atan2f_use=no
40522 fi
40523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40524       ac_ext=c
40525 ac_cpp='$CPP $CPPFLAGS'
40526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40529
40530
40531 fi
40532
40533   fi
40534   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
40535 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
40536
40537     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
40538       for ac_func in _atan2f
40539 do :
40540   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
40541 if test "x$ac_cv_func__atan2f" = x""yes; then :
40542   cat >>confdefs.h <<_ACEOF
40543 #define HAVE__ATAN2F 1
40544 _ACEOF
40545
40546 fi
40547 done
40548
40549     fi
40550   fi
40551
40552
40553
40554
40555
40556   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
40557 $as_echo_n "checking for fabsf declaration... " >&6; }
40558   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
40559     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
40560   $as_echo_n "(cached) " >&6
40561 else
40562
40563
40564       ac_ext=cpp
40565 ac_cpp='$CXXCPP $CPPFLAGS'
40566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40569
40570       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40571 /* end confdefs.h.  */
40572 #include <math.h>
40573                       #ifdef HAVE_IEEEFP_H
40574                       #include <ieeefp.h>
40575                       #endif
40576
40577 int
40578 main ()
40579 {
40580  fabsf(0);
40581   ;
40582   return 0;
40583 }
40584 _ACEOF
40585 if ac_fn_cxx_try_compile "$LINENO"; then :
40586   glibcxx_cv_func_fabsf_use=yes
40587 else
40588   glibcxx_cv_func_fabsf_use=no
40589 fi
40590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40591       ac_ext=c
40592 ac_cpp='$CPP $CPPFLAGS'
40593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40596
40597
40598 fi
40599
40600   fi
40601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
40602 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
40603
40604   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
40605     for ac_func in fabsf
40606 do :
40607   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
40608 if test "x$ac_cv_func_fabsf" = x""yes; then :
40609   cat >>confdefs.h <<_ACEOF
40610 #define HAVE_FABSF 1
40611 _ACEOF
40612
40613 fi
40614 done
40615
40616   else
40617
40618   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
40619 $as_echo_n "checking for _fabsf declaration... " >&6; }
40620   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
40621     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
40622   $as_echo_n "(cached) " >&6
40623 else
40624
40625
40626       ac_ext=cpp
40627 ac_cpp='$CXXCPP $CPPFLAGS'
40628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40631
40632       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40633 /* end confdefs.h.  */
40634 #include <math.h>
40635                       #ifdef HAVE_IEEEFP_H
40636                       #include <ieeefp.h>
40637                       #endif
40638
40639 int
40640 main ()
40641 {
40642  _fabsf(0);
40643   ;
40644   return 0;
40645 }
40646 _ACEOF
40647 if ac_fn_cxx_try_compile "$LINENO"; then :
40648   glibcxx_cv_func__fabsf_use=yes
40649 else
40650   glibcxx_cv_func__fabsf_use=no
40651 fi
40652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40653       ac_ext=c
40654 ac_cpp='$CPP $CPPFLAGS'
40655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40658
40659
40660 fi
40661
40662   fi
40663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
40664 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
40665
40666     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
40667       for ac_func in _fabsf
40668 do :
40669   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
40670 if test "x$ac_cv_func__fabsf" = x""yes; then :
40671   cat >>confdefs.h <<_ACEOF
40672 #define HAVE__FABSF 1
40673 _ACEOF
40674
40675 fi
40676 done
40677
40678     fi
40679   fi
40680
40681
40682
40683
40684
40685   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
40686 $as_echo_n "checking for fmodf declaration... " >&6; }
40687   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
40688     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
40689   $as_echo_n "(cached) " >&6
40690 else
40691
40692
40693       ac_ext=cpp
40694 ac_cpp='$CXXCPP $CPPFLAGS'
40695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40698
40699       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40700 /* end confdefs.h.  */
40701 #include <math.h>
40702 int
40703 main ()
40704 {
40705  fmodf(0, 0);
40706   ;
40707   return 0;
40708 }
40709 _ACEOF
40710 if ac_fn_cxx_try_compile "$LINENO"; then :
40711   glibcxx_cv_func_fmodf_use=yes
40712 else
40713   glibcxx_cv_func_fmodf_use=no
40714 fi
40715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40716       ac_ext=c
40717 ac_cpp='$CPP $CPPFLAGS'
40718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40721
40722
40723 fi
40724
40725   fi
40726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
40727 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
40728
40729   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
40730     for ac_func in fmodf
40731 do :
40732   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
40733 if test "x$ac_cv_func_fmodf" = x""yes; then :
40734   cat >>confdefs.h <<_ACEOF
40735 #define HAVE_FMODF 1
40736 _ACEOF
40737
40738 fi
40739 done
40740
40741   else
40742
40743   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
40744 $as_echo_n "checking for _fmodf declaration... " >&6; }
40745   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
40746     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
40747   $as_echo_n "(cached) " >&6
40748 else
40749
40750
40751       ac_ext=cpp
40752 ac_cpp='$CXXCPP $CPPFLAGS'
40753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40756
40757       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40758 /* end confdefs.h.  */
40759 #include <math.h>
40760 int
40761 main ()
40762 {
40763  _fmodf(0, 0);
40764   ;
40765   return 0;
40766 }
40767 _ACEOF
40768 if ac_fn_cxx_try_compile "$LINENO"; then :
40769   glibcxx_cv_func__fmodf_use=yes
40770 else
40771   glibcxx_cv_func__fmodf_use=no
40772 fi
40773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40774       ac_ext=c
40775 ac_cpp='$CPP $CPPFLAGS'
40776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40779
40780
40781 fi
40782
40783   fi
40784   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
40785 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
40786
40787     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
40788       for ac_func in _fmodf
40789 do :
40790   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
40791 if test "x$ac_cv_func__fmodf" = x""yes; then :
40792   cat >>confdefs.h <<_ACEOF
40793 #define HAVE__FMODF 1
40794 _ACEOF
40795
40796 fi
40797 done
40798
40799     fi
40800   fi
40801
40802
40803
40804
40805
40806   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
40807 $as_echo_n "checking for frexpf declaration... " >&6; }
40808   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
40809     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
40810   $as_echo_n "(cached) " >&6
40811 else
40812
40813
40814       ac_ext=cpp
40815 ac_cpp='$CXXCPP $CPPFLAGS'
40816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40819
40820       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40821 /* end confdefs.h.  */
40822 #include <math.h>
40823 int
40824 main ()
40825 {
40826  frexpf(0, 0);
40827   ;
40828   return 0;
40829 }
40830 _ACEOF
40831 if ac_fn_cxx_try_compile "$LINENO"; then :
40832   glibcxx_cv_func_frexpf_use=yes
40833 else
40834   glibcxx_cv_func_frexpf_use=no
40835 fi
40836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40837       ac_ext=c
40838 ac_cpp='$CPP $CPPFLAGS'
40839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40842
40843
40844 fi
40845
40846   fi
40847   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
40848 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
40849
40850   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
40851     for ac_func in frexpf
40852 do :
40853   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
40854 if test "x$ac_cv_func_frexpf" = x""yes; then :
40855   cat >>confdefs.h <<_ACEOF
40856 #define HAVE_FREXPF 1
40857 _ACEOF
40858
40859 fi
40860 done
40861
40862   else
40863
40864   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
40865 $as_echo_n "checking for _frexpf declaration... " >&6; }
40866   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
40867     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
40868   $as_echo_n "(cached) " >&6
40869 else
40870
40871
40872       ac_ext=cpp
40873 ac_cpp='$CXXCPP $CPPFLAGS'
40874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40877
40878       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40879 /* end confdefs.h.  */
40880 #include <math.h>
40881 int
40882 main ()
40883 {
40884  _frexpf(0, 0);
40885   ;
40886   return 0;
40887 }
40888 _ACEOF
40889 if ac_fn_cxx_try_compile "$LINENO"; then :
40890   glibcxx_cv_func__frexpf_use=yes
40891 else
40892   glibcxx_cv_func__frexpf_use=no
40893 fi
40894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40895       ac_ext=c
40896 ac_cpp='$CPP $CPPFLAGS'
40897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40900
40901
40902 fi
40903
40904   fi
40905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
40906 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
40907
40908     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
40909       for ac_func in _frexpf
40910 do :
40911   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
40912 if test "x$ac_cv_func__frexpf" = x""yes; then :
40913   cat >>confdefs.h <<_ACEOF
40914 #define HAVE__FREXPF 1
40915 _ACEOF
40916
40917 fi
40918 done
40919
40920     fi
40921   fi
40922
40923
40924
40925
40926
40927   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
40928 $as_echo_n "checking for hypotf declaration... " >&6; }
40929   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
40930     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
40931   $as_echo_n "(cached) " >&6
40932 else
40933
40934
40935       ac_ext=cpp
40936 ac_cpp='$CXXCPP $CPPFLAGS'
40937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40940
40941       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40942 /* end confdefs.h.  */
40943 #include <math.h>
40944 int
40945 main ()
40946 {
40947  hypotf(0, 0);
40948   ;
40949   return 0;
40950 }
40951 _ACEOF
40952 if ac_fn_cxx_try_compile "$LINENO"; then :
40953   glibcxx_cv_func_hypotf_use=yes
40954 else
40955   glibcxx_cv_func_hypotf_use=no
40956 fi
40957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40958       ac_ext=c
40959 ac_cpp='$CPP $CPPFLAGS'
40960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40963
40964
40965 fi
40966
40967   fi
40968   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
40969 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
40970
40971   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
40972     for ac_func in hypotf
40973 do :
40974   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
40975 if test "x$ac_cv_func_hypotf" = x""yes; then :
40976   cat >>confdefs.h <<_ACEOF
40977 #define HAVE_HYPOTF 1
40978 _ACEOF
40979
40980 fi
40981 done
40982
40983   else
40984
40985   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
40986 $as_echo_n "checking for _hypotf declaration... " >&6; }
40987   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
40988     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
40989   $as_echo_n "(cached) " >&6
40990 else
40991
40992
40993       ac_ext=cpp
40994 ac_cpp='$CXXCPP $CPPFLAGS'
40995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40998
40999       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41000 /* end confdefs.h.  */
41001 #include <math.h>
41002 int
41003 main ()
41004 {
41005  _hypotf(0, 0);
41006   ;
41007   return 0;
41008 }
41009 _ACEOF
41010 if ac_fn_cxx_try_compile "$LINENO"; then :
41011   glibcxx_cv_func__hypotf_use=yes
41012 else
41013   glibcxx_cv_func__hypotf_use=no
41014 fi
41015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41016       ac_ext=c
41017 ac_cpp='$CPP $CPPFLAGS'
41018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41021
41022
41023 fi
41024
41025   fi
41026   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
41027 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
41028
41029     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
41030       for ac_func in _hypotf
41031 do :
41032   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
41033 if test "x$ac_cv_func__hypotf" = x""yes; then :
41034   cat >>confdefs.h <<_ACEOF
41035 #define HAVE__HYPOTF 1
41036 _ACEOF
41037
41038 fi
41039 done
41040
41041     fi
41042   fi
41043
41044
41045
41046
41047
41048   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
41049 $as_echo_n "checking for ldexpf declaration... " >&6; }
41050   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
41051     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
41052   $as_echo_n "(cached) " >&6
41053 else
41054
41055
41056       ac_ext=cpp
41057 ac_cpp='$CXXCPP $CPPFLAGS'
41058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41061
41062       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41063 /* end confdefs.h.  */
41064 #include <math.h>
41065 int
41066 main ()
41067 {
41068  ldexpf(0, 0);
41069   ;
41070   return 0;
41071 }
41072 _ACEOF
41073 if ac_fn_cxx_try_compile "$LINENO"; then :
41074   glibcxx_cv_func_ldexpf_use=yes
41075 else
41076   glibcxx_cv_func_ldexpf_use=no
41077 fi
41078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41079       ac_ext=c
41080 ac_cpp='$CPP $CPPFLAGS'
41081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41084
41085
41086 fi
41087
41088   fi
41089   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
41090 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
41091
41092   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
41093     for ac_func in ldexpf
41094 do :
41095   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
41096 if test "x$ac_cv_func_ldexpf" = x""yes; then :
41097   cat >>confdefs.h <<_ACEOF
41098 #define HAVE_LDEXPF 1
41099 _ACEOF
41100
41101 fi
41102 done
41103
41104   else
41105
41106   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
41107 $as_echo_n "checking for _ldexpf declaration... " >&6; }
41108   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
41109     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
41110   $as_echo_n "(cached) " >&6
41111 else
41112
41113
41114       ac_ext=cpp
41115 ac_cpp='$CXXCPP $CPPFLAGS'
41116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41119
41120       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41121 /* end confdefs.h.  */
41122 #include <math.h>
41123 int
41124 main ()
41125 {
41126  _ldexpf(0, 0);
41127   ;
41128   return 0;
41129 }
41130 _ACEOF
41131 if ac_fn_cxx_try_compile "$LINENO"; then :
41132   glibcxx_cv_func__ldexpf_use=yes
41133 else
41134   glibcxx_cv_func__ldexpf_use=no
41135 fi
41136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41137       ac_ext=c
41138 ac_cpp='$CPP $CPPFLAGS'
41139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41142
41143
41144 fi
41145
41146   fi
41147   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
41148 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
41149
41150     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
41151       for ac_func in _ldexpf
41152 do :
41153   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
41154 if test "x$ac_cv_func__ldexpf" = x""yes; then :
41155   cat >>confdefs.h <<_ACEOF
41156 #define HAVE__LDEXPF 1
41157 _ACEOF
41158
41159 fi
41160 done
41161
41162     fi
41163   fi
41164
41165
41166
41167
41168
41169   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
41170 $as_echo_n "checking for logf declaration... " >&6; }
41171   if test x${glibcxx_cv_func_logf_use+set} != xset; then
41172     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
41173   $as_echo_n "(cached) " >&6
41174 else
41175
41176
41177       ac_ext=cpp
41178 ac_cpp='$CXXCPP $CPPFLAGS'
41179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41182
41183       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41184 /* end confdefs.h.  */
41185 #include <math.h>
41186                       #ifdef HAVE_IEEEFP_H
41187                       #include <ieeefp.h>
41188                       #endif
41189
41190 int
41191 main ()
41192 {
41193  logf(0);
41194   ;
41195   return 0;
41196 }
41197 _ACEOF
41198 if ac_fn_cxx_try_compile "$LINENO"; then :
41199   glibcxx_cv_func_logf_use=yes
41200 else
41201   glibcxx_cv_func_logf_use=no
41202 fi
41203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41204       ac_ext=c
41205 ac_cpp='$CPP $CPPFLAGS'
41206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41209
41210
41211 fi
41212
41213   fi
41214   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
41215 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
41216
41217   if test x$glibcxx_cv_func_logf_use = x"yes"; then
41218     for ac_func in logf
41219 do :
41220   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
41221 if test "x$ac_cv_func_logf" = x""yes; then :
41222   cat >>confdefs.h <<_ACEOF
41223 #define HAVE_LOGF 1
41224 _ACEOF
41225
41226 fi
41227 done
41228
41229   else
41230
41231   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
41232 $as_echo_n "checking for _logf declaration... " >&6; }
41233   if test x${glibcxx_cv_func__logf_use+set} != xset; then
41234     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
41235   $as_echo_n "(cached) " >&6
41236 else
41237
41238
41239       ac_ext=cpp
41240 ac_cpp='$CXXCPP $CPPFLAGS'
41241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41244
41245       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41246 /* end confdefs.h.  */
41247 #include <math.h>
41248                       #ifdef HAVE_IEEEFP_H
41249                       #include <ieeefp.h>
41250                       #endif
41251
41252 int
41253 main ()
41254 {
41255  _logf(0);
41256   ;
41257   return 0;
41258 }
41259 _ACEOF
41260 if ac_fn_cxx_try_compile "$LINENO"; then :
41261   glibcxx_cv_func__logf_use=yes
41262 else
41263   glibcxx_cv_func__logf_use=no
41264 fi
41265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41266       ac_ext=c
41267 ac_cpp='$CPP $CPPFLAGS'
41268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41271
41272
41273 fi
41274
41275   fi
41276   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
41277 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
41278
41279     if test x$glibcxx_cv_func__logf_use = x"yes"; then
41280       for ac_func in _logf
41281 do :
41282   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
41283 if test "x$ac_cv_func__logf" = x""yes; then :
41284   cat >>confdefs.h <<_ACEOF
41285 #define HAVE__LOGF 1
41286 _ACEOF
41287
41288 fi
41289 done
41290
41291     fi
41292   fi
41293
41294
41295
41296
41297
41298   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
41299 $as_echo_n "checking for log10f declaration... " >&6; }
41300   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
41301     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
41302   $as_echo_n "(cached) " >&6
41303 else
41304
41305
41306       ac_ext=cpp
41307 ac_cpp='$CXXCPP $CPPFLAGS'
41308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41311
41312       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41313 /* end confdefs.h.  */
41314 #include <math.h>
41315                       #ifdef HAVE_IEEEFP_H
41316                       #include <ieeefp.h>
41317                       #endif
41318
41319 int
41320 main ()
41321 {
41322  log10f(0);
41323   ;
41324   return 0;
41325 }
41326 _ACEOF
41327 if ac_fn_cxx_try_compile "$LINENO"; then :
41328   glibcxx_cv_func_log10f_use=yes
41329 else
41330   glibcxx_cv_func_log10f_use=no
41331 fi
41332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41333       ac_ext=c
41334 ac_cpp='$CPP $CPPFLAGS'
41335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41338
41339
41340 fi
41341
41342   fi
41343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
41344 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
41345
41346   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
41347     for ac_func in log10f
41348 do :
41349   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
41350 if test "x$ac_cv_func_log10f" = x""yes; then :
41351   cat >>confdefs.h <<_ACEOF
41352 #define HAVE_LOG10F 1
41353 _ACEOF
41354
41355 fi
41356 done
41357
41358   else
41359
41360   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
41361 $as_echo_n "checking for _log10f declaration... " >&6; }
41362   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
41363     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
41364   $as_echo_n "(cached) " >&6
41365 else
41366
41367
41368       ac_ext=cpp
41369 ac_cpp='$CXXCPP $CPPFLAGS'
41370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41373
41374       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41375 /* end confdefs.h.  */
41376 #include <math.h>
41377                       #ifdef HAVE_IEEEFP_H
41378                       #include <ieeefp.h>
41379                       #endif
41380
41381 int
41382 main ()
41383 {
41384  _log10f(0);
41385   ;
41386   return 0;
41387 }
41388 _ACEOF
41389 if ac_fn_cxx_try_compile "$LINENO"; then :
41390   glibcxx_cv_func__log10f_use=yes
41391 else
41392   glibcxx_cv_func__log10f_use=no
41393 fi
41394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41395       ac_ext=c
41396 ac_cpp='$CPP $CPPFLAGS'
41397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41400
41401
41402 fi
41403
41404   fi
41405   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
41406 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
41407
41408     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
41409       for ac_func in _log10f
41410 do :
41411   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
41412 if test "x$ac_cv_func__log10f" = x""yes; then :
41413   cat >>confdefs.h <<_ACEOF
41414 #define HAVE__LOG10F 1
41415 _ACEOF
41416
41417 fi
41418 done
41419
41420     fi
41421   fi
41422
41423
41424
41425
41426
41427   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
41428 $as_echo_n "checking for modff declaration... " >&6; }
41429   if test x${glibcxx_cv_func_modff_use+set} != xset; then
41430     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
41431   $as_echo_n "(cached) " >&6
41432 else
41433
41434
41435       ac_ext=cpp
41436 ac_cpp='$CXXCPP $CPPFLAGS'
41437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41440
41441       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41442 /* end confdefs.h.  */
41443 #include <math.h>
41444 int
41445 main ()
41446 {
41447  modff(0, 0);
41448   ;
41449   return 0;
41450 }
41451 _ACEOF
41452 if ac_fn_cxx_try_compile "$LINENO"; then :
41453   glibcxx_cv_func_modff_use=yes
41454 else
41455   glibcxx_cv_func_modff_use=no
41456 fi
41457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41458       ac_ext=c
41459 ac_cpp='$CPP $CPPFLAGS'
41460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41463
41464
41465 fi
41466
41467   fi
41468   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
41469 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
41470
41471   if test x$glibcxx_cv_func_modff_use = x"yes"; then
41472     for ac_func in modff
41473 do :
41474   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
41475 if test "x$ac_cv_func_modff" = x""yes; then :
41476   cat >>confdefs.h <<_ACEOF
41477 #define HAVE_MODFF 1
41478 _ACEOF
41479
41480 fi
41481 done
41482
41483   else
41484
41485   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
41486 $as_echo_n "checking for _modff declaration... " >&6; }
41487   if test x${glibcxx_cv_func__modff_use+set} != xset; then
41488     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
41489   $as_echo_n "(cached) " >&6
41490 else
41491
41492
41493       ac_ext=cpp
41494 ac_cpp='$CXXCPP $CPPFLAGS'
41495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41498
41499       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41500 /* end confdefs.h.  */
41501 #include <math.h>
41502 int
41503 main ()
41504 {
41505  _modff(0, 0);
41506   ;
41507   return 0;
41508 }
41509 _ACEOF
41510 if ac_fn_cxx_try_compile "$LINENO"; then :
41511   glibcxx_cv_func__modff_use=yes
41512 else
41513   glibcxx_cv_func__modff_use=no
41514 fi
41515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41516       ac_ext=c
41517 ac_cpp='$CPP $CPPFLAGS'
41518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41521
41522
41523 fi
41524
41525   fi
41526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
41527 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
41528
41529     if test x$glibcxx_cv_func__modff_use = x"yes"; then
41530       for ac_func in _modff
41531 do :
41532   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
41533 if test "x$ac_cv_func__modff" = x""yes; then :
41534   cat >>confdefs.h <<_ACEOF
41535 #define HAVE__MODFF 1
41536 _ACEOF
41537
41538 fi
41539 done
41540
41541     fi
41542   fi
41543
41544
41545
41546
41547
41548   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
41549 $as_echo_n "checking for modf declaration... " >&6; }
41550   if test x${glibcxx_cv_func_modf_use+set} != xset; then
41551     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
41552   $as_echo_n "(cached) " >&6
41553 else
41554
41555
41556       ac_ext=cpp
41557 ac_cpp='$CXXCPP $CPPFLAGS'
41558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41561
41562       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41563 /* end confdefs.h.  */
41564 #include <math.h>
41565 int
41566 main ()
41567 {
41568  modf(0, 0);
41569   ;
41570   return 0;
41571 }
41572 _ACEOF
41573 if ac_fn_cxx_try_compile "$LINENO"; then :
41574   glibcxx_cv_func_modf_use=yes
41575 else
41576   glibcxx_cv_func_modf_use=no
41577 fi
41578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41579       ac_ext=c
41580 ac_cpp='$CPP $CPPFLAGS'
41581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41584
41585
41586 fi
41587
41588   fi
41589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
41590 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
41591
41592   if test x$glibcxx_cv_func_modf_use = x"yes"; then
41593     for ac_func in modf
41594 do :
41595   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
41596 if test "x$ac_cv_func_modf" = x""yes; then :
41597   cat >>confdefs.h <<_ACEOF
41598 #define HAVE_MODF 1
41599 _ACEOF
41600
41601 fi
41602 done
41603
41604   else
41605
41606   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
41607 $as_echo_n "checking for _modf declaration... " >&6; }
41608   if test x${glibcxx_cv_func__modf_use+set} != xset; then
41609     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
41610   $as_echo_n "(cached) " >&6
41611 else
41612
41613
41614       ac_ext=cpp
41615 ac_cpp='$CXXCPP $CPPFLAGS'
41616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41619
41620       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41621 /* end confdefs.h.  */
41622 #include <math.h>
41623 int
41624 main ()
41625 {
41626  _modf(0, 0);
41627   ;
41628   return 0;
41629 }
41630 _ACEOF
41631 if ac_fn_cxx_try_compile "$LINENO"; then :
41632   glibcxx_cv_func__modf_use=yes
41633 else
41634   glibcxx_cv_func__modf_use=no
41635 fi
41636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41637       ac_ext=c
41638 ac_cpp='$CPP $CPPFLAGS'
41639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41642
41643
41644 fi
41645
41646   fi
41647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
41648 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
41649
41650     if test x$glibcxx_cv_func__modf_use = x"yes"; then
41651       for ac_func in _modf
41652 do :
41653   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
41654 if test "x$ac_cv_func__modf" = x""yes; then :
41655   cat >>confdefs.h <<_ACEOF
41656 #define HAVE__MODF 1
41657 _ACEOF
41658
41659 fi
41660 done
41661
41662     fi
41663   fi
41664
41665
41666
41667
41668
41669   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
41670 $as_echo_n "checking for powf declaration... " >&6; }
41671   if test x${glibcxx_cv_func_powf_use+set} != xset; then
41672     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
41673   $as_echo_n "(cached) " >&6
41674 else
41675
41676
41677       ac_ext=cpp
41678 ac_cpp='$CXXCPP $CPPFLAGS'
41679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41682
41683       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41684 /* end confdefs.h.  */
41685 #include <math.h>
41686 int
41687 main ()
41688 {
41689  powf(0, 0);
41690   ;
41691   return 0;
41692 }
41693 _ACEOF
41694 if ac_fn_cxx_try_compile "$LINENO"; then :
41695   glibcxx_cv_func_powf_use=yes
41696 else
41697   glibcxx_cv_func_powf_use=no
41698 fi
41699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41700       ac_ext=c
41701 ac_cpp='$CPP $CPPFLAGS'
41702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41705
41706
41707 fi
41708
41709   fi
41710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
41711 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
41712
41713   if test x$glibcxx_cv_func_powf_use = x"yes"; then
41714     for ac_func in powf
41715 do :
41716   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
41717 if test "x$ac_cv_func_powf" = x""yes; then :
41718   cat >>confdefs.h <<_ACEOF
41719 #define HAVE_POWF 1
41720 _ACEOF
41721
41722 fi
41723 done
41724
41725   else
41726
41727   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
41728 $as_echo_n "checking for _powf declaration... " >&6; }
41729   if test x${glibcxx_cv_func__powf_use+set} != xset; then
41730     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
41731   $as_echo_n "(cached) " >&6
41732 else
41733
41734
41735       ac_ext=cpp
41736 ac_cpp='$CXXCPP $CPPFLAGS'
41737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41740
41741       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41742 /* end confdefs.h.  */
41743 #include <math.h>
41744 int
41745 main ()
41746 {
41747  _powf(0, 0);
41748   ;
41749   return 0;
41750 }
41751 _ACEOF
41752 if ac_fn_cxx_try_compile "$LINENO"; then :
41753   glibcxx_cv_func__powf_use=yes
41754 else
41755   glibcxx_cv_func__powf_use=no
41756 fi
41757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41758       ac_ext=c
41759 ac_cpp='$CPP $CPPFLAGS'
41760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41763
41764
41765 fi
41766
41767   fi
41768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
41769 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
41770
41771     if test x$glibcxx_cv_func__powf_use = x"yes"; then
41772       for ac_func in _powf
41773 do :
41774   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
41775 if test "x$ac_cv_func__powf" = x""yes; then :
41776   cat >>confdefs.h <<_ACEOF
41777 #define HAVE__POWF 1
41778 _ACEOF
41779
41780 fi
41781 done
41782
41783     fi
41784   fi
41785
41786
41787
41788
41789
41790   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
41791 $as_echo_n "checking for sqrtf declaration... " >&6; }
41792   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
41793     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
41794   $as_echo_n "(cached) " >&6
41795 else
41796
41797
41798       ac_ext=cpp
41799 ac_cpp='$CXXCPP $CPPFLAGS'
41800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41803
41804       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41805 /* end confdefs.h.  */
41806 #include <math.h>
41807                       #ifdef HAVE_IEEEFP_H
41808                       #include <ieeefp.h>
41809                       #endif
41810
41811 int
41812 main ()
41813 {
41814  sqrtf(0);
41815   ;
41816   return 0;
41817 }
41818 _ACEOF
41819 if ac_fn_cxx_try_compile "$LINENO"; then :
41820   glibcxx_cv_func_sqrtf_use=yes
41821 else
41822   glibcxx_cv_func_sqrtf_use=no
41823 fi
41824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41825       ac_ext=c
41826 ac_cpp='$CPP $CPPFLAGS'
41827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41830
41831
41832 fi
41833
41834   fi
41835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
41836 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
41837
41838   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
41839     for ac_func in sqrtf
41840 do :
41841   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
41842 if test "x$ac_cv_func_sqrtf" = x""yes; then :
41843   cat >>confdefs.h <<_ACEOF
41844 #define HAVE_SQRTF 1
41845 _ACEOF
41846
41847 fi
41848 done
41849
41850   else
41851
41852   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
41853 $as_echo_n "checking for _sqrtf declaration... " >&6; }
41854   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
41855     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
41856   $as_echo_n "(cached) " >&6
41857 else
41858
41859
41860       ac_ext=cpp
41861 ac_cpp='$CXXCPP $CPPFLAGS'
41862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41865
41866       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41867 /* end confdefs.h.  */
41868 #include <math.h>
41869                       #ifdef HAVE_IEEEFP_H
41870                       #include <ieeefp.h>
41871                       #endif
41872
41873 int
41874 main ()
41875 {
41876  _sqrtf(0);
41877   ;
41878   return 0;
41879 }
41880 _ACEOF
41881 if ac_fn_cxx_try_compile "$LINENO"; then :
41882   glibcxx_cv_func__sqrtf_use=yes
41883 else
41884   glibcxx_cv_func__sqrtf_use=no
41885 fi
41886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41887       ac_ext=c
41888 ac_cpp='$CPP $CPPFLAGS'
41889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41892
41893
41894 fi
41895
41896   fi
41897   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
41898 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
41899
41900     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
41901       for ac_func in _sqrtf
41902 do :
41903   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
41904 if test "x$ac_cv_func__sqrtf" = x""yes; then :
41905   cat >>confdefs.h <<_ACEOF
41906 #define HAVE__SQRTF 1
41907 _ACEOF
41908
41909 fi
41910 done
41911
41912     fi
41913   fi
41914
41915
41916
41917
41918
41919   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
41920 $as_echo_n "checking for sincosf declaration... " >&6; }
41921   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
41922     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
41923   $as_echo_n "(cached) " >&6
41924 else
41925
41926
41927       ac_ext=cpp
41928 ac_cpp='$CXXCPP $CPPFLAGS'
41929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41932
41933       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41934 /* end confdefs.h.  */
41935 #include <math.h>
41936 int
41937 main ()
41938 {
41939  sincosf(0, 0, 0);
41940   ;
41941   return 0;
41942 }
41943 _ACEOF
41944 if ac_fn_cxx_try_compile "$LINENO"; then :
41945   glibcxx_cv_func_sincosf_use=yes
41946 else
41947   glibcxx_cv_func_sincosf_use=no
41948 fi
41949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41950       ac_ext=c
41951 ac_cpp='$CPP $CPPFLAGS'
41952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41955
41956
41957 fi
41958
41959   fi
41960   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
41961 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
41962
41963   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
41964     for ac_func in sincosf
41965 do :
41966   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
41967 if test "x$ac_cv_func_sincosf" = x""yes; then :
41968   cat >>confdefs.h <<_ACEOF
41969 #define HAVE_SINCOSF 1
41970 _ACEOF
41971
41972 fi
41973 done
41974
41975   else
41976
41977   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
41978 $as_echo_n "checking for _sincosf declaration... " >&6; }
41979   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
41980     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
41981   $as_echo_n "(cached) " >&6
41982 else
41983
41984
41985       ac_ext=cpp
41986 ac_cpp='$CXXCPP $CPPFLAGS'
41987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41990
41991       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41992 /* end confdefs.h.  */
41993 #include <math.h>
41994 int
41995 main ()
41996 {
41997  _sincosf(0, 0, 0);
41998   ;
41999   return 0;
42000 }
42001 _ACEOF
42002 if ac_fn_cxx_try_compile "$LINENO"; then :
42003   glibcxx_cv_func__sincosf_use=yes
42004 else
42005   glibcxx_cv_func__sincosf_use=no
42006 fi
42007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42008       ac_ext=c
42009 ac_cpp='$CPP $CPPFLAGS'
42010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42013
42014
42015 fi
42016
42017   fi
42018   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
42019 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
42020
42021     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42022       for ac_func in _sincosf
42023 do :
42024   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
42025 if test "x$ac_cv_func__sincosf" = x""yes; then :
42026   cat >>confdefs.h <<_ACEOF
42027 #define HAVE__SINCOSF 1
42028 _ACEOF
42029
42030 fi
42031 done
42032
42033     fi
42034   fi
42035
42036
42037
42038
42039
42040   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
42041 $as_echo_n "checking for finitef declaration... " >&6; }
42042   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42043     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
42044   $as_echo_n "(cached) " >&6
42045 else
42046
42047
42048       ac_ext=cpp
42049 ac_cpp='$CXXCPP $CPPFLAGS'
42050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42053
42054       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42055 /* end confdefs.h.  */
42056 #include <math.h>
42057                       #ifdef HAVE_IEEEFP_H
42058                       #include <ieeefp.h>
42059                       #endif
42060
42061 int
42062 main ()
42063 {
42064  finitef(0);
42065   ;
42066   return 0;
42067 }
42068 _ACEOF
42069 if ac_fn_cxx_try_compile "$LINENO"; then :
42070   glibcxx_cv_func_finitef_use=yes
42071 else
42072   glibcxx_cv_func_finitef_use=no
42073 fi
42074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42075       ac_ext=c
42076 ac_cpp='$CPP $CPPFLAGS'
42077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42080
42081
42082 fi
42083
42084   fi
42085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
42086 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
42087
42088   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42089     for ac_func in finitef
42090 do :
42091   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
42092 if test "x$ac_cv_func_finitef" = x""yes; then :
42093   cat >>confdefs.h <<_ACEOF
42094 #define HAVE_FINITEF 1
42095 _ACEOF
42096
42097 fi
42098 done
42099
42100   else
42101
42102   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
42103 $as_echo_n "checking for _finitef declaration... " >&6; }
42104   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
42105     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
42106   $as_echo_n "(cached) " >&6
42107 else
42108
42109
42110       ac_ext=cpp
42111 ac_cpp='$CXXCPP $CPPFLAGS'
42112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42115
42116       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42117 /* end confdefs.h.  */
42118 #include <math.h>
42119                       #ifdef HAVE_IEEEFP_H
42120                       #include <ieeefp.h>
42121                       #endif
42122
42123 int
42124 main ()
42125 {
42126  _finitef(0);
42127   ;
42128   return 0;
42129 }
42130 _ACEOF
42131 if ac_fn_cxx_try_compile "$LINENO"; then :
42132   glibcxx_cv_func__finitef_use=yes
42133 else
42134   glibcxx_cv_func__finitef_use=no
42135 fi
42136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42137       ac_ext=c
42138 ac_cpp='$CPP $CPPFLAGS'
42139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42142
42143
42144 fi
42145
42146   fi
42147   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
42148 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
42149
42150     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
42151       for ac_func in _finitef
42152 do :
42153   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
42154 if test "x$ac_cv_func__finitef" = x""yes; then :
42155   cat >>confdefs.h <<_ACEOF
42156 #define HAVE__FINITEF 1
42157 _ACEOF
42158
42159 fi
42160 done
42161
42162     fi
42163   fi
42164
42165
42166
42167
42168
42169     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
42170 $as_echo_n "checking for long double trig functions... " >&6; }
42171   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
42172   $as_echo_n "(cached) " >&6
42173 else
42174
42175
42176     ac_ext=cpp
42177 ac_cpp='$CXXCPP $CPPFLAGS'
42178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42181
42182     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42183 /* end confdefs.h.  */
42184 #include <math.h>
42185 int
42186 main ()
42187 {
42188 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
42189   ;
42190   return 0;
42191 }
42192 _ACEOF
42193 if ac_fn_cxx_try_compile "$LINENO"; then :
42194   glibcxx_cv_func_long_double_trig_use=yes
42195 else
42196   glibcxx_cv_func_long_double_trig_use=no
42197 fi
42198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42199     ac_ext=c
42200 ac_cpp='$CPP $CPPFLAGS'
42201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42204
42205 fi
42206
42207   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
42208 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
42209   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
42210     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
42211 do :
42212   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42213 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42214 eval as_val=\$$as_ac_var
42215    if test "x$as_val" = x""yes; then :
42216   cat >>confdefs.h <<_ACEOF
42217 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42218 _ACEOF
42219
42220 fi
42221 done
42222
42223   else
42224     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
42225 $as_echo_n "checking for _long double trig functions... " >&6; }
42226     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
42227   $as_echo_n "(cached) " >&6
42228 else
42229
42230
42231       ac_ext=cpp
42232 ac_cpp='$CXXCPP $CPPFLAGS'
42233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42236
42237       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42238 /* end confdefs.h.  */
42239 #include <math.h>
42240 int
42241 main ()
42242 {
42243 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
42244   ;
42245   return 0;
42246 }
42247 _ACEOF
42248 if ac_fn_cxx_try_compile "$LINENO"; then :
42249   glibcxx_cv_func__long_double_trig_use=yes
42250 else
42251   glibcxx_cv_func__long_double_trig_use=no
42252 fi
42253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42254       ac_ext=c
42255 ac_cpp='$CPP $CPPFLAGS'
42256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42259
42260 fi
42261
42262     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
42263 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
42264     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
42265       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
42266 do :
42267   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42268 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42269 eval as_val=\$$as_ac_var
42270    if test "x$as_val" = x""yes; then :
42271   cat >>confdefs.h <<_ACEOF
42272 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42273 _ACEOF
42274
42275 fi
42276 done
42277
42278     fi
42279   fi
42280
42281
42282
42283
42284
42285     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
42286 $as_echo_n "checking for long double round functions... " >&6; }
42287   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
42288   $as_echo_n "(cached) " >&6
42289 else
42290
42291
42292     ac_ext=cpp
42293 ac_cpp='$CXXCPP $CPPFLAGS'
42294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42297
42298     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42299 /* end confdefs.h.  */
42300 #include <math.h>
42301 int
42302 main ()
42303 {
42304 ceill (0); floorl (0);
42305   ;
42306   return 0;
42307 }
42308 _ACEOF
42309 if ac_fn_cxx_try_compile "$LINENO"; then :
42310   glibcxx_cv_func_long_double_round_use=yes
42311 else
42312   glibcxx_cv_func_long_double_round_use=no
42313 fi
42314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42315     ac_ext=c
42316 ac_cpp='$CPP $CPPFLAGS'
42317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42320
42321 fi
42322
42323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
42324 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
42325   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
42326     for ac_func in ceill floorl
42327 do :
42328   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42329 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42330 eval as_val=\$$as_ac_var
42331    if test "x$as_val" = x""yes; then :
42332   cat >>confdefs.h <<_ACEOF
42333 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42334 _ACEOF
42335
42336 fi
42337 done
42338
42339   else
42340     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
42341 $as_echo_n "checking for _long double round functions... " >&6; }
42342     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
42343   $as_echo_n "(cached) " >&6
42344 else
42345
42346
42347       ac_ext=cpp
42348 ac_cpp='$CXXCPP $CPPFLAGS'
42349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42352
42353       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42354 /* end confdefs.h.  */
42355 #include <math.h>
42356 int
42357 main ()
42358 {
42359 _ceill (0); _floorl (0);
42360   ;
42361   return 0;
42362 }
42363 _ACEOF
42364 if ac_fn_cxx_try_compile "$LINENO"; then :
42365   glibcxx_cv_func__long_double_round_use=yes
42366 else
42367   glibcxx_cv_func__long_double_round_use=no
42368 fi
42369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42370       ac_ext=c
42371 ac_cpp='$CPP $CPPFLAGS'
42372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42375
42376 fi
42377
42378     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
42379 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
42380     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
42381       for ac_func in _ceill _floorl
42382 do :
42383   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42384 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42385 eval as_val=\$$as_ac_var
42386    if test "x$as_val" = x""yes; then :
42387   cat >>confdefs.h <<_ACEOF
42388 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42389 _ACEOF
42390
42391 fi
42392 done
42393
42394     fi
42395   fi
42396
42397
42398
42399
42400
42401
42402   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
42403 $as_echo_n "checking for isnanl declaration... " >&6; }
42404   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
42405     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
42406   $as_echo_n "(cached) " >&6
42407 else
42408
42409
42410       ac_ext=cpp
42411 ac_cpp='$CXXCPP $CPPFLAGS'
42412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42415
42416       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42417 /* end confdefs.h.  */
42418 #include <math.h>
42419                       #ifdef HAVE_IEEEFP_H
42420                       #include <ieeefp.h>
42421                       #endif
42422
42423 int
42424 main ()
42425 {
42426  isnanl(0);
42427   ;
42428   return 0;
42429 }
42430 _ACEOF
42431 if ac_fn_cxx_try_compile "$LINENO"; then :
42432   glibcxx_cv_func_isnanl_use=yes
42433 else
42434   glibcxx_cv_func_isnanl_use=no
42435 fi
42436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42437       ac_ext=c
42438 ac_cpp='$CPP $CPPFLAGS'
42439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42442
42443
42444 fi
42445
42446   fi
42447   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
42448 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
42449
42450   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
42451     for ac_func in isnanl
42452 do :
42453   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
42454 if test "x$ac_cv_func_isnanl" = x""yes; then :
42455   cat >>confdefs.h <<_ACEOF
42456 #define HAVE_ISNANL 1
42457 _ACEOF
42458
42459 fi
42460 done
42461
42462   else
42463
42464   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
42465 $as_echo_n "checking for _isnanl declaration... " >&6; }
42466   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
42467     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
42468   $as_echo_n "(cached) " >&6
42469 else
42470
42471
42472       ac_ext=cpp
42473 ac_cpp='$CXXCPP $CPPFLAGS'
42474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42477
42478       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42479 /* end confdefs.h.  */
42480 #include <math.h>
42481                       #ifdef HAVE_IEEEFP_H
42482                       #include <ieeefp.h>
42483                       #endif
42484
42485 int
42486 main ()
42487 {
42488  _isnanl(0);
42489   ;
42490   return 0;
42491 }
42492 _ACEOF
42493 if ac_fn_cxx_try_compile "$LINENO"; then :
42494   glibcxx_cv_func__isnanl_use=yes
42495 else
42496   glibcxx_cv_func__isnanl_use=no
42497 fi
42498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42499       ac_ext=c
42500 ac_cpp='$CPP $CPPFLAGS'
42501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42504
42505
42506 fi
42507
42508   fi
42509   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
42510 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
42511
42512     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
42513       for ac_func in _isnanl
42514 do :
42515   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
42516 if test "x$ac_cv_func__isnanl" = x""yes; then :
42517   cat >>confdefs.h <<_ACEOF
42518 #define HAVE__ISNANL 1
42519 _ACEOF
42520
42521 fi
42522 done
42523
42524     fi
42525   fi
42526
42527
42528
42529
42530
42531   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
42532 $as_echo_n "checking for isinfl declaration... " >&6; }
42533   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
42534     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
42535   $as_echo_n "(cached) " >&6
42536 else
42537
42538
42539       ac_ext=cpp
42540 ac_cpp='$CXXCPP $CPPFLAGS'
42541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42544
42545       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42546 /* end confdefs.h.  */
42547 #include <math.h>
42548                       #ifdef HAVE_IEEEFP_H
42549                       #include <ieeefp.h>
42550                       #endif
42551
42552 int
42553 main ()
42554 {
42555  isinfl(0);
42556   ;
42557   return 0;
42558 }
42559 _ACEOF
42560 if ac_fn_cxx_try_compile "$LINENO"; then :
42561   glibcxx_cv_func_isinfl_use=yes
42562 else
42563   glibcxx_cv_func_isinfl_use=no
42564 fi
42565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42566       ac_ext=c
42567 ac_cpp='$CPP $CPPFLAGS'
42568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42571
42572
42573 fi
42574
42575   fi
42576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
42577 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
42578
42579   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
42580     for ac_func in isinfl
42581 do :
42582   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
42583 if test "x$ac_cv_func_isinfl" = x""yes; then :
42584   cat >>confdefs.h <<_ACEOF
42585 #define HAVE_ISINFL 1
42586 _ACEOF
42587
42588 fi
42589 done
42590
42591   else
42592
42593   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
42594 $as_echo_n "checking for _isinfl declaration... " >&6; }
42595   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42596     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
42597   $as_echo_n "(cached) " >&6
42598 else
42599
42600
42601       ac_ext=cpp
42602 ac_cpp='$CXXCPP $CPPFLAGS'
42603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42606
42607       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42608 /* end confdefs.h.  */
42609 #include <math.h>
42610                       #ifdef HAVE_IEEEFP_H
42611                       #include <ieeefp.h>
42612                       #endif
42613
42614 int
42615 main ()
42616 {
42617  _isinfl(0);
42618   ;
42619   return 0;
42620 }
42621 _ACEOF
42622 if ac_fn_cxx_try_compile "$LINENO"; then :
42623   glibcxx_cv_func__isinfl_use=yes
42624 else
42625   glibcxx_cv_func__isinfl_use=no
42626 fi
42627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42628       ac_ext=c
42629 ac_cpp='$CPP $CPPFLAGS'
42630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42633
42634
42635 fi
42636
42637   fi
42638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
42639 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
42640
42641     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42642       for ac_func in _isinfl
42643 do :
42644   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
42645 if test "x$ac_cv_func__isinfl" = x""yes; then :
42646   cat >>confdefs.h <<_ACEOF
42647 #define HAVE__ISINFL 1
42648 _ACEOF
42649
42650 fi
42651 done
42652
42653     fi
42654   fi
42655
42656
42657
42658
42659
42660   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
42661 $as_echo_n "checking for atan2l declaration... " >&6; }
42662   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42663     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
42664   $as_echo_n "(cached) " >&6
42665 else
42666
42667
42668       ac_ext=cpp
42669 ac_cpp='$CXXCPP $CPPFLAGS'
42670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42673
42674       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42675 /* end confdefs.h.  */
42676 #include <math.h>
42677 int
42678 main ()
42679 {
42680  atan2l(0, 0);
42681   ;
42682   return 0;
42683 }
42684 _ACEOF
42685 if ac_fn_cxx_try_compile "$LINENO"; then :
42686   glibcxx_cv_func_atan2l_use=yes
42687 else
42688   glibcxx_cv_func_atan2l_use=no
42689 fi
42690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42691       ac_ext=c
42692 ac_cpp='$CPP $CPPFLAGS'
42693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42696
42697
42698 fi
42699
42700   fi
42701   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
42702 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
42703
42704   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42705     for ac_func in atan2l
42706 do :
42707   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
42708 if test "x$ac_cv_func_atan2l" = x""yes; then :
42709   cat >>confdefs.h <<_ACEOF
42710 #define HAVE_ATAN2L 1
42711 _ACEOF
42712
42713 fi
42714 done
42715
42716   else
42717
42718   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
42719 $as_echo_n "checking for _atan2l declaration... " >&6; }
42720   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42721     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
42722   $as_echo_n "(cached) " >&6
42723 else
42724
42725
42726       ac_ext=cpp
42727 ac_cpp='$CXXCPP $CPPFLAGS'
42728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42731
42732       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42733 /* end confdefs.h.  */
42734 #include <math.h>
42735 int
42736 main ()
42737 {
42738  _atan2l(0, 0);
42739   ;
42740   return 0;
42741 }
42742 _ACEOF
42743 if ac_fn_cxx_try_compile "$LINENO"; then :
42744   glibcxx_cv_func__atan2l_use=yes
42745 else
42746   glibcxx_cv_func__atan2l_use=no
42747 fi
42748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42749       ac_ext=c
42750 ac_cpp='$CPP $CPPFLAGS'
42751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42754
42755
42756 fi
42757
42758   fi
42759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
42760 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
42761
42762     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42763       for ac_func in _atan2l
42764 do :
42765   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
42766 if test "x$ac_cv_func__atan2l" = x""yes; then :
42767   cat >>confdefs.h <<_ACEOF
42768 #define HAVE__ATAN2L 1
42769 _ACEOF
42770
42771 fi
42772 done
42773
42774     fi
42775   fi
42776
42777
42778
42779
42780
42781   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
42782 $as_echo_n "checking for expl declaration... " >&6; }
42783   if test x${glibcxx_cv_func_expl_use+set} != xset; then
42784     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
42785   $as_echo_n "(cached) " >&6
42786 else
42787
42788
42789       ac_ext=cpp
42790 ac_cpp='$CXXCPP $CPPFLAGS'
42791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42794
42795       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42796 /* end confdefs.h.  */
42797 #include <math.h>
42798                       #ifdef HAVE_IEEEFP_H
42799                       #include <ieeefp.h>
42800                       #endif
42801
42802 int
42803 main ()
42804 {
42805  expl(0);
42806   ;
42807   return 0;
42808 }
42809 _ACEOF
42810 if ac_fn_cxx_try_compile "$LINENO"; then :
42811   glibcxx_cv_func_expl_use=yes
42812 else
42813   glibcxx_cv_func_expl_use=no
42814 fi
42815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42816       ac_ext=c
42817 ac_cpp='$CPP $CPPFLAGS'
42818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42821
42822
42823 fi
42824
42825   fi
42826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
42827 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
42828
42829   if test x$glibcxx_cv_func_expl_use = x"yes"; then
42830     for ac_func in expl
42831 do :
42832   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
42833 if test "x$ac_cv_func_expl" = x""yes; then :
42834   cat >>confdefs.h <<_ACEOF
42835 #define HAVE_EXPL 1
42836 _ACEOF
42837
42838 fi
42839 done
42840
42841   else
42842
42843   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
42844 $as_echo_n "checking for _expl declaration... " >&6; }
42845   if test x${glibcxx_cv_func__expl_use+set} != xset; then
42846     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
42847   $as_echo_n "(cached) " >&6
42848 else
42849
42850
42851       ac_ext=cpp
42852 ac_cpp='$CXXCPP $CPPFLAGS'
42853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42856
42857       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42858 /* end confdefs.h.  */
42859 #include <math.h>
42860                       #ifdef HAVE_IEEEFP_H
42861                       #include <ieeefp.h>
42862                       #endif
42863
42864 int
42865 main ()
42866 {
42867  _expl(0);
42868   ;
42869   return 0;
42870 }
42871 _ACEOF
42872 if ac_fn_cxx_try_compile "$LINENO"; then :
42873   glibcxx_cv_func__expl_use=yes
42874 else
42875   glibcxx_cv_func__expl_use=no
42876 fi
42877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42878       ac_ext=c
42879 ac_cpp='$CPP $CPPFLAGS'
42880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42883
42884
42885 fi
42886
42887   fi
42888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
42889 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
42890
42891     if test x$glibcxx_cv_func__expl_use = x"yes"; then
42892       for ac_func in _expl
42893 do :
42894   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
42895 if test "x$ac_cv_func__expl" = x""yes; then :
42896   cat >>confdefs.h <<_ACEOF
42897 #define HAVE__EXPL 1
42898 _ACEOF
42899
42900 fi
42901 done
42902
42903     fi
42904   fi
42905
42906
42907
42908
42909
42910   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
42911 $as_echo_n "checking for fabsl declaration... " >&6; }
42912   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
42913     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
42914   $as_echo_n "(cached) " >&6
42915 else
42916
42917
42918       ac_ext=cpp
42919 ac_cpp='$CXXCPP $CPPFLAGS'
42920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42923
42924       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42925 /* end confdefs.h.  */
42926 #include <math.h>
42927                       #ifdef HAVE_IEEEFP_H
42928                       #include <ieeefp.h>
42929                       #endif
42930
42931 int
42932 main ()
42933 {
42934  fabsl(0);
42935   ;
42936   return 0;
42937 }
42938 _ACEOF
42939 if ac_fn_cxx_try_compile "$LINENO"; then :
42940   glibcxx_cv_func_fabsl_use=yes
42941 else
42942   glibcxx_cv_func_fabsl_use=no
42943 fi
42944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42945       ac_ext=c
42946 ac_cpp='$CPP $CPPFLAGS'
42947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42950
42951
42952 fi
42953
42954   fi
42955   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
42956 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
42957
42958   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
42959     for ac_func in fabsl
42960 do :
42961   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
42962 if test "x$ac_cv_func_fabsl" = x""yes; then :
42963   cat >>confdefs.h <<_ACEOF
42964 #define HAVE_FABSL 1
42965 _ACEOF
42966
42967 fi
42968 done
42969
42970   else
42971
42972   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
42973 $as_echo_n "checking for _fabsl declaration... " >&6; }
42974   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
42975     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
42976   $as_echo_n "(cached) " >&6
42977 else
42978
42979
42980       ac_ext=cpp
42981 ac_cpp='$CXXCPP $CPPFLAGS'
42982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42985
42986       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42987 /* end confdefs.h.  */
42988 #include <math.h>
42989                       #ifdef HAVE_IEEEFP_H
42990                       #include <ieeefp.h>
42991                       #endif
42992
42993 int
42994 main ()
42995 {
42996  _fabsl(0);
42997   ;
42998   return 0;
42999 }
43000 _ACEOF
43001 if ac_fn_cxx_try_compile "$LINENO"; then :
43002   glibcxx_cv_func__fabsl_use=yes
43003 else
43004   glibcxx_cv_func__fabsl_use=no
43005 fi
43006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43007       ac_ext=c
43008 ac_cpp='$CPP $CPPFLAGS'
43009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43012
43013
43014 fi
43015
43016   fi
43017   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
43018 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
43019
43020     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43021       for ac_func in _fabsl
43022 do :
43023   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
43024 if test "x$ac_cv_func__fabsl" = x""yes; then :
43025   cat >>confdefs.h <<_ACEOF
43026 #define HAVE__FABSL 1
43027 _ACEOF
43028
43029 fi
43030 done
43031
43032     fi
43033   fi
43034
43035
43036
43037
43038
43039   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
43040 $as_echo_n "checking for fmodl declaration... " >&6; }
43041   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43042     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
43043   $as_echo_n "(cached) " >&6
43044 else
43045
43046
43047       ac_ext=cpp
43048 ac_cpp='$CXXCPP $CPPFLAGS'
43049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43052
43053       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43054 /* end confdefs.h.  */
43055 #include <math.h>
43056 int
43057 main ()
43058 {
43059  fmodl(0, 0);
43060   ;
43061   return 0;
43062 }
43063 _ACEOF
43064 if ac_fn_cxx_try_compile "$LINENO"; then :
43065   glibcxx_cv_func_fmodl_use=yes
43066 else
43067   glibcxx_cv_func_fmodl_use=no
43068 fi
43069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43070       ac_ext=c
43071 ac_cpp='$CPP $CPPFLAGS'
43072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43075
43076
43077 fi
43078
43079   fi
43080   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
43081 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
43082
43083   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43084     for ac_func in fmodl
43085 do :
43086   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
43087 if test "x$ac_cv_func_fmodl" = x""yes; then :
43088   cat >>confdefs.h <<_ACEOF
43089 #define HAVE_FMODL 1
43090 _ACEOF
43091
43092 fi
43093 done
43094
43095   else
43096
43097   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
43098 $as_echo_n "checking for _fmodl declaration... " >&6; }
43099   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43100     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
43101   $as_echo_n "(cached) " >&6
43102 else
43103
43104
43105       ac_ext=cpp
43106 ac_cpp='$CXXCPP $CPPFLAGS'
43107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43110
43111       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43112 /* end confdefs.h.  */
43113 #include <math.h>
43114 int
43115 main ()
43116 {
43117  _fmodl(0, 0);
43118   ;
43119   return 0;
43120 }
43121 _ACEOF
43122 if ac_fn_cxx_try_compile "$LINENO"; then :
43123   glibcxx_cv_func__fmodl_use=yes
43124 else
43125   glibcxx_cv_func__fmodl_use=no
43126 fi
43127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43128       ac_ext=c
43129 ac_cpp='$CPP $CPPFLAGS'
43130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43133
43134
43135 fi
43136
43137   fi
43138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
43139 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
43140
43141     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
43142       for ac_func in _fmodl
43143 do :
43144   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
43145 if test "x$ac_cv_func__fmodl" = x""yes; then :
43146   cat >>confdefs.h <<_ACEOF
43147 #define HAVE__FMODL 1
43148 _ACEOF
43149
43150 fi
43151 done
43152
43153     fi
43154   fi
43155
43156
43157
43158
43159
43160   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
43161 $as_echo_n "checking for frexpl declaration... " >&6; }
43162   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
43163     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
43164   $as_echo_n "(cached) " >&6
43165 else
43166
43167
43168       ac_ext=cpp
43169 ac_cpp='$CXXCPP $CPPFLAGS'
43170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43173
43174       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43175 /* end confdefs.h.  */
43176 #include <math.h>
43177 int
43178 main ()
43179 {
43180  frexpl(0, 0);
43181   ;
43182   return 0;
43183 }
43184 _ACEOF
43185 if ac_fn_cxx_try_compile "$LINENO"; then :
43186   glibcxx_cv_func_frexpl_use=yes
43187 else
43188   glibcxx_cv_func_frexpl_use=no
43189 fi
43190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43191       ac_ext=c
43192 ac_cpp='$CPP $CPPFLAGS'
43193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43196
43197
43198 fi
43199
43200   fi
43201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
43202 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
43203
43204   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
43205     for ac_func in frexpl
43206 do :
43207   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
43208 if test "x$ac_cv_func_frexpl" = x""yes; then :
43209   cat >>confdefs.h <<_ACEOF
43210 #define HAVE_FREXPL 1
43211 _ACEOF
43212
43213 fi
43214 done
43215
43216   else
43217
43218   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
43219 $as_echo_n "checking for _frexpl declaration... " >&6; }
43220   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
43221     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
43222   $as_echo_n "(cached) " >&6
43223 else
43224
43225
43226       ac_ext=cpp
43227 ac_cpp='$CXXCPP $CPPFLAGS'
43228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43231
43232       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43233 /* end confdefs.h.  */
43234 #include <math.h>
43235 int
43236 main ()
43237 {
43238  _frexpl(0, 0);
43239   ;
43240   return 0;
43241 }
43242 _ACEOF
43243 if ac_fn_cxx_try_compile "$LINENO"; then :
43244   glibcxx_cv_func__frexpl_use=yes
43245 else
43246   glibcxx_cv_func__frexpl_use=no
43247 fi
43248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43249       ac_ext=c
43250 ac_cpp='$CPP $CPPFLAGS'
43251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43254
43255
43256 fi
43257
43258   fi
43259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
43260 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
43261
43262     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
43263       for ac_func in _frexpl
43264 do :
43265   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
43266 if test "x$ac_cv_func__frexpl" = x""yes; then :
43267   cat >>confdefs.h <<_ACEOF
43268 #define HAVE__FREXPL 1
43269 _ACEOF
43270
43271 fi
43272 done
43273
43274     fi
43275   fi
43276
43277
43278
43279
43280
43281   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
43282 $as_echo_n "checking for hypotl declaration... " >&6; }
43283   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
43284     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
43285   $as_echo_n "(cached) " >&6
43286 else
43287
43288
43289       ac_ext=cpp
43290 ac_cpp='$CXXCPP $CPPFLAGS'
43291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43294
43295       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43296 /* end confdefs.h.  */
43297 #include <math.h>
43298 int
43299 main ()
43300 {
43301  hypotl(0, 0);
43302   ;
43303   return 0;
43304 }
43305 _ACEOF
43306 if ac_fn_cxx_try_compile "$LINENO"; then :
43307   glibcxx_cv_func_hypotl_use=yes
43308 else
43309   glibcxx_cv_func_hypotl_use=no
43310 fi
43311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43312       ac_ext=c
43313 ac_cpp='$CPP $CPPFLAGS'
43314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43317
43318
43319 fi
43320
43321   fi
43322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
43323 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
43324
43325   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
43326     for ac_func in hypotl
43327 do :
43328   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
43329 if test "x$ac_cv_func_hypotl" = x""yes; then :
43330   cat >>confdefs.h <<_ACEOF
43331 #define HAVE_HYPOTL 1
43332 _ACEOF
43333
43334 fi
43335 done
43336
43337   else
43338
43339   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
43340 $as_echo_n "checking for _hypotl declaration... " >&6; }
43341   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
43342     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
43343   $as_echo_n "(cached) " >&6
43344 else
43345
43346
43347       ac_ext=cpp
43348 ac_cpp='$CXXCPP $CPPFLAGS'
43349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43352
43353       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43354 /* end confdefs.h.  */
43355 #include <math.h>
43356 int
43357 main ()
43358 {
43359  _hypotl(0, 0);
43360   ;
43361   return 0;
43362 }
43363 _ACEOF
43364 if ac_fn_cxx_try_compile "$LINENO"; then :
43365   glibcxx_cv_func__hypotl_use=yes
43366 else
43367   glibcxx_cv_func__hypotl_use=no
43368 fi
43369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43370       ac_ext=c
43371 ac_cpp='$CPP $CPPFLAGS'
43372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43375
43376
43377 fi
43378
43379   fi
43380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
43381 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
43382
43383     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
43384       for ac_func in _hypotl
43385 do :
43386   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
43387 if test "x$ac_cv_func__hypotl" = x""yes; then :
43388   cat >>confdefs.h <<_ACEOF
43389 #define HAVE__HYPOTL 1
43390 _ACEOF
43391
43392 fi
43393 done
43394
43395     fi
43396   fi
43397
43398
43399
43400
43401
43402   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
43403 $as_echo_n "checking for ldexpl declaration... " >&6; }
43404   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
43405     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
43406   $as_echo_n "(cached) " >&6
43407 else
43408
43409
43410       ac_ext=cpp
43411 ac_cpp='$CXXCPP $CPPFLAGS'
43412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43415
43416       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43417 /* end confdefs.h.  */
43418 #include <math.h>
43419 int
43420 main ()
43421 {
43422  ldexpl(0, 0);
43423   ;
43424   return 0;
43425 }
43426 _ACEOF
43427 if ac_fn_cxx_try_compile "$LINENO"; then :
43428   glibcxx_cv_func_ldexpl_use=yes
43429 else
43430   glibcxx_cv_func_ldexpl_use=no
43431 fi
43432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43433       ac_ext=c
43434 ac_cpp='$CPP $CPPFLAGS'
43435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43438
43439
43440 fi
43441
43442   fi
43443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
43444 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
43445
43446   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
43447     for ac_func in ldexpl
43448 do :
43449   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
43450 if test "x$ac_cv_func_ldexpl" = x""yes; then :
43451   cat >>confdefs.h <<_ACEOF
43452 #define HAVE_LDEXPL 1
43453 _ACEOF
43454
43455 fi
43456 done
43457
43458   else
43459
43460   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
43461 $as_echo_n "checking for _ldexpl declaration... " >&6; }
43462   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
43463     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
43464   $as_echo_n "(cached) " >&6
43465 else
43466
43467
43468       ac_ext=cpp
43469 ac_cpp='$CXXCPP $CPPFLAGS'
43470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43473
43474       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43475 /* end confdefs.h.  */
43476 #include <math.h>
43477 int
43478 main ()
43479 {
43480  _ldexpl(0, 0);
43481   ;
43482   return 0;
43483 }
43484 _ACEOF
43485 if ac_fn_cxx_try_compile "$LINENO"; then :
43486   glibcxx_cv_func__ldexpl_use=yes
43487 else
43488   glibcxx_cv_func__ldexpl_use=no
43489 fi
43490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43491       ac_ext=c
43492 ac_cpp='$CPP $CPPFLAGS'
43493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43496
43497
43498 fi
43499
43500   fi
43501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
43502 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
43503
43504     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
43505       for ac_func in _ldexpl
43506 do :
43507   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
43508 if test "x$ac_cv_func__ldexpl" = x""yes; then :
43509   cat >>confdefs.h <<_ACEOF
43510 #define HAVE__LDEXPL 1
43511 _ACEOF
43512
43513 fi
43514 done
43515
43516     fi
43517   fi
43518
43519
43520
43521
43522
43523   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
43524 $as_echo_n "checking for logl declaration... " >&6; }
43525   if test x${glibcxx_cv_func_logl_use+set} != xset; then
43526     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
43527   $as_echo_n "(cached) " >&6
43528 else
43529
43530
43531       ac_ext=cpp
43532 ac_cpp='$CXXCPP $CPPFLAGS'
43533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43536
43537       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43538 /* end confdefs.h.  */
43539 #include <math.h>
43540                       #ifdef HAVE_IEEEFP_H
43541                       #include <ieeefp.h>
43542                       #endif
43543
43544 int
43545 main ()
43546 {
43547  logl(0);
43548   ;
43549   return 0;
43550 }
43551 _ACEOF
43552 if ac_fn_cxx_try_compile "$LINENO"; then :
43553   glibcxx_cv_func_logl_use=yes
43554 else
43555   glibcxx_cv_func_logl_use=no
43556 fi
43557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43558       ac_ext=c
43559 ac_cpp='$CPP $CPPFLAGS'
43560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43563
43564
43565 fi
43566
43567   fi
43568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
43569 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
43570
43571   if test x$glibcxx_cv_func_logl_use = x"yes"; then
43572     for ac_func in logl
43573 do :
43574   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
43575 if test "x$ac_cv_func_logl" = x""yes; then :
43576   cat >>confdefs.h <<_ACEOF
43577 #define HAVE_LOGL 1
43578 _ACEOF
43579
43580 fi
43581 done
43582
43583   else
43584
43585   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
43586 $as_echo_n "checking for _logl declaration... " >&6; }
43587   if test x${glibcxx_cv_func__logl_use+set} != xset; then
43588     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
43589   $as_echo_n "(cached) " >&6
43590 else
43591
43592
43593       ac_ext=cpp
43594 ac_cpp='$CXXCPP $CPPFLAGS'
43595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43598
43599       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43600 /* end confdefs.h.  */
43601 #include <math.h>
43602                       #ifdef HAVE_IEEEFP_H
43603                       #include <ieeefp.h>
43604                       #endif
43605
43606 int
43607 main ()
43608 {
43609  _logl(0);
43610   ;
43611   return 0;
43612 }
43613 _ACEOF
43614 if ac_fn_cxx_try_compile "$LINENO"; then :
43615   glibcxx_cv_func__logl_use=yes
43616 else
43617   glibcxx_cv_func__logl_use=no
43618 fi
43619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43620       ac_ext=c
43621 ac_cpp='$CPP $CPPFLAGS'
43622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43625
43626
43627 fi
43628
43629   fi
43630   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
43631 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
43632
43633     if test x$glibcxx_cv_func__logl_use = x"yes"; then
43634       for ac_func in _logl
43635 do :
43636   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
43637 if test "x$ac_cv_func__logl" = x""yes; then :
43638   cat >>confdefs.h <<_ACEOF
43639 #define HAVE__LOGL 1
43640 _ACEOF
43641
43642 fi
43643 done
43644
43645     fi
43646   fi
43647
43648
43649
43650
43651
43652   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
43653 $as_echo_n "checking for log10l declaration... " >&6; }
43654   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
43655     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
43656   $as_echo_n "(cached) " >&6
43657 else
43658
43659
43660       ac_ext=cpp
43661 ac_cpp='$CXXCPP $CPPFLAGS'
43662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43665
43666       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43667 /* end confdefs.h.  */
43668 #include <math.h>
43669                       #ifdef HAVE_IEEEFP_H
43670                       #include <ieeefp.h>
43671                       #endif
43672
43673 int
43674 main ()
43675 {
43676  log10l(0);
43677   ;
43678   return 0;
43679 }
43680 _ACEOF
43681 if ac_fn_cxx_try_compile "$LINENO"; then :
43682   glibcxx_cv_func_log10l_use=yes
43683 else
43684   glibcxx_cv_func_log10l_use=no
43685 fi
43686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43687       ac_ext=c
43688 ac_cpp='$CPP $CPPFLAGS'
43689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43692
43693
43694 fi
43695
43696   fi
43697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
43698 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
43699
43700   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
43701     for ac_func in log10l
43702 do :
43703   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
43704 if test "x$ac_cv_func_log10l" = x""yes; then :
43705   cat >>confdefs.h <<_ACEOF
43706 #define HAVE_LOG10L 1
43707 _ACEOF
43708
43709 fi
43710 done
43711
43712   else
43713
43714   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
43715 $as_echo_n "checking for _log10l declaration... " >&6; }
43716   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
43717     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
43718   $as_echo_n "(cached) " >&6
43719 else
43720
43721
43722       ac_ext=cpp
43723 ac_cpp='$CXXCPP $CPPFLAGS'
43724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43727
43728       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43729 /* end confdefs.h.  */
43730 #include <math.h>
43731                       #ifdef HAVE_IEEEFP_H
43732                       #include <ieeefp.h>
43733                       #endif
43734
43735 int
43736 main ()
43737 {
43738  _log10l(0);
43739   ;
43740   return 0;
43741 }
43742 _ACEOF
43743 if ac_fn_cxx_try_compile "$LINENO"; then :
43744   glibcxx_cv_func__log10l_use=yes
43745 else
43746   glibcxx_cv_func__log10l_use=no
43747 fi
43748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43749       ac_ext=c
43750 ac_cpp='$CPP $CPPFLAGS'
43751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43754
43755
43756 fi
43757
43758   fi
43759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
43760 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
43761
43762     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
43763       for ac_func in _log10l
43764 do :
43765   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
43766 if test "x$ac_cv_func__log10l" = x""yes; then :
43767   cat >>confdefs.h <<_ACEOF
43768 #define HAVE__LOG10L 1
43769 _ACEOF
43770
43771 fi
43772 done
43773
43774     fi
43775   fi
43776
43777
43778
43779
43780
43781   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
43782 $as_echo_n "checking for modfl declaration... " >&6; }
43783   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
43784     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
43785   $as_echo_n "(cached) " >&6
43786 else
43787
43788
43789       ac_ext=cpp
43790 ac_cpp='$CXXCPP $CPPFLAGS'
43791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43794
43795       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43796 /* end confdefs.h.  */
43797 #include <math.h>
43798 int
43799 main ()
43800 {
43801  modfl(0, 0);
43802   ;
43803   return 0;
43804 }
43805 _ACEOF
43806 if ac_fn_cxx_try_compile "$LINENO"; then :
43807   glibcxx_cv_func_modfl_use=yes
43808 else
43809   glibcxx_cv_func_modfl_use=no
43810 fi
43811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43812       ac_ext=c
43813 ac_cpp='$CPP $CPPFLAGS'
43814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43817
43818
43819 fi
43820
43821   fi
43822   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
43823 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
43824
43825   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
43826     for ac_func in modfl
43827 do :
43828   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
43829 if test "x$ac_cv_func_modfl" = x""yes; then :
43830   cat >>confdefs.h <<_ACEOF
43831 #define HAVE_MODFL 1
43832 _ACEOF
43833
43834 fi
43835 done
43836
43837   else
43838
43839   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
43840 $as_echo_n "checking for _modfl declaration... " >&6; }
43841   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
43842     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
43843   $as_echo_n "(cached) " >&6
43844 else
43845
43846
43847       ac_ext=cpp
43848 ac_cpp='$CXXCPP $CPPFLAGS'
43849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43852
43853       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43854 /* end confdefs.h.  */
43855 #include <math.h>
43856 int
43857 main ()
43858 {
43859  _modfl(0, 0);
43860   ;
43861   return 0;
43862 }
43863 _ACEOF
43864 if ac_fn_cxx_try_compile "$LINENO"; then :
43865   glibcxx_cv_func__modfl_use=yes
43866 else
43867   glibcxx_cv_func__modfl_use=no
43868 fi
43869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43870       ac_ext=c
43871 ac_cpp='$CPP $CPPFLAGS'
43872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43875
43876
43877 fi
43878
43879   fi
43880   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
43881 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
43882
43883     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
43884       for ac_func in _modfl
43885 do :
43886   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
43887 if test "x$ac_cv_func__modfl" = x""yes; then :
43888   cat >>confdefs.h <<_ACEOF
43889 #define HAVE__MODFL 1
43890 _ACEOF
43891
43892 fi
43893 done
43894
43895     fi
43896   fi
43897
43898
43899
43900
43901
43902   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
43903 $as_echo_n "checking for powl declaration... " >&6; }
43904   if test x${glibcxx_cv_func_powl_use+set} != xset; then
43905     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
43906   $as_echo_n "(cached) " >&6
43907 else
43908
43909
43910       ac_ext=cpp
43911 ac_cpp='$CXXCPP $CPPFLAGS'
43912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43915
43916       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43917 /* end confdefs.h.  */
43918 #include <math.h>
43919 int
43920 main ()
43921 {
43922  powl(0, 0);
43923   ;
43924   return 0;
43925 }
43926 _ACEOF
43927 if ac_fn_cxx_try_compile "$LINENO"; then :
43928   glibcxx_cv_func_powl_use=yes
43929 else
43930   glibcxx_cv_func_powl_use=no
43931 fi
43932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43933       ac_ext=c
43934 ac_cpp='$CPP $CPPFLAGS'
43935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43938
43939
43940 fi
43941
43942   fi
43943   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
43944 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
43945
43946   if test x$glibcxx_cv_func_powl_use = x"yes"; then
43947     for ac_func in powl
43948 do :
43949   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
43950 if test "x$ac_cv_func_powl" = x""yes; then :
43951   cat >>confdefs.h <<_ACEOF
43952 #define HAVE_POWL 1
43953 _ACEOF
43954
43955 fi
43956 done
43957
43958   else
43959
43960   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
43961 $as_echo_n "checking for _powl declaration... " >&6; }
43962   if test x${glibcxx_cv_func__powl_use+set} != xset; then
43963     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
43964   $as_echo_n "(cached) " >&6
43965 else
43966
43967
43968       ac_ext=cpp
43969 ac_cpp='$CXXCPP $CPPFLAGS'
43970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43973
43974       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43975 /* end confdefs.h.  */
43976 #include <math.h>
43977 int
43978 main ()
43979 {
43980  _powl(0, 0);
43981   ;
43982   return 0;
43983 }
43984 _ACEOF
43985 if ac_fn_cxx_try_compile "$LINENO"; then :
43986   glibcxx_cv_func__powl_use=yes
43987 else
43988   glibcxx_cv_func__powl_use=no
43989 fi
43990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43991       ac_ext=c
43992 ac_cpp='$CPP $CPPFLAGS'
43993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43996
43997
43998 fi
43999
44000   fi
44001   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
44002 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
44003
44004     if test x$glibcxx_cv_func__powl_use = x"yes"; then
44005       for ac_func in _powl
44006 do :
44007   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
44008 if test "x$ac_cv_func__powl" = x""yes; then :
44009   cat >>confdefs.h <<_ACEOF
44010 #define HAVE__POWL 1
44011 _ACEOF
44012
44013 fi
44014 done
44015
44016     fi
44017   fi
44018
44019
44020
44021
44022
44023   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
44024 $as_echo_n "checking for sqrtl declaration... " >&6; }
44025   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
44026     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
44027   $as_echo_n "(cached) " >&6
44028 else
44029
44030
44031       ac_ext=cpp
44032 ac_cpp='$CXXCPP $CPPFLAGS'
44033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44036
44037       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44038 /* end confdefs.h.  */
44039 #include <math.h>
44040                       #ifdef HAVE_IEEEFP_H
44041                       #include <ieeefp.h>
44042                       #endif
44043
44044 int
44045 main ()
44046 {
44047  sqrtl(0);
44048   ;
44049   return 0;
44050 }
44051 _ACEOF
44052 if ac_fn_cxx_try_compile "$LINENO"; then :
44053   glibcxx_cv_func_sqrtl_use=yes
44054 else
44055   glibcxx_cv_func_sqrtl_use=no
44056 fi
44057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44058       ac_ext=c
44059 ac_cpp='$CPP $CPPFLAGS'
44060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44063
44064
44065 fi
44066
44067   fi
44068   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
44069 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
44070
44071   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
44072     for ac_func in sqrtl
44073 do :
44074   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
44075 if test "x$ac_cv_func_sqrtl" = x""yes; then :
44076   cat >>confdefs.h <<_ACEOF
44077 #define HAVE_SQRTL 1
44078 _ACEOF
44079
44080 fi
44081 done
44082
44083   else
44084
44085   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
44086 $as_echo_n "checking for _sqrtl declaration... " >&6; }
44087   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
44088     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
44089   $as_echo_n "(cached) " >&6
44090 else
44091
44092
44093       ac_ext=cpp
44094 ac_cpp='$CXXCPP $CPPFLAGS'
44095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44098
44099       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44100 /* end confdefs.h.  */
44101 #include <math.h>
44102                       #ifdef HAVE_IEEEFP_H
44103                       #include <ieeefp.h>
44104                       #endif
44105
44106 int
44107 main ()
44108 {
44109  _sqrtl(0);
44110   ;
44111   return 0;
44112 }
44113 _ACEOF
44114 if ac_fn_cxx_try_compile "$LINENO"; then :
44115   glibcxx_cv_func__sqrtl_use=yes
44116 else
44117   glibcxx_cv_func__sqrtl_use=no
44118 fi
44119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44120       ac_ext=c
44121 ac_cpp='$CPP $CPPFLAGS'
44122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44125
44126
44127 fi
44128
44129   fi
44130   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
44131 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
44132
44133     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
44134       for ac_func in _sqrtl
44135 do :
44136   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
44137 if test "x$ac_cv_func__sqrtl" = x""yes; then :
44138   cat >>confdefs.h <<_ACEOF
44139 #define HAVE__SQRTL 1
44140 _ACEOF
44141
44142 fi
44143 done
44144
44145     fi
44146   fi
44147
44148
44149
44150
44151
44152   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
44153 $as_echo_n "checking for sincosl declaration... " >&6; }
44154   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
44155     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
44156   $as_echo_n "(cached) " >&6
44157 else
44158
44159
44160       ac_ext=cpp
44161 ac_cpp='$CXXCPP $CPPFLAGS'
44162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44165
44166       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44167 /* end confdefs.h.  */
44168 #include <math.h>
44169 int
44170 main ()
44171 {
44172  sincosl(0, 0, 0);
44173   ;
44174   return 0;
44175 }
44176 _ACEOF
44177 if ac_fn_cxx_try_compile "$LINENO"; then :
44178   glibcxx_cv_func_sincosl_use=yes
44179 else
44180   glibcxx_cv_func_sincosl_use=no
44181 fi
44182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44183       ac_ext=c
44184 ac_cpp='$CPP $CPPFLAGS'
44185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44188
44189
44190 fi
44191
44192   fi
44193   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
44194 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
44195
44196   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
44197     for ac_func in sincosl
44198 do :
44199   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
44200 if test "x$ac_cv_func_sincosl" = x""yes; then :
44201   cat >>confdefs.h <<_ACEOF
44202 #define HAVE_SINCOSL 1
44203 _ACEOF
44204
44205 fi
44206 done
44207
44208   else
44209
44210   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
44211 $as_echo_n "checking for _sincosl declaration... " >&6; }
44212   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
44213     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
44214   $as_echo_n "(cached) " >&6
44215 else
44216
44217
44218       ac_ext=cpp
44219 ac_cpp='$CXXCPP $CPPFLAGS'
44220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44223
44224       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44225 /* end confdefs.h.  */
44226 #include <math.h>
44227 int
44228 main ()
44229 {
44230  _sincosl(0, 0, 0);
44231   ;
44232   return 0;
44233 }
44234 _ACEOF
44235 if ac_fn_cxx_try_compile "$LINENO"; then :
44236   glibcxx_cv_func__sincosl_use=yes
44237 else
44238   glibcxx_cv_func__sincosl_use=no
44239 fi
44240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44241       ac_ext=c
44242 ac_cpp='$CPP $CPPFLAGS'
44243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44246
44247
44248 fi
44249
44250   fi
44251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
44252 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
44253
44254     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
44255       for ac_func in _sincosl
44256 do :
44257   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
44258 if test "x$ac_cv_func__sincosl" = x""yes; then :
44259   cat >>confdefs.h <<_ACEOF
44260 #define HAVE__SINCOSL 1
44261 _ACEOF
44262
44263 fi
44264 done
44265
44266     fi
44267   fi
44268
44269
44270
44271
44272
44273   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
44274 $as_echo_n "checking for finitel declaration... " >&6; }
44275   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
44276     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
44277   $as_echo_n "(cached) " >&6
44278 else
44279
44280
44281       ac_ext=cpp
44282 ac_cpp='$CXXCPP $CPPFLAGS'
44283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44286
44287       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44288 /* end confdefs.h.  */
44289 #include <math.h>
44290                       #ifdef HAVE_IEEEFP_H
44291                       #include <ieeefp.h>
44292                       #endif
44293
44294 int
44295 main ()
44296 {
44297  finitel(0);
44298   ;
44299   return 0;
44300 }
44301 _ACEOF
44302 if ac_fn_cxx_try_compile "$LINENO"; then :
44303   glibcxx_cv_func_finitel_use=yes
44304 else
44305   glibcxx_cv_func_finitel_use=no
44306 fi
44307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44308       ac_ext=c
44309 ac_cpp='$CPP $CPPFLAGS'
44310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44313
44314
44315 fi
44316
44317   fi
44318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
44319 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
44320
44321   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
44322     for ac_func in finitel
44323 do :
44324   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
44325 if test "x$ac_cv_func_finitel" = x""yes; then :
44326   cat >>confdefs.h <<_ACEOF
44327 #define HAVE_FINITEL 1
44328 _ACEOF
44329
44330 fi
44331 done
44332
44333   else
44334
44335   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
44336 $as_echo_n "checking for _finitel declaration... " >&6; }
44337   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
44338     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
44339   $as_echo_n "(cached) " >&6
44340 else
44341
44342
44343       ac_ext=cpp
44344 ac_cpp='$CXXCPP $CPPFLAGS'
44345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44348
44349       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44350 /* end confdefs.h.  */
44351 #include <math.h>
44352                       #ifdef HAVE_IEEEFP_H
44353                       #include <ieeefp.h>
44354                       #endif
44355
44356 int
44357 main ()
44358 {
44359  _finitel(0);
44360   ;
44361   return 0;
44362 }
44363 _ACEOF
44364 if ac_fn_cxx_try_compile "$LINENO"; then :
44365   glibcxx_cv_func__finitel_use=yes
44366 else
44367   glibcxx_cv_func__finitel_use=no
44368 fi
44369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44370       ac_ext=c
44371 ac_cpp='$CPP $CPPFLAGS'
44372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44375
44376
44377 fi
44378
44379   fi
44380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
44381 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
44382
44383     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
44384       for ac_func in _finitel
44385 do :
44386   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
44387 if test "x$ac_cv_func__finitel" = x""yes; then :
44388   cat >>confdefs.h <<_ACEOF
44389 #define HAVE__FINITEL 1
44390 _ACEOF
44391
44392 fi
44393 done
44394
44395     fi
44396   fi
44397
44398
44399
44400
44401   LIBS="$ac_save_LIBS"
44402   CXXFLAGS="$ac_save_CXXFLAGS"
44403
44404
44405   ac_test_CXXFLAGS="${CXXFLAGS+set}"
44406   ac_save_CXXFLAGS="$CXXFLAGS"
44407   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44408
44409
44410   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
44411 $as_echo_n "checking for strtold declaration... " >&6; }
44412   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
44413     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
44414   $as_echo_n "(cached) " >&6
44415 else
44416
44417
44418       ac_ext=cpp
44419 ac_cpp='$CXXCPP $CPPFLAGS'
44420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44423
44424       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44425 /* end confdefs.h.  */
44426 #include <stdlib.h>
44427 int
44428 main ()
44429 {
44430  strtold(0, 0);
44431   ;
44432   return 0;
44433 }
44434 _ACEOF
44435 if ac_fn_cxx_try_compile "$LINENO"; then :
44436   glibcxx_cv_func_strtold_use=yes
44437 else
44438   glibcxx_cv_func_strtold_use=no
44439 fi
44440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44441       ac_ext=c
44442 ac_cpp='$CPP $CPPFLAGS'
44443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44446
44447
44448 fi
44449
44450   fi
44451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
44452 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
44453   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
44454     for ac_func in strtold
44455 do :
44456   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
44457 if test "x$ac_cv_func_strtold" = x""yes; then :
44458   cat >>confdefs.h <<_ACEOF
44459 #define HAVE_STRTOLD 1
44460 _ACEOF
44461
44462 fi
44463 done
44464
44465   fi
44466
44467
44468
44469
44470   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
44471 $as_echo_n "checking for strtof declaration... " >&6; }
44472   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
44473     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
44474   $as_echo_n "(cached) " >&6
44475 else
44476
44477
44478       ac_ext=cpp
44479 ac_cpp='$CXXCPP $CPPFLAGS'
44480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44483
44484       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44485 /* end confdefs.h.  */
44486 #include <stdlib.h>
44487 int
44488 main ()
44489 {
44490  strtof(0, 0);
44491   ;
44492   return 0;
44493 }
44494 _ACEOF
44495 if ac_fn_cxx_try_compile "$LINENO"; then :
44496   glibcxx_cv_func_strtof_use=yes
44497 else
44498   glibcxx_cv_func_strtof_use=no
44499 fi
44500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44501       ac_ext=c
44502 ac_cpp='$CPP $CPPFLAGS'
44503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44506
44507
44508 fi
44509
44510   fi
44511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
44512 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
44513   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
44514     for ac_func in strtof
44515 do :
44516   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
44517 if test "x$ac_cv_func_strtof" = x""yes; then :
44518   cat >>confdefs.h <<_ACEOF
44519 #define HAVE_STRTOF 1
44520 _ACEOF
44521
44522 fi
44523 done
44524
44525   fi
44526
44527
44528
44529
44530   CXXFLAGS="$ac_save_CXXFLAGS"
44531
44532     ;;
44533
44534   *djgpp)
44535     # GLIBCXX_CHECK_MATH_SUPPORT
44536     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44537
44538     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44539
44540     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44541
44542     $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
44543
44544     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44545
44546     ;;
44547
44548   *-freebsd*)
44549     SECTION_FLAGS='-ffunction-sections -fdata-sections'
44550
44551
44552   # If we're not using GNU ld, then there's no point in even trying these
44553   # tests.  Check for that first.  We should have already tested for gld
44554   # by now (in libtool), but require it now just to be safe...
44555   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44556   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44557
44558
44559
44560   # The name set by libtool depends on the version of libtool.  Shame on us
44561   # for depending on an impl detail, but c'est la vie.  Older versions used
44562   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44563   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44564   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
44565   # set (hence we're using an older libtool), then set it.
44566   if test x${with_gnu_ld+set} != xset; then
44567     if test x${ac_cv_prog_gnu_ld+set} != xset; then
44568       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
44569       with_gnu_ld=no
44570     else
44571       with_gnu_ld=$ac_cv_prog_gnu_ld
44572     fi
44573   fi
44574
44575   # Start by getting the version number.  I think the libtool test already
44576   # does some of this, but throws away the result.
44577   glibcxx_ld_is_gold=no
44578   if test x"$with_gnu_ld" = x"yes"; then
44579     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44580 $as_echo_n "checking for ld version... " >&6; }
44581
44582     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44583       glibcxx_ld_is_gold=yes
44584     fi
44585     ldver=`$LD --version 2>/dev/null |
44586            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'`
44587
44588     glibcxx_gnu_ld_version=`echo $ldver | \
44589            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44590     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44591 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44592   fi
44593
44594   # Set --gc-sections.
44595   glibcxx_have_gc_sections=no
44596   if test "$glibcxx_ld_is_gold" = "yes"; then
44597     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44598       glibcxx_have_gc_sections=yes
44599     fi
44600   else
44601     glibcxx_gcsections_min_ld=21602
44602     if test x"$with_gnu_ld" = x"yes" &&
44603         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44604       glibcxx_have_gc_sections=yes
44605     fi
44606   fi
44607   if test "$glibcxx_have_gc_sections" = "yes"; then
44608     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
44609     # NB: This flag only works reliably after 2.16.1. Configure tests
44610     # for this are difficult, so hard wire a value that should work.
44611
44612     ac_test_CFLAGS="${CFLAGS+set}"
44613     ac_save_CFLAGS="$CFLAGS"
44614     CFLAGS='-Wl,--gc-sections'
44615
44616     # Check for -Wl,--gc-sections
44617     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44618 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44619     if test x$gcc_no_link = xyes; then
44620   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44621 fi
44622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44623 /* end confdefs.h.  */
44624  int one(void) { return 1; }
44625      int two(void) { return 2; }
44626
44627 int
44628 main ()
44629 {
44630  two();
44631   ;
44632   return 0;
44633 }
44634 _ACEOF
44635 if ac_fn_c_try_link "$LINENO"; then :
44636   ac_gcsections=yes
44637 else
44638   ac_gcsections=no
44639 fi
44640 rm -f core conftest.err conftest.$ac_objext \
44641     conftest$ac_exeext conftest.$ac_ext
44642     if test "$ac_gcsections" = "yes"; then
44643       rm -f conftest.c
44644       touch conftest.c
44645       if $CC -c conftest.c; then
44646         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44647            grep "Warning: gc-sections option ignored" > /dev/null; then
44648           ac_gcsections=no
44649         fi
44650       fi
44651       rm -f conftest.c conftest.o conftest
44652     fi
44653     if test "$ac_gcsections" = "yes"; then
44654       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44655     fi
44656     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44657 $as_echo "$ac_gcsections" >&6; }
44658
44659     if test "$ac_test_CFLAGS" = set; then
44660       CFLAGS="$ac_save_CFLAGS"
44661     else
44662       # this is the suspicious part
44663       CFLAGS=''
44664     fi
44665   fi
44666
44667   # Set -z,relro.
44668   # Note this is only for shared objects.
44669   ac_ld_relro=no
44670   if test x"$with_gnu_ld" = x"yes"; then
44671     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44672 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44673     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44674     if test -n "$cxx_z_relo"; then
44675       OPT_LDFLAGS="-Wl,-z,relro"
44676       ac_ld_relro=yes
44677     fi
44678     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44679 $as_echo "$ac_ld_relro" >&6; }
44680   fi
44681
44682   # Set linker optimization flags.
44683   if test x"$with_gnu_ld" = x"yes"; then
44684     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44685   fi
44686
44687
44688
44689
44690     $as_echo "#define HAVE_SETENV 1" >>confdefs.h
44691
44692     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44693
44694     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44695
44696     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44697
44698     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44699
44700     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
44701
44702     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44703
44704     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44705
44706     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44707
44708
44709     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44710
44711     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44712
44713     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44714
44715     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44716
44717     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
44718
44719     $as_echo "#define HAVE_COSF 1" >>confdefs.h
44720
44721     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44722
44723     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44724
44725     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44726
44727     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
44728
44729     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44730
44731     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44732
44733     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
44734
44735     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44736
44737     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44738
44739     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
44740
44741     $as_echo "#define HAVE_POWF 1" >>confdefs.h
44742
44743     $as_echo "#define HAVE_SINF 1" >>confdefs.h
44744
44745     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44746
44747     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44748
44749     $as_echo "#define HAVE_TANF 1" >>confdefs.h
44750
44751     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44752
44753     if test x"long_double_math_on_this_cpu" = x"yes"; then
44754       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
44755
44756       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
44757
44758       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
44759
44760     fi
44761     ;;
44762   *-hpux*)
44763     SECTION_FLAGS='-ffunction-sections -fdata-sections'
44764
44765
44766   # If we're not using GNU ld, then there's no point in even trying these
44767   # tests.  Check for that first.  We should have already tested for gld
44768   # by now (in libtool), but require it now just to be safe...
44769   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44770   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44771
44772
44773
44774   # The name set by libtool depends on the version of libtool.  Shame on us
44775   # for depending on an impl detail, but c'est la vie.  Older versions used
44776   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44777   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44778   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
44779   # set (hence we're using an older libtool), then set it.
44780   if test x${with_gnu_ld+set} != xset; then
44781     if test x${ac_cv_prog_gnu_ld+set} != xset; then
44782       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
44783       with_gnu_ld=no
44784     else
44785       with_gnu_ld=$ac_cv_prog_gnu_ld
44786     fi
44787   fi
44788
44789   # Start by getting the version number.  I think the libtool test already
44790   # does some of this, but throws away the result.
44791   glibcxx_ld_is_gold=no
44792   if test x"$with_gnu_ld" = x"yes"; then
44793     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44794 $as_echo_n "checking for ld version... " >&6; }
44795
44796     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44797       glibcxx_ld_is_gold=yes
44798     fi
44799     ldver=`$LD --version 2>/dev/null |
44800            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'`
44801
44802     glibcxx_gnu_ld_version=`echo $ldver | \
44803            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44804     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44805 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44806   fi
44807
44808   # Set --gc-sections.
44809   glibcxx_have_gc_sections=no
44810   if test "$glibcxx_ld_is_gold" = "yes"; then
44811     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44812       glibcxx_have_gc_sections=yes
44813     fi
44814   else
44815     glibcxx_gcsections_min_ld=21602
44816     if test x"$with_gnu_ld" = x"yes" &&
44817         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44818       glibcxx_have_gc_sections=yes
44819     fi
44820   fi
44821   if test "$glibcxx_have_gc_sections" = "yes"; then
44822     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
44823     # NB: This flag only works reliably after 2.16.1. Configure tests
44824     # for this are difficult, so hard wire a value that should work.
44825
44826     ac_test_CFLAGS="${CFLAGS+set}"
44827     ac_save_CFLAGS="$CFLAGS"
44828     CFLAGS='-Wl,--gc-sections'
44829
44830     # Check for -Wl,--gc-sections
44831     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44832 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44833     if test x$gcc_no_link = xyes; then
44834   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44835 fi
44836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44837 /* end confdefs.h.  */
44838  int one(void) { return 1; }
44839      int two(void) { return 2; }
44840
44841 int
44842 main ()
44843 {
44844  two();
44845   ;
44846   return 0;
44847 }
44848 _ACEOF
44849 if ac_fn_c_try_link "$LINENO"; then :
44850   ac_gcsections=yes
44851 else
44852   ac_gcsections=no
44853 fi
44854 rm -f core conftest.err conftest.$ac_objext \
44855     conftest$ac_exeext conftest.$ac_ext
44856     if test "$ac_gcsections" = "yes"; then
44857       rm -f conftest.c
44858       touch conftest.c
44859       if $CC -c conftest.c; then
44860         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44861            grep "Warning: gc-sections option ignored" > /dev/null; then
44862           ac_gcsections=no
44863         fi
44864       fi
44865       rm -f conftest.c conftest.o conftest
44866     fi
44867     if test "$ac_gcsections" = "yes"; then
44868       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44869     fi
44870     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44871 $as_echo "$ac_gcsections" >&6; }
44872
44873     if test "$ac_test_CFLAGS" = set; then
44874       CFLAGS="$ac_save_CFLAGS"
44875     else
44876       # this is the suspicious part
44877       CFLAGS=''
44878     fi
44879   fi
44880
44881   # Set -z,relro.
44882   # Note this is only for shared objects.
44883   ac_ld_relro=no
44884   if test x"$with_gnu_ld" = x"yes"; then
44885     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44886 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44887     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44888     if test -n "$cxx_z_relo"; then
44889       OPT_LDFLAGS="-Wl,-z,relro"
44890       ac_ld_relro=yes
44891     fi
44892     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44893 $as_echo "$ac_ld_relro" >&6; }
44894   fi
44895
44896   # Set linker optimization flags.
44897   if test x"$with_gnu_ld" = x"yes"; then
44898     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44899   fi
44900
44901
44902
44903
44904
44905     # GLIBCXX_CHECK_MATH_SUPPORT
44906     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44907
44908     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44909
44910     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44911
44912     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44913
44914     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44915
44916     $as_echo "#define HAVE_COSF 1" >>confdefs.h
44917
44918     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44919
44920     $as_echo "#define HAVE_SINF 1" >>confdefs.h
44921
44922     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44923
44924     $as_echo "#define HAVE_TANF 1" >>confdefs.h
44925
44926     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44927
44928     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44929
44930     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44931
44932     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44933
44934     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44935
44936     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44937
44938     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44939
44940     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44941
44942     $as_echo "#define HAVE_MODF 1" >>confdefs.h
44943
44944     $as_echo "#define HAVE_POWF 1" >>confdefs.h
44945
44946     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44947
44948
44949     # GLIBCXX_CHECK_STDLIB_SUPPORT
44950     $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
44951
44952
44953
44954
44955    # Check whether --enable-tls was given.
44956 if test "${enable_tls+set}" = set; then :
44957   enableval=$enable_tls;
44958       case "$enableval" in
44959        yes|no) ;;
44960        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
44961       esac
44962
44963 else
44964   enable_tls=yes
44965 fi
44966
44967
44968   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
44969 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
44970 if test "${gcc_cv_have_tls+set}" = set; then :
44971   $as_echo_n "(cached) " >&6
44972 else
44973
44974     if test "$cross_compiling" = yes; then :
44975                 if test x$gcc_no_link = xyes; then
44976   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44977 fi
44978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44979 /* end confdefs.h.  */
44980 __thread int a; int b; int main() { return a = b; }
44981 _ACEOF
44982 if ac_fn_c_try_link "$LINENO"; then :
44983   chktls_save_LDFLAGS="$LDFLAGS"
44984                           case $host in
44985             *-*-linux*)
44986               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
44987               ;;
44988           esac
44989           chktls_save_CFLAGS="$CFLAGS"
44990           CFLAGS="-fPIC $CFLAGS"
44991                   if test x$gcc_no_link = xyes; then
44992   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44993 fi
44994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44995 /* end confdefs.h.  */
44996 int f() { return 0; }
44997 _ACEOF
44998 if ac_fn_c_try_link "$LINENO"; then :
44999   if test x$gcc_no_link = xyes; then
45000   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45001 fi
45002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45003 /* end confdefs.h.  */
45004 __thread int a; int b; int f() { return a = b; }
45005 _ACEOF
45006 if ac_fn_c_try_link "$LINENO"; then :
45007   gcc_cv_have_tls=yes
45008 else
45009   gcc_cv_have_tls=no
45010 fi
45011 rm -f core conftest.err conftest.$ac_objext \
45012     conftest$ac_exeext conftest.$ac_ext
45013 else
45014   gcc_cv_have_tls=yes
45015 fi
45016 rm -f core conftest.err conftest.$ac_objext \
45017     conftest$ac_exeext conftest.$ac_ext
45018           CFLAGS="$chktls_save_CFLAGS"
45019           LDFLAGS="$chktls_save_LDFLAGS"
45020 else
45021   gcc_cv_have_tls=no
45022 fi
45023 rm -f core conftest.err conftest.$ac_objext \
45024     conftest$ac_exeext conftest.$ac_ext
45025
45026
45027 else
45028   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45029 /* end confdefs.h.  */
45030 __thread int a; int b; int main() { return a = b; }
45031 _ACEOF
45032 if ac_fn_c_try_run "$LINENO"; then :
45033                       chktls_save_LDFLAGS="$LDFLAGS"
45034       LDFLAGS="-static $LDFLAGS"
45035       if test x$gcc_no_link = xyes; then
45036   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45037 fi
45038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45039 /* end confdefs.h.  */
45040 int main() { return 0; }
45041 _ACEOF
45042 if ac_fn_c_try_link "$LINENO"; then :
45043   if test "$cross_compiling" = yes; then :
45044   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45045 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45046 as_fn_error "cannot run test program while cross compiling
45047 See \`config.log' for more details." "$LINENO" 5; }
45048 else
45049   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45050 /* end confdefs.h.  */
45051 __thread int a; int b; int main() { return a = b; }
45052 _ACEOF
45053 if ac_fn_c_try_run "$LINENO"; then :
45054   gcc_cv_have_tls=yes
45055 else
45056   gcc_cv_have_tls=no
45057 fi
45058 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45059   conftest.$ac_objext conftest.beam conftest.$ac_ext
45060 fi
45061
45062 else
45063   gcc_cv_have_tls=yes
45064 fi
45065 rm -f core conftest.err conftest.$ac_objext \
45066     conftest$ac_exeext conftest.$ac_ext
45067       LDFLAGS="$chktls_save_LDFLAGS"
45068       if test $gcc_cv_have_tls = yes; then
45069                                                 chktls_save_CFLAGS="$CFLAGS"
45070         thread_CFLAGS=failed
45071         for flag in '' '-pthread' '-lpthread'; do
45072           CFLAGS="$flag $chktls_save_CFLAGS"
45073           if test x$gcc_no_link = xyes; then
45074   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45075 fi
45076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45077 /* end confdefs.h.  */
45078 #include <pthread.h>
45079                 void *g(void *d) { return NULL; }
45080 int
45081 main ()
45082 {
45083 pthread_t t; pthread_create(&t,NULL,g,NULL);
45084   ;
45085   return 0;
45086 }
45087 _ACEOF
45088 if ac_fn_c_try_link "$LINENO"; then :
45089   thread_CFLAGS="$flag"
45090 fi
45091 rm -f core conftest.err conftest.$ac_objext \
45092     conftest$ac_exeext conftest.$ac_ext
45093           if test "X$thread_CFLAGS" != Xfailed; then
45094             break
45095           fi
45096         done
45097         CFLAGS="$chktls_save_CFLAGS"
45098         if test "X$thread_CFLAGS" != Xfailed; then
45099           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
45100                                                   if test "$cross_compiling" = yes; then :
45101   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45102 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45103 as_fn_error "cannot run test program while cross compiling
45104 See \`config.log' for more details." "$LINENO" 5; }
45105 else
45106   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45107 /* end confdefs.h.  */
45108 #include <pthread.h>
45109                 __thread int a;
45110                 static int *volatile a_in_other_thread;
45111                 static void *
45112                 thread_func (void *arg)
45113                 {
45114                   a_in_other_thread = &a;
45115                   return (void *)0;
45116                 }
45117 int
45118 main ()
45119 {
45120 pthread_t thread;
45121                 void *thread_retval;
45122                 int *volatile a_in_main_thread;
45123                 a_in_main_thread = &a;
45124                 if (pthread_create (&thread, (pthread_attr_t *)0,
45125                                     thread_func, (void *)0))
45126                   return 0;
45127                 if (pthread_join (thread, &thread_retval))
45128                   return 0;
45129                 return (a_in_other_thread == a_in_main_thread);
45130   ;
45131   return 0;
45132 }
45133 _ACEOF
45134 if ac_fn_c_try_run "$LINENO"; then :
45135   gcc_cv_have_tls=yes
45136 else
45137   gcc_cv_have_tls=no
45138 fi
45139 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45140   conftest.$ac_objext conftest.beam conftest.$ac_ext
45141 fi
45142
45143           CFLAGS="$chktls_save_CFLAGS"
45144         fi
45145       fi
45146 else
45147   gcc_cv_have_tls=no
45148 fi
45149 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45150   conftest.$ac_objext conftest.beam conftest.$ac_ext
45151 fi
45152
45153 fi
45154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
45155 $as_echo "$gcc_cv_have_tls" >&6; }
45156   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
45157
45158 $as_echo "#define HAVE_TLS 1" >>confdefs.h
45159
45160   fi
45161     case "$target" in
45162       *-hpux10*)
45163         $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45164
45165         $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
45166
45167         $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45168
45169         $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45170
45171         $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45172
45173         ;;
45174     esac
45175     ;;
45176   *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
45177
45178   # All these tests are for C++; save the language and the compiler flags.
45179   # The CXXFLAGS thing is suspicious, but based on similar bits previously
45180   # found in GLIBCXX_CONFIGURE.
45181
45182   ac_ext=cpp
45183 ac_cpp='$CXXCPP $CPPFLAGS'
45184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45187
45188   ac_test_CXXFLAGS="${CXXFLAGS+set}"
45189   ac_save_CXXFLAGS="$CXXFLAGS"
45190
45191   # Check for maintainer-mode bits.
45192   if test x"$USE_MAINTAINER_MODE" = xno; then
45193     WERROR=''
45194   else
45195     WERROR='-Werror'
45196   fi
45197
45198   # Check for -ffunction-sections -fdata-sections
45199   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
45200 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
45201   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
45202   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45203 /* end confdefs.h.  */
45204 int foo; void bar() { };
45205 int
45206 main ()
45207 {
45208
45209   ;
45210   return 0;
45211 }
45212 _ACEOF
45213 if ac_fn_cxx_try_compile "$LINENO"; then :
45214   ac_fdsections=yes
45215 else
45216   ac_fdsections=no
45217 fi
45218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45219   if test "$ac_test_CXXFLAGS" = set; then
45220     CXXFLAGS="$ac_save_CXXFLAGS"
45221   else
45222     # this is the suspicious part
45223     CXXFLAGS=''
45224   fi
45225   if test x"$ac_fdsections" = x"yes"; then
45226     SECTION_FLAGS='-ffunction-sections -fdata-sections'
45227   fi
45228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
45229 $as_echo "$ac_fdsections" >&6; }
45230
45231   ac_ext=c
45232 ac_cpp='$CPP $CPPFLAGS'
45233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45236
45237
45238
45239
45240
45241   # If we're not using GNU ld, then there's no point in even trying these
45242   # tests.  Check for that first.  We should have already tested for gld
45243   # by now (in libtool), but require it now just to be safe...
45244   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45245   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45246
45247
45248
45249   # The name set by libtool depends on the version of libtool.  Shame on us
45250   # for depending on an impl detail, but c'est la vie.  Older versions used
45251   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45252   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45253   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
45254   # set (hence we're using an older libtool), then set it.
45255   if test x${with_gnu_ld+set} != xset; then
45256     if test x${ac_cv_prog_gnu_ld+set} != xset; then
45257       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
45258       with_gnu_ld=no
45259     else
45260       with_gnu_ld=$ac_cv_prog_gnu_ld
45261     fi
45262   fi
45263
45264   # Start by getting the version number.  I think the libtool test already
45265   # does some of this, but throws away the result.
45266   glibcxx_ld_is_gold=no
45267   if test x"$with_gnu_ld" = x"yes"; then
45268     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45269 $as_echo_n "checking for ld version... " >&6; }
45270
45271     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45272       glibcxx_ld_is_gold=yes
45273     fi
45274     ldver=`$LD --version 2>/dev/null |
45275            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'`
45276
45277     glibcxx_gnu_ld_version=`echo $ldver | \
45278            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45279     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45280 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45281   fi
45282
45283   # Set --gc-sections.
45284   glibcxx_have_gc_sections=no
45285   if test "$glibcxx_ld_is_gold" = "yes"; then
45286     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45287       glibcxx_have_gc_sections=yes
45288     fi
45289   else
45290     glibcxx_gcsections_min_ld=21602
45291     if test x"$with_gnu_ld" = x"yes" &&
45292         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45293       glibcxx_have_gc_sections=yes
45294     fi
45295   fi
45296   if test "$glibcxx_have_gc_sections" = "yes"; then
45297     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
45298     # NB: This flag only works reliably after 2.16.1. Configure tests
45299     # for this are difficult, so hard wire a value that should work.
45300
45301     ac_test_CFLAGS="${CFLAGS+set}"
45302     ac_save_CFLAGS="$CFLAGS"
45303     CFLAGS='-Wl,--gc-sections'
45304
45305     # Check for -Wl,--gc-sections
45306     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45307 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45308     if test x$gcc_no_link = xyes; then
45309   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45310 fi
45311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45312 /* end confdefs.h.  */
45313  int one(void) { return 1; }
45314      int two(void) { return 2; }
45315
45316 int
45317 main ()
45318 {
45319  two();
45320   ;
45321   return 0;
45322 }
45323 _ACEOF
45324 if ac_fn_c_try_link "$LINENO"; then :
45325   ac_gcsections=yes
45326 else
45327   ac_gcsections=no
45328 fi
45329 rm -f core conftest.err conftest.$ac_objext \
45330     conftest$ac_exeext conftest.$ac_ext
45331     if test "$ac_gcsections" = "yes"; then
45332       rm -f conftest.c
45333       touch conftest.c
45334       if $CC -c conftest.c; then
45335         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45336            grep "Warning: gc-sections option ignored" > /dev/null; then
45337           ac_gcsections=no
45338         fi
45339       fi
45340       rm -f conftest.c conftest.o conftest
45341     fi
45342     if test "$ac_gcsections" = "yes"; then
45343       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45344     fi
45345     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45346 $as_echo "$ac_gcsections" >&6; }
45347
45348     if test "$ac_test_CFLAGS" = set; then
45349       CFLAGS="$ac_save_CFLAGS"
45350     else
45351       # this is the suspicious part
45352       CFLAGS=''
45353     fi
45354   fi
45355
45356   # Set -z,relro.
45357   # Note this is only for shared objects.
45358   ac_ld_relro=no
45359   if test x"$with_gnu_ld" = x"yes"; then
45360     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45361 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45362     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45363     if test -n "$cxx_z_relo"; then
45364       OPT_LDFLAGS="-Wl,-z,relro"
45365       ac_ld_relro=yes
45366     fi
45367     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45368 $as_echo "$ac_ld_relro" >&6; }
45369   fi
45370
45371   # Set linker optimization flags.
45372   if test x"$with_gnu_ld" = x"yes"; then
45373     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45374   fi
45375
45376
45377
45378
45379
45380   ac_test_CXXFLAGS="${CXXFLAGS+set}"
45381   ac_save_CXXFLAGS="$CXXFLAGS"
45382   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45383
45384     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
45385 $as_echo_n "checking for sin in -lm... " >&6; }
45386 if test "${ac_cv_lib_m_sin+set}" = set; then :
45387   $as_echo_n "(cached) " >&6
45388 else
45389   ac_check_lib_save_LIBS=$LIBS
45390 LIBS="-lm  $LIBS"
45391 if test x$gcc_no_link = xyes; then
45392   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45393 fi
45394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45395 /* end confdefs.h.  */
45396
45397 /* Override any GCC internal prototype to avoid an error.
45398    Use char because int might match the return type of a GCC
45399    builtin and then its argument prototype would still apply.  */
45400 #ifdef __cplusplus
45401 extern "C"
45402 #endif
45403 char sin ();
45404 int
45405 main ()
45406 {
45407 return sin ();
45408   ;
45409   return 0;
45410 }
45411 _ACEOF
45412 if ac_fn_c_try_link "$LINENO"; then :
45413   ac_cv_lib_m_sin=yes
45414 else
45415   ac_cv_lib_m_sin=no
45416 fi
45417 rm -f core conftest.err conftest.$ac_objext \
45418     conftest$ac_exeext conftest.$ac_ext
45419 LIBS=$ac_check_lib_save_LIBS
45420 fi
45421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
45422 $as_echo "$ac_cv_lib_m_sin" >&6; }
45423 if test "x$ac_cv_lib_m_sin" = x""yes; then :
45424   libm="-lm"
45425 fi
45426
45427   ac_save_LIBS="$LIBS"
45428   LIBS="$LIBS $libm"
45429
45430
45431
45432   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
45433 $as_echo_n "checking for isinf declaration... " >&6; }
45434   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
45435     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
45436   $as_echo_n "(cached) " >&6
45437 else
45438
45439
45440       ac_ext=cpp
45441 ac_cpp='$CXXCPP $CPPFLAGS'
45442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45445
45446       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45447 /* end confdefs.h.  */
45448 #include <math.h>
45449                       #ifdef HAVE_IEEEFP_H
45450                       #include <ieeefp.h>
45451                       #endif
45452
45453 int
45454 main ()
45455 {
45456  isinf(0);
45457   ;
45458   return 0;
45459 }
45460 _ACEOF
45461 if ac_fn_cxx_try_compile "$LINENO"; then :
45462   glibcxx_cv_func_isinf_use=yes
45463 else
45464   glibcxx_cv_func_isinf_use=no
45465 fi
45466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45467       ac_ext=c
45468 ac_cpp='$CPP $CPPFLAGS'
45469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45472
45473
45474 fi
45475
45476   fi
45477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
45478 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
45479
45480   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
45481     for ac_func in isinf
45482 do :
45483   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
45484 if test "x$ac_cv_func_isinf" = x""yes; then :
45485   cat >>confdefs.h <<_ACEOF
45486 #define HAVE_ISINF 1
45487 _ACEOF
45488
45489 fi
45490 done
45491
45492   else
45493
45494   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
45495 $as_echo_n "checking for _isinf declaration... " >&6; }
45496   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
45497     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
45498   $as_echo_n "(cached) " >&6
45499 else
45500
45501
45502       ac_ext=cpp
45503 ac_cpp='$CXXCPP $CPPFLAGS'
45504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45507
45508       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45509 /* end confdefs.h.  */
45510 #include <math.h>
45511                       #ifdef HAVE_IEEEFP_H
45512                       #include <ieeefp.h>
45513                       #endif
45514
45515 int
45516 main ()
45517 {
45518  _isinf(0);
45519   ;
45520   return 0;
45521 }
45522 _ACEOF
45523 if ac_fn_cxx_try_compile "$LINENO"; then :
45524   glibcxx_cv_func__isinf_use=yes
45525 else
45526   glibcxx_cv_func__isinf_use=no
45527 fi
45528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45529       ac_ext=c
45530 ac_cpp='$CPP $CPPFLAGS'
45531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45534
45535
45536 fi
45537
45538   fi
45539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
45540 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
45541
45542     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
45543       for ac_func in _isinf
45544 do :
45545   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
45546 if test "x$ac_cv_func__isinf" = x""yes; then :
45547   cat >>confdefs.h <<_ACEOF
45548 #define HAVE__ISINF 1
45549 _ACEOF
45550
45551 fi
45552 done
45553
45554     fi
45555   fi
45556
45557
45558
45559
45560
45561   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
45562 $as_echo_n "checking for isnan declaration... " >&6; }
45563   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
45564     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
45565   $as_echo_n "(cached) " >&6
45566 else
45567
45568
45569       ac_ext=cpp
45570 ac_cpp='$CXXCPP $CPPFLAGS'
45571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45574
45575       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45576 /* end confdefs.h.  */
45577 #include <math.h>
45578                       #ifdef HAVE_IEEEFP_H
45579                       #include <ieeefp.h>
45580                       #endif
45581
45582 int
45583 main ()
45584 {
45585  isnan(0);
45586   ;
45587   return 0;
45588 }
45589 _ACEOF
45590 if ac_fn_cxx_try_compile "$LINENO"; then :
45591   glibcxx_cv_func_isnan_use=yes
45592 else
45593   glibcxx_cv_func_isnan_use=no
45594 fi
45595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45596       ac_ext=c
45597 ac_cpp='$CPP $CPPFLAGS'
45598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45601
45602
45603 fi
45604
45605   fi
45606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
45607 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
45608
45609   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
45610     for ac_func in isnan
45611 do :
45612   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
45613 if test "x$ac_cv_func_isnan" = x""yes; then :
45614   cat >>confdefs.h <<_ACEOF
45615 #define HAVE_ISNAN 1
45616 _ACEOF
45617
45618 fi
45619 done
45620
45621   else
45622
45623   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
45624 $as_echo_n "checking for _isnan declaration... " >&6; }
45625   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45626     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
45627   $as_echo_n "(cached) " >&6
45628 else
45629
45630
45631       ac_ext=cpp
45632 ac_cpp='$CXXCPP $CPPFLAGS'
45633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45636
45637       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45638 /* end confdefs.h.  */
45639 #include <math.h>
45640                       #ifdef HAVE_IEEEFP_H
45641                       #include <ieeefp.h>
45642                       #endif
45643
45644 int
45645 main ()
45646 {
45647  _isnan(0);
45648   ;
45649   return 0;
45650 }
45651 _ACEOF
45652 if ac_fn_cxx_try_compile "$LINENO"; then :
45653   glibcxx_cv_func__isnan_use=yes
45654 else
45655   glibcxx_cv_func__isnan_use=no
45656 fi
45657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45658       ac_ext=c
45659 ac_cpp='$CPP $CPPFLAGS'
45660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45663
45664
45665 fi
45666
45667   fi
45668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
45669 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
45670
45671     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
45672       for ac_func in _isnan
45673 do :
45674   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
45675 if test "x$ac_cv_func__isnan" = x""yes; then :
45676   cat >>confdefs.h <<_ACEOF
45677 #define HAVE__ISNAN 1
45678 _ACEOF
45679
45680 fi
45681 done
45682
45683     fi
45684   fi
45685
45686
45687
45688
45689
45690   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
45691 $as_echo_n "checking for finite declaration... " >&6; }
45692   if test x${glibcxx_cv_func_finite_use+set} != xset; then
45693     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
45694   $as_echo_n "(cached) " >&6
45695 else
45696
45697
45698       ac_ext=cpp
45699 ac_cpp='$CXXCPP $CPPFLAGS'
45700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45703
45704       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45705 /* end confdefs.h.  */
45706 #include <math.h>
45707                       #ifdef HAVE_IEEEFP_H
45708                       #include <ieeefp.h>
45709                       #endif
45710
45711 int
45712 main ()
45713 {
45714  finite(0);
45715   ;
45716   return 0;
45717 }
45718 _ACEOF
45719 if ac_fn_cxx_try_compile "$LINENO"; then :
45720   glibcxx_cv_func_finite_use=yes
45721 else
45722   glibcxx_cv_func_finite_use=no
45723 fi
45724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45725       ac_ext=c
45726 ac_cpp='$CPP $CPPFLAGS'
45727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45730
45731
45732 fi
45733
45734   fi
45735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
45736 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
45737
45738   if test x$glibcxx_cv_func_finite_use = x"yes"; then
45739     for ac_func in finite
45740 do :
45741   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
45742 if test "x$ac_cv_func_finite" = x""yes; then :
45743   cat >>confdefs.h <<_ACEOF
45744 #define HAVE_FINITE 1
45745 _ACEOF
45746
45747 fi
45748 done
45749
45750   else
45751
45752   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
45753 $as_echo_n "checking for _finite declaration... " >&6; }
45754   if test x${glibcxx_cv_func__finite_use+set} != xset; then
45755     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
45756   $as_echo_n "(cached) " >&6
45757 else
45758
45759
45760       ac_ext=cpp
45761 ac_cpp='$CXXCPP $CPPFLAGS'
45762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45765
45766       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45767 /* end confdefs.h.  */
45768 #include <math.h>
45769                       #ifdef HAVE_IEEEFP_H
45770                       #include <ieeefp.h>
45771                       #endif
45772
45773 int
45774 main ()
45775 {
45776  _finite(0);
45777   ;
45778   return 0;
45779 }
45780 _ACEOF
45781 if ac_fn_cxx_try_compile "$LINENO"; then :
45782   glibcxx_cv_func__finite_use=yes
45783 else
45784   glibcxx_cv_func__finite_use=no
45785 fi
45786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45787       ac_ext=c
45788 ac_cpp='$CPP $CPPFLAGS'
45789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45792
45793
45794 fi
45795
45796   fi
45797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
45798 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
45799
45800     if test x$glibcxx_cv_func__finite_use = x"yes"; then
45801       for ac_func in _finite
45802 do :
45803   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
45804 if test "x$ac_cv_func__finite" = x""yes; then :
45805   cat >>confdefs.h <<_ACEOF
45806 #define HAVE__FINITE 1
45807 _ACEOF
45808
45809 fi
45810 done
45811
45812     fi
45813   fi
45814
45815
45816
45817
45818
45819   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
45820 $as_echo_n "checking for sincos declaration... " >&6; }
45821   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
45822     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
45823   $as_echo_n "(cached) " >&6
45824 else
45825
45826
45827       ac_ext=cpp
45828 ac_cpp='$CXXCPP $CPPFLAGS'
45829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45832
45833       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45834 /* end confdefs.h.  */
45835 #include <math.h>
45836 int
45837 main ()
45838 {
45839  sincos(0, 0, 0);
45840   ;
45841   return 0;
45842 }
45843 _ACEOF
45844 if ac_fn_cxx_try_compile "$LINENO"; then :
45845   glibcxx_cv_func_sincos_use=yes
45846 else
45847   glibcxx_cv_func_sincos_use=no
45848 fi
45849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45850       ac_ext=c
45851 ac_cpp='$CPP $CPPFLAGS'
45852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45855
45856
45857 fi
45858
45859   fi
45860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
45861 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
45862
45863   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
45864     for ac_func in sincos
45865 do :
45866   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
45867 if test "x$ac_cv_func_sincos" = x""yes; then :
45868   cat >>confdefs.h <<_ACEOF
45869 #define HAVE_SINCOS 1
45870 _ACEOF
45871
45872 fi
45873 done
45874
45875   else
45876
45877   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
45878 $as_echo_n "checking for _sincos declaration... " >&6; }
45879   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
45880     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
45881   $as_echo_n "(cached) " >&6
45882 else
45883
45884
45885       ac_ext=cpp
45886 ac_cpp='$CXXCPP $CPPFLAGS'
45887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45890
45891       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45892 /* end confdefs.h.  */
45893 #include <math.h>
45894 int
45895 main ()
45896 {
45897  _sincos(0, 0, 0);
45898   ;
45899   return 0;
45900 }
45901 _ACEOF
45902 if ac_fn_cxx_try_compile "$LINENO"; then :
45903   glibcxx_cv_func__sincos_use=yes
45904 else
45905   glibcxx_cv_func__sincos_use=no
45906 fi
45907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45908       ac_ext=c
45909 ac_cpp='$CPP $CPPFLAGS'
45910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45913
45914
45915 fi
45916
45917   fi
45918   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
45919 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
45920
45921     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
45922       for ac_func in _sincos
45923 do :
45924   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
45925 if test "x$ac_cv_func__sincos" = x""yes; then :
45926   cat >>confdefs.h <<_ACEOF
45927 #define HAVE__SINCOS 1
45928 _ACEOF
45929
45930 fi
45931 done
45932
45933     fi
45934   fi
45935
45936
45937
45938
45939
45940   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
45941 $as_echo_n "checking for fpclass declaration... " >&6; }
45942   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
45943     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
45944   $as_echo_n "(cached) " >&6
45945 else
45946
45947
45948       ac_ext=cpp
45949 ac_cpp='$CXXCPP $CPPFLAGS'
45950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45953
45954       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45955 /* end confdefs.h.  */
45956 #include <math.h>
45957                       #ifdef HAVE_IEEEFP_H
45958                       #include <ieeefp.h>
45959                       #endif
45960
45961 int
45962 main ()
45963 {
45964  fpclass(0);
45965   ;
45966   return 0;
45967 }
45968 _ACEOF
45969 if ac_fn_cxx_try_compile "$LINENO"; then :
45970   glibcxx_cv_func_fpclass_use=yes
45971 else
45972   glibcxx_cv_func_fpclass_use=no
45973 fi
45974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45975       ac_ext=c
45976 ac_cpp='$CPP $CPPFLAGS'
45977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45980
45981
45982 fi
45983
45984   fi
45985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
45986 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
45987
45988   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
45989     for ac_func in fpclass
45990 do :
45991   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
45992 if test "x$ac_cv_func_fpclass" = x""yes; then :
45993   cat >>confdefs.h <<_ACEOF
45994 #define HAVE_FPCLASS 1
45995 _ACEOF
45996
45997 fi
45998 done
45999
46000   else
46001
46002   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46003 $as_echo_n "checking for _fpclass declaration... " >&6; }
46004   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46005     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46006   $as_echo_n "(cached) " >&6
46007 else
46008
46009
46010       ac_ext=cpp
46011 ac_cpp='$CXXCPP $CPPFLAGS'
46012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46015
46016       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46017 /* end confdefs.h.  */
46018 #include <math.h>
46019                       #ifdef HAVE_IEEEFP_H
46020                       #include <ieeefp.h>
46021                       #endif
46022
46023 int
46024 main ()
46025 {
46026  _fpclass(0);
46027   ;
46028   return 0;
46029 }
46030 _ACEOF
46031 if ac_fn_cxx_try_compile "$LINENO"; then :
46032   glibcxx_cv_func__fpclass_use=yes
46033 else
46034   glibcxx_cv_func__fpclass_use=no
46035 fi
46036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46037       ac_ext=c
46038 ac_cpp='$CPP $CPPFLAGS'
46039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46042
46043
46044 fi
46045
46046   fi
46047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46048 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46049
46050     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46051       for ac_func in _fpclass
46052 do :
46053   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46054 if test "x$ac_cv_func__fpclass" = x""yes; then :
46055   cat >>confdefs.h <<_ACEOF
46056 #define HAVE__FPCLASS 1
46057 _ACEOF
46058
46059 fi
46060 done
46061
46062     fi
46063   fi
46064
46065
46066
46067
46068
46069   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46070 $as_echo_n "checking for qfpclass declaration... " >&6; }
46071   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46072     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
46073   $as_echo_n "(cached) " >&6
46074 else
46075
46076
46077       ac_ext=cpp
46078 ac_cpp='$CXXCPP $CPPFLAGS'
46079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46082
46083       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46084 /* end confdefs.h.  */
46085 #include <math.h>
46086                       #ifdef HAVE_IEEEFP_H
46087                       #include <ieeefp.h>
46088                       #endif
46089
46090 int
46091 main ()
46092 {
46093  qfpclass(0);
46094   ;
46095   return 0;
46096 }
46097 _ACEOF
46098 if ac_fn_cxx_try_compile "$LINENO"; then :
46099   glibcxx_cv_func_qfpclass_use=yes
46100 else
46101   glibcxx_cv_func_qfpclass_use=no
46102 fi
46103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46104       ac_ext=c
46105 ac_cpp='$CPP $CPPFLAGS'
46106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46109
46110
46111 fi
46112
46113   fi
46114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
46115 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
46116
46117   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46118     for ac_func in qfpclass
46119 do :
46120   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
46121 if test "x$ac_cv_func_qfpclass" = x""yes; then :
46122   cat >>confdefs.h <<_ACEOF
46123 #define HAVE_QFPCLASS 1
46124 _ACEOF
46125
46126 fi
46127 done
46128
46129   else
46130
46131   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
46132 $as_echo_n "checking for _qfpclass declaration... " >&6; }
46133   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46134     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
46135   $as_echo_n "(cached) " >&6
46136 else
46137
46138
46139       ac_ext=cpp
46140 ac_cpp='$CXXCPP $CPPFLAGS'
46141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46144
46145       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46146 /* end confdefs.h.  */
46147 #include <math.h>
46148                       #ifdef HAVE_IEEEFP_H
46149                       #include <ieeefp.h>
46150                       #endif
46151
46152 int
46153 main ()
46154 {
46155  _qfpclass(0);
46156   ;
46157   return 0;
46158 }
46159 _ACEOF
46160 if ac_fn_cxx_try_compile "$LINENO"; then :
46161   glibcxx_cv_func__qfpclass_use=yes
46162 else
46163   glibcxx_cv_func__qfpclass_use=no
46164 fi
46165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46166       ac_ext=c
46167 ac_cpp='$CPP $CPPFLAGS'
46168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46171
46172
46173 fi
46174
46175   fi
46176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
46177 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
46178
46179     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46180       for ac_func in _qfpclass
46181 do :
46182   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
46183 if test "x$ac_cv_func__qfpclass" = x""yes; then :
46184   cat >>confdefs.h <<_ACEOF
46185 #define HAVE__QFPCLASS 1
46186 _ACEOF
46187
46188 fi
46189 done
46190
46191     fi
46192   fi
46193
46194
46195
46196
46197
46198   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
46199 $as_echo_n "checking for hypot declaration... " >&6; }
46200   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46201     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
46202   $as_echo_n "(cached) " >&6
46203 else
46204
46205
46206       ac_ext=cpp
46207 ac_cpp='$CXXCPP $CPPFLAGS'
46208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46211
46212       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46213 /* end confdefs.h.  */
46214 #include <math.h>
46215 int
46216 main ()
46217 {
46218  hypot(0, 0);
46219   ;
46220   return 0;
46221 }
46222 _ACEOF
46223 if ac_fn_cxx_try_compile "$LINENO"; then :
46224   glibcxx_cv_func_hypot_use=yes
46225 else
46226   glibcxx_cv_func_hypot_use=no
46227 fi
46228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46229       ac_ext=c
46230 ac_cpp='$CPP $CPPFLAGS'
46231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46234
46235
46236 fi
46237
46238   fi
46239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
46240 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
46241
46242   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46243     for ac_func in hypot
46244 do :
46245   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
46246 if test "x$ac_cv_func_hypot" = x""yes; then :
46247   cat >>confdefs.h <<_ACEOF
46248 #define HAVE_HYPOT 1
46249 _ACEOF
46250
46251 fi
46252 done
46253
46254   else
46255
46256   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
46257 $as_echo_n "checking for _hypot declaration... " >&6; }
46258   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46259     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
46260   $as_echo_n "(cached) " >&6
46261 else
46262
46263
46264       ac_ext=cpp
46265 ac_cpp='$CXXCPP $CPPFLAGS'
46266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46269
46270       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46271 /* end confdefs.h.  */
46272 #include <math.h>
46273 int
46274 main ()
46275 {
46276  _hypot(0, 0);
46277   ;
46278   return 0;
46279 }
46280 _ACEOF
46281 if ac_fn_cxx_try_compile "$LINENO"; then :
46282   glibcxx_cv_func__hypot_use=yes
46283 else
46284   glibcxx_cv_func__hypot_use=no
46285 fi
46286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46287       ac_ext=c
46288 ac_cpp='$CPP $CPPFLAGS'
46289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46292
46293
46294 fi
46295
46296   fi
46297   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
46298 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
46299
46300     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46301       for ac_func in _hypot
46302 do :
46303   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
46304 if test "x$ac_cv_func__hypot" = x""yes; then :
46305   cat >>confdefs.h <<_ACEOF
46306 #define HAVE__HYPOT 1
46307 _ACEOF
46308
46309 fi
46310 done
46311
46312     fi
46313   fi
46314
46315
46316
46317
46318
46319     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
46320 $as_echo_n "checking for float trig functions... " >&6; }
46321   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
46322   $as_echo_n "(cached) " >&6
46323 else
46324
46325
46326     ac_ext=cpp
46327 ac_cpp='$CXXCPP $CPPFLAGS'
46328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46331
46332     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46333 /* end confdefs.h.  */
46334 #include <math.h>
46335 int
46336 main ()
46337 {
46338 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
46339   ;
46340   return 0;
46341 }
46342 _ACEOF
46343 if ac_fn_cxx_try_compile "$LINENO"; then :
46344   glibcxx_cv_func_float_trig_use=yes
46345 else
46346   glibcxx_cv_func_float_trig_use=no
46347 fi
46348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46349     ac_ext=c
46350 ac_cpp='$CPP $CPPFLAGS'
46351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46354
46355 fi
46356
46357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
46358 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
46359   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
46360     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
46361 do :
46362   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46363 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46364 eval as_val=\$$as_ac_var
46365    if test "x$as_val" = x""yes; then :
46366   cat >>confdefs.h <<_ACEOF
46367 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46368 _ACEOF
46369
46370 fi
46371 done
46372
46373   else
46374     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
46375 $as_echo_n "checking for _float trig functions... " >&6; }
46376     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
46377   $as_echo_n "(cached) " >&6
46378 else
46379
46380
46381       ac_ext=cpp
46382 ac_cpp='$CXXCPP $CPPFLAGS'
46383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46386
46387       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46388 /* end confdefs.h.  */
46389 #include <math.h>
46390 int
46391 main ()
46392 {
46393 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
46394   ;
46395   return 0;
46396 }
46397 _ACEOF
46398 if ac_fn_cxx_try_compile "$LINENO"; then :
46399   glibcxx_cv_func__float_trig_use=yes
46400 else
46401   glibcxx_cv_func__float_trig_use=no
46402 fi
46403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46404       ac_ext=c
46405 ac_cpp='$CPP $CPPFLAGS'
46406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46409
46410 fi
46411
46412     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
46413 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
46414     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
46415       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
46416 do :
46417   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46418 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46419 eval as_val=\$$as_ac_var
46420    if test "x$as_val" = x""yes; then :
46421   cat >>confdefs.h <<_ACEOF
46422 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46423 _ACEOF
46424
46425 fi
46426 done
46427
46428     fi
46429   fi
46430
46431
46432
46433
46434
46435     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
46436 $as_echo_n "checking for float round functions... " >&6; }
46437   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
46438   $as_echo_n "(cached) " >&6
46439 else
46440
46441
46442     ac_ext=cpp
46443 ac_cpp='$CXXCPP $CPPFLAGS'
46444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46447
46448     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46449 /* end confdefs.h.  */
46450 #include <math.h>
46451 int
46452 main ()
46453 {
46454 ceilf (0); floorf (0);
46455   ;
46456   return 0;
46457 }
46458 _ACEOF
46459 if ac_fn_cxx_try_compile "$LINENO"; then :
46460   glibcxx_cv_func_float_round_use=yes
46461 else
46462   glibcxx_cv_func_float_round_use=no
46463 fi
46464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46465     ac_ext=c
46466 ac_cpp='$CPP $CPPFLAGS'
46467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46470
46471 fi
46472
46473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
46474 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
46475   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
46476     for ac_func in ceilf floorf
46477 do :
46478   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46479 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46480 eval as_val=\$$as_ac_var
46481    if test "x$as_val" = x""yes; then :
46482   cat >>confdefs.h <<_ACEOF
46483 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46484 _ACEOF
46485
46486 fi
46487 done
46488
46489   else
46490     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
46491 $as_echo_n "checking for _float round functions... " >&6; }
46492     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
46493   $as_echo_n "(cached) " >&6
46494 else
46495
46496
46497       ac_ext=cpp
46498 ac_cpp='$CXXCPP $CPPFLAGS'
46499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46502
46503       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46504 /* end confdefs.h.  */
46505 #include <math.h>
46506 int
46507 main ()
46508 {
46509 _ceilf (0); _floorf (0);
46510   ;
46511   return 0;
46512 }
46513 _ACEOF
46514 if ac_fn_cxx_try_compile "$LINENO"; then :
46515   glibcxx_cv_func__float_round_use=yes
46516 else
46517   glibcxx_cv_func__float_round_use=no
46518 fi
46519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46520       ac_ext=c
46521 ac_cpp='$CPP $CPPFLAGS'
46522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46525
46526 fi
46527
46528     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
46529 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
46530     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
46531       for ac_func in _ceilf _floorf
46532 do :
46533   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46534 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46535 eval as_val=\$$as_ac_var
46536    if test "x$as_val" = x""yes; then :
46537   cat >>confdefs.h <<_ACEOF
46538 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46539 _ACEOF
46540
46541 fi
46542 done
46543
46544     fi
46545   fi
46546
46547
46548
46549
46550
46551
46552   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
46553 $as_echo_n "checking for expf declaration... " >&6; }
46554   if test x${glibcxx_cv_func_expf_use+set} != xset; then
46555     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
46556   $as_echo_n "(cached) " >&6
46557 else
46558
46559
46560       ac_ext=cpp
46561 ac_cpp='$CXXCPP $CPPFLAGS'
46562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46565
46566       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46567 /* end confdefs.h.  */
46568 #include <math.h>
46569                       #ifdef HAVE_IEEEFP_H
46570                       #include <ieeefp.h>
46571                       #endif
46572
46573 int
46574 main ()
46575 {
46576  expf(0);
46577   ;
46578   return 0;
46579 }
46580 _ACEOF
46581 if ac_fn_cxx_try_compile "$LINENO"; then :
46582   glibcxx_cv_func_expf_use=yes
46583 else
46584   glibcxx_cv_func_expf_use=no
46585 fi
46586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46587       ac_ext=c
46588 ac_cpp='$CPP $CPPFLAGS'
46589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46592
46593
46594 fi
46595
46596   fi
46597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
46598 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
46599
46600   if test x$glibcxx_cv_func_expf_use = x"yes"; then
46601     for ac_func in expf
46602 do :
46603   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
46604 if test "x$ac_cv_func_expf" = x""yes; then :
46605   cat >>confdefs.h <<_ACEOF
46606 #define HAVE_EXPF 1
46607 _ACEOF
46608
46609 fi
46610 done
46611
46612   else
46613
46614   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
46615 $as_echo_n "checking for _expf declaration... " >&6; }
46616   if test x${glibcxx_cv_func__expf_use+set} != xset; then
46617     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
46618   $as_echo_n "(cached) " >&6
46619 else
46620
46621
46622       ac_ext=cpp
46623 ac_cpp='$CXXCPP $CPPFLAGS'
46624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46627
46628       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46629 /* end confdefs.h.  */
46630 #include <math.h>
46631                       #ifdef HAVE_IEEEFP_H
46632                       #include <ieeefp.h>
46633                       #endif
46634
46635 int
46636 main ()
46637 {
46638  _expf(0);
46639   ;
46640   return 0;
46641 }
46642 _ACEOF
46643 if ac_fn_cxx_try_compile "$LINENO"; then :
46644   glibcxx_cv_func__expf_use=yes
46645 else
46646   glibcxx_cv_func__expf_use=no
46647 fi
46648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46649       ac_ext=c
46650 ac_cpp='$CPP $CPPFLAGS'
46651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46654
46655
46656 fi
46657
46658   fi
46659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
46660 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
46661
46662     if test x$glibcxx_cv_func__expf_use = x"yes"; then
46663       for ac_func in _expf
46664 do :
46665   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
46666 if test "x$ac_cv_func__expf" = x""yes; then :
46667   cat >>confdefs.h <<_ACEOF
46668 #define HAVE__EXPF 1
46669 _ACEOF
46670
46671 fi
46672 done
46673
46674     fi
46675   fi
46676
46677
46678
46679
46680
46681   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
46682 $as_echo_n "checking for isnanf declaration... " >&6; }
46683   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46684     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
46685   $as_echo_n "(cached) " >&6
46686 else
46687
46688
46689       ac_ext=cpp
46690 ac_cpp='$CXXCPP $CPPFLAGS'
46691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46694
46695       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46696 /* end confdefs.h.  */
46697 #include <math.h>
46698                       #ifdef HAVE_IEEEFP_H
46699                       #include <ieeefp.h>
46700                       #endif
46701
46702 int
46703 main ()
46704 {
46705  isnanf(0);
46706   ;
46707   return 0;
46708 }
46709 _ACEOF
46710 if ac_fn_cxx_try_compile "$LINENO"; then :
46711   glibcxx_cv_func_isnanf_use=yes
46712 else
46713   glibcxx_cv_func_isnanf_use=no
46714 fi
46715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46716       ac_ext=c
46717 ac_cpp='$CPP $CPPFLAGS'
46718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46721
46722
46723 fi
46724
46725   fi
46726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
46727 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
46728
46729   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46730     for ac_func in isnanf
46731 do :
46732   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
46733 if test "x$ac_cv_func_isnanf" = x""yes; then :
46734   cat >>confdefs.h <<_ACEOF
46735 #define HAVE_ISNANF 1
46736 _ACEOF
46737
46738 fi
46739 done
46740
46741   else
46742
46743   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
46744 $as_echo_n "checking for _isnanf declaration... " >&6; }
46745   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
46746     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
46747   $as_echo_n "(cached) " >&6
46748 else
46749
46750
46751       ac_ext=cpp
46752 ac_cpp='$CXXCPP $CPPFLAGS'
46753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46756
46757       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46758 /* end confdefs.h.  */
46759 #include <math.h>
46760                       #ifdef HAVE_IEEEFP_H
46761                       #include <ieeefp.h>
46762                       #endif
46763
46764 int
46765 main ()
46766 {
46767  _isnanf(0);
46768   ;
46769   return 0;
46770 }
46771 _ACEOF
46772 if ac_fn_cxx_try_compile "$LINENO"; then :
46773   glibcxx_cv_func__isnanf_use=yes
46774 else
46775   glibcxx_cv_func__isnanf_use=no
46776 fi
46777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46778       ac_ext=c
46779 ac_cpp='$CPP $CPPFLAGS'
46780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46783
46784
46785 fi
46786
46787   fi
46788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
46789 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
46790
46791     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
46792       for ac_func in _isnanf
46793 do :
46794   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
46795 if test "x$ac_cv_func__isnanf" = x""yes; then :
46796   cat >>confdefs.h <<_ACEOF
46797 #define HAVE__ISNANF 1
46798 _ACEOF
46799
46800 fi
46801 done
46802
46803     fi
46804   fi
46805
46806
46807
46808
46809
46810   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
46811 $as_echo_n "checking for isinff declaration... " >&6; }
46812   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
46813     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
46814   $as_echo_n "(cached) " >&6
46815 else
46816
46817
46818       ac_ext=cpp
46819 ac_cpp='$CXXCPP $CPPFLAGS'
46820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46823
46824       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46825 /* end confdefs.h.  */
46826 #include <math.h>
46827                       #ifdef HAVE_IEEEFP_H
46828                       #include <ieeefp.h>
46829                       #endif
46830
46831 int
46832 main ()
46833 {
46834  isinff(0);
46835   ;
46836   return 0;
46837 }
46838 _ACEOF
46839 if ac_fn_cxx_try_compile "$LINENO"; then :
46840   glibcxx_cv_func_isinff_use=yes
46841 else
46842   glibcxx_cv_func_isinff_use=no
46843 fi
46844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46845       ac_ext=c
46846 ac_cpp='$CPP $CPPFLAGS'
46847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46850
46851
46852 fi
46853
46854   fi
46855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
46856 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
46857
46858   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
46859     for ac_func in isinff
46860 do :
46861   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
46862 if test "x$ac_cv_func_isinff" = x""yes; then :
46863   cat >>confdefs.h <<_ACEOF
46864 #define HAVE_ISINFF 1
46865 _ACEOF
46866
46867 fi
46868 done
46869
46870   else
46871
46872   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
46873 $as_echo_n "checking for _isinff declaration... " >&6; }
46874   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
46875     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
46876   $as_echo_n "(cached) " >&6
46877 else
46878
46879
46880       ac_ext=cpp
46881 ac_cpp='$CXXCPP $CPPFLAGS'
46882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46885
46886       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46887 /* end confdefs.h.  */
46888 #include <math.h>
46889                       #ifdef HAVE_IEEEFP_H
46890                       #include <ieeefp.h>
46891                       #endif
46892
46893 int
46894 main ()
46895 {
46896  _isinff(0);
46897   ;
46898   return 0;
46899 }
46900 _ACEOF
46901 if ac_fn_cxx_try_compile "$LINENO"; then :
46902   glibcxx_cv_func__isinff_use=yes
46903 else
46904   glibcxx_cv_func__isinff_use=no
46905 fi
46906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46907       ac_ext=c
46908 ac_cpp='$CPP $CPPFLAGS'
46909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46912
46913
46914 fi
46915
46916   fi
46917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
46918 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
46919
46920     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
46921       for ac_func in _isinff
46922 do :
46923   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
46924 if test "x$ac_cv_func__isinff" = x""yes; then :
46925   cat >>confdefs.h <<_ACEOF
46926 #define HAVE__ISINFF 1
46927 _ACEOF
46928
46929 fi
46930 done
46931
46932     fi
46933   fi
46934
46935
46936
46937
46938
46939   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
46940 $as_echo_n "checking for atan2f declaration... " >&6; }
46941   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
46942     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
46943   $as_echo_n "(cached) " >&6
46944 else
46945
46946
46947       ac_ext=cpp
46948 ac_cpp='$CXXCPP $CPPFLAGS'
46949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46952
46953       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46954 /* end confdefs.h.  */
46955 #include <math.h>
46956 int
46957 main ()
46958 {
46959  atan2f(0, 0);
46960   ;
46961   return 0;
46962 }
46963 _ACEOF
46964 if ac_fn_cxx_try_compile "$LINENO"; then :
46965   glibcxx_cv_func_atan2f_use=yes
46966 else
46967   glibcxx_cv_func_atan2f_use=no
46968 fi
46969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46970       ac_ext=c
46971 ac_cpp='$CPP $CPPFLAGS'
46972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46975
46976
46977 fi
46978
46979   fi
46980   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
46981 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
46982
46983   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
46984     for ac_func in atan2f
46985 do :
46986   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
46987 if test "x$ac_cv_func_atan2f" = x""yes; then :
46988   cat >>confdefs.h <<_ACEOF
46989 #define HAVE_ATAN2F 1
46990 _ACEOF
46991
46992 fi
46993 done
46994
46995   else
46996
46997   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
46998 $as_echo_n "checking for _atan2f declaration... " >&6; }
46999   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47000     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47001   $as_echo_n "(cached) " >&6
47002 else
47003
47004
47005       ac_ext=cpp
47006 ac_cpp='$CXXCPP $CPPFLAGS'
47007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47010
47011       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47012 /* end confdefs.h.  */
47013 #include <math.h>
47014 int
47015 main ()
47016 {
47017  _atan2f(0, 0);
47018   ;
47019   return 0;
47020 }
47021 _ACEOF
47022 if ac_fn_cxx_try_compile "$LINENO"; then :
47023   glibcxx_cv_func__atan2f_use=yes
47024 else
47025   glibcxx_cv_func__atan2f_use=no
47026 fi
47027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47028       ac_ext=c
47029 ac_cpp='$CPP $CPPFLAGS'
47030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47033
47034
47035 fi
47036
47037   fi
47038   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47039 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47040
47041     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47042       for ac_func in _atan2f
47043 do :
47044   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47045 if test "x$ac_cv_func__atan2f" = x""yes; then :
47046   cat >>confdefs.h <<_ACEOF
47047 #define HAVE__ATAN2F 1
47048 _ACEOF
47049
47050 fi
47051 done
47052
47053     fi
47054   fi
47055
47056
47057
47058
47059
47060   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
47061 $as_echo_n "checking for fabsf declaration... " >&6; }
47062   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47063     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
47064   $as_echo_n "(cached) " >&6
47065 else
47066
47067
47068       ac_ext=cpp
47069 ac_cpp='$CXXCPP $CPPFLAGS'
47070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47073
47074       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47075 /* end confdefs.h.  */
47076 #include <math.h>
47077                       #ifdef HAVE_IEEEFP_H
47078                       #include <ieeefp.h>
47079                       #endif
47080
47081 int
47082 main ()
47083 {
47084  fabsf(0);
47085   ;
47086   return 0;
47087 }
47088 _ACEOF
47089 if ac_fn_cxx_try_compile "$LINENO"; then :
47090   glibcxx_cv_func_fabsf_use=yes
47091 else
47092   glibcxx_cv_func_fabsf_use=no
47093 fi
47094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47095       ac_ext=c
47096 ac_cpp='$CPP $CPPFLAGS'
47097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47100
47101
47102 fi
47103
47104   fi
47105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
47106 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
47107
47108   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47109     for ac_func in fabsf
47110 do :
47111   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
47112 if test "x$ac_cv_func_fabsf" = x""yes; then :
47113   cat >>confdefs.h <<_ACEOF
47114 #define HAVE_FABSF 1
47115 _ACEOF
47116
47117 fi
47118 done
47119
47120   else
47121
47122   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
47123 $as_echo_n "checking for _fabsf declaration... " >&6; }
47124   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47125     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
47126   $as_echo_n "(cached) " >&6
47127 else
47128
47129
47130       ac_ext=cpp
47131 ac_cpp='$CXXCPP $CPPFLAGS'
47132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47135
47136       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47137 /* end confdefs.h.  */
47138 #include <math.h>
47139                       #ifdef HAVE_IEEEFP_H
47140                       #include <ieeefp.h>
47141                       #endif
47142
47143 int
47144 main ()
47145 {
47146  _fabsf(0);
47147   ;
47148   return 0;
47149 }
47150 _ACEOF
47151 if ac_fn_cxx_try_compile "$LINENO"; then :
47152   glibcxx_cv_func__fabsf_use=yes
47153 else
47154   glibcxx_cv_func__fabsf_use=no
47155 fi
47156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47157       ac_ext=c
47158 ac_cpp='$CPP $CPPFLAGS'
47159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47162
47163
47164 fi
47165
47166   fi
47167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
47168 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
47169
47170     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47171       for ac_func in _fabsf
47172 do :
47173   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
47174 if test "x$ac_cv_func__fabsf" = x""yes; then :
47175   cat >>confdefs.h <<_ACEOF
47176 #define HAVE__FABSF 1
47177 _ACEOF
47178
47179 fi
47180 done
47181
47182     fi
47183   fi
47184
47185
47186
47187
47188
47189   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
47190 $as_echo_n "checking for fmodf declaration... " >&6; }
47191   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47192     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
47193   $as_echo_n "(cached) " >&6
47194 else
47195
47196
47197       ac_ext=cpp
47198 ac_cpp='$CXXCPP $CPPFLAGS'
47199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47202
47203       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47204 /* end confdefs.h.  */
47205 #include <math.h>
47206 int
47207 main ()
47208 {
47209  fmodf(0, 0);
47210   ;
47211   return 0;
47212 }
47213 _ACEOF
47214 if ac_fn_cxx_try_compile "$LINENO"; then :
47215   glibcxx_cv_func_fmodf_use=yes
47216 else
47217   glibcxx_cv_func_fmodf_use=no
47218 fi
47219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47220       ac_ext=c
47221 ac_cpp='$CPP $CPPFLAGS'
47222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47225
47226
47227 fi
47228
47229   fi
47230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
47231 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
47232
47233   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
47234     for ac_func in fmodf
47235 do :
47236   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
47237 if test "x$ac_cv_func_fmodf" = x""yes; then :
47238   cat >>confdefs.h <<_ACEOF
47239 #define HAVE_FMODF 1
47240 _ACEOF
47241
47242 fi
47243 done
47244
47245   else
47246
47247   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
47248 $as_echo_n "checking for _fmodf declaration... " >&6; }
47249   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
47250     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
47251   $as_echo_n "(cached) " >&6
47252 else
47253
47254
47255       ac_ext=cpp
47256 ac_cpp='$CXXCPP $CPPFLAGS'
47257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47260
47261       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47262 /* end confdefs.h.  */
47263 #include <math.h>
47264 int
47265 main ()
47266 {
47267  _fmodf(0, 0);
47268   ;
47269   return 0;
47270 }
47271 _ACEOF
47272 if ac_fn_cxx_try_compile "$LINENO"; then :
47273   glibcxx_cv_func__fmodf_use=yes
47274 else
47275   glibcxx_cv_func__fmodf_use=no
47276 fi
47277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47278       ac_ext=c
47279 ac_cpp='$CPP $CPPFLAGS'
47280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47283
47284
47285 fi
47286
47287   fi
47288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
47289 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
47290
47291     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
47292       for ac_func in _fmodf
47293 do :
47294   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
47295 if test "x$ac_cv_func__fmodf" = x""yes; then :
47296   cat >>confdefs.h <<_ACEOF
47297 #define HAVE__FMODF 1
47298 _ACEOF
47299
47300 fi
47301 done
47302
47303     fi
47304   fi
47305
47306
47307
47308
47309
47310   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
47311 $as_echo_n "checking for frexpf declaration... " >&6; }
47312   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
47313     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
47314   $as_echo_n "(cached) " >&6
47315 else
47316
47317
47318       ac_ext=cpp
47319 ac_cpp='$CXXCPP $CPPFLAGS'
47320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47323
47324       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47325 /* end confdefs.h.  */
47326 #include <math.h>
47327 int
47328 main ()
47329 {
47330  frexpf(0, 0);
47331   ;
47332   return 0;
47333 }
47334 _ACEOF
47335 if ac_fn_cxx_try_compile "$LINENO"; then :
47336   glibcxx_cv_func_frexpf_use=yes
47337 else
47338   glibcxx_cv_func_frexpf_use=no
47339 fi
47340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47341       ac_ext=c
47342 ac_cpp='$CPP $CPPFLAGS'
47343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47346
47347
47348 fi
47349
47350   fi
47351   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
47352 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
47353
47354   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
47355     for ac_func in frexpf
47356 do :
47357   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
47358 if test "x$ac_cv_func_frexpf" = x""yes; then :
47359   cat >>confdefs.h <<_ACEOF
47360 #define HAVE_FREXPF 1
47361 _ACEOF
47362
47363 fi
47364 done
47365
47366   else
47367
47368   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
47369 $as_echo_n "checking for _frexpf declaration... " >&6; }
47370   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
47371     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
47372   $as_echo_n "(cached) " >&6
47373 else
47374
47375
47376       ac_ext=cpp
47377 ac_cpp='$CXXCPP $CPPFLAGS'
47378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47381
47382       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47383 /* end confdefs.h.  */
47384 #include <math.h>
47385 int
47386 main ()
47387 {
47388  _frexpf(0, 0);
47389   ;
47390   return 0;
47391 }
47392 _ACEOF
47393 if ac_fn_cxx_try_compile "$LINENO"; then :
47394   glibcxx_cv_func__frexpf_use=yes
47395 else
47396   glibcxx_cv_func__frexpf_use=no
47397 fi
47398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47399       ac_ext=c
47400 ac_cpp='$CPP $CPPFLAGS'
47401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47404
47405
47406 fi
47407
47408   fi
47409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
47410 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
47411
47412     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
47413       for ac_func in _frexpf
47414 do :
47415   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
47416 if test "x$ac_cv_func__frexpf" = x""yes; then :
47417   cat >>confdefs.h <<_ACEOF
47418 #define HAVE__FREXPF 1
47419 _ACEOF
47420
47421 fi
47422 done
47423
47424     fi
47425   fi
47426
47427
47428
47429
47430
47431   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
47432 $as_echo_n "checking for hypotf declaration... " >&6; }
47433   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
47434     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
47435   $as_echo_n "(cached) " >&6
47436 else
47437
47438
47439       ac_ext=cpp
47440 ac_cpp='$CXXCPP $CPPFLAGS'
47441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47444
47445       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47446 /* end confdefs.h.  */
47447 #include <math.h>
47448 int
47449 main ()
47450 {
47451  hypotf(0, 0);
47452   ;
47453   return 0;
47454 }
47455 _ACEOF
47456 if ac_fn_cxx_try_compile "$LINENO"; then :
47457   glibcxx_cv_func_hypotf_use=yes
47458 else
47459   glibcxx_cv_func_hypotf_use=no
47460 fi
47461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47462       ac_ext=c
47463 ac_cpp='$CPP $CPPFLAGS'
47464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47467
47468
47469 fi
47470
47471   fi
47472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
47473 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
47474
47475   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
47476     for ac_func in hypotf
47477 do :
47478   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
47479 if test "x$ac_cv_func_hypotf" = x""yes; then :
47480   cat >>confdefs.h <<_ACEOF
47481 #define HAVE_HYPOTF 1
47482 _ACEOF
47483
47484 fi
47485 done
47486
47487   else
47488
47489   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
47490 $as_echo_n "checking for _hypotf declaration... " >&6; }
47491   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
47492     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
47493   $as_echo_n "(cached) " >&6
47494 else
47495
47496
47497       ac_ext=cpp
47498 ac_cpp='$CXXCPP $CPPFLAGS'
47499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47502
47503       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47504 /* end confdefs.h.  */
47505 #include <math.h>
47506 int
47507 main ()
47508 {
47509  _hypotf(0, 0);
47510   ;
47511   return 0;
47512 }
47513 _ACEOF
47514 if ac_fn_cxx_try_compile "$LINENO"; then :
47515   glibcxx_cv_func__hypotf_use=yes
47516 else
47517   glibcxx_cv_func__hypotf_use=no
47518 fi
47519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47520       ac_ext=c
47521 ac_cpp='$CPP $CPPFLAGS'
47522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47525
47526
47527 fi
47528
47529   fi
47530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
47531 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
47532
47533     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
47534       for ac_func in _hypotf
47535 do :
47536   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
47537 if test "x$ac_cv_func__hypotf" = x""yes; then :
47538   cat >>confdefs.h <<_ACEOF
47539 #define HAVE__HYPOTF 1
47540 _ACEOF
47541
47542 fi
47543 done
47544
47545     fi
47546   fi
47547
47548
47549
47550
47551
47552   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
47553 $as_echo_n "checking for ldexpf declaration... " >&6; }
47554   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
47555     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
47556   $as_echo_n "(cached) " >&6
47557 else
47558
47559
47560       ac_ext=cpp
47561 ac_cpp='$CXXCPP $CPPFLAGS'
47562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47565
47566       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47567 /* end confdefs.h.  */
47568 #include <math.h>
47569 int
47570 main ()
47571 {
47572  ldexpf(0, 0);
47573   ;
47574   return 0;
47575 }
47576 _ACEOF
47577 if ac_fn_cxx_try_compile "$LINENO"; then :
47578   glibcxx_cv_func_ldexpf_use=yes
47579 else
47580   glibcxx_cv_func_ldexpf_use=no
47581 fi
47582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47583       ac_ext=c
47584 ac_cpp='$CPP $CPPFLAGS'
47585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47588
47589
47590 fi
47591
47592   fi
47593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
47594 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
47595
47596   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
47597     for ac_func in ldexpf
47598 do :
47599   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
47600 if test "x$ac_cv_func_ldexpf" = x""yes; then :
47601   cat >>confdefs.h <<_ACEOF
47602 #define HAVE_LDEXPF 1
47603 _ACEOF
47604
47605 fi
47606 done
47607
47608   else
47609
47610   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
47611 $as_echo_n "checking for _ldexpf declaration... " >&6; }
47612   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
47613     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
47614   $as_echo_n "(cached) " >&6
47615 else
47616
47617
47618       ac_ext=cpp
47619 ac_cpp='$CXXCPP $CPPFLAGS'
47620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47623
47624       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47625 /* end confdefs.h.  */
47626 #include <math.h>
47627 int
47628 main ()
47629 {
47630  _ldexpf(0, 0);
47631   ;
47632   return 0;
47633 }
47634 _ACEOF
47635 if ac_fn_cxx_try_compile "$LINENO"; then :
47636   glibcxx_cv_func__ldexpf_use=yes
47637 else
47638   glibcxx_cv_func__ldexpf_use=no
47639 fi
47640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47641       ac_ext=c
47642 ac_cpp='$CPP $CPPFLAGS'
47643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47646
47647
47648 fi
47649
47650   fi
47651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
47652 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
47653
47654     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
47655       for ac_func in _ldexpf
47656 do :
47657   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
47658 if test "x$ac_cv_func__ldexpf" = x""yes; then :
47659   cat >>confdefs.h <<_ACEOF
47660 #define HAVE__LDEXPF 1
47661 _ACEOF
47662
47663 fi
47664 done
47665
47666     fi
47667   fi
47668
47669
47670
47671
47672
47673   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
47674 $as_echo_n "checking for logf declaration... " >&6; }
47675   if test x${glibcxx_cv_func_logf_use+set} != xset; then
47676     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
47677   $as_echo_n "(cached) " >&6
47678 else
47679
47680
47681       ac_ext=cpp
47682 ac_cpp='$CXXCPP $CPPFLAGS'
47683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47686
47687       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47688 /* end confdefs.h.  */
47689 #include <math.h>
47690                       #ifdef HAVE_IEEEFP_H
47691                       #include <ieeefp.h>
47692                       #endif
47693
47694 int
47695 main ()
47696 {
47697  logf(0);
47698   ;
47699   return 0;
47700 }
47701 _ACEOF
47702 if ac_fn_cxx_try_compile "$LINENO"; then :
47703   glibcxx_cv_func_logf_use=yes
47704 else
47705   glibcxx_cv_func_logf_use=no
47706 fi
47707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47708       ac_ext=c
47709 ac_cpp='$CPP $CPPFLAGS'
47710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47713
47714
47715 fi
47716
47717   fi
47718   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
47719 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
47720
47721   if test x$glibcxx_cv_func_logf_use = x"yes"; then
47722     for ac_func in logf
47723 do :
47724   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
47725 if test "x$ac_cv_func_logf" = x""yes; then :
47726   cat >>confdefs.h <<_ACEOF
47727 #define HAVE_LOGF 1
47728 _ACEOF
47729
47730 fi
47731 done
47732
47733   else
47734
47735   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
47736 $as_echo_n "checking for _logf declaration... " >&6; }
47737   if test x${glibcxx_cv_func__logf_use+set} != xset; then
47738     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
47739   $as_echo_n "(cached) " >&6
47740 else
47741
47742
47743       ac_ext=cpp
47744 ac_cpp='$CXXCPP $CPPFLAGS'
47745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47748
47749       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47750 /* end confdefs.h.  */
47751 #include <math.h>
47752                       #ifdef HAVE_IEEEFP_H
47753                       #include <ieeefp.h>
47754                       #endif
47755
47756 int
47757 main ()
47758 {
47759  _logf(0);
47760   ;
47761   return 0;
47762 }
47763 _ACEOF
47764 if ac_fn_cxx_try_compile "$LINENO"; then :
47765   glibcxx_cv_func__logf_use=yes
47766 else
47767   glibcxx_cv_func__logf_use=no
47768 fi
47769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47770       ac_ext=c
47771 ac_cpp='$CPP $CPPFLAGS'
47772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47775
47776
47777 fi
47778
47779   fi
47780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
47781 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
47782
47783     if test x$glibcxx_cv_func__logf_use = x"yes"; then
47784       for ac_func in _logf
47785 do :
47786   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
47787 if test "x$ac_cv_func__logf" = x""yes; then :
47788   cat >>confdefs.h <<_ACEOF
47789 #define HAVE__LOGF 1
47790 _ACEOF
47791
47792 fi
47793 done
47794
47795     fi
47796   fi
47797
47798
47799
47800
47801
47802   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
47803 $as_echo_n "checking for log10f declaration... " >&6; }
47804   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
47805     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
47806   $as_echo_n "(cached) " >&6
47807 else
47808
47809
47810       ac_ext=cpp
47811 ac_cpp='$CXXCPP $CPPFLAGS'
47812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47815
47816       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47817 /* end confdefs.h.  */
47818 #include <math.h>
47819                       #ifdef HAVE_IEEEFP_H
47820                       #include <ieeefp.h>
47821                       #endif
47822
47823 int
47824 main ()
47825 {
47826  log10f(0);
47827   ;
47828   return 0;
47829 }
47830 _ACEOF
47831 if ac_fn_cxx_try_compile "$LINENO"; then :
47832   glibcxx_cv_func_log10f_use=yes
47833 else
47834   glibcxx_cv_func_log10f_use=no
47835 fi
47836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47837       ac_ext=c
47838 ac_cpp='$CPP $CPPFLAGS'
47839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47842
47843
47844 fi
47845
47846   fi
47847   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
47848 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
47849
47850   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
47851     for ac_func in log10f
47852 do :
47853   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
47854 if test "x$ac_cv_func_log10f" = x""yes; then :
47855   cat >>confdefs.h <<_ACEOF
47856 #define HAVE_LOG10F 1
47857 _ACEOF
47858
47859 fi
47860 done
47861
47862   else
47863
47864   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
47865 $as_echo_n "checking for _log10f declaration... " >&6; }
47866   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
47867     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
47868   $as_echo_n "(cached) " >&6
47869 else
47870
47871
47872       ac_ext=cpp
47873 ac_cpp='$CXXCPP $CPPFLAGS'
47874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47877
47878       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47879 /* end confdefs.h.  */
47880 #include <math.h>
47881                       #ifdef HAVE_IEEEFP_H
47882                       #include <ieeefp.h>
47883                       #endif
47884
47885 int
47886 main ()
47887 {
47888  _log10f(0);
47889   ;
47890   return 0;
47891 }
47892 _ACEOF
47893 if ac_fn_cxx_try_compile "$LINENO"; then :
47894   glibcxx_cv_func__log10f_use=yes
47895 else
47896   glibcxx_cv_func__log10f_use=no
47897 fi
47898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47899       ac_ext=c
47900 ac_cpp='$CPP $CPPFLAGS'
47901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47904
47905
47906 fi
47907
47908   fi
47909   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
47910 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
47911
47912     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
47913       for ac_func in _log10f
47914 do :
47915   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
47916 if test "x$ac_cv_func__log10f" = x""yes; then :
47917   cat >>confdefs.h <<_ACEOF
47918 #define HAVE__LOG10F 1
47919 _ACEOF
47920
47921 fi
47922 done
47923
47924     fi
47925   fi
47926
47927
47928
47929
47930
47931   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
47932 $as_echo_n "checking for modff declaration... " >&6; }
47933   if test x${glibcxx_cv_func_modff_use+set} != xset; then
47934     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
47935   $as_echo_n "(cached) " >&6
47936 else
47937
47938
47939       ac_ext=cpp
47940 ac_cpp='$CXXCPP $CPPFLAGS'
47941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47944
47945       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47946 /* end confdefs.h.  */
47947 #include <math.h>
47948 int
47949 main ()
47950 {
47951  modff(0, 0);
47952   ;
47953   return 0;
47954 }
47955 _ACEOF
47956 if ac_fn_cxx_try_compile "$LINENO"; then :
47957   glibcxx_cv_func_modff_use=yes
47958 else
47959   glibcxx_cv_func_modff_use=no
47960 fi
47961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47962       ac_ext=c
47963 ac_cpp='$CPP $CPPFLAGS'
47964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47967
47968
47969 fi
47970
47971   fi
47972   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
47973 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
47974
47975   if test x$glibcxx_cv_func_modff_use = x"yes"; then
47976     for ac_func in modff
47977 do :
47978   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
47979 if test "x$ac_cv_func_modff" = x""yes; then :
47980   cat >>confdefs.h <<_ACEOF
47981 #define HAVE_MODFF 1
47982 _ACEOF
47983
47984 fi
47985 done
47986
47987   else
47988
47989   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
47990 $as_echo_n "checking for _modff declaration... " >&6; }
47991   if test x${glibcxx_cv_func__modff_use+set} != xset; then
47992     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
47993   $as_echo_n "(cached) " >&6
47994 else
47995
47996
47997       ac_ext=cpp
47998 ac_cpp='$CXXCPP $CPPFLAGS'
47999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48002
48003       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48004 /* end confdefs.h.  */
48005 #include <math.h>
48006 int
48007 main ()
48008 {
48009  _modff(0, 0);
48010   ;
48011   return 0;
48012 }
48013 _ACEOF
48014 if ac_fn_cxx_try_compile "$LINENO"; then :
48015   glibcxx_cv_func__modff_use=yes
48016 else
48017   glibcxx_cv_func__modff_use=no
48018 fi
48019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48020       ac_ext=c
48021 ac_cpp='$CPP $CPPFLAGS'
48022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48025
48026
48027 fi
48028
48029   fi
48030   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48031 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48032
48033     if test x$glibcxx_cv_func__modff_use = x"yes"; then
48034       for ac_func in _modff
48035 do :
48036   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48037 if test "x$ac_cv_func__modff" = x""yes; then :
48038   cat >>confdefs.h <<_ACEOF
48039 #define HAVE__MODFF 1
48040 _ACEOF
48041
48042 fi
48043 done
48044
48045     fi
48046   fi
48047
48048
48049
48050
48051
48052   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48053 $as_echo_n "checking for modf declaration... " >&6; }
48054   if test x${glibcxx_cv_func_modf_use+set} != xset; then
48055     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48056   $as_echo_n "(cached) " >&6
48057 else
48058
48059
48060       ac_ext=cpp
48061 ac_cpp='$CXXCPP $CPPFLAGS'
48062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48065
48066       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48067 /* end confdefs.h.  */
48068 #include <math.h>
48069 int
48070 main ()
48071 {
48072  modf(0, 0);
48073   ;
48074   return 0;
48075 }
48076 _ACEOF
48077 if ac_fn_cxx_try_compile "$LINENO"; then :
48078   glibcxx_cv_func_modf_use=yes
48079 else
48080   glibcxx_cv_func_modf_use=no
48081 fi
48082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48083       ac_ext=c
48084 ac_cpp='$CPP $CPPFLAGS'
48085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48088
48089
48090 fi
48091
48092   fi
48093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
48094 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
48095
48096   if test x$glibcxx_cv_func_modf_use = x"yes"; then
48097     for ac_func in modf
48098 do :
48099   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
48100 if test "x$ac_cv_func_modf" = x""yes; then :
48101   cat >>confdefs.h <<_ACEOF
48102 #define HAVE_MODF 1
48103 _ACEOF
48104
48105 fi
48106 done
48107
48108   else
48109
48110   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
48111 $as_echo_n "checking for _modf declaration... " >&6; }
48112   if test x${glibcxx_cv_func__modf_use+set} != xset; then
48113     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
48114   $as_echo_n "(cached) " >&6
48115 else
48116
48117
48118       ac_ext=cpp
48119 ac_cpp='$CXXCPP $CPPFLAGS'
48120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48123
48124       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48125 /* end confdefs.h.  */
48126 #include <math.h>
48127 int
48128 main ()
48129 {
48130  _modf(0, 0);
48131   ;
48132   return 0;
48133 }
48134 _ACEOF
48135 if ac_fn_cxx_try_compile "$LINENO"; then :
48136   glibcxx_cv_func__modf_use=yes
48137 else
48138   glibcxx_cv_func__modf_use=no
48139 fi
48140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48141       ac_ext=c
48142 ac_cpp='$CPP $CPPFLAGS'
48143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48146
48147
48148 fi
48149
48150   fi
48151   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
48152 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
48153
48154     if test x$glibcxx_cv_func__modf_use = x"yes"; then
48155       for ac_func in _modf
48156 do :
48157   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
48158 if test "x$ac_cv_func__modf" = x""yes; then :
48159   cat >>confdefs.h <<_ACEOF
48160 #define HAVE__MODF 1
48161 _ACEOF
48162
48163 fi
48164 done
48165
48166     fi
48167   fi
48168
48169
48170
48171
48172
48173   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
48174 $as_echo_n "checking for powf declaration... " >&6; }
48175   if test x${glibcxx_cv_func_powf_use+set} != xset; then
48176     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
48177   $as_echo_n "(cached) " >&6
48178 else
48179
48180
48181       ac_ext=cpp
48182 ac_cpp='$CXXCPP $CPPFLAGS'
48183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48186
48187       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48188 /* end confdefs.h.  */
48189 #include <math.h>
48190 int
48191 main ()
48192 {
48193  powf(0, 0);
48194   ;
48195   return 0;
48196 }
48197 _ACEOF
48198 if ac_fn_cxx_try_compile "$LINENO"; then :
48199   glibcxx_cv_func_powf_use=yes
48200 else
48201   glibcxx_cv_func_powf_use=no
48202 fi
48203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48204       ac_ext=c
48205 ac_cpp='$CPP $CPPFLAGS'
48206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48209
48210
48211 fi
48212
48213   fi
48214   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
48215 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
48216
48217   if test x$glibcxx_cv_func_powf_use = x"yes"; then
48218     for ac_func in powf
48219 do :
48220   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
48221 if test "x$ac_cv_func_powf" = x""yes; then :
48222   cat >>confdefs.h <<_ACEOF
48223 #define HAVE_POWF 1
48224 _ACEOF
48225
48226 fi
48227 done
48228
48229   else
48230
48231   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
48232 $as_echo_n "checking for _powf declaration... " >&6; }
48233   if test x${glibcxx_cv_func__powf_use+set} != xset; then
48234     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
48235   $as_echo_n "(cached) " >&6
48236 else
48237
48238
48239       ac_ext=cpp
48240 ac_cpp='$CXXCPP $CPPFLAGS'
48241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48244
48245       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48246 /* end confdefs.h.  */
48247 #include <math.h>
48248 int
48249 main ()
48250 {
48251  _powf(0, 0);
48252   ;
48253   return 0;
48254 }
48255 _ACEOF
48256 if ac_fn_cxx_try_compile "$LINENO"; then :
48257   glibcxx_cv_func__powf_use=yes
48258 else
48259   glibcxx_cv_func__powf_use=no
48260 fi
48261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48262       ac_ext=c
48263 ac_cpp='$CPP $CPPFLAGS'
48264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48267
48268
48269 fi
48270
48271   fi
48272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
48273 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
48274
48275     if test x$glibcxx_cv_func__powf_use = x"yes"; then
48276       for ac_func in _powf
48277 do :
48278   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
48279 if test "x$ac_cv_func__powf" = x""yes; then :
48280   cat >>confdefs.h <<_ACEOF
48281 #define HAVE__POWF 1
48282 _ACEOF
48283
48284 fi
48285 done
48286
48287     fi
48288   fi
48289
48290
48291
48292
48293
48294   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
48295 $as_echo_n "checking for sqrtf declaration... " >&6; }
48296   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
48297     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
48298   $as_echo_n "(cached) " >&6
48299 else
48300
48301
48302       ac_ext=cpp
48303 ac_cpp='$CXXCPP $CPPFLAGS'
48304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48307
48308       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48309 /* end confdefs.h.  */
48310 #include <math.h>
48311                       #ifdef HAVE_IEEEFP_H
48312                       #include <ieeefp.h>
48313                       #endif
48314
48315 int
48316 main ()
48317 {
48318  sqrtf(0);
48319   ;
48320   return 0;
48321 }
48322 _ACEOF
48323 if ac_fn_cxx_try_compile "$LINENO"; then :
48324   glibcxx_cv_func_sqrtf_use=yes
48325 else
48326   glibcxx_cv_func_sqrtf_use=no
48327 fi
48328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48329       ac_ext=c
48330 ac_cpp='$CPP $CPPFLAGS'
48331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48334
48335
48336 fi
48337
48338   fi
48339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
48340 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
48341
48342   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
48343     for ac_func in sqrtf
48344 do :
48345   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
48346 if test "x$ac_cv_func_sqrtf" = x""yes; then :
48347   cat >>confdefs.h <<_ACEOF
48348 #define HAVE_SQRTF 1
48349 _ACEOF
48350
48351 fi
48352 done
48353
48354   else
48355
48356   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
48357 $as_echo_n "checking for _sqrtf declaration... " >&6; }
48358   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
48359     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
48360   $as_echo_n "(cached) " >&6
48361 else
48362
48363
48364       ac_ext=cpp
48365 ac_cpp='$CXXCPP $CPPFLAGS'
48366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48369
48370       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48371 /* end confdefs.h.  */
48372 #include <math.h>
48373                       #ifdef HAVE_IEEEFP_H
48374                       #include <ieeefp.h>
48375                       #endif
48376
48377 int
48378 main ()
48379 {
48380  _sqrtf(0);
48381   ;
48382   return 0;
48383 }
48384 _ACEOF
48385 if ac_fn_cxx_try_compile "$LINENO"; then :
48386   glibcxx_cv_func__sqrtf_use=yes
48387 else
48388   glibcxx_cv_func__sqrtf_use=no
48389 fi
48390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48391       ac_ext=c
48392 ac_cpp='$CPP $CPPFLAGS'
48393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48396
48397
48398 fi
48399
48400   fi
48401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
48402 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
48403
48404     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
48405       for ac_func in _sqrtf
48406 do :
48407   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
48408 if test "x$ac_cv_func__sqrtf" = x""yes; then :
48409   cat >>confdefs.h <<_ACEOF
48410 #define HAVE__SQRTF 1
48411 _ACEOF
48412
48413 fi
48414 done
48415
48416     fi
48417   fi
48418
48419
48420
48421
48422
48423   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
48424 $as_echo_n "checking for sincosf declaration... " >&6; }
48425   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
48426     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
48427   $as_echo_n "(cached) " >&6
48428 else
48429
48430
48431       ac_ext=cpp
48432 ac_cpp='$CXXCPP $CPPFLAGS'
48433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48436
48437       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48438 /* end confdefs.h.  */
48439 #include <math.h>
48440 int
48441 main ()
48442 {
48443  sincosf(0, 0, 0);
48444   ;
48445   return 0;
48446 }
48447 _ACEOF
48448 if ac_fn_cxx_try_compile "$LINENO"; then :
48449   glibcxx_cv_func_sincosf_use=yes
48450 else
48451   glibcxx_cv_func_sincosf_use=no
48452 fi
48453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48454       ac_ext=c
48455 ac_cpp='$CPP $CPPFLAGS'
48456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48459
48460
48461 fi
48462
48463   fi
48464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
48465 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
48466
48467   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
48468     for ac_func in sincosf
48469 do :
48470   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
48471 if test "x$ac_cv_func_sincosf" = x""yes; then :
48472   cat >>confdefs.h <<_ACEOF
48473 #define HAVE_SINCOSF 1
48474 _ACEOF
48475
48476 fi
48477 done
48478
48479   else
48480
48481   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
48482 $as_echo_n "checking for _sincosf declaration... " >&6; }
48483   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
48484     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
48485   $as_echo_n "(cached) " >&6
48486 else
48487
48488
48489       ac_ext=cpp
48490 ac_cpp='$CXXCPP $CPPFLAGS'
48491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48494
48495       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48496 /* end confdefs.h.  */
48497 #include <math.h>
48498 int
48499 main ()
48500 {
48501  _sincosf(0, 0, 0);
48502   ;
48503   return 0;
48504 }
48505 _ACEOF
48506 if ac_fn_cxx_try_compile "$LINENO"; then :
48507   glibcxx_cv_func__sincosf_use=yes
48508 else
48509   glibcxx_cv_func__sincosf_use=no
48510 fi
48511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48512       ac_ext=c
48513 ac_cpp='$CPP $CPPFLAGS'
48514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48517
48518
48519 fi
48520
48521   fi
48522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
48523 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
48524
48525     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
48526       for ac_func in _sincosf
48527 do :
48528   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
48529 if test "x$ac_cv_func__sincosf" = x""yes; then :
48530   cat >>confdefs.h <<_ACEOF
48531 #define HAVE__SINCOSF 1
48532 _ACEOF
48533
48534 fi
48535 done
48536
48537     fi
48538   fi
48539
48540
48541
48542
48543
48544   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
48545 $as_echo_n "checking for finitef declaration... " >&6; }
48546   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
48547     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
48548   $as_echo_n "(cached) " >&6
48549 else
48550
48551
48552       ac_ext=cpp
48553 ac_cpp='$CXXCPP $CPPFLAGS'
48554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48557
48558       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48559 /* end confdefs.h.  */
48560 #include <math.h>
48561                       #ifdef HAVE_IEEEFP_H
48562                       #include <ieeefp.h>
48563                       #endif
48564
48565 int
48566 main ()
48567 {
48568  finitef(0);
48569   ;
48570   return 0;
48571 }
48572 _ACEOF
48573 if ac_fn_cxx_try_compile "$LINENO"; then :
48574   glibcxx_cv_func_finitef_use=yes
48575 else
48576   glibcxx_cv_func_finitef_use=no
48577 fi
48578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48579       ac_ext=c
48580 ac_cpp='$CPP $CPPFLAGS'
48581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48584
48585
48586 fi
48587
48588   fi
48589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
48590 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
48591
48592   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
48593     for ac_func in finitef
48594 do :
48595   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
48596 if test "x$ac_cv_func_finitef" = x""yes; then :
48597   cat >>confdefs.h <<_ACEOF
48598 #define HAVE_FINITEF 1
48599 _ACEOF
48600
48601 fi
48602 done
48603
48604   else
48605
48606   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
48607 $as_echo_n "checking for _finitef declaration... " >&6; }
48608   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
48609     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
48610   $as_echo_n "(cached) " >&6
48611 else
48612
48613
48614       ac_ext=cpp
48615 ac_cpp='$CXXCPP $CPPFLAGS'
48616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48619
48620       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48621 /* end confdefs.h.  */
48622 #include <math.h>
48623                       #ifdef HAVE_IEEEFP_H
48624                       #include <ieeefp.h>
48625                       #endif
48626
48627 int
48628 main ()
48629 {
48630  _finitef(0);
48631   ;
48632   return 0;
48633 }
48634 _ACEOF
48635 if ac_fn_cxx_try_compile "$LINENO"; then :
48636   glibcxx_cv_func__finitef_use=yes
48637 else
48638   glibcxx_cv_func__finitef_use=no
48639 fi
48640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48641       ac_ext=c
48642 ac_cpp='$CPP $CPPFLAGS'
48643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48646
48647
48648 fi
48649
48650   fi
48651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
48652 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
48653
48654     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
48655       for ac_func in _finitef
48656 do :
48657   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
48658 if test "x$ac_cv_func__finitef" = x""yes; then :
48659   cat >>confdefs.h <<_ACEOF
48660 #define HAVE__FINITEF 1
48661 _ACEOF
48662
48663 fi
48664 done
48665
48666     fi
48667   fi
48668
48669
48670
48671
48672
48673     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
48674 $as_echo_n "checking for long double trig functions... " >&6; }
48675   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
48676   $as_echo_n "(cached) " >&6
48677 else
48678
48679
48680     ac_ext=cpp
48681 ac_cpp='$CXXCPP $CPPFLAGS'
48682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48685
48686     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48687 /* end confdefs.h.  */
48688 #include <math.h>
48689 int
48690 main ()
48691 {
48692 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
48693   ;
48694   return 0;
48695 }
48696 _ACEOF
48697 if ac_fn_cxx_try_compile "$LINENO"; then :
48698   glibcxx_cv_func_long_double_trig_use=yes
48699 else
48700   glibcxx_cv_func_long_double_trig_use=no
48701 fi
48702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48703     ac_ext=c
48704 ac_cpp='$CPP $CPPFLAGS'
48705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48708
48709 fi
48710
48711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
48712 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
48713   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
48714     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
48715 do :
48716   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48717 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48718 eval as_val=\$$as_ac_var
48719    if test "x$as_val" = x""yes; then :
48720   cat >>confdefs.h <<_ACEOF
48721 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48722 _ACEOF
48723
48724 fi
48725 done
48726
48727   else
48728     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
48729 $as_echo_n "checking for _long double trig functions... " >&6; }
48730     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
48731   $as_echo_n "(cached) " >&6
48732 else
48733
48734
48735       ac_ext=cpp
48736 ac_cpp='$CXXCPP $CPPFLAGS'
48737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48740
48741       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48742 /* end confdefs.h.  */
48743 #include <math.h>
48744 int
48745 main ()
48746 {
48747 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
48748   ;
48749   return 0;
48750 }
48751 _ACEOF
48752 if ac_fn_cxx_try_compile "$LINENO"; then :
48753   glibcxx_cv_func__long_double_trig_use=yes
48754 else
48755   glibcxx_cv_func__long_double_trig_use=no
48756 fi
48757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48758       ac_ext=c
48759 ac_cpp='$CPP $CPPFLAGS'
48760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48763
48764 fi
48765
48766     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
48767 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
48768     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
48769       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
48770 do :
48771   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48772 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48773 eval as_val=\$$as_ac_var
48774    if test "x$as_val" = x""yes; then :
48775   cat >>confdefs.h <<_ACEOF
48776 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48777 _ACEOF
48778
48779 fi
48780 done
48781
48782     fi
48783   fi
48784
48785
48786
48787
48788
48789     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
48790 $as_echo_n "checking for long double round functions... " >&6; }
48791   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
48792   $as_echo_n "(cached) " >&6
48793 else
48794
48795
48796     ac_ext=cpp
48797 ac_cpp='$CXXCPP $CPPFLAGS'
48798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48801
48802     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48803 /* end confdefs.h.  */
48804 #include <math.h>
48805 int
48806 main ()
48807 {
48808 ceill (0); floorl (0);
48809   ;
48810   return 0;
48811 }
48812 _ACEOF
48813 if ac_fn_cxx_try_compile "$LINENO"; then :
48814   glibcxx_cv_func_long_double_round_use=yes
48815 else
48816   glibcxx_cv_func_long_double_round_use=no
48817 fi
48818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48819     ac_ext=c
48820 ac_cpp='$CPP $CPPFLAGS'
48821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48824
48825 fi
48826
48827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
48828 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
48829   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
48830     for ac_func in ceill floorl
48831 do :
48832   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48833 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48834 eval as_val=\$$as_ac_var
48835    if test "x$as_val" = x""yes; then :
48836   cat >>confdefs.h <<_ACEOF
48837 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48838 _ACEOF
48839
48840 fi
48841 done
48842
48843   else
48844     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
48845 $as_echo_n "checking for _long double round functions... " >&6; }
48846     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
48847   $as_echo_n "(cached) " >&6
48848 else
48849
48850
48851       ac_ext=cpp
48852 ac_cpp='$CXXCPP $CPPFLAGS'
48853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48856
48857       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48858 /* end confdefs.h.  */
48859 #include <math.h>
48860 int
48861 main ()
48862 {
48863 _ceill (0); _floorl (0);
48864   ;
48865   return 0;
48866 }
48867 _ACEOF
48868 if ac_fn_cxx_try_compile "$LINENO"; then :
48869   glibcxx_cv_func__long_double_round_use=yes
48870 else
48871   glibcxx_cv_func__long_double_round_use=no
48872 fi
48873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48874       ac_ext=c
48875 ac_cpp='$CPP $CPPFLAGS'
48876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48879
48880 fi
48881
48882     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
48883 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
48884     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
48885       for ac_func in _ceill _floorl
48886 do :
48887   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48888 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48889 eval as_val=\$$as_ac_var
48890    if test "x$as_val" = x""yes; then :
48891   cat >>confdefs.h <<_ACEOF
48892 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48893 _ACEOF
48894
48895 fi
48896 done
48897
48898     fi
48899   fi
48900
48901
48902
48903
48904
48905
48906   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
48907 $as_echo_n "checking for isnanl declaration... " >&6; }
48908   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
48909     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
48910   $as_echo_n "(cached) " >&6
48911 else
48912
48913
48914       ac_ext=cpp
48915 ac_cpp='$CXXCPP $CPPFLAGS'
48916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48919
48920       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48921 /* end confdefs.h.  */
48922 #include <math.h>
48923                       #ifdef HAVE_IEEEFP_H
48924                       #include <ieeefp.h>
48925                       #endif
48926
48927 int
48928 main ()
48929 {
48930  isnanl(0);
48931   ;
48932   return 0;
48933 }
48934 _ACEOF
48935 if ac_fn_cxx_try_compile "$LINENO"; then :
48936   glibcxx_cv_func_isnanl_use=yes
48937 else
48938   glibcxx_cv_func_isnanl_use=no
48939 fi
48940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48941       ac_ext=c
48942 ac_cpp='$CPP $CPPFLAGS'
48943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48946
48947
48948 fi
48949
48950   fi
48951   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
48952 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
48953
48954   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
48955     for ac_func in isnanl
48956 do :
48957   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
48958 if test "x$ac_cv_func_isnanl" = x""yes; then :
48959   cat >>confdefs.h <<_ACEOF
48960 #define HAVE_ISNANL 1
48961 _ACEOF
48962
48963 fi
48964 done
48965
48966   else
48967
48968   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
48969 $as_echo_n "checking for _isnanl declaration... " >&6; }
48970   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
48971     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
48972   $as_echo_n "(cached) " >&6
48973 else
48974
48975
48976       ac_ext=cpp
48977 ac_cpp='$CXXCPP $CPPFLAGS'
48978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48981
48982       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48983 /* end confdefs.h.  */
48984 #include <math.h>
48985                       #ifdef HAVE_IEEEFP_H
48986                       #include <ieeefp.h>
48987                       #endif
48988
48989 int
48990 main ()
48991 {
48992  _isnanl(0);
48993   ;
48994   return 0;
48995 }
48996 _ACEOF
48997 if ac_fn_cxx_try_compile "$LINENO"; then :
48998   glibcxx_cv_func__isnanl_use=yes
48999 else
49000   glibcxx_cv_func__isnanl_use=no
49001 fi
49002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49003       ac_ext=c
49004 ac_cpp='$CPP $CPPFLAGS'
49005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49008
49009
49010 fi
49011
49012   fi
49013   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49014 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49015
49016     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49017       for ac_func in _isnanl
49018 do :
49019   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49020 if test "x$ac_cv_func__isnanl" = x""yes; then :
49021   cat >>confdefs.h <<_ACEOF
49022 #define HAVE__ISNANL 1
49023 _ACEOF
49024
49025 fi
49026 done
49027
49028     fi
49029   fi
49030
49031
49032
49033
49034
49035   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49036 $as_echo_n "checking for isinfl declaration... " >&6; }
49037   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49038     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49039   $as_echo_n "(cached) " >&6
49040 else
49041
49042
49043       ac_ext=cpp
49044 ac_cpp='$CXXCPP $CPPFLAGS'
49045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49048
49049       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49050 /* end confdefs.h.  */
49051 #include <math.h>
49052                       #ifdef HAVE_IEEEFP_H
49053                       #include <ieeefp.h>
49054                       #endif
49055
49056 int
49057 main ()
49058 {
49059  isinfl(0);
49060   ;
49061   return 0;
49062 }
49063 _ACEOF
49064 if ac_fn_cxx_try_compile "$LINENO"; then :
49065   glibcxx_cv_func_isinfl_use=yes
49066 else
49067   glibcxx_cv_func_isinfl_use=no
49068 fi
49069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49070       ac_ext=c
49071 ac_cpp='$CPP $CPPFLAGS'
49072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49075
49076
49077 fi
49078
49079   fi
49080   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
49081 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49082
49083   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49084     for ac_func in isinfl
49085 do :
49086   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
49087 if test "x$ac_cv_func_isinfl" = x""yes; then :
49088   cat >>confdefs.h <<_ACEOF
49089 #define HAVE_ISINFL 1
49090 _ACEOF
49091
49092 fi
49093 done
49094
49095   else
49096
49097   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
49098 $as_echo_n "checking for _isinfl declaration... " >&6; }
49099   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
49100     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
49101   $as_echo_n "(cached) " >&6
49102 else
49103
49104
49105       ac_ext=cpp
49106 ac_cpp='$CXXCPP $CPPFLAGS'
49107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49110
49111       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49112 /* end confdefs.h.  */
49113 #include <math.h>
49114                       #ifdef HAVE_IEEEFP_H
49115                       #include <ieeefp.h>
49116                       #endif
49117
49118 int
49119 main ()
49120 {
49121  _isinfl(0);
49122   ;
49123   return 0;
49124 }
49125 _ACEOF
49126 if ac_fn_cxx_try_compile "$LINENO"; then :
49127   glibcxx_cv_func__isinfl_use=yes
49128 else
49129   glibcxx_cv_func__isinfl_use=no
49130 fi
49131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49132       ac_ext=c
49133 ac_cpp='$CPP $CPPFLAGS'
49134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49137
49138
49139 fi
49140
49141   fi
49142   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
49143 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
49144
49145     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
49146       for ac_func in _isinfl
49147 do :
49148   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
49149 if test "x$ac_cv_func__isinfl" = x""yes; then :
49150   cat >>confdefs.h <<_ACEOF
49151 #define HAVE__ISINFL 1
49152 _ACEOF
49153
49154 fi
49155 done
49156
49157     fi
49158   fi
49159
49160
49161
49162
49163
49164   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
49165 $as_echo_n "checking for atan2l declaration... " >&6; }
49166   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
49167     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
49168   $as_echo_n "(cached) " >&6
49169 else
49170
49171
49172       ac_ext=cpp
49173 ac_cpp='$CXXCPP $CPPFLAGS'
49174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49177
49178       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49179 /* end confdefs.h.  */
49180 #include <math.h>
49181 int
49182 main ()
49183 {
49184  atan2l(0, 0);
49185   ;
49186   return 0;
49187 }
49188 _ACEOF
49189 if ac_fn_cxx_try_compile "$LINENO"; then :
49190   glibcxx_cv_func_atan2l_use=yes
49191 else
49192   glibcxx_cv_func_atan2l_use=no
49193 fi
49194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49195       ac_ext=c
49196 ac_cpp='$CPP $CPPFLAGS'
49197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49200
49201
49202 fi
49203
49204   fi
49205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
49206 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
49207
49208   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
49209     for ac_func in atan2l
49210 do :
49211   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
49212 if test "x$ac_cv_func_atan2l" = x""yes; then :
49213   cat >>confdefs.h <<_ACEOF
49214 #define HAVE_ATAN2L 1
49215 _ACEOF
49216
49217 fi
49218 done
49219
49220   else
49221
49222   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
49223 $as_echo_n "checking for _atan2l declaration... " >&6; }
49224   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
49225     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
49226   $as_echo_n "(cached) " >&6
49227 else
49228
49229
49230       ac_ext=cpp
49231 ac_cpp='$CXXCPP $CPPFLAGS'
49232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49235
49236       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49237 /* end confdefs.h.  */
49238 #include <math.h>
49239 int
49240 main ()
49241 {
49242  _atan2l(0, 0);
49243   ;
49244   return 0;
49245 }
49246 _ACEOF
49247 if ac_fn_cxx_try_compile "$LINENO"; then :
49248   glibcxx_cv_func__atan2l_use=yes
49249 else
49250   glibcxx_cv_func__atan2l_use=no
49251 fi
49252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49253       ac_ext=c
49254 ac_cpp='$CPP $CPPFLAGS'
49255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49258
49259
49260 fi
49261
49262   fi
49263   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
49264 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
49265
49266     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
49267       for ac_func in _atan2l
49268 do :
49269   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
49270 if test "x$ac_cv_func__atan2l" = x""yes; then :
49271   cat >>confdefs.h <<_ACEOF
49272 #define HAVE__ATAN2L 1
49273 _ACEOF
49274
49275 fi
49276 done
49277
49278     fi
49279   fi
49280
49281
49282
49283
49284
49285   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
49286 $as_echo_n "checking for expl declaration... " >&6; }
49287   if test x${glibcxx_cv_func_expl_use+set} != xset; then
49288     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
49289   $as_echo_n "(cached) " >&6
49290 else
49291
49292
49293       ac_ext=cpp
49294 ac_cpp='$CXXCPP $CPPFLAGS'
49295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49298
49299       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49300 /* end confdefs.h.  */
49301 #include <math.h>
49302                       #ifdef HAVE_IEEEFP_H
49303                       #include <ieeefp.h>
49304                       #endif
49305
49306 int
49307 main ()
49308 {
49309  expl(0);
49310   ;
49311   return 0;
49312 }
49313 _ACEOF
49314 if ac_fn_cxx_try_compile "$LINENO"; then :
49315   glibcxx_cv_func_expl_use=yes
49316 else
49317   glibcxx_cv_func_expl_use=no
49318 fi
49319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49320       ac_ext=c
49321 ac_cpp='$CPP $CPPFLAGS'
49322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49325
49326
49327 fi
49328
49329   fi
49330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
49331 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
49332
49333   if test x$glibcxx_cv_func_expl_use = x"yes"; then
49334     for ac_func in expl
49335 do :
49336   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
49337 if test "x$ac_cv_func_expl" = x""yes; then :
49338   cat >>confdefs.h <<_ACEOF
49339 #define HAVE_EXPL 1
49340 _ACEOF
49341
49342 fi
49343 done
49344
49345   else
49346
49347   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
49348 $as_echo_n "checking for _expl declaration... " >&6; }
49349   if test x${glibcxx_cv_func__expl_use+set} != xset; then
49350     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
49351   $as_echo_n "(cached) " >&6
49352 else
49353
49354
49355       ac_ext=cpp
49356 ac_cpp='$CXXCPP $CPPFLAGS'
49357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49360
49361       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49362 /* end confdefs.h.  */
49363 #include <math.h>
49364                       #ifdef HAVE_IEEEFP_H
49365                       #include <ieeefp.h>
49366                       #endif
49367
49368 int
49369 main ()
49370 {
49371  _expl(0);
49372   ;
49373   return 0;
49374 }
49375 _ACEOF
49376 if ac_fn_cxx_try_compile "$LINENO"; then :
49377   glibcxx_cv_func__expl_use=yes
49378 else
49379   glibcxx_cv_func__expl_use=no
49380 fi
49381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49382       ac_ext=c
49383 ac_cpp='$CPP $CPPFLAGS'
49384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49387
49388
49389 fi
49390
49391   fi
49392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
49393 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
49394
49395     if test x$glibcxx_cv_func__expl_use = x"yes"; then
49396       for ac_func in _expl
49397 do :
49398   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
49399 if test "x$ac_cv_func__expl" = x""yes; then :
49400   cat >>confdefs.h <<_ACEOF
49401 #define HAVE__EXPL 1
49402 _ACEOF
49403
49404 fi
49405 done
49406
49407     fi
49408   fi
49409
49410
49411
49412
49413
49414   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
49415 $as_echo_n "checking for fabsl declaration... " >&6; }
49416   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
49417     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
49418   $as_echo_n "(cached) " >&6
49419 else
49420
49421
49422       ac_ext=cpp
49423 ac_cpp='$CXXCPP $CPPFLAGS'
49424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49427
49428       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49429 /* end confdefs.h.  */
49430 #include <math.h>
49431                       #ifdef HAVE_IEEEFP_H
49432                       #include <ieeefp.h>
49433                       #endif
49434
49435 int
49436 main ()
49437 {
49438  fabsl(0);
49439   ;
49440   return 0;
49441 }
49442 _ACEOF
49443 if ac_fn_cxx_try_compile "$LINENO"; then :
49444   glibcxx_cv_func_fabsl_use=yes
49445 else
49446   glibcxx_cv_func_fabsl_use=no
49447 fi
49448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49449       ac_ext=c
49450 ac_cpp='$CPP $CPPFLAGS'
49451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49454
49455
49456 fi
49457
49458   fi
49459   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
49460 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
49461
49462   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
49463     for ac_func in fabsl
49464 do :
49465   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
49466 if test "x$ac_cv_func_fabsl" = x""yes; then :
49467   cat >>confdefs.h <<_ACEOF
49468 #define HAVE_FABSL 1
49469 _ACEOF
49470
49471 fi
49472 done
49473
49474   else
49475
49476   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
49477 $as_echo_n "checking for _fabsl declaration... " >&6; }
49478   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
49479     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
49480   $as_echo_n "(cached) " >&6
49481 else
49482
49483
49484       ac_ext=cpp
49485 ac_cpp='$CXXCPP $CPPFLAGS'
49486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49489
49490       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49491 /* end confdefs.h.  */
49492 #include <math.h>
49493                       #ifdef HAVE_IEEEFP_H
49494                       #include <ieeefp.h>
49495                       #endif
49496
49497 int
49498 main ()
49499 {
49500  _fabsl(0);
49501   ;
49502   return 0;
49503 }
49504 _ACEOF
49505 if ac_fn_cxx_try_compile "$LINENO"; then :
49506   glibcxx_cv_func__fabsl_use=yes
49507 else
49508   glibcxx_cv_func__fabsl_use=no
49509 fi
49510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49511       ac_ext=c
49512 ac_cpp='$CPP $CPPFLAGS'
49513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49516
49517
49518 fi
49519
49520   fi
49521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
49522 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
49523
49524     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
49525       for ac_func in _fabsl
49526 do :
49527   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
49528 if test "x$ac_cv_func__fabsl" = x""yes; then :
49529   cat >>confdefs.h <<_ACEOF
49530 #define HAVE__FABSL 1
49531 _ACEOF
49532
49533 fi
49534 done
49535
49536     fi
49537   fi
49538
49539
49540
49541
49542
49543   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
49544 $as_echo_n "checking for fmodl declaration... " >&6; }
49545   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
49546     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
49547   $as_echo_n "(cached) " >&6
49548 else
49549
49550
49551       ac_ext=cpp
49552 ac_cpp='$CXXCPP $CPPFLAGS'
49553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49556
49557       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49558 /* end confdefs.h.  */
49559 #include <math.h>
49560 int
49561 main ()
49562 {
49563  fmodl(0, 0);
49564   ;
49565   return 0;
49566 }
49567 _ACEOF
49568 if ac_fn_cxx_try_compile "$LINENO"; then :
49569   glibcxx_cv_func_fmodl_use=yes
49570 else
49571   glibcxx_cv_func_fmodl_use=no
49572 fi
49573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49574       ac_ext=c
49575 ac_cpp='$CPP $CPPFLAGS'
49576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49579
49580
49581 fi
49582
49583   fi
49584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
49585 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
49586
49587   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
49588     for ac_func in fmodl
49589 do :
49590   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
49591 if test "x$ac_cv_func_fmodl" = x""yes; then :
49592   cat >>confdefs.h <<_ACEOF
49593 #define HAVE_FMODL 1
49594 _ACEOF
49595
49596 fi
49597 done
49598
49599   else
49600
49601   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
49602 $as_echo_n "checking for _fmodl declaration... " >&6; }
49603   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
49604     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
49605   $as_echo_n "(cached) " >&6
49606 else
49607
49608
49609       ac_ext=cpp
49610 ac_cpp='$CXXCPP $CPPFLAGS'
49611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49614
49615       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49616 /* end confdefs.h.  */
49617 #include <math.h>
49618 int
49619 main ()
49620 {
49621  _fmodl(0, 0);
49622   ;
49623   return 0;
49624 }
49625 _ACEOF
49626 if ac_fn_cxx_try_compile "$LINENO"; then :
49627   glibcxx_cv_func__fmodl_use=yes
49628 else
49629   glibcxx_cv_func__fmodl_use=no
49630 fi
49631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49632       ac_ext=c
49633 ac_cpp='$CPP $CPPFLAGS'
49634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49637
49638
49639 fi
49640
49641   fi
49642   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
49643 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
49644
49645     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
49646       for ac_func in _fmodl
49647 do :
49648   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
49649 if test "x$ac_cv_func__fmodl" = x""yes; then :
49650   cat >>confdefs.h <<_ACEOF
49651 #define HAVE__FMODL 1
49652 _ACEOF
49653
49654 fi
49655 done
49656
49657     fi
49658   fi
49659
49660
49661
49662
49663
49664   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
49665 $as_echo_n "checking for frexpl declaration... " >&6; }
49666   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
49667     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
49668   $as_echo_n "(cached) " >&6
49669 else
49670
49671
49672       ac_ext=cpp
49673 ac_cpp='$CXXCPP $CPPFLAGS'
49674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49677
49678       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49679 /* end confdefs.h.  */
49680 #include <math.h>
49681 int
49682 main ()
49683 {
49684  frexpl(0, 0);
49685   ;
49686   return 0;
49687 }
49688 _ACEOF
49689 if ac_fn_cxx_try_compile "$LINENO"; then :
49690   glibcxx_cv_func_frexpl_use=yes
49691 else
49692   glibcxx_cv_func_frexpl_use=no
49693 fi
49694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49695       ac_ext=c
49696 ac_cpp='$CPP $CPPFLAGS'
49697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49700
49701
49702 fi
49703
49704   fi
49705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
49706 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
49707
49708   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
49709     for ac_func in frexpl
49710 do :
49711   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
49712 if test "x$ac_cv_func_frexpl" = x""yes; then :
49713   cat >>confdefs.h <<_ACEOF
49714 #define HAVE_FREXPL 1
49715 _ACEOF
49716
49717 fi
49718 done
49719
49720   else
49721
49722   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
49723 $as_echo_n "checking for _frexpl declaration... " >&6; }
49724   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
49725     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
49726   $as_echo_n "(cached) " >&6
49727 else
49728
49729
49730       ac_ext=cpp
49731 ac_cpp='$CXXCPP $CPPFLAGS'
49732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49735
49736       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49737 /* end confdefs.h.  */
49738 #include <math.h>
49739 int
49740 main ()
49741 {
49742  _frexpl(0, 0);
49743   ;
49744   return 0;
49745 }
49746 _ACEOF
49747 if ac_fn_cxx_try_compile "$LINENO"; then :
49748   glibcxx_cv_func__frexpl_use=yes
49749 else
49750   glibcxx_cv_func__frexpl_use=no
49751 fi
49752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49753       ac_ext=c
49754 ac_cpp='$CPP $CPPFLAGS'
49755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49758
49759
49760 fi
49761
49762   fi
49763   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
49764 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
49765
49766     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
49767       for ac_func in _frexpl
49768 do :
49769   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
49770 if test "x$ac_cv_func__frexpl" = x""yes; then :
49771   cat >>confdefs.h <<_ACEOF
49772 #define HAVE__FREXPL 1
49773 _ACEOF
49774
49775 fi
49776 done
49777
49778     fi
49779   fi
49780
49781
49782
49783
49784
49785   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
49786 $as_echo_n "checking for hypotl declaration... " >&6; }
49787   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
49788     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
49789   $as_echo_n "(cached) " >&6
49790 else
49791
49792
49793       ac_ext=cpp
49794 ac_cpp='$CXXCPP $CPPFLAGS'
49795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49798
49799       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49800 /* end confdefs.h.  */
49801 #include <math.h>
49802 int
49803 main ()
49804 {
49805  hypotl(0, 0);
49806   ;
49807   return 0;
49808 }
49809 _ACEOF
49810 if ac_fn_cxx_try_compile "$LINENO"; then :
49811   glibcxx_cv_func_hypotl_use=yes
49812 else
49813   glibcxx_cv_func_hypotl_use=no
49814 fi
49815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49816       ac_ext=c
49817 ac_cpp='$CPP $CPPFLAGS'
49818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49821
49822
49823 fi
49824
49825   fi
49826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
49827 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
49828
49829   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
49830     for ac_func in hypotl
49831 do :
49832   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
49833 if test "x$ac_cv_func_hypotl" = x""yes; then :
49834   cat >>confdefs.h <<_ACEOF
49835 #define HAVE_HYPOTL 1
49836 _ACEOF
49837
49838 fi
49839 done
49840
49841   else
49842
49843   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
49844 $as_echo_n "checking for _hypotl declaration... " >&6; }
49845   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
49846     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
49847   $as_echo_n "(cached) " >&6
49848 else
49849
49850
49851       ac_ext=cpp
49852 ac_cpp='$CXXCPP $CPPFLAGS'
49853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49856
49857       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49858 /* end confdefs.h.  */
49859 #include <math.h>
49860 int
49861 main ()
49862 {
49863  _hypotl(0, 0);
49864   ;
49865   return 0;
49866 }
49867 _ACEOF
49868 if ac_fn_cxx_try_compile "$LINENO"; then :
49869   glibcxx_cv_func__hypotl_use=yes
49870 else
49871   glibcxx_cv_func__hypotl_use=no
49872 fi
49873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49874       ac_ext=c
49875 ac_cpp='$CPP $CPPFLAGS'
49876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49879
49880
49881 fi
49882
49883   fi
49884   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
49885 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
49886
49887     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
49888       for ac_func in _hypotl
49889 do :
49890   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
49891 if test "x$ac_cv_func__hypotl" = x""yes; then :
49892   cat >>confdefs.h <<_ACEOF
49893 #define HAVE__HYPOTL 1
49894 _ACEOF
49895
49896 fi
49897 done
49898
49899     fi
49900   fi
49901
49902
49903
49904
49905
49906   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
49907 $as_echo_n "checking for ldexpl declaration... " >&6; }
49908   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
49909     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
49910   $as_echo_n "(cached) " >&6
49911 else
49912
49913
49914       ac_ext=cpp
49915 ac_cpp='$CXXCPP $CPPFLAGS'
49916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49919
49920       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49921 /* end confdefs.h.  */
49922 #include <math.h>
49923 int
49924 main ()
49925 {
49926  ldexpl(0, 0);
49927   ;
49928   return 0;
49929 }
49930 _ACEOF
49931 if ac_fn_cxx_try_compile "$LINENO"; then :
49932   glibcxx_cv_func_ldexpl_use=yes
49933 else
49934   glibcxx_cv_func_ldexpl_use=no
49935 fi
49936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49937       ac_ext=c
49938 ac_cpp='$CPP $CPPFLAGS'
49939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49942
49943
49944 fi
49945
49946   fi
49947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
49948 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
49949
49950   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
49951     for ac_func in ldexpl
49952 do :
49953   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
49954 if test "x$ac_cv_func_ldexpl" = x""yes; then :
49955   cat >>confdefs.h <<_ACEOF
49956 #define HAVE_LDEXPL 1
49957 _ACEOF
49958
49959 fi
49960 done
49961
49962   else
49963
49964   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
49965 $as_echo_n "checking for _ldexpl declaration... " >&6; }
49966   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
49967     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
49968   $as_echo_n "(cached) " >&6
49969 else
49970
49971
49972       ac_ext=cpp
49973 ac_cpp='$CXXCPP $CPPFLAGS'
49974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49977
49978       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49979 /* end confdefs.h.  */
49980 #include <math.h>
49981 int
49982 main ()
49983 {
49984  _ldexpl(0, 0);
49985   ;
49986   return 0;
49987 }
49988 _ACEOF
49989 if ac_fn_cxx_try_compile "$LINENO"; then :
49990   glibcxx_cv_func__ldexpl_use=yes
49991 else
49992   glibcxx_cv_func__ldexpl_use=no
49993 fi
49994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49995       ac_ext=c
49996 ac_cpp='$CPP $CPPFLAGS'
49997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50000
50001
50002 fi
50003
50004   fi
50005   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50006 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50007
50008     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50009       for ac_func in _ldexpl
50010 do :
50011   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50012 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50013   cat >>confdefs.h <<_ACEOF
50014 #define HAVE__LDEXPL 1
50015 _ACEOF
50016
50017 fi
50018 done
50019
50020     fi
50021   fi
50022
50023
50024
50025
50026
50027   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50028 $as_echo_n "checking for logl declaration... " >&6; }
50029   if test x${glibcxx_cv_func_logl_use+set} != xset; then
50030     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50031   $as_echo_n "(cached) " >&6
50032 else
50033
50034
50035       ac_ext=cpp
50036 ac_cpp='$CXXCPP $CPPFLAGS'
50037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50040
50041       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50042 /* end confdefs.h.  */
50043 #include <math.h>
50044                       #ifdef HAVE_IEEEFP_H
50045                       #include <ieeefp.h>
50046                       #endif
50047
50048 int
50049 main ()
50050 {
50051  logl(0);
50052   ;
50053   return 0;
50054 }
50055 _ACEOF
50056 if ac_fn_cxx_try_compile "$LINENO"; then :
50057   glibcxx_cv_func_logl_use=yes
50058 else
50059   glibcxx_cv_func_logl_use=no
50060 fi
50061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50062       ac_ext=c
50063 ac_cpp='$CPP $CPPFLAGS'
50064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50067
50068
50069 fi
50070
50071   fi
50072   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50073 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50074
50075   if test x$glibcxx_cv_func_logl_use = x"yes"; then
50076     for ac_func in logl
50077 do :
50078   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50079 if test "x$ac_cv_func_logl" = x""yes; then :
50080   cat >>confdefs.h <<_ACEOF
50081 #define HAVE_LOGL 1
50082 _ACEOF
50083
50084 fi
50085 done
50086
50087   else
50088
50089   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
50090 $as_echo_n "checking for _logl declaration... " >&6; }
50091   if test x${glibcxx_cv_func__logl_use+set} != xset; then
50092     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
50093   $as_echo_n "(cached) " >&6
50094 else
50095
50096
50097       ac_ext=cpp
50098 ac_cpp='$CXXCPP $CPPFLAGS'
50099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50102
50103       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50104 /* end confdefs.h.  */
50105 #include <math.h>
50106                       #ifdef HAVE_IEEEFP_H
50107                       #include <ieeefp.h>
50108                       #endif
50109
50110 int
50111 main ()
50112 {
50113  _logl(0);
50114   ;
50115   return 0;
50116 }
50117 _ACEOF
50118 if ac_fn_cxx_try_compile "$LINENO"; then :
50119   glibcxx_cv_func__logl_use=yes
50120 else
50121   glibcxx_cv_func__logl_use=no
50122 fi
50123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50124       ac_ext=c
50125 ac_cpp='$CPP $CPPFLAGS'
50126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50129
50130
50131 fi
50132
50133   fi
50134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
50135 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
50136
50137     if test x$glibcxx_cv_func__logl_use = x"yes"; then
50138       for ac_func in _logl
50139 do :
50140   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
50141 if test "x$ac_cv_func__logl" = x""yes; then :
50142   cat >>confdefs.h <<_ACEOF
50143 #define HAVE__LOGL 1
50144 _ACEOF
50145
50146 fi
50147 done
50148
50149     fi
50150   fi
50151
50152
50153
50154
50155
50156   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
50157 $as_echo_n "checking for log10l declaration... " >&6; }
50158   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
50159     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
50160   $as_echo_n "(cached) " >&6
50161 else
50162
50163
50164       ac_ext=cpp
50165 ac_cpp='$CXXCPP $CPPFLAGS'
50166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50169
50170       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50171 /* end confdefs.h.  */
50172 #include <math.h>
50173                       #ifdef HAVE_IEEEFP_H
50174                       #include <ieeefp.h>
50175                       #endif
50176
50177 int
50178 main ()
50179 {
50180  log10l(0);
50181   ;
50182   return 0;
50183 }
50184 _ACEOF
50185 if ac_fn_cxx_try_compile "$LINENO"; then :
50186   glibcxx_cv_func_log10l_use=yes
50187 else
50188   glibcxx_cv_func_log10l_use=no
50189 fi
50190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50191       ac_ext=c
50192 ac_cpp='$CPP $CPPFLAGS'
50193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50196
50197
50198 fi
50199
50200   fi
50201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
50202 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
50203
50204   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
50205     for ac_func in log10l
50206 do :
50207   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
50208 if test "x$ac_cv_func_log10l" = x""yes; then :
50209   cat >>confdefs.h <<_ACEOF
50210 #define HAVE_LOG10L 1
50211 _ACEOF
50212
50213 fi
50214 done
50215
50216   else
50217
50218   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
50219 $as_echo_n "checking for _log10l declaration... " >&6; }
50220   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
50221     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
50222   $as_echo_n "(cached) " >&6
50223 else
50224
50225
50226       ac_ext=cpp
50227 ac_cpp='$CXXCPP $CPPFLAGS'
50228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50231
50232       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50233 /* end confdefs.h.  */
50234 #include <math.h>
50235                       #ifdef HAVE_IEEEFP_H
50236                       #include <ieeefp.h>
50237                       #endif
50238
50239 int
50240 main ()
50241 {
50242  _log10l(0);
50243   ;
50244   return 0;
50245 }
50246 _ACEOF
50247 if ac_fn_cxx_try_compile "$LINENO"; then :
50248   glibcxx_cv_func__log10l_use=yes
50249 else
50250   glibcxx_cv_func__log10l_use=no
50251 fi
50252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50253       ac_ext=c
50254 ac_cpp='$CPP $CPPFLAGS'
50255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50258
50259
50260 fi
50261
50262   fi
50263   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
50264 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
50265
50266     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
50267       for ac_func in _log10l
50268 do :
50269   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
50270 if test "x$ac_cv_func__log10l" = x""yes; then :
50271   cat >>confdefs.h <<_ACEOF
50272 #define HAVE__LOG10L 1
50273 _ACEOF
50274
50275 fi
50276 done
50277
50278     fi
50279   fi
50280
50281
50282
50283
50284
50285   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
50286 $as_echo_n "checking for modfl declaration... " >&6; }
50287   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
50288     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
50289   $as_echo_n "(cached) " >&6
50290 else
50291
50292
50293       ac_ext=cpp
50294 ac_cpp='$CXXCPP $CPPFLAGS'
50295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50298
50299       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50300 /* end confdefs.h.  */
50301 #include <math.h>
50302 int
50303 main ()
50304 {
50305  modfl(0, 0);
50306   ;
50307   return 0;
50308 }
50309 _ACEOF
50310 if ac_fn_cxx_try_compile "$LINENO"; then :
50311   glibcxx_cv_func_modfl_use=yes
50312 else
50313   glibcxx_cv_func_modfl_use=no
50314 fi
50315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50316       ac_ext=c
50317 ac_cpp='$CPP $CPPFLAGS'
50318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50321
50322
50323 fi
50324
50325   fi
50326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
50327 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
50328
50329   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
50330     for ac_func in modfl
50331 do :
50332   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
50333 if test "x$ac_cv_func_modfl" = x""yes; then :
50334   cat >>confdefs.h <<_ACEOF
50335 #define HAVE_MODFL 1
50336 _ACEOF
50337
50338 fi
50339 done
50340
50341   else
50342
50343   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
50344 $as_echo_n "checking for _modfl declaration... " >&6; }
50345   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
50346     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
50347   $as_echo_n "(cached) " >&6
50348 else
50349
50350
50351       ac_ext=cpp
50352 ac_cpp='$CXXCPP $CPPFLAGS'
50353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50356
50357       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50358 /* end confdefs.h.  */
50359 #include <math.h>
50360 int
50361 main ()
50362 {
50363  _modfl(0, 0);
50364   ;
50365   return 0;
50366 }
50367 _ACEOF
50368 if ac_fn_cxx_try_compile "$LINENO"; then :
50369   glibcxx_cv_func__modfl_use=yes
50370 else
50371   glibcxx_cv_func__modfl_use=no
50372 fi
50373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50374       ac_ext=c
50375 ac_cpp='$CPP $CPPFLAGS'
50376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50379
50380
50381 fi
50382
50383   fi
50384   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
50385 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
50386
50387     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
50388       for ac_func in _modfl
50389 do :
50390   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
50391 if test "x$ac_cv_func__modfl" = x""yes; then :
50392   cat >>confdefs.h <<_ACEOF
50393 #define HAVE__MODFL 1
50394 _ACEOF
50395
50396 fi
50397 done
50398
50399     fi
50400   fi
50401
50402
50403
50404
50405
50406   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
50407 $as_echo_n "checking for powl declaration... " >&6; }
50408   if test x${glibcxx_cv_func_powl_use+set} != xset; then
50409     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
50410   $as_echo_n "(cached) " >&6
50411 else
50412
50413
50414       ac_ext=cpp
50415 ac_cpp='$CXXCPP $CPPFLAGS'
50416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50419
50420       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50421 /* end confdefs.h.  */
50422 #include <math.h>
50423 int
50424 main ()
50425 {
50426  powl(0, 0);
50427   ;
50428   return 0;
50429 }
50430 _ACEOF
50431 if ac_fn_cxx_try_compile "$LINENO"; then :
50432   glibcxx_cv_func_powl_use=yes
50433 else
50434   glibcxx_cv_func_powl_use=no
50435 fi
50436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50437       ac_ext=c
50438 ac_cpp='$CPP $CPPFLAGS'
50439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50442
50443
50444 fi
50445
50446   fi
50447   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
50448 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
50449
50450   if test x$glibcxx_cv_func_powl_use = x"yes"; then
50451     for ac_func in powl
50452 do :
50453   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
50454 if test "x$ac_cv_func_powl" = x""yes; then :
50455   cat >>confdefs.h <<_ACEOF
50456 #define HAVE_POWL 1
50457 _ACEOF
50458
50459 fi
50460 done
50461
50462   else
50463
50464   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
50465 $as_echo_n "checking for _powl declaration... " >&6; }
50466   if test x${glibcxx_cv_func__powl_use+set} != xset; then
50467     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
50468   $as_echo_n "(cached) " >&6
50469 else
50470
50471
50472       ac_ext=cpp
50473 ac_cpp='$CXXCPP $CPPFLAGS'
50474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50477
50478       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50479 /* end confdefs.h.  */
50480 #include <math.h>
50481 int
50482 main ()
50483 {
50484  _powl(0, 0);
50485   ;
50486   return 0;
50487 }
50488 _ACEOF
50489 if ac_fn_cxx_try_compile "$LINENO"; then :
50490   glibcxx_cv_func__powl_use=yes
50491 else
50492   glibcxx_cv_func__powl_use=no
50493 fi
50494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50495       ac_ext=c
50496 ac_cpp='$CPP $CPPFLAGS'
50497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50500
50501
50502 fi
50503
50504   fi
50505   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
50506 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
50507
50508     if test x$glibcxx_cv_func__powl_use = x"yes"; then
50509       for ac_func in _powl
50510 do :
50511   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
50512 if test "x$ac_cv_func__powl" = x""yes; then :
50513   cat >>confdefs.h <<_ACEOF
50514 #define HAVE__POWL 1
50515 _ACEOF
50516
50517 fi
50518 done
50519
50520     fi
50521   fi
50522
50523
50524
50525
50526
50527   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
50528 $as_echo_n "checking for sqrtl declaration... " >&6; }
50529   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
50530     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
50531   $as_echo_n "(cached) " >&6
50532 else
50533
50534
50535       ac_ext=cpp
50536 ac_cpp='$CXXCPP $CPPFLAGS'
50537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50540
50541       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50542 /* end confdefs.h.  */
50543 #include <math.h>
50544                       #ifdef HAVE_IEEEFP_H
50545                       #include <ieeefp.h>
50546                       #endif
50547
50548 int
50549 main ()
50550 {
50551  sqrtl(0);
50552   ;
50553   return 0;
50554 }
50555 _ACEOF
50556 if ac_fn_cxx_try_compile "$LINENO"; then :
50557   glibcxx_cv_func_sqrtl_use=yes
50558 else
50559   glibcxx_cv_func_sqrtl_use=no
50560 fi
50561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50562       ac_ext=c
50563 ac_cpp='$CPP $CPPFLAGS'
50564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50567
50568
50569 fi
50570
50571   fi
50572   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
50573 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
50574
50575   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
50576     for ac_func in sqrtl
50577 do :
50578   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
50579 if test "x$ac_cv_func_sqrtl" = x""yes; then :
50580   cat >>confdefs.h <<_ACEOF
50581 #define HAVE_SQRTL 1
50582 _ACEOF
50583
50584 fi
50585 done
50586
50587   else
50588
50589   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
50590 $as_echo_n "checking for _sqrtl declaration... " >&6; }
50591   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
50592     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
50593   $as_echo_n "(cached) " >&6
50594 else
50595
50596
50597       ac_ext=cpp
50598 ac_cpp='$CXXCPP $CPPFLAGS'
50599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50602
50603       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50604 /* end confdefs.h.  */
50605 #include <math.h>
50606                       #ifdef HAVE_IEEEFP_H
50607                       #include <ieeefp.h>
50608                       #endif
50609
50610 int
50611 main ()
50612 {
50613  _sqrtl(0);
50614   ;
50615   return 0;
50616 }
50617 _ACEOF
50618 if ac_fn_cxx_try_compile "$LINENO"; then :
50619   glibcxx_cv_func__sqrtl_use=yes
50620 else
50621   glibcxx_cv_func__sqrtl_use=no
50622 fi
50623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50624       ac_ext=c
50625 ac_cpp='$CPP $CPPFLAGS'
50626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50629
50630
50631 fi
50632
50633   fi
50634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
50635 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
50636
50637     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
50638       for ac_func in _sqrtl
50639 do :
50640   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
50641 if test "x$ac_cv_func__sqrtl" = x""yes; then :
50642   cat >>confdefs.h <<_ACEOF
50643 #define HAVE__SQRTL 1
50644 _ACEOF
50645
50646 fi
50647 done
50648
50649     fi
50650   fi
50651
50652
50653
50654
50655
50656   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
50657 $as_echo_n "checking for sincosl declaration... " >&6; }
50658   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
50659     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
50660   $as_echo_n "(cached) " >&6
50661 else
50662
50663
50664       ac_ext=cpp
50665 ac_cpp='$CXXCPP $CPPFLAGS'
50666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50669
50670       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50671 /* end confdefs.h.  */
50672 #include <math.h>
50673 int
50674 main ()
50675 {
50676  sincosl(0, 0, 0);
50677   ;
50678   return 0;
50679 }
50680 _ACEOF
50681 if ac_fn_cxx_try_compile "$LINENO"; then :
50682   glibcxx_cv_func_sincosl_use=yes
50683 else
50684   glibcxx_cv_func_sincosl_use=no
50685 fi
50686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50687       ac_ext=c
50688 ac_cpp='$CPP $CPPFLAGS'
50689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50692
50693
50694 fi
50695
50696   fi
50697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
50698 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
50699
50700   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
50701     for ac_func in sincosl
50702 do :
50703   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
50704 if test "x$ac_cv_func_sincosl" = x""yes; then :
50705   cat >>confdefs.h <<_ACEOF
50706 #define HAVE_SINCOSL 1
50707 _ACEOF
50708
50709 fi
50710 done
50711
50712   else
50713
50714   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
50715 $as_echo_n "checking for _sincosl declaration... " >&6; }
50716   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
50717     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
50718   $as_echo_n "(cached) " >&6
50719 else
50720
50721
50722       ac_ext=cpp
50723 ac_cpp='$CXXCPP $CPPFLAGS'
50724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50727
50728       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50729 /* end confdefs.h.  */
50730 #include <math.h>
50731 int
50732 main ()
50733 {
50734  _sincosl(0, 0, 0);
50735   ;
50736   return 0;
50737 }
50738 _ACEOF
50739 if ac_fn_cxx_try_compile "$LINENO"; then :
50740   glibcxx_cv_func__sincosl_use=yes
50741 else
50742   glibcxx_cv_func__sincosl_use=no
50743 fi
50744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50745       ac_ext=c
50746 ac_cpp='$CPP $CPPFLAGS'
50747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50750
50751
50752 fi
50753
50754   fi
50755   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
50756 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
50757
50758     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
50759       for ac_func in _sincosl
50760 do :
50761   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
50762 if test "x$ac_cv_func__sincosl" = x""yes; then :
50763   cat >>confdefs.h <<_ACEOF
50764 #define HAVE__SINCOSL 1
50765 _ACEOF
50766
50767 fi
50768 done
50769
50770     fi
50771   fi
50772
50773
50774
50775
50776
50777   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
50778 $as_echo_n "checking for finitel declaration... " >&6; }
50779   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
50780     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
50781   $as_echo_n "(cached) " >&6
50782 else
50783
50784
50785       ac_ext=cpp
50786 ac_cpp='$CXXCPP $CPPFLAGS'
50787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50790
50791       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50792 /* end confdefs.h.  */
50793 #include <math.h>
50794                       #ifdef HAVE_IEEEFP_H
50795                       #include <ieeefp.h>
50796                       #endif
50797
50798 int
50799 main ()
50800 {
50801  finitel(0);
50802   ;
50803   return 0;
50804 }
50805 _ACEOF
50806 if ac_fn_cxx_try_compile "$LINENO"; then :
50807   glibcxx_cv_func_finitel_use=yes
50808 else
50809   glibcxx_cv_func_finitel_use=no
50810 fi
50811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50812       ac_ext=c
50813 ac_cpp='$CPP $CPPFLAGS'
50814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50817
50818
50819 fi
50820
50821   fi
50822   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
50823 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
50824
50825   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
50826     for ac_func in finitel
50827 do :
50828   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
50829 if test "x$ac_cv_func_finitel" = x""yes; then :
50830   cat >>confdefs.h <<_ACEOF
50831 #define HAVE_FINITEL 1
50832 _ACEOF
50833
50834 fi
50835 done
50836
50837   else
50838
50839   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
50840 $as_echo_n "checking for _finitel declaration... " >&6; }
50841   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
50842     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
50843   $as_echo_n "(cached) " >&6
50844 else
50845
50846
50847       ac_ext=cpp
50848 ac_cpp='$CXXCPP $CPPFLAGS'
50849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50852
50853       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50854 /* end confdefs.h.  */
50855 #include <math.h>
50856                       #ifdef HAVE_IEEEFP_H
50857                       #include <ieeefp.h>
50858                       #endif
50859
50860 int
50861 main ()
50862 {
50863  _finitel(0);
50864   ;
50865   return 0;
50866 }
50867 _ACEOF
50868 if ac_fn_cxx_try_compile "$LINENO"; then :
50869   glibcxx_cv_func__finitel_use=yes
50870 else
50871   glibcxx_cv_func__finitel_use=no
50872 fi
50873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50874       ac_ext=c
50875 ac_cpp='$CPP $CPPFLAGS'
50876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50879
50880
50881 fi
50882
50883   fi
50884   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
50885 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
50886
50887     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
50888       for ac_func in _finitel
50889 do :
50890   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
50891 if test "x$ac_cv_func__finitel" = x""yes; then :
50892   cat >>confdefs.h <<_ACEOF
50893 #define HAVE__FINITEL 1
50894 _ACEOF
50895
50896 fi
50897 done
50898
50899     fi
50900   fi
50901
50902
50903
50904
50905   LIBS="$ac_save_LIBS"
50906   CXXFLAGS="$ac_save_CXXFLAGS"
50907
50908
50909   ac_test_CXXFLAGS="${CXXFLAGS+set}"
50910   ac_save_CXXFLAGS="$CXXFLAGS"
50911   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50912
50913
50914   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
50915 $as_echo_n "checking for strtold declaration... " >&6; }
50916   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
50917     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
50918   $as_echo_n "(cached) " >&6
50919 else
50920
50921
50922       ac_ext=cpp
50923 ac_cpp='$CXXCPP $CPPFLAGS'
50924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50927
50928       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50929 /* end confdefs.h.  */
50930 #include <stdlib.h>
50931 int
50932 main ()
50933 {
50934  strtold(0, 0);
50935   ;
50936   return 0;
50937 }
50938 _ACEOF
50939 if ac_fn_cxx_try_compile "$LINENO"; then :
50940   glibcxx_cv_func_strtold_use=yes
50941 else
50942   glibcxx_cv_func_strtold_use=no
50943 fi
50944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50945       ac_ext=c
50946 ac_cpp='$CPP $CPPFLAGS'
50947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50950
50951
50952 fi
50953
50954   fi
50955   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
50956 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
50957   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
50958     for ac_func in strtold
50959 do :
50960   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
50961 if test "x$ac_cv_func_strtold" = x""yes; then :
50962   cat >>confdefs.h <<_ACEOF
50963 #define HAVE_STRTOLD 1
50964 _ACEOF
50965
50966 fi
50967 done
50968
50969   fi
50970
50971
50972
50973
50974   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
50975 $as_echo_n "checking for strtof declaration... " >&6; }
50976   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
50977     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
50978   $as_echo_n "(cached) " >&6
50979 else
50980
50981
50982       ac_ext=cpp
50983 ac_cpp='$CXXCPP $CPPFLAGS'
50984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50987
50988       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50989 /* end confdefs.h.  */
50990 #include <stdlib.h>
50991 int
50992 main ()
50993 {
50994  strtof(0, 0);
50995   ;
50996   return 0;
50997 }
50998 _ACEOF
50999 if ac_fn_cxx_try_compile "$LINENO"; then :
51000   glibcxx_cv_func_strtof_use=yes
51001 else
51002   glibcxx_cv_func_strtof_use=no
51003 fi
51004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51005       ac_ext=c
51006 ac_cpp='$CPP $CPPFLAGS'
51007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51010
51011
51012 fi
51013
51014   fi
51015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
51016 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
51017   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51018     for ac_func in strtof
51019 do :
51020   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
51021 if test "x$ac_cv_func_strtof" = x""yes; then :
51022   cat >>confdefs.h <<_ACEOF
51023 #define HAVE_STRTOF 1
51024 _ACEOF
51025
51026 fi
51027 done
51028
51029   fi
51030
51031
51032
51033
51034   CXXFLAGS="$ac_save_CXXFLAGS"
51035
51036     $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
51037
51038
51039
51040    # Check whether --enable-tls was given.
51041 if test "${enable_tls+set}" = set; then :
51042   enableval=$enable_tls;
51043       case "$enableval" in
51044        yes|no) ;;
51045        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
51046       esac
51047
51048 else
51049   enable_tls=yes
51050 fi
51051
51052
51053   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
51054 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
51055 if test "${gcc_cv_have_tls+set}" = set; then :
51056   $as_echo_n "(cached) " >&6
51057 else
51058
51059     if test "$cross_compiling" = yes; then :
51060                 if test x$gcc_no_link = xyes; then
51061   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51062 fi
51063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51064 /* end confdefs.h.  */
51065 __thread int a; int b; int main() { return a = b; }
51066 _ACEOF
51067 if ac_fn_c_try_link "$LINENO"; then :
51068   chktls_save_LDFLAGS="$LDFLAGS"
51069                           case $host in
51070             *-*-linux*)
51071               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
51072               ;;
51073           esac
51074           chktls_save_CFLAGS="$CFLAGS"
51075           CFLAGS="-fPIC $CFLAGS"
51076                   if test x$gcc_no_link = xyes; then
51077   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51078 fi
51079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51080 /* end confdefs.h.  */
51081 int f() { return 0; }
51082 _ACEOF
51083 if ac_fn_c_try_link "$LINENO"; then :
51084   if test x$gcc_no_link = xyes; then
51085   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51086 fi
51087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51088 /* end confdefs.h.  */
51089 __thread int a; int b; int f() { return a = b; }
51090 _ACEOF
51091 if ac_fn_c_try_link "$LINENO"; then :
51092   gcc_cv_have_tls=yes
51093 else
51094   gcc_cv_have_tls=no
51095 fi
51096 rm -f core conftest.err conftest.$ac_objext \
51097     conftest$ac_exeext conftest.$ac_ext
51098 else
51099   gcc_cv_have_tls=yes
51100 fi
51101 rm -f core conftest.err conftest.$ac_objext \
51102     conftest$ac_exeext conftest.$ac_ext
51103           CFLAGS="$chktls_save_CFLAGS"
51104           LDFLAGS="$chktls_save_LDFLAGS"
51105 else
51106   gcc_cv_have_tls=no
51107 fi
51108 rm -f core conftest.err conftest.$ac_objext \
51109     conftest$ac_exeext conftest.$ac_ext
51110
51111
51112 else
51113   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51114 /* end confdefs.h.  */
51115 __thread int a; int b; int main() { return a = b; }
51116 _ACEOF
51117 if ac_fn_c_try_run "$LINENO"; then :
51118                       chktls_save_LDFLAGS="$LDFLAGS"
51119       LDFLAGS="-static $LDFLAGS"
51120       if test x$gcc_no_link = xyes; then
51121   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51122 fi
51123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51124 /* end confdefs.h.  */
51125 int main() { return 0; }
51126 _ACEOF
51127 if ac_fn_c_try_link "$LINENO"; then :
51128   if test "$cross_compiling" = yes; then :
51129   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51130 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51131 as_fn_error "cannot run test program while cross compiling
51132 See \`config.log' for more details." "$LINENO" 5; }
51133 else
51134   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51135 /* end confdefs.h.  */
51136 __thread int a; int b; int main() { return a = b; }
51137 _ACEOF
51138 if ac_fn_c_try_run "$LINENO"; then :
51139   gcc_cv_have_tls=yes
51140 else
51141   gcc_cv_have_tls=no
51142 fi
51143 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51144   conftest.$ac_objext conftest.beam conftest.$ac_ext
51145 fi
51146
51147 else
51148   gcc_cv_have_tls=yes
51149 fi
51150 rm -f core conftest.err conftest.$ac_objext \
51151     conftest$ac_exeext conftest.$ac_ext
51152       LDFLAGS="$chktls_save_LDFLAGS"
51153       if test $gcc_cv_have_tls = yes; then
51154                                                 chktls_save_CFLAGS="$CFLAGS"
51155         thread_CFLAGS=failed
51156         for flag in '' '-pthread' '-lpthread'; do
51157           CFLAGS="$flag $chktls_save_CFLAGS"
51158           if test x$gcc_no_link = xyes; then
51159   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51160 fi
51161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51162 /* end confdefs.h.  */
51163 #include <pthread.h>
51164                 void *g(void *d) { return NULL; }
51165 int
51166 main ()
51167 {
51168 pthread_t t; pthread_create(&t,NULL,g,NULL);
51169   ;
51170   return 0;
51171 }
51172 _ACEOF
51173 if ac_fn_c_try_link "$LINENO"; then :
51174   thread_CFLAGS="$flag"
51175 fi
51176 rm -f core conftest.err conftest.$ac_objext \
51177     conftest$ac_exeext conftest.$ac_ext
51178           if test "X$thread_CFLAGS" != Xfailed; then
51179             break
51180           fi
51181         done
51182         CFLAGS="$chktls_save_CFLAGS"
51183         if test "X$thread_CFLAGS" != Xfailed; then
51184           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
51185                                                   if test "$cross_compiling" = yes; then :
51186   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51187 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51188 as_fn_error "cannot run test program while cross compiling
51189 See \`config.log' for more details." "$LINENO" 5; }
51190 else
51191   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51192 /* end confdefs.h.  */
51193 #include <pthread.h>
51194                 __thread int a;
51195                 static int *volatile a_in_other_thread;
51196                 static void *
51197                 thread_func (void *arg)
51198                 {
51199                   a_in_other_thread = &a;
51200                   return (void *)0;
51201                 }
51202 int
51203 main ()
51204 {
51205 pthread_t thread;
51206                 void *thread_retval;
51207                 int *volatile a_in_main_thread;
51208                 a_in_main_thread = &a;
51209                 if (pthread_create (&thread, (pthread_attr_t *)0,
51210                                     thread_func, (void *)0))
51211                   return 0;
51212                 if (pthread_join (thread, &thread_retval))
51213                   return 0;
51214                 return (a_in_other_thread == a_in_main_thread);
51215   ;
51216   return 0;
51217 }
51218 _ACEOF
51219 if ac_fn_c_try_run "$LINENO"; then :
51220   gcc_cv_have_tls=yes
51221 else
51222   gcc_cv_have_tls=no
51223 fi
51224 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51225   conftest.$ac_objext conftest.beam conftest.$ac_ext
51226 fi
51227
51228           CFLAGS="$chktls_save_CFLAGS"
51229         fi
51230       fi
51231 else
51232   gcc_cv_have_tls=no
51233 fi
51234 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51235   conftest.$ac_objext conftest.beam conftest.$ac_ext
51236 fi
51237
51238 fi
51239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
51240 $as_echo "$gcc_cv_have_tls" >&6; }
51241   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
51242
51243 $as_echo "#define HAVE_TLS 1" >>confdefs.h
51244
51245   fi
51246
51247
51248
51249
51250
51251           am_save_CPPFLAGS="$CPPFLAGS"
51252
51253   for element in $INCICONV; do
51254     haveit=
51255     for x in $CPPFLAGS; do
51256
51257   acl_save_prefix="$prefix"
51258   prefix="$acl_final_prefix"
51259   acl_save_exec_prefix="$exec_prefix"
51260   exec_prefix="$acl_final_exec_prefix"
51261   eval x=\"$x\"
51262   exec_prefix="$acl_save_exec_prefix"
51263   prefix="$acl_save_prefix"
51264
51265       if test "X$x" = "X$element"; then
51266         haveit=yes
51267         break
51268       fi
51269     done
51270     if test -z "$haveit"; then
51271       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
51272     fi
51273   done
51274
51275
51276   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
51277 $as_echo_n "checking for iconv... " >&6; }
51278 if test "${am_cv_func_iconv+set}" = set; then :
51279   $as_echo_n "(cached) " >&6
51280 else
51281
51282     am_cv_func_iconv="no, consider installing GNU libiconv"
51283     am_cv_lib_iconv=no
51284     if test x$gcc_no_link = xyes; then
51285   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51286 fi
51287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51288 /* end confdefs.h.  */
51289 #include <stdlib.h>
51290 #include <iconv.h>
51291 int
51292 main ()
51293 {
51294 iconv_t cd = iconv_open("","");
51295        iconv(cd,NULL,NULL,NULL,NULL);
51296        iconv_close(cd);
51297   ;
51298   return 0;
51299 }
51300 _ACEOF
51301 if ac_fn_c_try_link "$LINENO"; then :
51302   am_cv_func_iconv=yes
51303 fi
51304 rm -f core conftest.err conftest.$ac_objext \
51305     conftest$ac_exeext conftest.$ac_ext
51306     if test "$am_cv_func_iconv" != yes; then
51307       am_save_LIBS="$LIBS"
51308       LIBS="$LIBS $LIBICONV"
51309       if test x$gcc_no_link = xyes; then
51310   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51311 fi
51312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51313 /* end confdefs.h.  */
51314 #include <stdlib.h>
51315 #include <iconv.h>
51316 int
51317 main ()
51318 {
51319 iconv_t cd = iconv_open("","");
51320          iconv(cd,NULL,NULL,NULL,NULL);
51321          iconv_close(cd);
51322   ;
51323   return 0;
51324 }
51325 _ACEOF
51326 if ac_fn_c_try_link "$LINENO"; then :
51327   am_cv_lib_iconv=yes
51328         am_cv_func_iconv=yes
51329 fi
51330 rm -f core conftest.err conftest.$ac_objext \
51331     conftest$ac_exeext conftest.$ac_ext
51332       LIBS="$am_save_LIBS"
51333     fi
51334
51335 fi
51336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
51337 $as_echo "$am_cv_func_iconv" >&6; }
51338   if test "$am_cv_func_iconv" = yes; then
51339
51340 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
51341
51342   fi
51343   if test "$am_cv_lib_iconv" = yes; then
51344     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
51345 $as_echo_n "checking how to link with libiconv... " >&6; }
51346     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
51347 $as_echo "$LIBICONV" >&6; }
51348   else
51349             CPPFLAGS="$am_save_CPPFLAGS"
51350     LIBICONV=
51351     LTLIBICONV=
51352   fi
51353
51354
51355
51356   if test "$am_cv_func_iconv" = yes; then
51357     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
51358 $as_echo_n "checking for iconv declaration... " >&6; }
51359     if test "${am_cv_proto_iconv+set}" = set; then :
51360   $as_echo_n "(cached) " >&6
51361 else
51362
51363       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51364 /* end confdefs.h.  */
51365
51366 #include <stdlib.h>
51367 #include <iconv.h>
51368 extern
51369 #ifdef __cplusplus
51370 "C"
51371 #endif
51372 #if defined(__STDC__) || defined(__cplusplus)
51373 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
51374 #else
51375 size_t iconv();
51376 #endif
51377
51378 int
51379 main ()
51380 {
51381
51382   ;
51383   return 0;
51384 }
51385 _ACEOF
51386 if ac_fn_c_try_compile "$LINENO"; then :
51387   am_cv_proto_iconv_arg1=""
51388 else
51389   am_cv_proto_iconv_arg1="const"
51390 fi
51391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51392       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);"
51393 fi
51394
51395     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
51396     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
51397          }$am_cv_proto_iconv" >&5
51398 $as_echo "${ac_t:-
51399          }$am_cv_proto_iconv" >&6; }
51400
51401 cat >>confdefs.h <<_ACEOF
51402 #define ICONV_CONST $am_cv_proto_iconv_arg1
51403 _ACEOF
51404
51405   fi
51406
51407     ;;
51408   *-mingw32*)
51409
51410   # If we're not using GNU ld, then there's no point in even trying these
51411   # tests.  Check for that first.  We should have already tested for gld
51412   # by now (in libtool), but require it now just to be safe...
51413   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51414   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51415
51416
51417
51418   # The name set by libtool depends on the version of libtool.  Shame on us
51419   # for depending on an impl detail, but c'est la vie.  Older versions used
51420   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51421   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51422   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
51423   # set (hence we're using an older libtool), then set it.
51424   if test x${with_gnu_ld+set} != xset; then
51425     if test x${ac_cv_prog_gnu_ld+set} != xset; then
51426       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
51427       with_gnu_ld=no
51428     else
51429       with_gnu_ld=$ac_cv_prog_gnu_ld
51430     fi
51431   fi
51432
51433   # Start by getting the version number.  I think the libtool test already
51434   # does some of this, but throws away the result.
51435   glibcxx_ld_is_gold=no
51436   if test x"$with_gnu_ld" = x"yes"; then
51437     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
51438 $as_echo_n "checking for ld version... " >&6; }
51439
51440     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
51441       glibcxx_ld_is_gold=yes
51442     fi
51443     ldver=`$LD --version 2>/dev/null |
51444            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'`
51445
51446     glibcxx_gnu_ld_version=`echo $ldver | \
51447            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51448     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
51449 $as_echo "$glibcxx_gnu_ld_version" >&6; }
51450   fi
51451
51452   # Set --gc-sections.
51453   glibcxx_have_gc_sections=no
51454   if test "$glibcxx_ld_is_gold" = "yes"; then
51455     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
51456       glibcxx_have_gc_sections=yes
51457     fi
51458   else
51459     glibcxx_gcsections_min_ld=21602
51460     if test x"$with_gnu_ld" = x"yes" &&
51461         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
51462       glibcxx_have_gc_sections=yes
51463     fi
51464   fi
51465   if test "$glibcxx_have_gc_sections" = "yes"; then
51466     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
51467     # NB: This flag only works reliably after 2.16.1. Configure tests
51468     # for this are difficult, so hard wire a value that should work.
51469
51470     ac_test_CFLAGS="${CFLAGS+set}"
51471     ac_save_CFLAGS="$CFLAGS"
51472     CFLAGS='-Wl,--gc-sections'
51473
51474     # Check for -Wl,--gc-sections
51475     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
51476 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
51477     if test x$gcc_no_link = xyes; then
51478   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51479 fi
51480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51481 /* end confdefs.h.  */
51482  int one(void) { return 1; }
51483      int two(void) { return 2; }
51484
51485 int
51486 main ()
51487 {
51488  two();
51489   ;
51490   return 0;
51491 }
51492 _ACEOF
51493 if ac_fn_c_try_link "$LINENO"; then :
51494   ac_gcsections=yes
51495 else
51496   ac_gcsections=no
51497 fi
51498 rm -f core conftest.err conftest.$ac_objext \
51499     conftest$ac_exeext conftest.$ac_ext
51500     if test "$ac_gcsections" = "yes"; then
51501       rm -f conftest.c
51502       touch conftest.c
51503       if $CC -c conftest.c; then
51504         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
51505            grep "Warning: gc-sections option ignored" > /dev/null; then
51506           ac_gcsections=no
51507         fi
51508       fi
51509       rm -f conftest.c conftest.o conftest
51510     fi
51511     if test "$ac_gcsections" = "yes"; then
51512       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51513     fi
51514     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
51515 $as_echo "$ac_gcsections" >&6; }
51516
51517     if test "$ac_test_CFLAGS" = set; then
51518       CFLAGS="$ac_save_CFLAGS"
51519     else
51520       # this is the suspicious part
51521       CFLAGS=''
51522     fi
51523   fi
51524
51525   # Set -z,relro.
51526   # Note this is only for shared objects.
51527   ac_ld_relro=no
51528   if test x"$with_gnu_ld" = x"yes"; then
51529     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
51530 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
51531     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
51532     if test -n "$cxx_z_relo"; then
51533       OPT_LDFLAGS="-Wl,-z,relro"
51534       ac_ld_relro=yes
51535     fi
51536     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
51537 $as_echo "$ac_ld_relro" >&6; }
51538   fi
51539
51540   # Set linker optimization flags.
51541   if test x"$with_gnu_ld" = x"yes"; then
51542     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
51543   fi
51544
51545
51546
51547
51548
51549   ac_test_CXXFLAGS="${CXXFLAGS+set}"
51550   ac_save_CXXFLAGS="$CXXFLAGS"
51551   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51552
51553     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
51554 $as_echo_n "checking for sin in -lm... " >&6; }
51555 if test "${ac_cv_lib_m_sin+set}" = set; then :
51556   $as_echo_n "(cached) " >&6
51557 else
51558   ac_check_lib_save_LIBS=$LIBS
51559 LIBS="-lm  $LIBS"
51560 if test x$gcc_no_link = xyes; then
51561   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51562 fi
51563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51564 /* end confdefs.h.  */
51565
51566 /* Override any GCC internal prototype to avoid an error.
51567    Use char because int might match the return type of a GCC
51568    builtin and then its argument prototype would still apply.  */
51569 #ifdef __cplusplus
51570 extern "C"
51571 #endif
51572 char sin ();
51573 int
51574 main ()
51575 {
51576 return sin ();
51577   ;
51578   return 0;
51579 }
51580 _ACEOF
51581 if ac_fn_c_try_link "$LINENO"; then :
51582   ac_cv_lib_m_sin=yes
51583 else
51584   ac_cv_lib_m_sin=no
51585 fi
51586 rm -f core conftest.err conftest.$ac_objext \
51587     conftest$ac_exeext conftest.$ac_ext
51588 LIBS=$ac_check_lib_save_LIBS
51589 fi
51590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
51591 $as_echo "$ac_cv_lib_m_sin" >&6; }
51592 if test "x$ac_cv_lib_m_sin" = x""yes; then :
51593   libm="-lm"
51594 fi
51595
51596   ac_save_LIBS="$LIBS"
51597   LIBS="$LIBS $libm"
51598
51599
51600
51601   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
51602 $as_echo_n "checking for isinf declaration... " >&6; }
51603   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51604     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
51605   $as_echo_n "(cached) " >&6
51606 else
51607
51608
51609       ac_ext=cpp
51610 ac_cpp='$CXXCPP $CPPFLAGS'
51611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51614
51615       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51616 /* end confdefs.h.  */
51617 #include <math.h>
51618                       #ifdef HAVE_IEEEFP_H
51619                       #include <ieeefp.h>
51620                       #endif
51621
51622 int
51623 main ()
51624 {
51625  isinf(0);
51626   ;
51627   return 0;
51628 }
51629 _ACEOF
51630 if ac_fn_cxx_try_compile "$LINENO"; then :
51631   glibcxx_cv_func_isinf_use=yes
51632 else
51633   glibcxx_cv_func_isinf_use=no
51634 fi
51635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51636       ac_ext=c
51637 ac_cpp='$CPP $CPPFLAGS'
51638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51641
51642
51643 fi
51644
51645   fi
51646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
51647 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
51648
51649   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51650     for ac_func in isinf
51651 do :
51652   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
51653 if test "x$ac_cv_func_isinf" = x""yes; then :
51654   cat >>confdefs.h <<_ACEOF
51655 #define HAVE_ISINF 1
51656 _ACEOF
51657
51658 fi
51659 done
51660
51661   else
51662
51663   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
51664 $as_echo_n "checking for _isinf declaration... " >&6; }
51665   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
51666     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
51667   $as_echo_n "(cached) " >&6
51668 else
51669
51670
51671       ac_ext=cpp
51672 ac_cpp='$CXXCPP $CPPFLAGS'
51673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51676
51677       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51678 /* end confdefs.h.  */
51679 #include <math.h>
51680                       #ifdef HAVE_IEEEFP_H
51681                       #include <ieeefp.h>
51682                       #endif
51683
51684 int
51685 main ()
51686 {
51687  _isinf(0);
51688   ;
51689   return 0;
51690 }
51691 _ACEOF
51692 if ac_fn_cxx_try_compile "$LINENO"; then :
51693   glibcxx_cv_func__isinf_use=yes
51694 else
51695   glibcxx_cv_func__isinf_use=no
51696 fi
51697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51698       ac_ext=c
51699 ac_cpp='$CPP $CPPFLAGS'
51700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51703
51704
51705 fi
51706
51707   fi
51708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
51709 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
51710
51711     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
51712       for ac_func in _isinf
51713 do :
51714   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
51715 if test "x$ac_cv_func__isinf" = x""yes; then :
51716   cat >>confdefs.h <<_ACEOF
51717 #define HAVE__ISINF 1
51718 _ACEOF
51719
51720 fi
51721 done
51722
51723     fi
51724   fi
51725
51726
51727
51728
51729
51730   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
51731 $as_echo_n "checking for isnan declaration... " >&6; }
51732   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
51733     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
51734   $as_echo_n "(cached) " >&6
51735 else
51736
51737
51738       ac_ext=cpp
51739 ac_cpp='$CXXCPP $CPPFLAGS'
51740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51743
51744       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51745 /* end confdefs.h.  */
51746 #include <math.h>
51747                       #ifdef HAVE_IEEEFP_H
51748                       #include <ieeefp.h>
51749                       #endif
51750
51751 int
51752 main ()
51753 {
51754  isnan(0);
51755   ;
51756   return 0;
51757 }
51758 _ACEOF
51759 if ac_fn_cxx_try_compile "$LINENO"; then :
51760   glibcxx_cv_func_isnan_use=yes
51761 else
51762   glibcxx_cv_func_isnan_use=no
51763 fi
51764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51765       ac_ext=c
51766 ac_cpp='$CPP $CPPFLAGS'
51767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51770
51771
51772 fi
51773
51774   fi
51775   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
51776 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
51777
51778   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
51779     for ac_func in isnan
51780 do :
51781   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
51782 if test "x$ac_cv_func_isnan" = x""yes; then :
51783   cat >>confdefs.h <<_ACEOF
51784 #define HAVE_ISNAN 1
51785 _ACEOF
51786
51787 fi
51788 done
51789
51790   else
51791
51792   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
51793 $as_echo_n "checking for _isnan declaration... " >&6; }
51794   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
51795     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
51796   $as_echo_n "(cached) " >&6
51797 else
51798
51799
51800       ac_ext=cpp
51801 ac_cpp='$CXXCPP $CPPFLAGS'
51802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51805
51806       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51807 /* end confdefs.h.  */
51808 #include <math.h>
51809                       #ifdef HAVE_IEEEFP_H
51810                       #include <ieeefp.h>
51811                       #endif
51812
51813 int
51814 main ()
51815 {
51816  _isnan(0);
51817   ;
51818   return 0;
51819 }
51820 _ACEOF
51821 if ac_fn_cxx_try_compile "$LINENO"; then :
51822   glibcxx_cv_func__isnan_use=yes
51823 else
51824   glibcxx_cv_func__isnan_use=no
51825 fi
51826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51827       ac_ext=c
51828 ac_cpp='$CPP $CPPFLAGS'
51829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51832
51833
51834 fi
51835
51836   fi
51837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
51838 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
51839
51840     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
51841       for ac_func in _isnan
51842 do :
51843   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
51844 if test "x$ac_cv_func__isnan" = x""yes; then :
51845   cat >>confdefs.h <<_ACEOF
51846 #define HAVE__ISNAN 1
51847 _ACEOF
51848
51849 fi
51850 done
51851
51852     fi
51853   fi
51854
51855
51856
51857
51858
51859   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
51860 $as_echo_n "checking for finite declaration... " >&6; }
51861   if test x${glibcxx_cv_func_finite_use+set} != xset; then
51862     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
51863   $as_echo_n "(cached) " >&6
51864 else
51865
51866
51867       ac_ext=cpp
51868 ac_cpp='$CXXCPP $CPPFLAGS'
51869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51872
51873       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51874 /* end confdefs.h.  */
51875 #include <math.h>
51876                       #ifdef HAVE_IEEEFP_H
51877                       #include <ieeefp.h>
51878                       #endif
51879
51880 int
51881 main ()
51882 {
51883  finite(0);
51884   ;
51885   return 0;
51886 }
51887 _ACEOF
51888 if ac_fn_cxx_try_compile "$LINENO"; then :
51889   glibcxx_cv_func_finite_use=yes
51890 else
51891   glibcxx_cv_func_finite_use=no
51892 fi
51893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51894       ac_ext=c
51895 ac_cpp='$CPP $CPPFLAGS'
51896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51899
51900
51901 fi
51902
51903   fi
51904   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
51905 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
51906
51907   if test x$glibcxx_cv_func_finite_use = x"yes"; then
51908     for ac_func in finite
51909 do :
51910   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
51911 if test "x$ac_cv_func_finite" = x""yes; then :
51912   cat >>confdefs.h <<_ACEOF
51913 #define HAVE_FINITE 1
51914 _ACEOF
51915
51916 fi
51917 done
51918
51919   else
51920
51921   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
51922 $as_echo_n "checking for _finite declaration... " >&6; }
51923   if test x${glibcxx_cv_func__finite_use+set} != xset; then
51924     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
51925   $as_echo_n "(cached) " >&6
51926 else
51927
51928
51929       ac_ext=cpp
51930 ac_cpp='$CXXCPP $CPPFLAGS'
51931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51934
51935       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51936 /* end confdefs.h.  */
51937 #include <math.h>
51938                       #ifdef HAVE_IEEEFP_H
51939                       #include <ieeefp.h>
51940                       #endif
51941
51942 int
51943 main ()
51944 {
51945  _finite(0);
51946   ;
51947   return 0;
51948 }
51949 _ACEOF
51950 if ac_fn_cxx_try_compile "$LINENO"; then :
51951   glibcxx_cv_func__finite_use=yes
51952 else
51953   glibcxx_cv_func__finite_use=no
51954 fi
51955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51956       ac_ext=c
51957 ac_cpp='$CPP $CPPFLAGS'
51958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51961
51962
51963 fi
51964
51965   fi
51966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
51967 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
51968
51969     if test x$glibcxx_cv_func__finite_use = x"yes"; then
51970       for ac_func in _finite
51971 do :
51972   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
51973 if test "x$ac_cv_func__finite" = x""yes; then :
51974   cat >>confdefs.h <<_ACEOF
51975 #define HAVE__FINITE 1
51976 _ACEOF
51977
51978 fi
51979 done
51980
51981     fi
51982   fi
51983
51984
51985
51986
51987
51988   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
51989 $as_echo_n "checking for sincos declaration... " >&6; }
51990   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
51991     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
51992   $as_echo_n "(cached) " >&6
51993 else
51994
51995
51996       ac_ext=cpp
51997 ac_cpp='$CXXCPP $CPPFLAGS'
51998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52001
52002       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52003 /* end confdefs.h.  */
52004 #include <math.h>
52005 int
52006 main ()
52007 {
52008  sincos(0, 0, 0);
52009   ;
52010   return 0;
52011 }
52012 _ACEOF
52013 if ac_fn_cxx_try_compile "$LINENO"; then :
52014   glibcxx_cv_func_sincos_use=yes
52015 else
52016   glibcxx_cv_func_sincos_use=no
52017 fi
52018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52019       ac_ext=c
52020 ac_cpp='$CPP $CPPFLAGS'
52021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52024
52025
52026 fi
52027
52028   fi
52029   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
52030 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
52031
52032   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
52033     for ac_func in sincos
52034 do :
52035   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
52036 if test "x$ac_cv_func_sincos" = x""yes; then :
52037   cat >>confdefs.h <<_ACEOF
52038 #define HAVE_SINCOS 1
52039 _ACEOF
52040
52041 fi
52042 done
52043
52044   else
52045
52046   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
52047 $as_echo_n "checking for _sincos declaration... " >&6; }
52048   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
52049     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
52050   $as_echo_n "(cached) " >&6
52051 else
52052
52053
52054       ac_ext=cpp
52055 ac_cpp='$CXXCPP $CPPFLAGS'
52056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52059
52060       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52061 /* end confdefs.h.  */
52062 #include <math.h>
52063 int
52064 main ()
52065 {
52066  _sincos(0, 0, 0);
52067   ;
52068   return 0;
52069 }
52070 _ACEOF
52071 if ac_fn_cxx_try_compile "$LINENO"; then :
52072   glibcxx_cv_func__sincos_use=yes
52073 else
52074   glibcxx_cv_func__sincos_use=no
52075 fi
52076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52077       ac_ext=c
52078 ac_cpp='$CPP $CPPFLAGS'
52079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52082
52083
52084 fi
52085
52086   fi
52087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
52088 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
52089
52090     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
52091       for ac_func in _sincos
52092 do :
52093   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
52094 if test "x$ac_cv_func__sincos" = x""yes; then :
52095   cat >>confdefs.h <<_ACEOF
52096 #define HAVE__SINCOS 1
52097 _ACEOF
52098
52099 fi
52100 done
52101
52102     fi
52103   fi
52104
52105
52106
52107
52108
52109   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
52110 $as_echo_n "checking for fpclass declaration... " >&6; }
52111   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
52112     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
52113   $as_echo_n "(cached) " >&6
52114 else
52115
52116
52117       ac_ext=cpp
52118 ac_cpp='$CXXCPP $CPPFLAGS'
52119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52122
52123       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52124 /* end confdefs.h.  */
52125 #include <math.h>
52126                       #ifdef HAVE_IEEEFP_H
52127                       #include <ieeefp.h>
52128                       #endif
52129
52130 int
52131 main ()
52132 {
52133  fpclass(0);
52134   ;
52135   return 0;
52136 }
52137 _ACEOF
52138 if ac_fn_cxx_try_compile "$LINENO"; then :
52139   glibcxx_cv_func_fpclass_use=yes
52140 else
52141   glibcxx_cv_func_fpclass_use=no
52142 fi
52143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52144       ac_ext=c
52145 ac_cpp='$CPP $CPPFLAGS'
52146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52149
52150
52151 fi
52152
52153   fi
52154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
52155 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
52156
52157   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
52158     for ac_func in fpclass
52159 do :
52160   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
52161 if test "x$ac_cv_func_fpclass" = x""yes; then :
52162   cat >>confdefs.h <<_ACEOF
52163 #define HAVE_FPCLASS 1
52164 _ACEOF
52165
52166 fi
52167 done
52168
52169   else
52170
52171   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
52172 $as_echo_n "checking for _fpclass declaration... " >&6; }
52173   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
52174     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
52175   $as_echo_n "(cached) " >&6
52176 else
52177
52178
52179       ac_ext=cpp
52180 ac_cpp='$CXXCPP $CPPFLAGS'
52181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52184
52185       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52186 /* end confdefs.h.  */
52187 #include <math.h>
52188                       #ifdef HAVE_IEEEFP_H
52189                       #include <ieeefp.h>
52190                       #endif
52191
52192 int
52193 main ()
52194 {
52195  _fpclass(0);
52196   ;
52197   return 0;
52198 }
52199 _ACEOF
52200 if ac_fn_cxx_try_compile "$LINENO"; then :
52201   glibcxx_cv_func__fpclass_use=yes
52202 else
52203   glibcxx_cv_func__fpclass_use=no
52204 fi
52205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52206       ac_ext=c
52207 ac_cpp='$CPP $CPPFLAGS'
52208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52211
52212
52213 fi
52214
52215   fi
52216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
52217 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
52218
52219     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
52220       for ac_func in _fpclass
52221 do :
52222   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
52223 if test "x$ac_cv_func__fpclass" = x""yes; then :
52224   cat >>confdefs.h <<_ACEOF
52225 #define HAVE__FPCLASS 1
52226 _ACEOF
52227
52228 fi
52229 done
52230
52231     fi
52232   fi
52233
52234
52235
52236
52237
52238   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
52239 $as_echo_n "checking for qfpclass declaration... " >&6; }
52240   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
52241     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
52242   $as_echo_n "(cached) " >&6
52243 else
52244
52245
52246       ac_ext=cpp
52247 ac_cpp='$CXXCPP $CPPFLAGS'
52248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52251
52252       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52253 /* end confdefs.h.  */
52254 #include <math.h>
52255                       #ifdef HAVE_IEEEFP_H
52256                       #include <ieeefp.h>
52257                       #endif
52258
52259 int
52260 main ()
52261 {
52262  qfpclass(0);
52263   ;
52264   return 0;
52265 }
52266 _ACEOF
52267 if ac_fn_cxx_try_compile "$LINENO"; then :
52268   glibcxx_cv_func_qfpclass_use=yes
52269 else
52270   glibcxx_cv_func_qfpclass_use=no
52271 fi
52272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52273       ac_ext=c
52274 ac_cpp='$CPP $CPPFLAGS'
52275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52278
52279
52280 fi
52281
52282   fi
52283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
52284 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
52285
52286   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
52287     for ac_func in qfpclass
52288 do :
52289   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
52290 if test "x$ac_cv_func_qfpclass" = x""yes; then :
52291   cat >>confdefs.h <<_ACEOF
52292 #define HAVE_QFPCLASS 1
52293 _ACEOF
52294
52295 fi
52296 done
52297
52298   else
52299
52300   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
52301 $as_echo_n "checking for _qfpclass declaration... " >&6; }
52302   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
52303     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
52304   $as_echo_n "(cached) " >&6
52305 else
52306
52307
52308       ac_ext=cpp
52309 ac_cpp='$CXXCPP $CPPFLAGS'
52310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52313
52314       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52315 /* end confdefs.h.  */
52316 #include <math.h>
52317                       #ifdef HAVE_IEEEFP_H
52318                       #include <ieeefp.h>
52319                       #endif
52320
52321 int
52322 main ()
52323 {
52324  _qfpclass(0);
52325   ;
52326   return 0;
52327 }
52328 _ACEOF
52329 if ac_fn_cxx_try_compile "$LINENO"; then :
52330   glibcxx_cv_func__qfpclass_use=yes
52331 else
52332   glibcxx_cv_func__qfpclass_use=no
52333 fi
52334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52335       ac_ext=c
52336 ac_cpp='$CPP $CPPFLAGS'
52337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52340
52341
52342 fi
52343
52344   fi
52345   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
52346 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
52347
52348     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
52349       for ac_func in _qfpclass
52350 do :
52351   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
52352 if test "x$ac_cv_func__qfpclass" = x""yes; then :
52353   cat >>confdefs.h <<_ACEOF
52354 #define HAVE__QFPCLASS 1
52355 _ACEOF
52356
52357 fi
52358 done
52359
52360     fi
52361   fi
52362
52363
52364
52365
52366
52367   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
52368 $as_echo_n "checking for hypot declaration... " >&6; }
52369   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
52370     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
52371   $as_echo_n "(cached) " >&6
52372 else
52373
52374
52375       ac_ext=cpp
52376 ac_cpp='$CXXCPP $CPPFLAGS'
52377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52380
52381       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52382 /* end confdefs.h.  */
52383 #include <math.h>
52384 int
52385 main ()
52386 {
52387  hypot(0, 0);
52388   ;
52389   return 0;
52390 }
52391 _ACEOF
52392 if ac_fn_cxx_try_compile "$LINENO"; then :
52393   glibcxx_cv_func_hypot_use=yes
52394 else
52395   glibcxx_cv_func_hypot_use=no
52396 fi
52397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52398       ac_ext=c
52399 ac_cpp='$CPP $CPPFLAGS'
52400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52403
52404
52405 fi
52406
52407   fi
52408   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
52409 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
52410
52411   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
52412     for ac_func in hypot
52413 do :
52414   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
52415 if test "x$ac_cv_func_hypot" = x""yes; then :
52416   cat >>confdefs.h <<_ACEOF
52417 #define HAVE_HYPOT 1
52418 _ACEOF
52419
52420 fi
52421 done
52422
52423   else
52424
52425   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
52426 $as_echo_n "checking for _hypot declaration... " >&6; }
52427   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
52428     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
52429   $as_echo_n "(cached) " >&6
52430 else
52431
52432
52433       ac_ext=cpp
52434 ac_cpp='$CXXCPP $CPPFLAGS'
52435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52438
52439       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52440 /* end confdefs.h.  */
52441 #include <math.h>
52442 int
52443 main ()
52444 {
52445  _hypot(0, 0);
52446   ;
52447   return 0;
52448 }
52449 _ACEOF
52450 if ac_fn_cxx_try_compile "$LINENO"; then :
52451   glibcxx_cv_func__hypot_use=yes
52452 else
52453   glibcxx_cv_func__hypot_use=no
52454 fi
52455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52456       ac_ext=c
52457 ac_cpp='$CPP $CPPFLAGS'
52458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52461
52462
52463 fi
52464
52465   fi
52466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
52467 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
52468
52469     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
52470       for ac_func in _hypot
52471 do :
52472   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
52473 if test "x$ac_cv_func__hypot" = x""yes; then :
52474   cat >>confdefs.h <<_ACEOF
52475 #define HAVE__HYPOT 1
52476 _ACEOF
52477
52478 fi
52479 done
52480
52481     fi
52482   fi
52483
52484
52485
52486
52487
52488     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
52489 $as_echo_n "checking for float trig functions... " >&6; }
52490   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
52491   $as_echo_n "(cached) " >&6
52492 else
52493
52494
52495     ac_ext=cpp
52496 ac_cpp='$CXXCPP $CPPFLAGS'
52497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52500
52501     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52502 /* end confdefs.h.  */
52503 #include <math.h>
52504 int
52505 main ()
52506 {
52507 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
52508   ;
52509   return 0;
52510 }
52511 _ACEOF
52512 if ac_fn_cxx_try_compile "$LINENO"; then :
52513   glibcxx_cv_func_float_trig_use=yes
52514 else
52515   glibcxx_cv_func_float_trig_use=no
52516 fi
52517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52518     ac_ext=c
52519 ac_cpp='$CPP $CPPFLAGS'
52520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52523
52524 fi
52525
52526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
52527 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
52528   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
52529     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
52530 do :
52531   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52532 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52533 eval as_val=\$$as_ac_var
52534    if test "x$as_val" = x""yes; then :
52535   cat >>confdefs.h <<_ACEOF
52536 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52537 _ACEOF
52538
52539 fi
52540 done
52541
52542   else
52543     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
52544 $as_echo_n "checking for _float trig functions... " >&6; }
52545     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
52546   $as_echo_n "(cached) " >&6
52547 else
52548
52549
52550       ac_ext=cpp
52551 ac_cpp='$CXXCPP $CPPFLAGS'
52552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52555
52556       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52557 /* end confdefs.h.  */
52558 #include <math.h>
52559 int
52560 main ()
52561 {
52562 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
52563   ;
52564   return 0;
52565 }
52566 _ACEOF
52567 if ac_fn_cxx_try_compile "$LINENO"; then :
52568   glibcxx_cv_func__float_trig_use=yes
52569 else
52570   glibcxx_cv_func__float_trig_use=no
52571 fi
52572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52573       ac_ext=c
52574 ac_cpp='$CPP $CPPFLAGS'
52575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52578
52579 fi
52580
52581     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
52582 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
52583     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
52584       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
52585 do :
52586   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52587 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52588 eval as_val=\$$as_ac_var
52589    if test "x$as_val" = x""yes; then :
52590   cat >>confdefs.h <<_ACEOF
52591 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52592 _ACEOF
52593
52594 fi
52595 done
52596
52597     fi
52598   fi
52599
52600
52601
52602
52603
52604     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
52605 $as_echo_n "checking for float round functions... " >&6; }
52606   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
52607   $as_echo_n "(cached) " >&6
52608 else
52609
52610
52611     ac_ext=cpp
52612 ac_cpp='$CXXCPP $CPPFLAGS'
52613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52616
52617     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52618 /* end confdefs.h.  */
52619 #include <math.h>
52620 int
52621 main ()
52622 {
52623 ceilf (0); floorf (0);
52624   ;
52625   return 0;
52626 }
52627 _ACEOF
52628 if ac_fn_cxx_try_compile "$LINENO"; then :
52629   glibcxx_cv_func_float_round_use=yes
52630 else
52631   glibcxx_cv_func_float_round_use=no
52632 fi
52633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52634     ac_ext=c
52635 ac_cpp='$CPP $CPPFLAGS'
52636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52639
52640 fi
52641
52642   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
52643 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
52644   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
52645     for ac_func in ceilf floorf
52646 do :
52647   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52648 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52649 eval as_val=\$$as_ac_var
52650    if test "x$as_val" = x""yes; then :
52651   cat >>confdefs.h <<_ACEOF
52652 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52653 _ACEOF
52654
52655 fi
52656 done
52657
52658   else
52659     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
52660 $as_echo_n "checking for _float round functions... " >&6; }
52661     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
52662   $as_echo_n "(cached) " >&6
52663 else
52664
52665
52666       ac_ext=cpp
52667 ac_cpp='$CXXCPP $CPPFLAGS'
52668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52671
52672       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52673 /* end confdefs.h.  */
52674 #include <math.h>
52675 int
52676 main ()
52677 {
52678 _ceilf (0); _floorf (0);
52679   ;
52680   return 0;
52681 }
52682 _ACEOF
52683 if ac_fn_cxx_try_compile "$LINENO"; then :
52684   glibcxx_cv_func__float_round_use=yes
52685 else
52686   glibcxx_cv_func__float_round_use=no
52687 fi
52688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52689       ac_ext=c
52690 ac_cpp='$CPP $CPPFLAGS'
52691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52694
52695 fi
52696
52697     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
52698 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
52699     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
52700       for ac_func in _ceilf _floorf
52701 do :
52702   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52703 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52704 eval as_val=\$$as_ac_var
52705    if test "x$as_val" = x""yes; then :
52706   cat >>confdefs.h <<_ACEOF
52707 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52708 _ACEOF
52709
52710 fi
52711 done
52712
52713     fi
52714   fi
52715
52716
52717
52718
52719
52720
52721   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
52722 $as_echo_n "checking for expf declaration... " >&6; }
52723   if test x${glibcxx_cv_func_expf_use+set} != xset; then
52724     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
52725   $as_echo_n "(cached) " >&6
52726 else
52727
52728
52729       ac_ext=cpp
52730 ac_cpp='$CXXCPP $CPPFLAGS'
52731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52734
52735       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52736 /* end confdefs.h.  */
52737 #include <math.h>
52738                       #ifdef HAVE_IEEEFP_H
52739                       #include <ieeefp.h>
52740                       #endif
52741
52742 int
52743 main ()
52744 {
52745  expf(0);
52746   ;
52747   return 0;
52748 }
52749 _ACEOF
52750 if ac_fn_cxx_try_compile "$LINENO"; then :
52751   glibcxx_cv_func_expf_use=yes
52752 else
52753   glibcxx_cv_func_expf_use=no
52754 fi
52755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52756       ac_ext=c
52757 ac_cpp='$CPP $CPPFLAGS'
52758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52761
52762
52763 fi
52764
52765   fi
52766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
52767 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
52768
52769   if test x$glibcxx_cv_func_expf_use = x"yes"; then
52770     for ac_func in expf
52771 do :
52772   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
52773 if test "x$ac_cv_func_expf" = x""yes; then :
52774   cat >>confdefs.h <<_ACEOF
52775 #define HAVE_EXPF 1
52776 _ACEOF
52777
52778 fi
52779 done
52780
52781   else
52782
52783   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
52784 $as_echo_n "checking for _expf declaration... " >&6; }
52785   if test x${glibcxx_cv_func__expf_use+set} != xset; then
52786     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
52787   $as_echo_n "(cached) " >&6
52788 else
52789
52790
52791       ac_ext=cpp
52792 ac_cpp='$CXXCPP $CPPFLAGS'
52793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52796
52797       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52798 /* end confdefs.h.  */
52799 #include <math.h>
52800                       #ifdef HAVE_IEEEFP_H
52801                       #include <ieeefp.h>
52802                       #endif
52803
52804 int
52805 main ()
52806 {
52807  _expf(0);
52808   ;
52809   return 0;
52810 }
52811 _ACEOF
52812 if ac_fn_cxx_try_compile "$LINENO"; then :
52813   glibcxx_cv_func__expf_use=yes
52814 else
52815   glibcxx_cv_func__expf_use=no
52816 fi
52817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52818       ac_ext=c
52819 ac_cpp='$CPP $CPPFLAGS'
52820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52823
52824
52825 fi
52826
52827   fi
52828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
52829 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
52830
52831     if test x$glibcxx_cv_func__expf_use = x"yes"; then
52832       for ac_func in _expf
52833 do :
52834   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
52835 if test "x$ac_cv_func__expf" = x""yes; then :
52836   cat >>confdefs.h <<_ACEOF
52837 #define HAVE__EXPF 1
52838 _ACEOF
52839
52840 fi
52841 done
52842
52843     fi
52844   fi
52845
52846
52847
52848
52849
52850   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
52851 $as_echo_n "checking for isnanf declaration... " >&6; }
52852   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
52853     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
52854   $as_echo_n "(cached) " >&6
52855 else
52856
52857
52858       ac_ext=cpp
52859 ac_cpp='$CXXCPP $CPPFLAGS'
52860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52863
52864       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52865 /* end confdefs.h.  */
52866 #include <math.h>
52867                       #ifdef HAVE_IEEEFP_H
52868                       #include <ieeefp.h>
52869                       #endif
52870
52871 int
52872 main ()
52873 {
52874  isnanf(0);
52875   ;
52876   return 0;
52877 }
52878 _ACEOF
52879 if ac_fn_cxx_try_compile "$LINENO"; then :
52880   glibcxx_cv_func_isnanf_use=yes
52881 else
52882   glibcxx_cv_func_isnanf_use=no
52883 fi
52884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52885       ac_ext=c
52886 ac_cpp='$CPP $CPPFLAGS'
52887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52890
52891
52892 fi
52893
52894   fi
52895   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
52896 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
52897
52898   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
52899     for ac_func in isnanf
52900 do :
52901   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
52902 if test "x$ac_cv_func_isnanf" = x""yes; then :
52903   cat >>confdefs.h <<_ACEOF
52904 #define HAVE_ISNANF 1
52905 _ACEOF
52906
52907 fi
52908 done
52909
52910   else
52911
52912   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
52913 $as_echo_n "checking for _isnanf declaration... " >&6; }
52914   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
52915     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
52916   $as_echo_n "(cached) " >&6
52917 else
52918
52919
52920       ac_ext=cpp
52921 ac_cpp='$CXXCPP $CPPFLAGS'
52922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52925
52926       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52927 /* end confdefs.h.  */
52928 #include <math.h>
52929                       #ifdef HAVE_IEEEFP_H
52930                       #include <ieeefp.h>
52931                       #endif
52932
52933 int
52934 main ()
52935 {
52936  _isnanf(0);
52937   ;
52938   return 0;
52939 }
52940 _ACEOF
52941 if ac_fn_cxx_try_compile "$LINENO"; then :
52942   glibcxx_cv_func__isnanf_use=yes
52943 else
52944   glibcxx_cv_func__isnanf_use=no
52945 fi
52946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52947       ac_ext=c
52948 ac_cpp='$CPP $CPPFLAGS'
52949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52952
52953
52954 fi
52955
52956   fi
52957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
52958 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
52959
52960     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
52961       for ac_func in _isnanf
52962 do :
52963   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
52964 if test "x$ac_cv_func__isnanf" = x""yes; then :
52965   cat >>confdefs.h <<_ACEOF
52966 #define HAVE__ISNANF 1
52967 _ACEOF
52968
52969 fi
52970 done
52971
52972     fi
52973   fi
52974
52975
52976
52977
52978
52979   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
52980 $as_echo_n "checking for isinff declaration... " >&6; }
52981   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
52982     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
52983   $as_echo_n "(cached) " >&6
52984 else
52985
52986
52987       ac_ext=cpp
52988 ac_cpp='$CXXCPP $CPPFLAGS'
52989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52992
52993       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52994 /* end confdefs.h.  */
52995 #include <math.h>
52996                       #ifdef HAVE_IEEEFP_H
52997                       #include <ieeefp.h>
52998                       #endif
52999
53000 int
53001 main ()
53002 {
53003  isinff(0);
53004   ;
53005   return 0;
53006 }
53007 _ACEOF
53008 if ac_fn_cxx_try_compile "$LINENO"; then :
53009   glibcxx_cv_func_isinff_use=yes
53010 else
53011   glibcxx_cv_func_isinff_use=no
53012 fi
53013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53014       ac_ext=c
53015 ac_cpp='$CPP $CPPFLAGS'
53016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53019
53020
53021 fi
53022
53023   fi
53024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
53025 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
53026
53027   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
53028     for ac_func in isinff
53029 do :
53030   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
53031 if test "x$ac_cv_func_isinff" = x""yes; then :
53032   cat >>confdefs.h <<_ACEOF
53033 #define HAVE_ISINFF 1
53034 _ACEOF
53035
53036 fi
53037 done
53038
53039   else
53040
53041   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
53042 $as_echo_n "checking for _isinff declaration... " >&6; }
53043   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
53044     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
53045   $as_echo_n "(cached) " >&6
53046 else
53047
53048
53049       ac_ext=cpp
53050 ac_cpp='$CXXCPP $CPPFLAGS'
53051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53054
53055       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53056 /* end confdefs.h.  */
53057 #include <math.h>
53058                       #ifdef HAVE_IEEEFP_H
53059                       #include <ieeefp.h>
53060                       #endif
53061
53062 int
53063 main ()
53064 {
53065  _isinff(0);
53066   ;
53067   return 0;
53068 }
53069 _ACEOF
53070 if ac_fn_cxx_try_compile "$LINENO"; then :
53071   glibcxx_cv_func__isinff_use=yes
53072 else
53073   glibcxx_cv_func__isinff_use=no
53074 fi
53075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53076       ac_ext=c
53077 ac_cpp='$CPP $CPPFLAGS'
53078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53081
53082
53083 fi
53084
53085   fi
53086   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
53087 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
53088
53089     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
53090       for ac_func in _isinff
53091 do :
53092   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
53093 if test "x$ac_cv_func__isinff" = x""yes; then :
53094   cat >>confdefs.h <<_ACEOF
53095 #define HAVE__ISINFF 1
53096 _ACEOF
53097
53098 fi
53099 done
53100
53101     fi
53102   fi
53103
53104
53105
53106
53107
53108   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
53109 $as_echo_n "checking for atan2f declaration... " >&6; }
53110   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
53111     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
53112   $as_echo_n "(cached) " >&6
53113 else
53114
53115
53116       ac_ext=cpp
53117 ac_cpp='$CXXCPP $CPPFLAGS'
53118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53121
53122       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53123 /* end confdefs.h.  */
53124 #include <math.h>
53125 int
53126 main ()
53127 {
53128  atan2f(0, 0);
53129   ;
53130   return 0;
53131 }
53132 _ACEOF
53133 if ac_fn_cxx_try_compile "$LINENO"; then :
53134   glibcxx_cv_func_atan2f_use=yes
53135 else
53136   glibcxx_cv_func_atan2f_use=no
53137 fi
53138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53139       ac_ext=c
53140 ac_cpp='$CPP $CPPFLAGS'
53141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53144
53145
53146 fi
53147
53148   fi
53149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
53150 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
53151
53152   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
53153     for ac_func in atan2f
53154 do :
53155   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
53156 if test "x$ac_cv_func_atan2f" = x""yes; then :
53157   cat >>confdefs.h <<_ACEOF
53158 #define HAVE_ATAN2F 1
53159 _ACEOF
53160
53161 fi
53162 done
53163
53164   else
53165
53166   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
53167 $as_echo_n "checking for _atan2f declaration... " >&6; }
53168   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
53169     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
53170   $as_echo_n "(cached) " >&6
53171 else
53172
53173
53174       ac_ext=cpp
53175 ac_cpp='$CXXCPP $CPPFLAGS'
53176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53179
53180       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53181 /* end confdefs.h.  */
53182 #include <math.h>
53183 int
53184 main ()
53185 {
53186  _atan2f(0, 0);
53187   ;
53188   return 0;
53189 }
53190 _ACEOF
53191 if ac_fn_cxx_try_compile "$LINENO"; then :
53192   glibcxx_cv_func__atan2f_use=yes
53193 else
53194   glibcxx_cv_func__atan2f_use=no
53195 fi
53196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53197       ac_ext=c
53198 ac_cpp='$CPP $CPPFLAGS'
53199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53202
53203
53204 fi
53205
53206   fi
53207   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
53208 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
53209
53210     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
53211       for ac_func in _atan2f
53212 do :
53213   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
53214 if test "x$ac_cv_func__atan2f" = x""yes; then :
53215   cat >>confdefs.h <<_ACEOF
53216 #define HAVE__ATAN2F 1
53217 _ACEOF
53218
53219 fi
53220 done
53221
53222     fi
53223   fi
53224
53225
53226
53227
53228
53229   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
53230 $as_echo_n "checking for fabsf declaration... " >&6; }
53231   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
53232     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
53233   $as_echo_n "(cached) " >&6
53234 else
53235
53236
53237       ac_ext=cpp
53238 ac_cpp='$CXXCPP $CPPFLAGS'
53239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53242
53243       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53244 /* end confdefs.h.  */
53245 #include <math.h>
53246                       #ifdef HAVE_IEEEFP_H
53247                       #include <ieeefp.h>
53248                       #endif
53249
53250 int
53251 main ()
53252 {
53253  fabsf(0);
53254   ;
53255   return 0;
53256 }
53257 _ACEOF
53258 if ac_fn_cxx_try_compile "$LINENO"; then :
53259   glibcxx_cv_func_fabsf_use=yes
53260 else
53261   glibcxx_cv_func_fabsf_use=no
53262 fi
53263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53264       ac_ext=c
53265 ac_cpp='$CPP $CPPFLAGS'
53266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53269
53270
53271 fi
53272
53273   fi
53274   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
53275 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
53276
53277   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
53278     for ac_func in fabsf
53279 do :
53280   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
53281 if test "x$ac_cv_func_fabsf" = x""yes; then :
53282   cat >>confdefs.h <<_ACEOF
53283 #define HAVE_FABSF 1
53284 _ACEOF
53285
53286 fi
53287 done
53288
53289   else
53290
53291   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
53292 $as_echo_n "checking for _fabsf declaration... " >&6; }
53293   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
53294     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
53295   $as_echo_n "(cached) " >&6
53296 else
53297
53298
53299       ac_ext=cpp
53300 ac_cpp='$CXXCPP $CPPFLAGS'
53301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53304
53305       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53306 /* end confdefs.h.  */
53307 #include <math.h>
53308                       #ifdef HAVE_IEEEFP_H
53309                       #include <ieeefp.h>
53310                       #endif
53311
53312 int
53313 main ()
53314 {
53315  _fabsf(0);
53316   ;
53317   return 0;
53318 }
53319 _ACEOF
53320 if ac_fn_cxx_try_compile "$LINENO"; then :
53321   glibcxx_cv_func__fabsf_use=yes
53322 else
53323   glibcxx_cv_func__fabsf_use=no
53324 fi
53325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53326       ac_ext=c
53327 ac_cpp='$CPP $CPPFLAGS'
53328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53331
53332
53333 fi
53334
53335   fi
53336   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
53337 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
53338
53339     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
53340       for ac_func in _fabsf
53341 do :
53342   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
53343 if test "x$ac_cv_func__fabsf" = x""yes; then :
53344   cat >>confdefs.h <<_ACEOF
53345 #define HAVE__FABSF 1
53346 _ACEOF
53347
53348 fi
53349 done
53350
53351     fi
53352   fi
53353
53354
53355
53356
53357
53358   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
53359 $as_echo_n "checking for fmodf declaration... " >&6; }
53360   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
53361     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
53362   $as_echo_n "(cached) " >&6
53363 else
53364
53365
53366       ac_ext=cpp
53367 ac_cpp='$CXXCPP $CPPFLAGS'
53368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53371
53372       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53373 /* end confdefs.h.  */
53374 #include <math.h>
53375 int
53376 main ()
53377 {
53378  fmodf(0, 0);
53379   ;
53380   return 0;
53381 }
53382 _ACEOF
53383 if ac_fn_cxx_try_compile "$LINENO"; then :
53384   glibcxx_cv_func_fmodf_use=yes
53385 else
53386   glibcxx_cv_func_fmodf_use=no
53387 fi
53388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53389       ac_ext=c
53390 ac_cpp='$CPP $CPPFLAGS'
53391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53394
53395
53396 fi
53397
53398   fi
53399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
53400 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
53401
53402   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
53403     for ac_func in fmodf
53404 do :
53405   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
53406 if test "x$ac_cv_func_fmodf" = x""yes; then :
53407   cat >>confdefs.h <<_ACEOF
53408 #define HAVE_FMODF 1
53409 _ACEOF
53410
53411 fi
53412 done
53413
53414   else
53415
53416   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
53417 $as_echo_n "checking for _fmodf declaration... " >&6; }
53418   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
53419     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
53420   $as_echo_n "(cached) " >&6
53421 else
53422
53423
53424       ac_ext=cpp
53425 ac_cpp='$CXXCPP $CPPFLAGS'
53426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53429
53430       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53431 /* end confdefs.h.  */
53432 #include <math.h>
53433 int
53434 main ()
53435 {
53436  _fmodf(0, 0);
53437   ;
53438   return 0;
53439 }
53440 _ACEOF
53441 if ac_fn_cxx_try_compile "$LINENO"; then :
53442   glibcxx_cv_func__fmodf_use=yes
53443 else
53444   glibcxx_cv_func__fmodf_use=no
53445 fi
53446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53447       ac_ext=c
53448 ac_cpp='$CPP $CPPFLAGS'
53449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53452
53453
53454 fi
53455
53456   fi
53457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
53458 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
53459
53460     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
53461       for ac_func in _fmodf
53462 do :
53463   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
53464 if test "x$ac_cv_func__fmodf" = x""yes; then :
53465   cat >>confdefs.h <<_ACEOF
53466 #define HAVE__FMODF 1
53467 _ACEOF
53468
53469 fi
53470 done
53471
53472     fi
53473   fi
53474
53475
53476
53477
53478
53479   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
53480 $as_echo_n "checking for frexpf declaration... " >&6; }
53481   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
53482     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
53483   $as_echo_n "(cached) " >&6
53484 else
53485
53486
53487       ac_ext=cpp
53488 ac_cpp='$CXXCPP $CPPFLAGS'
53489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53492
53493       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53494 /* end confdefs.h.  */
53495 #include <math.h>
53496 int
53497 main ()
53498 {
53499  frexpf(0, 0);
53500   ;
53501   return 0;
53502 }
53503 _ACEOF
53504 if ac_fn_cxx_try_compile "$LINENO"; then :
53505   glibcxx_cv_func_frexpf_use=yes
53506 else
53507   glibcxx_cv_func_frexpf_use=no
53508 fi
53509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53510       ac_ext=c
53511 ac_cpp='$CPP $CPPFLAGS'
53512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53515
53516
53517 fi
53518
53519   fi
53520   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
53521 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
53522
53523   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
53524     for ac_func in frexpf
53525 do :
53526   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
53527 if test "x$ac_cv_func_frexpf" = x""yes; then :
53528   cat >>confdefs.h <<_ACEOF
53529 #define HAVE_FREXPF 1
53530 _ACEOF
53531
53532 fi
53533 done
53534
53535   else
53536
53537   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
53538 $as_echo_n "checking for _frexpf declaration... " >&6; }
53539   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
53540     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
53541   $as_echo_n "(cached) " >&6
53542 else
53543
53544
53545       ac_ext=cpp
53546 ac_cpp='$CXXCPP $CPPFLAGS'
53547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53550
53551       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53552 /* end confdefs.h.  */
53553 #include <math.h>
53554 int
53555 main ()
53556 {
53557  _frexpf(0, 0);
53558   ;
53559   return 0;
53560 }
53561 _ACEOF
53562 if ac_fn_cxx_try_compile "$LINENO"; then :
53563   glibcxx_cv_func__frexpf_use=yes
53564 else
53565   glibcxx_cv_func__frexpf_use=no
53566 fi
53567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53568       ac_ext=c
53569 ac_cpp='$CPP $CPPFLAGS'
53570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53573
53574
53575 fi
53576
53577   fi
53578   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
53579 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
53580
53581     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
53582       for ac_func in _frexpf
53583 do :
53584   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
53585 if test "x$ac_cv_func__frexpf" = x""yes; then :
53586   cat >>confdefs.h <<_ACEOF
53587 #define HAVE__FREXPF 1
53588 _ACEOF
53589
53590 fi
53591 done
53592
53593     fi
53594   fi
53595
53596
53597
53598
53599
53600   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
53601 $as_echo_n "checking for hypotf declaration... " >&6; }
53602   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
53603     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
53604   $as_echo_n "(cached) " >&6
53605 else
53606
53607
53608       ac_ext=cpp
53609 ac_cpp='$CXXCPP $CPPFLAGS'
53610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53613
53614       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53615 /* end confdefs.h.  */
53616 #include <math.h>
53617 int
53618 main ()
53619 {
53620  hypotf(0, 0);
53621   ;
53622   return 0;
53623 }
53624 _ACEOF
53625 if ac_fn_cxx_try_compile "$LINENO"; then :
53626   glibcxx_cv_func_hypotf_use=yes
53627 else
53628   glibcxx_cv_func_hypotf_use=no
53629 fi
53630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53631       ac_ext=c
53632 ac_cpp='$CPP $CPPFLAGS'
53633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53636
53637
53638 fi
53639
53640   fi
53641   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
53642 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
53643
53644   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
53645     for ac_func in hypotf
53646 do :
53647   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
53648 if test "x$ac_cv_func_hypotf" = x""yes; then :
53649   cat >>confdefs.h <<_ACEOF
53650 #define HAVE_HYPOTF 1
53651 _ACEOF
53652
53653 fi
53654 done
53655
53656   else
53657
53658   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
53659 $as_echo_n "checking for _hypotf declaration... " >&6; }
53660   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
53661     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
53662   $as_echo_n "(cached) " >&6
53663 else
53664
53665
53666       ac_ext=cpp
53667 ac_cpp='$CXXCPP $CPPFLAGS'
53668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53671
53672       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53673 /* end confdefs.h.  */
53674 #include <math.h>
53675 int
53676 main ()
53677 {
53678  _hypotf(0, 0);
53679   ;
53680   return 0;
53681 }
53682 _ACEOF
53683 if ac_fn_cxx_try_compile "$LINENO"; then :
53684   glibcxx_cv_func__hypotf_use=yes
53685 else
53686   glibcxx_cv_func__hypotf_use=no
53687 fi
53688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53689       ac_ext=c
53690 ac_cpp='$CPP $CPPFLAGS'
53691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53694
53695
53696 fi
53697
53698   fi
53699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
53700 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
53701
53702     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
53703       for ac_func in _hypotf
53704 do :
53705   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
53706 if test "x$ac_cv_func__hypotf" = x""yes; then :
53707   cat >>confdefs.h <<_ACEOF
53708 #define HAVE__HYPOTF 1
53709 _ACEOF
53710
53711 fi
53712 done
53713
53714     fi
53715   fi
53716
53717
53718
53719
53720
53721   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
53722 $as_echo_n "checking for ldexpf declaration... " >&6; }
53723   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
53724     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
53725   $as_echo_n "(cached) " >&6
53726 else
53727
53728
53729       ac_ext=cpp
53730 ac_cpp='$CXXCPP $CPPFLAGS'
53731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53734
53735       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53736 /* end confdefs.h.  */
53737 #include <math.h>
53738 int
53739 main ()
53740 {
53741  ldexpf(0, 0);
53742   ;
53743   return 0;
53744 }
53745 _ACEOF
53746 if ac_fn_cxx_try_compile "$LINENO"; then :
53747   glibcxx_cv_func_ldexpf_use=yes
53748 else
53749   glibcxx_cv_func_ldexpf_use=no
53750 fi
53751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53752       ac_ext=c
53753 ac_cpp='$CPP $CPPFLAGS'
53754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53757
53758
53759 fi
53760
53761   fi
53762   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
53763 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
53764
53765   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
53766     for ac_func in ldexpf
53767 do :
53768   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
53769 if test "x$ac_cv_func_ldexpf" = x""yes; then :
53770   cat >>confdefs.h <<_ACEOF
53771 #define HAVE_LDEXPF 1
53772 _ACEOF
53773
53774 fi
53775 done
53776
53777   else
53778
53779   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
53780 $as_echo_n "checking for _ldexpf declaration... " >&6; }
53781   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
53782     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
53783   $as_echo_n "(cached) " >&6
53784 else
53785
53786
53787       ac_ext=cpp
53788 ac_cpp='$CXXCPP $CPPFLAGS'
53789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53792
53793       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53794 /* end confdefs.h.  */
53795 #include <math.h>
53796 int
53797 main ()
53798 {
53799  _ldexpf(0, 0);
53800   ;
53801   return 0;
53802 }
53803 _ACEOF
53804 if ac_fn_cxx_try_compile "$LINENO"; then :
53805   glibcxx_cv_func__ldexpf_use=yes
53806 else
53807   glibcxx_cv_func__ldexpf_use=no
53808 fi
53809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53810       ac_ext=c
53811 ac_cpp='$CPP $CPPFLAGS'
53812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53815
53816
53817 fi
53818
53819   fi
53820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
53821 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
53822
53823     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
53824       for ac_func in _ldexpf
53825 do :
53826   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
53827 if test "x$ac_cv_func__ldexpf" = x""yes; then :
53828   cat >>confdefs.h <<_ACEOF
53829 #define HAVE__LDEXPF 1
53830 _ACEOF
53831
53832 fi
53833 done
53834
53835     fi
53836   fi
53837
53838
53839
53840
53841
53842   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
53843 $as_echo_n "checking for logf declaration... " >&6; }
53844   if test x${glibcxx_cv_func_logf_use+set} != xset; then
53845     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
53846   $as_echo_n "(cached) " >&6
53847 else
53848
53849
53850       ac_ext=cpp
53851 ac_cpp='$CXXCPP $CPPFLAGS'
53852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53855
53856       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53857 /* end confdefs.h.  */
53858 #include <math.h>
53859                       #ifdef HAVE_IEEEFP_H
53860                       #include <ieeefp.h>
53861                       #endif
53862
53863 int
53864 main ()
53865 {
53866  logf(0);
53867   ;
53868   return 0;
53869 }
53870 _ACEOF
53871 if ac_fn_cxx_try_compile "$LINENO"; then :
53872   glibcxx_cv_func_logf_use=yes
53873 else
53874   glibcxx_cv_func_logf_use=no
53875 fi
53876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53877       ac_ext=c
53878 ac_cpp='$CPP $CPPFLAGS'
53879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53882
53883
53884 fi
53885
53886   fi
53887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
53888 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
53889
53890   if test x$glibcxx_cv_func_logf_use = x"yes"; then
53891     for ac_func in logf
53892 do :
53893   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
53894 if test "x$ac_cv_func_logf" = x""yes; then :
53895   cat >>confdefs.h <<_ACEOF
53896 #define HAVE_LOGF 1
53897 _ACEOF
53898
53899 fi
53900 done
53901
53902   else
53903
53904   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
53905 $as_echo_n "checking for _logf declaration... " >&6; }
53906   if test x${glibcxx_cv_func__logf_use+set} != xset; then
53907     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
53908   $as_echo_n "(cached) " >&6
53909 else
53910
53911
53912       ac_ext=cpp
53913 ac_cpp='$CXXCPP $CPPFLAGS'
53914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53917
53918       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53919 /* end confdefs.h.  */
53920 #include <math.h>
53921                       #ifdef HAVE_IEEEFP_H
53922                       #include <ieeefp.h>
53923                       #endif
53924
53925 int
53926 main ()
53927 {
53928  _logf(0);
53929   ;
53930   return 0;
53931 }
53932 _ACEOF
53933 if ac_fn_cxx_try_compile "$LINENO"; then :
53934   glibcxx_cv_func__logf_use=yes
53935 else
53936   glibcxx_cv_func__logf_use=no
53937 fi
53938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53939       ac_ext=c
53940 ac_cpp='$CPP $CPPFLAGS'
53941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53944
53945
53946 fi
53947
53948   fi
53949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
53950 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
53951
53952     if test x$glibcxx_cv_func__logf_use = x"yes"; then
53953       for ac_func in _logf
53954 do :
53955   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
53956 if test "x$ac_cv_func__logf" = x""yes; then :
53957   cat >>confdefs.h <<_ACEOF
53958 #define HAVE__LOGF 1
53959 _ACEOF
53960
53961 fi
53962 done
53963
53964     fi
53965   fi
53966
53967
53968
53969
53970
53971   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
53972 $as_echo_n "checking for log10f declaration... " >&6; }
53973   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
53974     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
53975   $as_echo_n "(cached) " >&6
53976 else
53977
53978
53979       ac_ext=cpp
53980 ac_cpp='$CXXCPP $CPPFLAGS'
53981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53984
53985       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53986 /* end confdefs.h.  */
53987 #include <math.h>
53988                       #ifdef HAVE_IEEEFP_H
53989                       #include <ieeefp.h>
53990                       #endif
53991
53992 int
53993 main ()
53994 {
53995  log10f(0);
53996   ;
53997   return 0;
53998 }
53999 _ACEOF
54000 if ac_fn_cxx_try_compile "$LINENO"; then :
54001   glibcxx_cv_func_log10f_use=yes
54002 else
54003   glibcxx_cv_func_log10f_use=no
54004 fi
54005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54006       ac_ext=c
54007 ac_cpp='$CPP $CPPFLAGS'
54008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54011
54012
54013 fi
54014
54015   fi
54016   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
54017 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
54018
54019   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
54020     for ac_func in log10f
54021 do :
54022   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
54023 if test "x$ac_cv_func_log10f" = x""yes; then :
54024   cat >>confdefs.h <<_ACEOF
54025 #define HAVE_LOG10F 1
54026 _ACEOF
54027
54028 fi
54029 done
54030
54031   else
54032
54033   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
54034 $as_echo_n "checking for _log10f declaration... " >&6; }
54035   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
54036     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
54037   $as_echo_n "(cached) " >&6
54038 else
54039
54040
54041       ac_ext=cpp
54042 ac_cpp='$CXXCPP $CPPFLAGS'
54043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54046
54047       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54048 /* end confdefs.h.  */
54049 #include <math.h>
54050                       #ifdef HAVE_IEEEFP_H
54051                       #include <ieeefp.h>
54052                       #endif
54053
54054 int
54055 main ()
54056 {
54057  _log10f(0);
54058   ;
54059   return 0;
54060 }
54061 _ACEOF
54062 if ac_fn_cxx_try_compile "$LINENO"; then :
54063   glibcxx_cv_func__log10f_use=yes
54064 else
54065   glibcxx_cv_func__log10f_use=no
54066 fi
54067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54068       ac_ext=c
54069 ac_cpp='$CPP $CPPFLAGS'
54070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54073
54074
54075 fi
54076
54077   fi
54078   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
54079 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
54080
54081     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
54082       for ac_func in _log10f
54083 do :
54084   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
54085 if test "x$ac_cv_func__log10f" = x""yes; then :
54086   cat >>confdefs.h <<_ACEOF
54087 #define HAVE__LOG10F 1
54088 _ACEOF
54089
54090 fi
54091 done
54092
54093     fi
54094   fi
54095
54096
54097
54098
54099
54100   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
54101 $as_echo_n "checking for modff declaration... " >&6; }
54102   if test x${glibcxx_cv_func_modff_use+set} != xset; then
54103     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
54104   $as_echo_n "(cached) " >&6
54105 else
54106
54107
54108       ac_ext=cpp
54109 ac_cpp='$CXXCPP $CPPFLAGS'
54110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54113
54114       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54115 /* end confdefs.h.  */
54116 #include <math.h>
54117 int
54118 main ()
54119 {
54120  modff(0, 0);
54121   ;
54122   return 0;
54123 }
54124 _ACEOF
54125 if ac_fn_cxx_try_compile "$LINENO"; then :
54126   glibcxx_cv_func_modff_use=yes
54127 else
54128   glibcxx_cv_func_modff_use=no
54129 fi
54130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54131       ac_ext=c
54132 ac_cpp='$CPP $CPPFLAGS'
54133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54136
54137
54138 fi
54139
54140   fi
54141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
54142 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
54143
54144   if test x$glibcxx_cv_func_modff_use = x"yes"; then
54145     for ac_func in modff
54146 do :
54147   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
54148 if test "x$ac_cv_func_modff" = x""yes; then :
54149   cat >>confdefs.h <<_ACEOF
54150 #define HAVE_MODFF 1
54151 _ACEOF
54152
54153 fi
54154 done
54155
54156   else
54157
54158   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
54159 $as_echo_n "checking for _modff declaration... " >&6; }
54160   if test x${glibcxx_cv_func__modff_use+set} != xset; then
54161     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
54162   $as_echo_n "(cached) " >&6
54163 else
54164
54165
54166       ac_ext=cpp
54167 ac_cpp='$CXXCPP $CPPFLAGS'
54168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54171
54172       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54173 /* end confdefs.h.  */
54174 #include <math.h>
54175 int
54176 main ()
54177 {
54178  _modff(0, 0);
54179   ;
54180   return 0;
54181 }
54182 _ACEOF
54183 if ac_fn_cxx_try_compile "$LINENO"; then :
54184   glibcxx_cv_func__modff_use=yes
54185 else
54186   glibcxx_cv_func__modff_use=no
54187 fi
54188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54189       ac_ext=c
54190 ac_cpp='$CPP $CPPFLAGS'
54191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54194
54195
54196 fi
54197
54198   fi
54199   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
54200 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
54201
54202     if test x$glibcxx_cv_func__modff_use = x"yes"; then
54203       for ac_func in _modff
54204 do :
54205   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
54206 if test "x$ac_cv_func__modff" = x""yes; then :
54207   cat >>confdefs.h <<_ACEOF
54208 #define HAVE__MODFF 1
54209 _ACEOF
54210
54211 fi
54212 done
54213
54214     fi
54215   fi
54216
54217
54218
54219
54220
54221   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
54222 $as_echo_n "checking for modf declaration... " >&6; }
54223   if test x${glibcxx_cv_func_modf_use+set} != xset; then
54224     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
54225   $as_echo_n "(cached) " >&6
54226 else
54227
54228
54229       ac_ext=cpp
54230 ac_cpp='$CXXCPP $CPPFLAGS'
54231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54234
54235       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54236 /* end confdefs.h.  */
54237 #include <math.h>
54238 int
54239 main ()
54240 {
54241  modf(0, 0);
54242   ;
54243   return 0;
54244 }
54245 _ACEOF
54246 if ac_fn_cxx_try_compile "$LINENO"; then :
54247   glibcxx_cv_func_modf_use=yes
54248 else
54249   glibcxx_cv_func_modf_use=no
54250 fi
54251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54252       ac_ext=c
54253 ac_cpp='$CPP $CPPFLAGS'
54254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54257
54258
54259 fi
54260
54261   fi
54262   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
54263 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
54264
54265   if test x$glibcxx_cv_func_modf_use = x"yes"; then
54266     for ac_func in modf
54267 do :
54268   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
54269 if test "x$ac_cv_func_modf" = x""yes; then :
54270   cat >>confdefs.h <<_ACEOF
54271 #define HAVE_MODF 1
54272 _ACEOF
54273
54274 fi
54275 done
54276
54277   else
54278
54279   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
54280 $as_echo_n "checking for _modf declaration... " >&6; }
54281   if test x${glibcxx_cv_func__modf_use+set} != xset; then
54282     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
54283   $as_echo_n "(cached) " >&6
54284 else
54285
54286
54287       ac_ext=cpp
54288 ac_cpp='$CXXCPP $CPPFLAGS'
54289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54292
54293       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54294 /* end confdefs.h.  */
54295 #include <math.h>
54296 int
54297 main ()
54298 {
54299  _modf(0, 0);
54300   ;
54301   return 0;
54302 }
54303 _ACEOF
54304 if ac_fn_cxx_try_compile "$LINENO"; then :
54305   glibcxx_cv_func__modf_use=yes
54306 else
54307   glibcxx_cv_func__modf_use=no
54308 fi
54309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54310       ac_ext=c
54311 ac_cpp='$CPP $CPPFLAGS'
54312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54315
54316
54317 fi
54318
54319   fi
54320   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
54321 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
54322
54323     if test x$glibcxx_cv_func__modf_use = x"yes"; then
54324       for ac_func in _modf
54325 do :
54326   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
54327 if test "x$ac_cv_func__modf" = x""yes; then :
54328   cat >>confdefs.h <<_ACEOF
54329 #define HAVE__MODF 1
54330 _ACEOF
54331
54332 fi
54333 done
54334
54335     fi
54336   fi
54337
54338
54339
54340
54341
54342   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
54343 $as_echo_n "checking for powf declaration... " >&6; }
54344   if test x${glibcxx_cv_func_powf_use+set} != xset; then
54345     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
54346   $as_echo_n "(cached) " >&6
54347 else
54348
54349
54350       ac_ext=cpp
54351 ac_cpp='$CXXCPP $CPPFLAGS'
54352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54355
54356       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54357 /* end confdefs.h.  */
54358 #include <math.h>
54359 int
54360 main ()
54361 {
54362  powf(0, 0);
54363   ;
54364   return 0;
54365 }
54366 _ACEOF
54367 if ac_fn_cxx_try_compile "$LINENO"; then :
54368   glibcxx_cv_func_powf_use=yes
54369 else
54370   glibcxx_cv_func_powf_use=no
54371 fi
54372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54373       ac_ext=c
54374 ac_cpp='$CPP $CPPFLAGS'
54375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54378
54379
54380 fi
54381
54382   fi
54383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
54384 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
54385
54386   if test x$glibcxx_cv_func_powf_use = x"yes"; then
54387     for ac_func in powf
54388 do :
54389   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
54390 if test "x$ac_cv_func_powf" = x""yes; then :
54391   cat >>confdefs.h <<_ACEOF
54392 #define HAVE_POWF 1
54393 _ACEOF
54394
54395 fi
54396 done
54397
54398   else
54399
54400   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
54401 $as_echo_n "checking for _powf declaration... " >&6; }
54402   if test x${glibcxx_cv_func__powf_use+set} != xset; then
54403     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
54404   $as_echo_n "(cached) " >&6
54405 else
54406
54407
54408       ac_ext=cpp
54409 ac_cpp='$CXXCPP $CPPFLAGS'
54410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54413
54414       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54415 /* end confdefs.h.  */
54416 #include <math.h>
54417 int
54418 main ()
54419 {
54420  _powf(0, 0);
54421   ;
54422   return 0;
54423 }
54424 _ACEOF
54425 if ac_fn_cxx_try_compile "$LINENO"; then :
54426   glibcxx_cv_func__powf_use=yes
54427 else
54428   glibcxx_cv_func__powf_use=no
54429 fi
54430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54431       ac_ext=c
54432 ac_cpp='$CPP $CPPFLAGS'
54433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54436
54437
54438 fi
54439
54440   fi
54441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
54442 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
54443
54444     if test x$glibcxx_cv_func__powf_use = x"yes"; then
54445       for ac_func in _powf
54446 do :
54447   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
54448 if test "x$ac_cv_func__powf" = x""yes; then :
54449   cat >>confdefs.h <<_ACEOF
54450 #define HAVE__POWF 1
54451 _ACEOF
54452
54453 fi
54454 done
54455
54456     fi
54457   fi
54458
54459
54460
54461
54462
54463   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
54464 $as_echo_n "checking for sqrtf declaration... " >&6; }
54465   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
54466     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
54467   $as_echo_n "(cached) " >&6
54468 else
54469
54470
54471       ac_ext=cpp
54472 ac_cpp='$CXXCPP $CPPFLAGS'
54473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54476
54477       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54478 /* end confdefs.h.  */
54479 #include <math.h>
54480                       #ifdef HAVE_IEEEFP_H
54481                       #include <ieeefp.h>
54482                       #endif
54483
54484 int
54485 main ()
54486 {
54487  sqrtf(0);
54488   ;
54489   return 0;
54490 }
54491 _ACEOF
54492 if ac_fn_cxx_try_compile "$LINENO"; then :
54493   glibcxx_cv_func_sqrtf_use=yes
54494 else
54495   glibcxx_cv_func_sqrtf_use=no
54496 fi
54497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54498       ac_ext=c
54499 ac_cpp='$CPP $CPPFLAGS'
54500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54503
54504
54505 fi
54506
54507   fi
54508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
54509 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
54510
54511   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
54512     for ac_func in sqrtf
54513 do :
54514   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
54515 if test "x$ac_cv_func_sqrtf" = x""yes; then :
54516   cat >>confdefs.h <<_ACEOF
54517 #define HAVE_SQRTF 1
54518 _ACEOF
54519
54520 fi
54521 done
54522
54523   else
54524
54525   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
54526 $as_echo_n "checking for _sqrtf declaration... " >&6; }
54527   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
54528     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
54529   $as_echo_n "(cached) " >&6
54530 else
54531
54532
54533       ac_ext=cpp
54534 ac_cpp='$CXXCPP $CPPFLAGS'
54535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54538
54539       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54540 /* end confdefs.h.  */
54541 #include <math.h>
54542                       #ifdef HAVE_IEEEFP_H
54543                       #include <ieeefp.h>
54544                       #endif
54545
54546 int
54547 main ()
54548 {
54549  _sqrtf(0);
54550   ;
54551   return 0;
54552 }
54553 _ACEOF
54554 if ac_fn_cxx_try_compile "$LINENO"; then :
54555   glibcxx_cv_func__sqrtf_use=yes
54556 else
54557   glibcxx_cv_func__sqrtf_use=no
54558 fi
54559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54560       ac_ext=c
54561 ac_cpp='$CPP $CPPFLAGS'
54562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54565
54566
54567 fi
54568
54569   fi
54570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
54571 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
54572
54573     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
54574       for ac_func in _sqrtf
54575 do :
54576   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
54577 if test "x$ac_cv_func__sqrtf" = x""yes; then :
54578   cat >>confdefs.h <<_ACEOF
54579 #define HAVE__SQRTF 1
54580 _ACEOF
54581
54582 fi
54583 done
54584
54585     fi
54586   fi
54587
54588
54589
54590
54591
54592   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
54593 $as_echo_n "checking for sincosf declaration... " >&6; }
54594   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
54595     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
54596   $as_echo_n "(cached) " >&6
54597 else
54598
54599
54600       ac_ext=cpp
54601 ac_cpp='$CXXCPP $CPPFLAGS'
54602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54605
54606       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54607 /* end confdefs.h.  */
54608 #include <math.h>
54609 int
54610 main ()
54611 {
54612  sincosf(0, 0, 0);
54613   ;
54614   return 0;
54615 }
54616 _ACEOF
54617 if ac_fn_cxx_try_compile "$LINENO"; then :
54618   glibcxx_cv_func_sincosf_use=yes
54619 else
54620   glibcxx_cv_func_sincosf_use=no
54621 fi
54622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54623       ac_ext=c
54624 ac_cpp='$CPP $CPPFLAGS'
54625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54628
54629
54630 fi
54631
54632   fi
54633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
54634 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
54635
54636   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
54637     for ac_func in sincosf
54638 do :
54639   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
54640 if test "x$ac_cv_func_sincosf" = x""yes; then :
54641   cat >>confdefs.h <<_ACEOF
54642 #define HAVE_SINCOSF 1
54643 _ACEOF
54644
54645 fi
54646 done
54647
54648   else
54649
54650   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
54651 $as_echo_n "checking for _sincosf declaration... " >&6; }
54652   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54653     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
54654   $as_echo_n "(cached) " >&6
54655 else
54656
54657
54658       ac_ext=cpp
54659 ac_cpp='$CXXCPP $CPPFLAGS'
54660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54663
54664       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54665 /* end confdefs.h.  */
54666 #include <math.h>
54667 int
54668 main ()
54669 {
54670  _sincosf(0, 0, 0);
54671   ;
54672   return 0;
54673 }
54674 _ACEOF
54675 if ac_fn_cxx_try_compile "$LINENO"; then :
54676   glibcxx_cv_func__sincosf_use=yes
54677 else
54678   glibcxx_cv_func__sincosf_use=no
54679 fi
54680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54681       ac_ext=c
54682 ac_cpp='$CPP $CPPFLAGS'
54683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54686
54687
54688 fi
54689
54690   fi
54691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
54692 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
54693
54694     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
54695       for ac_func in _sincosf
54696 do :
54697   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
54698 if test "x$ac_cv_func__sincosf" = x""yes; then :
54699   cat >>confdefs.h <<_ACEOF
54700 #define HAVE__SINCOSF 1
54701 _ACEOF
54702
54703 fi
54704 done
54705
54706     fi
54707   fi
54708
54709
54710
54711
54712
54713   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
54714 $as_echo_n "checking for finitef declaration... " >&6; }
54715   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
54716     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
54717   $as_echo_n "(cached) " >&6
54718 else
54719
54720
54721       ac_ext=cpp
54722 ac_cpp='$CXXCPP $CPPFLAGS'
54723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54726
54727       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54728 /* end confdefs.h.  */
54729 #include <math.h>
54730                       #ifdef HAVE_IEEEFP_H
54731                       #include <ieeefp.h>
54732                       #endif
54733
54734 int
54735 main ()
54736 {
54737  finitef(0);
54738   ;
54739   return 0;
54740 }
54741 _ACEOF
54742 if ac_fn_cxx_try_compile "$LINENO"; then :
54743   glibcxx_cv_func_finitef_use=yes
54744 else
54745   glibcxx_cv_func_finitef_use=no
54746 fi
54747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54748       ac_ext=c
54749 ac_cpp='$CPP $CPPFLAGS'
54750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54753
54754
54755 fi
54756
54757   fi
54758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
54759 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
54760
54761   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
54762     for ac_func in finitef
54763 do :
54764   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
54765 if test "x$ac_cv_func_finitef" = x""yes; then :
54766   cat >>confdefs.h <<_ACEOF
54767 #define HAVE_FINITEF 1
54768 _ACEOF
54769
54770 fi
54771 done
54772
54773   else
54774
54775   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
54776 $as_echo_n "checking for _finitef declaration... " >&6; }
54777   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
54778     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
54779   $as_echo_n "(cached) " >&6
54780 else
54781
54782
54783       ac_ext=cpp
54784 ac_cpp='$CXXCPP $CPPFLAGS'
54785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54788
54789       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54790 /* end confdefs.h.  */
54791 #include <math.h>
54792                       #ifdef HAVE_IEEEFP_H
54793                       #include <ieeefp.h>
54794                       #endif
54795
54796 int
54797 main ()
54798 {
54799  _finitef(0);
54800   ;
54801   return 0;
54802 }
54803 _ACEOF
54804 if ac_fn_cxx_try_compile "$LINENO"; then :
54805   glibcxx_cv_func__finitef_use=yes
54806 else
54807   glibcxx_cv_func__finitef_use=no
54808 fi
54809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54810       ac_ext=c
54811 ac_cpp='$CPP $CPPFLAGS'
54812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54815
54816
54817 fi
54818
54819   fi
54820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
54821 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
54822
54823     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
54824       for ac_func in _finitef
54825 do :
54826   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
54827 if test "x$ac_cv_func__finitef" = x""yes; then :
54828   cat >>confdefs.h <<_ACEOF
54829 #define HAVE__FINITEF 1
54830 _ACEOF
54831
54832 fi
54833 done
54834
54835     fi
54836   fi
54837
54838
54839
54840
54841
54842     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
54843 $as_echo_n "checking for long double trig functions... " >&6; }
54844   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
54845   $as_echo_n "(cached) " >&6
54846 else
54847
54848
54849     ac_ext=cpp
54850 ac_cpp='$CXXCPP $CPPFLAGS'
54851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54854
54855     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54856 /* end confdefs.h.  */
54857 #include <math.h>
54858 int
54859 main ()
54860 {
54861 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
54862   ;
54863   return 0;
54864 }
54865 _ACEOF
54866 if ac_fn_cxx_try_compile "$LINENO"; then :
54867   glibcxx_cv_func_long_double_trig_use=yes
54868 else
54869   glibcxx_cv_func_long_double_trig_use=no
54870 fi
54871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54872     ac_ext=c
54873 ac_cpp='$CPP $CPPFLAGS'
54874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54877
54878 fi
54879
54880   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
54881 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
54882   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
54883     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
54884 do :
54885   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54886 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54887 eval as_val=\$$as_ac_var
54888    if test "x$as_val" = x""yes; then :
54889   cat >>confdefs.h <<_ACEOF
54890 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54891 _ACEOF
54892
54893 fi
54894 done
54895
54896   else
54897     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
54898 $as_echo_n "checking for _long double trig functions... " >&6; }
54899     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
54900   $as_echo_n "(cached) " >&6
54901 else
54902
54903
54904       ac_ext=cpp
54905 ac_cpp='$CXXCPP $CPPFLAGS'
54906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54909
54910       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54911 /* end confdefs.h.  */
54912 #include <math.h>
54913 int
54914 main ()
54915 {
54916 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
54917   ;
54918   return 0;
54919 }
54920 _ACEOF
54921 if ac_fn_cxx_try_compile "$LINENO"; then :
54922   glibcxx_cv_func__long_double_trig_use=yes
54923 else
54924   glibcxx_cv_func__long_double_trig_use=no
54925 fi
54926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54927       ac_ext=c
54928 ac_cpp='$CPP $CPPFLAGS'
54929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54932
54933 fi
54934
54935     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
54936 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
54937     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
54938       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
54939 do :
54940   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54941 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54942 eval as_val=\$$as_ac_var
54943    if test "x$as_val" = x""yes; then :
54944   cat >>confdefs.h <<_ACEOF
54945 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54946 _ACEOF
54947
54948 fi
54949 done
54950
54951     fi
54952   fi
54953
54954
54955
54956
54957
54958     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
54959 $as_echo_n "checking for long double round functions... " >&6; }
54960   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
54961   $as_echo_n "(cached) " >&6
54962 else
54963
54964
54965     ac_ext=cpp
54966 ac_cpp='$CXXCPP $CPPFLAGS'
54967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54970
54971     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54972 /* end confdefs.h.  */
54973 #include <math.h>
54974 int
54975 main ()
54976 {
54977 ceill (0); floorl (0);
54978   ;
54979   return 0;
54980 }
54981 _ACEOF
54982 if ac_fn_cxx_try_compile "$LINENO"; then :
54983   glibcxx_cv_func_long_double_round_use=yes
54984 else
54985   glibcxx_cv_func_long_double_round_use=no
54986 fi
54987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54988     ac_ext=c
54989 ac_cpp='$CPP $CPPFLAGS'
54990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54993
54994 fi
54995
54996   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
54997 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
54998   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
54999     for ac_func in ceill floorl
55000 do :
55001   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55002 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55003 eval as_val=\$$as_ac_var
55004    if test "x$as_val" = x""yes; then :
55005   cat >>confdefs.h <<_ACEOF
55006 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55007 _ACEOF
55008
55009 fi
55010 done
55011
55012   else
55013     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
55014 $as_echo_n "checking for _long double round functions... " >&6; }
55015     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
55016   $as_echo_n "(cached) " >&6
55017 else
55018
55019
55020       ac_ext=cpp
55021 ac_cpp='$CXXCPP $CPPFLAGS'
55022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55025
55026       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55027 /* end confdefs.h.  */
55028 #include <math.h>
55029 int
55030 main ()
55031 {
55032 _ceill (0); _floorl (0);
55033   ;
55034   return 0;
55035 }
55036 _ACEOF
55037 if ac_fn_cxx_try_compile "$LINENO"; then :
55038   glibcxx_cv_func__long_double_round_use=yes
55039 else
55040   glibcxx_cv_func__long_double_round_use=no
55041 fi
55042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55043       ac_ext=c
55044 ac_cpp='$CPP $CPPFLAGS'
55045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55048
55049 fi
55050
55051     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
55052 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
55053     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
55054       for ac_func in _ceill _floorl
55055 do :
55056   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55057 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55058 eval as_val=\$$as_ac_var
55059    if test "x$as_val" = x""yes; then :
55060   cat >>confdefs.h <<_ACEOF
55061 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55062 _ACEOF
55063
55064 fi
55065 done
55066
55067     fi
55068   fi
55069
55070
55071
55072
55073
55074
55075   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
55076 $as_echo_n "checking for isnanl declaration... " >&6; }
55077   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
55078     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
55079   $as_echo_n "(cached) " >&6
55080 else
55081
55082
55083       ac_ext=cpp
55084 ac_cpp='$CXXCPP $CPPFLAGS'
55085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55088
55089       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55090 /* end confdefs.h.  */
55091 #include <math.h>
55092                       #ifdef HAVE_IEEEFP_H
55093                       #include <ieeefp.h>
55094                       #endif
55095
55096 int
55097 main ()
55098 {
55099  isnanl(0);
55100   ;
55101   return 0;
55102 }
55103 _ACEOF
55104 if ac_fn_cxx_try_compile "$LINENO"; then :
55105   glibcxx_cv_func_isnanl_use=yes
55106 else
55107   glibcxx_cv_func_isnanl_use=no
55108 fi
55109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55110       ac_ext=c
55111 ac_cpp='$CPP $CPPFLAGS'
55112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55115
55116
55117 fi
55118
55119   fi
55120   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
55121 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
55122
55123   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
55124     for ac_func in isnanl
55125 do :
55126   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
55127 if test "x$ac_cv_func_isnanl" = x""yes; then :
55128   cat >>confdefs.h <<_ACEOF
55129 #define HAVE_ISNANL 1
55130 _ACEOF
55131
55132 fi
55133 done
55134
55135   else
55136
55137   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
55138 $as_echo_n "checking for _isnanl declaration... " >&6; }
55139   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
55140     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
55141   $as_echo_n "(cached) " >&6
55142 else
55143
55144
55145       ac_ext=cpp
55146 ac_cpp='$CXXCPP $CPPFLAGS'
55147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55150
55151       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55152 /* end confdefs.h.  */
55153 #include <math.h>
55154                       #ifdef HAVE_IEEEFP_H
55155                       #include <ieeefp.h>
55156                       #endif
55157
55158 int
55159 main ()
55160 {
55161  _isnanl(0);
55162   ;
55163   return 0;
55164 }
55165 _ACEOF
55166 if ac_fn_cxx_try_compile "$LINENO"; then :
55167   glibcxx_cv_func__isnanl_use=yes
55168 else
55169   glibcxx_cv_func__isnanl_use=no
55170 fi
55171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55172       ac_ext=c
55173 ac_cpp='$CPP $CPPFLAGS'
55174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55177
55178
55179 fi
55180
55181   fi
55182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
55183 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
55184
55185     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
55186       for ac_func in _isnanl
55187 do :
55188   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
55189 if test "x$ac_cv_func__isnanl" = x""yes; then :
55190   cat >>confdefs.h <<_ACEOF
55191 #define HAVE__ISNANL 1
55192 _ACEOF
55193
55194 fi
55195 done
55196
55197     fi
55198   fi
55199
55200
55201
55202
55203
55204   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
55205 $as_echo_n "checking for isinfl declaration... " >&6; }
55206   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
55207     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
55208   $as_echo_n "(cached) " >&6
55209 else
55210
55211
55212       ac_ext=cpp
55213 ac_cpp='$CXXCPP $CPPFLAGS'
55214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55217
55218       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55219 /* end confdefs.h.  */
55220 #include <math.h>
55221                       #ifdef HAVE_IEEEFP_H
55222                       #include <ieeefp.h>
55223                       #endif
55224
55225 int
55226 main ()
55227 {
55228  isinfl(0);
55229   ;
55230   return 0;
55231 }
55232 _ACEOF
55233 if ac_fn_cxx_try_compile "$LINENO"; then :
55234   glibcxx_cv_func_isinfl_use=yes
55235 else
55236   glibcxx_cv_func_isinfl_use=no
55237 fi
55238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55239       ac_ext=c
55240 ac_cpp='$CPP $CPPFLAGS'
55241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55244
55245
55246 fi
55247
55248   fi
55249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
55250 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
55251
55252   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
55253     for ac_func in isinfl
55254 do :
55255   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
55256 if test "x$ac_cv_func_isinfl" = x""yes; then :
55257   cat >>confdefs.h <<_ACEOF
55258 #define HAVE_ISINFL 1
55259 _ACEOF
55260
55261 fi
55262 done
55263
55264   else
55265
55266   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
55267 $as_echo_n "checking for _isinfl declaration... " >&6; }
55268   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
55269     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
55270   $as_echo_n "(cached) " >&6
55271 else
55272
55273
55274       ac_ext=cpp
55275 ac_cpp='$CXXCPP $CPPFLAGS'
55276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55279
55280       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55281 /* end confdefs.h.  */
55282 #include <math.h>
55283                       #ifdef HAVE_IEEEFP_H
55284                       #include <ieeefp.h>
55285                       #endif
55286
55287 int
55288 main ()
55289 {
55290  _isinfl(0);
55291   ;
55292   return 0;
55293 }
55294 _ACEOF
55295 if ac_fn_cxx_try_compile "$LINENO"; then :
55296   glibcxx_cv_func__isinfl_use=yes
55297 else
55298   glibcxx_cv_func__isinfl_use=no
55299 fi
55300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55301       ac_ext=c
55302 ac_cpp='$CPP $CPPFLAGS'
55303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55306
55307
55308 fi
55309
55310   fi
55311   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
55312 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
55313
55314     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
55315       for ac_func in _isinfl
55316 do :
55317   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
55318 if test "x$ac_cv_func__isinfl" = x""yes; then :
55319   cat >>confdefs.h <<_ACEOF
55320 #define HAVE__ISINFL 1
55321 _ACEOF
55322
55323 fi
55324 done
55325
55326     fi
55327   fi
55328
55329
55330
55331
55332
55333   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
55334 $as_echo_n "checking for atan2l declaration... " >&6; }
55335   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
55336     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
55337   $as_echo_n "(cached) " >&6
55338 else
55339
55340
55341       ac_ext=cpp
55342 ac_cpp='$CXXCPP $CPPFLAGS'
55343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55346
55347       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55348 /* end confdefs.h.  */
55349 #include <math.h>
55350 int
55351 main ()
55352 {
55353  atan2l(0, 0);
55354   ;
55355   return 0;
55356 }
55357 _ACEOF
55358 if ac_fn_cxx_try_compile "$LINENO"; then :
55359   glibcxx_cv_func_atan2l_use=yes
55360 else
55361   glibcxx_cv_func_atan2l_use=no
55362 fi
55363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55364       ac_ext=c
55365 ac_cpp='$CPP $CPPFLAGS'
55366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55369
55370
55371 fi
55372
55373   fi
55374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
55375 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
55376
55377   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
55378     for ac_func in atan2l
55379 do :
55380   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
55381 if test "x$ac_cv_func_atan2l" = x""yes; then :
55382   cat >>confdefs.h <<_ACEOF
55383 #define HAVE_ATAN2L 1
55384 _ACEOF
55385
55386 fi
55387 done
55388
55389   else
55390
55391   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
55392 $as_echo_n "checking for _atan2l declaration... " >&6; }
55393   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
55394     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
55395   $as_echo_n "(cached) " >&6
55396 else
55397
55398
55399       ac_ext=cpp
55400 ac_cpp='$CXXCPP $CPPFLAGS'
55401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55404
55405       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55406 /* end confdefs.h.  */
55407 #include <math.h>
55408 int
55409 main ()
55410 {
55411  _atan2l(0, 0);
55412   ;
55413   return 0;
55414 }
55415 _ACEOF
55416 if ac_fn_cxx_try_compile "$LINENO"; then :
55417   glibcxx_cv_func__atan2l_use=yes
55418 else
55419   glibcxx_cv_func__atan2l_use=no
55420 fi
55421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55422       ac_ext=c
55423 ac_cpp='$CPP $CPPFLAGS'
55424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55427
55428
55429 fi
55430
55431   fi
55432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
55433 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
55434
55435     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
55436       for ac_func in _atan2l
55437 do :
55438   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
55439 if test "x$ac_cv_func__atan2l" = x""yes; then :
55440   cat >>confdefs.h <<_ACEOF
55441 #define HAVE__ATAN2L 1
55442 _ACEOF
55443
55444 fi
55445 done
55446
55447     fi
55448   fi
55449
55450
55451
55452
55453
55454   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
55455 $as_echo_n "checking for expl declaration... " >&6; }
55456   if test x${glibcxx_cv_func_expl_use+set} != xset; then
55457     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
55458   $as_echo_n "(cached) " >&6
55459 else
55460
55461
55462       ac_ext=cpp
55463 ac_cpp='$CXXCPP $CPPFLAGS'
55464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55467
55468       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55469 /* end confdefs.h.  */
55470 #include <math.h>
55471                       #ifdef HAVE_IEEEFP_H
55472                       #include <ieeefp.h>
55473                       #endif
55474
55475 int
55476 main ()
55477 {
55478  expl(0);
55479   ;
55480   return 0;
55481 }
55482 _ACEOF
55483 if ac_fn_cxx_try_compile "$LINENO"; then :
55484   glibcxx_cv_func_expl_use=yes
55485 else
55486   glibcxx_cv_func_expl_use=no
55487 fi
55488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55489       ac_ext=c
55490 ac_cpp='$CPP $CPPFLAGS'
55491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55494
55495
55496 fi
55497
55498   fi
55499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
55500 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
55501
55502   if test x$glibcxx_cv_func_expl_use = x"yes"; then
55503     for ac_func in expl
55504 do :
55505   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
55506 if test "x$ac_cv_func_expl" = x""yes; then :
55507   cat >>confdefs.h <<_ACEOF
55508 #define HAVE_EXPL 1
55509 _ACEOF
55510
55511 fi
55512 done
55513
55514   else
55515
55516   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
55517 $as_echo_n "checking for _expl declaration... " >&6; }
55518   if test x${glibcxx_cv_func__expl_use+set} != xset; then
55519     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
55520   $as_echo_n "(cached) " >&6
55521 else
55522
55523
55524       ac_ext=cpp
55525 ac_cpp='$CXXCPP $CPPFLAGS'
55526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55529
55530       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55531 /* end confdefs.h.  */
55532 #include <math.h>
55533                       #ifdef HAVE_IEEEFP_H
55534                       #include <ieeefp.h>
55535                       #endif
55536
55537 int
55538 main ()
55539 {
55540  _expl(0);
55541   ;
55542   return 0;
55543 }
55544 _ACEOF
55545 if ac_fn_cxx_try_compile "$LINENO"; then :
55546   glibcxx_cv_func__expl_use=yes
55547 else
55548   glibcxx_cv_func__expl_use=no
55549 fi
55550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55551       ac_ext=c
55552 ac_cpp='$CPP $CPPFLAGS'
55553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55556
55557
55558 fi
55559
55560   fi
55561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
55562 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
55563
55564     if test x$glibcxx_cv_func__expl_use = x"yes"; then
55565       for ac_func in _expl
55566 do :
55567   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
55568 if test "x$ac_cv_func__expl" = x""yes; then :
55569   cat >>confdefs.h <<_ACEOF
55570 #define HAVE__EXPL 1
55571 _ACEOF
55572
55573 fi
55574 done
55575
55576     fi
55577   fi
55578
55579
55580
55581
55582
55583   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
55584 $as_echo_n "checking for fabsl declaration... " >&6; }
55585   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
55586     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
55587   $as_echo_n "(cached) " >&6
55588 else
55589
55590
55591       ac_ext=cpp
55592 ac_cpp='$CXXCPP $CPPFLAGS'
55593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55596
55597       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55598 /* end confdefs.h.  */
55599 #include <math.h>
55600                       #ifdef HAVE_IEEEFP_H
55601                       #include <ieeefp.h>
55602                       #endif
55603
55604 int
55605 main ()
55606 {
55607  fabsl(0);
55608   ;
55609   return 0;
55610 }
55611 _ACEOF
55612 if ac_fn_cxx_try_compile "$LINENO"; then :
55613   glibcxx_cv_func_fabsl_use=yes
55614 else
55615   glibcxx_cv_func_fabsl_use=no
55616 fi
55617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55618       ac_ext=c
55619 ac_cpp='$CPP $CPPFLAGS'
55620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55623
55624
55625 fi
55626
55627   fi
55628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
55629 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
55630
55631   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55632     for ac_func in fabsl
55633 do :
55634   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
55635 if test "x$ac_cv_func_fabsl" = x""yes; then :
55636   cat >>confdefs.h <<_ACEOF
55637 #define HAVE_FABSL 1
55638 _ACEOF
55639
55640 fi
55641 done
55642
55643   else
55644
55645   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
55646 $as_echo_n "checking for _fabsl declaration... " >&6; }
55647   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55648     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
55649   $as_echo_n "(cached) " >&6
55650 else
55651
55652
55653       ac_ext=cpp
55654 ac_cpp='$CXXCPP $CPPFLAGS'
55655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55658
55659       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55660 /* end confdefs.h.  */
55661 #include <math.h>
55662                       #ifdef HAVE_IEEEFP_H
55663                       #include <ieeefp.h>
55664                       #endif
55665
55666 int
55667 main ()
55668 {
55669  _fabsl(0);
55670   ;
55671   return 0;
55672 }
55673 _ACEOF
55674 if ac_fn_cxx_try_compile "$LINENO"; then :
55675   glibcxx_cv_func__fabsl_use=yes
55676 else
55677   glibcxx_cv_func__fabsl_use=no
55678 fi
55679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55680       ac_ext=c
55681 ac_cpp='$CPP $CPPFLAGS'
55682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55685
55686
55687 fi
55688
55689   fi
55690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
55691 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
55692
55693     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
55694       for ac_func in _fabsl
55695 do :
55696   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
55697 if test "x$ac_cv_func__fabsl" = x""yes; then :
55698   cat >>confdefs.h <<_ACEOF
55699 #define HAVE__FABSL 1
55700 _ACEOF
55701
55702 fi
55703 done
55704
55705     fi
55706   fi
55707
55708
55709
55710
55711
55712   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
55713 $as_echo_n "checking for fmodl declaration... " >&6; }
55714   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
55715     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
55716   $as_echo_n "(cached) " >&6
55717 else
55718
55719
55720       ac_ext=cpp
55721 ac_cpp='$CXXCPP $CPPFLAGS'
55722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55725
55726       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55727 /* end confdefs.h.  */
55728 #include <math.h>
55729 int
55730 main ()
55731 {
55732  fmodl(0, 0);
55733   ;
55734   return 0;
55735 }
55736 _ACEOF
55737 if ac_fn_cxx_try_compile "$LINENO"; then :
55738   glibcxx_cv_func_fmodl_use=yes
55739 else
55740   glibcxx_cv_func_fmodl_use=no
55741 fi
55742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55743       ac_ext=c
55744 ac_cpp='$CPP $CPPFLAGS'
55745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55748
55749
55750 fi
55751
55752   fi
55753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
55754 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
55755
55756   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
55757     for ac_func in fmodl
55758 do :
55759   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
55760 if test "x$ac_cv_func_fmodl" = x""yes; then :
55761   cat >>confdefs.h <<_ACEOF
55762 #define HAVE_FMODL 1
55763 _ACEOF
55764
55765 fi
55766 done
55767
55768   else
55769
55770   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
55771 $as_echo_n "checking for _fmodl declaration... " >&6; }
55772   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
55773     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
55774   $as_echo_n "(cached) " >&6
55775 else
55776
55777
55778       ac_ext=cpp
55779 ac_cpp='$CXXCPP $CPPFLAGS'
55780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55783
55784       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55785 /* end confdefs.h.  */
55786 #include <math.h>
55787 int
55788 main ()
55789 {
55790  _fmodl(0, 0);
55791   ;
55792   return 0;
55793 }
55794 _ACEOF
55795 if ac_fn_cxx_try_compile "$LINENO"; then :
55796   glibcxx_cv_func__fmodl_use=yes
55797 else
55798   glibcxx_cv_func__fmodl_use=no
55799 fi
55800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55801       ac_ext=c
55802 ac_cpp='$CPP $CPPFLAGS'
55803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55806
55807
55808 fi
55809
55810   fi
55811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
55812 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
55813
55814     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
55815       for ac_func in _fmodl
55816 do :
55817   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
55818 if test "x$ac_cv_func__fmodl" = x""yes; then :
55819   cat >>confdefs.h <<_ACEOF
55820 #define HAVE__FMODL 1
55821 _ACEOF
55822
55823 fi
55824 done
55825
55826     fi
55827   fi
55828
55829
55830
55831
55832
55833   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
55834 $as_echo_n "checking for frexpl declaration... " >&6; }
55835   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
55836     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
55837   $as_echo_n "(cached) " >&6
55838 else
55839
55840
55841       ac_ext=cpp
55842 ac_cpp='$CXXCPP $CPPFLAGS'
55843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55846
55847       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55848 /* end confdefs.h.  */
55849 #include <math.h>
55850 int
55851 main ()
55852 {
55853  frexpl(0, 0);
55854   ;
55855   return 0;
55856 }
55857 _ACEOF
55858 if ac_fn_cxx_try_compile "$LINENO"; then :
55859   glibcxx_cv_func_frexpl_use=yes
55860 else
55861   glibcxx_cv_func_frexpl_use=no
55862 fi
55863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55864       ac_ext=c
55865 ac_cpp='$CPP $CPPFLAGS'
55866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55869
55870
55871 fi
55872
55873   fi
55874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
55875 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
55876
55877   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
55878     for ac_func in frexpl
55879 do :
55880   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
55881 if test "x$ac_cv_func_frexpl" = x""yes; then :
55882   cat >>confdefs.h <<_ACEOF
55883 #define HAVE_FREXPL 1
55884 _ACEOF
55885
55886 fi
55887 done
55888
55889   else
55890
55891   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
55892 $as_echo_n "checking for _frexpl declaration... " >&6; }
55893   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
55894     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
55895   $as_echo_n "(cached) " >&6
55896 else
55897
55898
55899       ac_ext=cpp
55900 ac_cpp='$CXXCPP $CPPFLAGS'
55901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55904
55905       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55906 /* end confdefs.h.  */
55907 #include <math.h>
55908 int
55909 main ()
55910 {
55911  _frexpl(0, 0);
55912   ;
55913   return 0;
55914 }
55915 _ACEOF
55916 if ac_fn_cxx_try_compile "$LINENO"; then :
55917   glibcxx_cv_func__frexpl_use=yes
55918 else
55919   glibcxx_cv_func__frexpl_use=no
55920 fi
55921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55922       ac_ext=c
55923 ac_cpp='$CPP $CPPFLAGS'
55924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55927
55928
55929 fi
55930
55931   fi
55932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
55933 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
55934
55935     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
55936       for ac_func in _frexpl
55937 do :
55938   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
55939 if test "x$ac_cv_func__frexpl" = x""yes; then :
55940   cat >>confdefs.h <<_ACEOF
55941 #define HAVE__FREXPL 1
55942 _ACEOF
55943
55944 fi
55945 done
55946
55947     fi
55948   fi
55949
55950
55951
55952
55953
55954   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
55955 $as_echo_n "checking for hypotl declaration... " >&6; }
55956   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
55957     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
55958   $as_echo_n "(cached) " >&6
55959 else
55960
55961
55962       ac_ext=cpp
55963 ac_cpp='$CXXCPP $CPPFLAGS'
55964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55967
55968       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55969 /* end confdefs.h.  */
55970 #include <math.h>
55971 int
55972 main ()
55973 {
55974  hypotl(0, 0);
55975   ;
55976   return 0;
55977 }
55978 _ACEOF
55979 if ac_fn_cxx_try_compile "$LINENO"; then :
55980   glibcxx_cv_func_hypotl_use=yes
55981 else
55982   glibcxx_cv_func_hypotl_use=no
55983 fi
55984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55985       ac_ext=c
55986 ac_cpp='$CPP $CPPFLAGS'
55987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55990
55991
55992 fi
55993
55994   fi
55995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
55996 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
55997
55998   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
55999     for ac_func in hypotl
56000 do :
56001   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
56002 if test "x$ac_cv_func_hypotl" = x""yes; then :
56003   cat >>confdefs.h <<_ACEOF
56004 #define HAVE_HYPOTL 1
56005 _ACEOF
56006
56007 fi
56008 done
56009
56010   else
56011
56012   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
56013 $as_echo_n "checking for _hypotl declaration... " >&6; }
56014   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
56015     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
56016   $as_echo_n "(cached) " >&6
56017 else
56018
56019
56020       ac_ext=cpp
56021 ac_cpp='$CXXCPP $CPPFLAGS'
56022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56025
56026       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56027 /* end confdefs.h.  */
56028 #include <math.h>
56029 int
56030 main ()
56031 {
56032  _hypotl(0, 0);
56033   ;
56034   return 0;
56035 }
56036 _ACEOF
56037 if ac_fn_cxx_try_compile "$LINENO"; then :
56038   glibcxx_cv_func__hypotl_use=yes
56039 else
56040   glibcxx_cv_func__hypotl_use=no
56041 fi
56042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56043       ac_ext=c
56044 ac_cpp='$CPP $CPPFLAGS'
56045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56048
56049
56050 fi
56051
56052   fi
56053   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
56054 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
56055
56056     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
56057       for ac_func in _hypotl
56058 do :
56059   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
56060 if test "x$ac_cv_func__hypotl" = x""yes; then :
56061   cat >>confdefs.h <<_ACEOF
56062 #define HAVE__HYPOTL 1
56063 _ACEOF
56064
56065 fi
56066 done
56067
56068     fi
56069   fi
56070
56071
56072
56073
56074
56075   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
56076 $as_echo_n "checking for ldexpl declaration... " >&6; }
56077   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
56078     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
56079   $as_echo_n "(cached) " >&6
56080 else
56081
56082
56083       ac_ext=cpp
56084 ac_cpp='$CXXCPP $CPPFLAGS'
56085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56088
56089       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56090 /* end confdefs.h.  */
56091 #include <math.h>
56092 int
56093 main ()
56094 {
56095  ldexpl(0, 0);
56096   ;
56097   return 0;
56098 }
56099 _ACEOF
56100 if ac_fn_cxx_try_compile "$LINENO"; then :
56101   glibcxx_cv_func_ldexpl_use=yes
56102 else
56103   glibcxx_cv_func_ldexpl_use=no
56104 fi
56105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56106       ac_ext=c
56107 ac_cpp='$CPP $CPPFLAGS'
56108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56111
56112
56113 fi
56114
56115   fi
56116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
56117 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
56118
56119   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
56120     for ac_func in ldexpl
56121 do :
56122   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
56123 if test "x$ac_cv_func_ldexpl" = x""yes; then :
56124   cat >>confdefs.h <<_ACEOF
56125 #define HAVE_LDEXPL 1
56126 _ACEOF
56127
56128 fi
56129 done
56130
56131   else
56132
56133   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
56134 $as_echo_n "checking for _ldexpl declaration... " >&6; }
56135   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
56136     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
56137   $as_echo_n "(cached) " >&6
56138 else
56139
56140
56141       ac_ext=cpp
56142 ac_cpp='$CXXCPP $CPPFLAGS'
56143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56146
56147       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56148 /* end confdefs.h.  */
56149 #include <math.h>
56150 int
56151 main ()
56152 {
56153  _ldexpl(0, 0);
56154   ;
56155   return 0;
56156 }
56157 _ACEOF
56158 if ac_fn_cxx_try_compile "$LINENO"; then :
56159   glibcxx_cv_func__ldexpl_use=yes
56160 else
56161   glibcxx_cv_func__ldexpl_use=no
56162 fi
56163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56164       ac_ext=c
56165 ac_cpp='$CPP $CPPFLAGS'
56166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56169
56170
56171 fi
56172
56173   fi
56174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
56175 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
56176
56177     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
56178       for ac_func in _ldexpl
56179 do :
56180   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
56181 if test "x$ac_cv_func__ldexpl" = x""yes; then :
56182   cat >>confdefs.h <<_ACEOF
56183 #define HAVE__LDEXPL 1
56184 _ACEOF
56185
56186 fi
56187 done
56188
56189     fi
56190   fi
56191
56192
56193
56194
56195
56196   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
56197 $as_echo_n "checking for logl declaration... " >&6; }
56198   if test x${glibcxx_cv_func_logl_use+set} != xset; then
56199     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
56200   $as_echo_n "(cached) " >&6
56201 else
56202
56203
56204       ac_ext=cpp
56205 ac_cpp='$CXXCPP $CPPFLAGS'
56206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56209
56210       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56211 /* end confdefs.h.  */
56212 #include <math.h>
56213                       #ifdef HAVE_IEEEFP_H
56214                       #include <ieeefp.h>
56215                       #endif
56216
56217 int
56218 main ()
56219 {
56220  logl(0);
56221   ;
56222   return 0;
56223 }
56224 _ACEOF
56225 if ac_fn_cxx_try_compile "$LINENO"; then :
56226   glibcxx_cv_func_logl_use=yes
56227 else
56228   glibcxx_cv_func_logl_use=no
56229 fi
56230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56231       ac_ext=c
56232 ac_cpp='$CPP $CPPFLAGS'
56233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56236
56237
56238 fi
56239
56240   fi
56241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
56242 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
56243
56244   if test x$glibcxx_cv_func_logl_use = x"yes"; then
56245     for ac_func in logl
56246 do :
56247   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
56248 if test "x$ac_cv_func_logl" = x""yes; then :
56249   cat >>confdefs.h <<_ACEOF
56250 #define HAVE_LOGL 1
56251 _ACEOF
56252
56253 fi
56254 done
56255
56256   else
56257
56258   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
56259 $as_echo_n "checking for _logl declaration... " >&6; }
56260   if test x${glibcxx_cv_func__logl_use+set} != xset; then
56261     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
56262   $as_echo_n "(cached) " >&6
56263 else
56264
56265
56266       ac_ext=cpp
56267 ac_cpp='$CXXCPP $CPPFLAGS'
56268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56271
56272       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56273 /* end confdefs.h.  */
56274 #include <math.h>
56275                       #ifdef HAVE_IEEEFP_H
56276                       #include <ieeefp.h>
56277                       #endif
56278
56279 int
56280 main ()
56281 {
56282  _logl(0);
56283   ;
56284   return 0;
56285 }
56286 _ACEOF
56287 if ac_fn_cxx_try_compile "$LINENO"; then :
56288   glibcxx_cv_func__logl_use=yes
56289 else
56290   glibcxx_cv_func__logl_use=no
56291 fi
56292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56293       ac_ext=c
56294 ac_cpp='$CPP $CPPFLAGS'
56295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56298
56299
56300 fi
56301
56302   fi
56303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
56304 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
56305
56306     if test x$glibcxx_cv_func__logl_use = x"yes"; then
56307       for ac_func in _logl
56308 do :
56309   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
56310 if test "x$ac_cv_func__logl" = x""yes; then :
56311   cat >>confdefs.h <<_ACEOF
56312 #define HAVE__LOGL 1
56313 _ACEOF
56314
56315 fi
56316 done
56317
56318     fi
56319   fi
56320
56321
56322
56323
56324
56325   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
56326 $as_echo_n "checking for log10l declaration... " >&6; }
56327   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
56328     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
56329   $as_echo_n "(cached) " >&6
56330 else
56331
56332
56333       ac_ext=cpp
56334 ac_cpp='$CXXCPP $CPPFLAGS'
56335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56338
56339       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56340 /* end confdefs.h.  */
56341 #include <math.h>
56342                       #ifdef HAVE_IEEEFP_H
56343                       #include <ieeefp.h>
56344                       #endif
56345
56346 int
56347 main ()
56348 {
56349  log10l(0);
56350   ;
56351   return 0;
56352 }
56353 _ACEOF
56354 if ac_fn_cxx_try_compile "$LINENO"; then :
56355   glibcxx_cv_func_log10l_use=yes
56356 else
56357   glibcxx_cv_func_log10l_use=no
56358 fi
56359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56360       ac_ext=c
56361 ac_cpp='$CPP $CPPFLAGS'
56362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56365
56366
56367 fi
56368
56369   fi
56370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
56371 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
56372
56373   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
56374     for ac_func in log10l
56375 do :
56376   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
56377 if test "x$ac_cv_func_log10l" = x""yes; then :
56378   cat >>confdefs.h <<_ACEOF
56379 #define HAVE_LOG10L 1
56380 _ACEOF
56381
56382 fi
56383 done
56384
56385   else
56386
56387   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
56388 $as_echo_n "checking for _log10l declaration... " >&6; }
56389   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
56390     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
56391   $as_echo_n "(cached) " >&6
56392 else
56393
56394
56395       ac_ext=cpp
56396 ac_cpp='$CXXCPP $CPPFLAGS'
56397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56400
56401       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56402 /* end confdefs.h.  */
56403 #include <math.h>
56404                       #ifdef HAVE_IEEEFP_H
56405                       #include <ieeefp.h>
56406                       #endif
56407
56408 int
56409 main ()
56410 {
56411  _log10l(0);
56412   ;
56413   return 0;
56414 }
56415 _ACEOF
56416 if ac_fn_cxx_try_compile "$LINENO"; then :
56417   glibcxx_cv_func__log10l_use=yes
56418 else
56419   glibcxx_cv_func__log10l_use=no
56420 fi
56421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56422       ac_ext=c
56423 ac_cpp='$CPP $CPPFLAGS'
56424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56427
56428
56429 fi
56430
56431   fi
56432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
56433 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
56434
56435     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
56436       for ac_func in _log10l
56437 do :
56438   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
56439 if test "x$ac_cv_func__log10l" = x""yes; then :
56440   cat >>confdefs.h <<_ACEOF
56441 #define HAVE__LOG10L 1
56442 _ACEOF
56443
56444 fi
56445 done
56446
56447     fi
56448   fi
56449
56450
56451
56452
56453
56454   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
56455 $as_echo_n "checking for modfl declaration... " >&6; }
56456   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
56457     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
56458   $as_echo_n "(cached) " >&6
56459 else
56460
56461
56462       ac_ext=cpp
56463 ac_cpp='$CXXCPP $CPPFLAGS'
56464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56467
56468       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56469 /* end confdefs.h.  */
56470 #include <math.h>
56471 int
56472 main ()
56473 {
56474  modfl(0, 0);
56475   ;
56476   return 0;
56477 }
56478 _ACEOF
56479 if ac_fn_cxx_try_compile "$LINENO"; then :
56480   glibcxx_cv_func_modfl_use=yes
56481 else
56482   glibcxx_cv_func_modfl_use=no
56483 fi
56484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56485       ac_ext=c
56486 ac_cpp='$CPP $CPPFLAGS'
56487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56490
56491
56492 fi
56493
56494   fi
56495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
56496 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
56497
56498   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
56499     for ac_func in modfl
56500 do :
56501   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
56502 if test "x$ac_cv_func_modfl" = x""yes; then :
56503   cat >>confdefs.h <<_ACEOF
56504 #define HAVE_MODFL 1
56505 _ACEOF
56506
56507 fi
56508 done
56509
56510   else
56511
56512   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
56513 $as_echo_n "checking for _modfl declaration... " >&6; }
56514   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
56515     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
56516   $as_echo_n "(cached) " >&6
56517 else
56518
56519
56520       ac_ext=cpp
56521 ac_cpp='$CXXCPP $CPPFLAGS'
56522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56525
56526       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56527 /* end confdefs.h.  */
56528 #include <math.h>
56529 int
56530 main ()
56531 {
56532  _modfl(0, 0);
56533   ;
56534   return 0;
56535 }
56536 _ACEOF
56537 if ac_fn_cxx_try_compile "$LINENO"; then :
56538   glibcxx_cv_func__modfl_use=yes
56539 else
56540   glibcxx_cv_func__modfl_use=no
56541 fi
56542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56543       ac_ext=c
56544 ac_cpp='$CPP $CPPFLAGS'
56545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56548
56549
56550 fi
56551
56552   fi
56553   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
56554 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
56555
56556     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
56557       for ac_func in _modfl
56558 do :
56559   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
56560 if test "x$ac_cv_func__modfl" = x""yes; then :
56561   cat >>confdefs.h <<_ACEOF
56562 #define HAVE__MODFL 1
56563 _ACEOF
56564
56565 fi
56566 done
56567
56568     fi
56569   fi
56570
56571
56572
56573
56574
56575   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
56576 $as_echo_n "checking for powl declaration... " >&6; }
56577   if test x${glibcxx_cv_func_powl_use+set} != xset; then
56578     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
56579   $as_echo_n "(cached) " >&6
56580 else
56581
56582
56583       ac_ext=cpp
56584 ac_cpp='$CXXCPP $CPPFLAGS'
56585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56588
56589       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56590 /* end confdefs.h.  */
56591 #include <math.h>
56592 int
56593 main ()
56594 {
56595  powl(0, 0);
56596   ;
56597   return 0;
56598 }
56599 _ACEOF
56600 if ac_fn_cxx_try_compile "$LINENO"; then :
56601   glibcxx_cv_func_powl_use=yes
56602 else
56603   glibcxx_cv_func_powl_use=no
56604 fi
56605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56606       ac_ext=c
56607 ac_cpp='$CPP $CPPFLAGS'
56608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56611
56612
56613 fi
56614
56615   fi
56616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
56617 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
56618
56619   if test x$glibcxx_cv_func_powl_use = x"yes"; then
56620     for ac_func in powl
56621 do :
56622   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
56623 if test "x$ac_cv_func_powl" = x""yes; then :
56624   cat >>confdefs.h <<_ACEOF
56625 #define HAVE_POWL 1
56626 _ACEOF
56627
56628 fi
56629 done
56630
56631   else
56632
56633   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
56634 $as_echo_n "checking for _powl declaration... " >&6; }
56635   if test x${glibcxx_cv_func__powl_use+set} != xset; then
56636     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
56637   $as_echo_n "(cached) " >&6
56638 else
56639
56640
56641       ac_ext=cpp
56642 ac_cpp='$CXXCPP $CPPFLAGS'
56643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56646
56647       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56648 /* end confdefs.h.  */
56649 #include <math.h>
56650 int
56651 main ()
56652 {
56653  _powl(0, 0);
56654   ;
56655   return 0;
56656 }
56657 _ACEOF
56658 if ac_fn_cxx_try_compile "$LINENO"; then :
56659   glibcxx_cv_func__powl_use=yes
56660 else
56661   glibcxx_cv_func__powl_use=no
56662 fi
56663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56664       ac_ext=c
56665 ac_cpp='$CPP $CPPFLAGS'
56666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56669
56670
56671 fi
56672
56673   fi
56674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
56675 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
56676
56677     if test x$glibcxx_cv_func__powl_use = x"yes"; then
56678       for ac_func in _powl
56679 do :
56680   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
56681 if test "x$ac_cv_func__powl" = x""yes; then :
56682   cat >>confdefs.h <<_ACEOF
56683 #define HAVE__POWL 1
56684 _ACEOF
56685
56686 fi
56687 done
56688
56689     fi
56690   fi
56691
56692
56693
56694
56695
56696   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
56697 $as_echo_n "checking for sqrtl declaration... " >&6; }
56698   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
56699     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
56700   $as_echo_n "(cached) " >&6
56701 else
56702
56703
56704       ac_ext=cpp
56705 ac_cpp='$CXXCPP $CPPFLAGS'
56706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56709
56710       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56711 /* end confdefs.h.  */
56712 #include <math.h>
56713                       #ifdef HAVE_IEEEFP_H
56714                       #include <ieeefp.h>
56715                       #endif
56716
56717 int
56718 main ()
56719 {
56720  sqrtl(0);
56721   ;
56722   return 0;
56723 }
56724 _ACEOF
56725 if ac_fn_cxx_try_compile "$LINENO"; then :
56726   glibcxx_cv_func_sqrtl_use=yes
56727 else
56728   glibcxx_cv_func_sqrtl_use=no
56729 fi
56730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56731       ac_ext=c
56732 ac_cpp='$CPP $CPPFLAGS'
56733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56736
56737
56738 fi
56739
56740   fi
56741   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
56742 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
56743
56744   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
56745     for ac_func in sqrtl
56746 do :
56747   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
56748 if test "x$ac_cv_func_sqrtl" = x""yes; then :
56749   cat >>confdefs.h <<_ACEOF
56750 #define HAVE_SQRTL 1
56751 _ACEOF
56752
56753 fi
56754 done
56755
56756   else
56757
56758   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
56759 $as_echo_n "checking for _sqrtl declaration... " >&6; }
56760   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
56761     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
56762   $as_echo_n "(cached) " >&6
56763 else
56764
56765
56766       ac_ext=cpp
56767 ac_cpp='$CXXCPP $CPPFLAGS'
56768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56771
56772       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56773 /* end confdefs.h.  */
56774 #include <math.h>
56775                       #ifdef HAVE_IEEEFP_H
56776                       #include <ieeefp.h>
56777                       #endif
56778
56779 int
56780 main ()
56781 {
56782  _sqrtl(0);
56783   ;
56784   return 0;
56785 }
56786 _ACEOF
56787 if ac_fn_cxx_try_compile "$LINENO"; then :
56788   glibcxx_cv_func__sqrtl_use=yes
56789 else
56790   glibcxx_cv_func__sqrtl_use=no
56791 fi
56792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56793       ac_ext=c
56794 ac_cpp='$CPP $CPPFLAGS'
56795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56798
56799
56800 fi
56801
56802   fi
56803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
56804 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
56805
56806     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
56807       for ac_func in _sqrtl
56808 do :
56809   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
56810 if test "x$ac_cv_func__sqrtl" = x""yes; then :
56811   cat >>confdefs.h <<_ACEOF
56812 #define HAVE__SQRTL 1
56813 _ACEOF
56814
56815 fi
56816 done
56817
56818     fi
56819   fi
56820
56821
56822
56823
56824
56825   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
56826 $as_echo_n "checking for sincosl declaration... " >&6; }
56827   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
56828     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
56829   $as_echo_n "(cached) " >&6
56830 else
56831
56832
56833       ac_ext=cpp
56834 ac_cpp='$CXXCPP $CPPFLAGS'
56835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56838
56839       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56840 /* end confdefs.h.  */
56841 #include <math.h>
56842 int
56843 main ()
56844 {
56845  sincosl(0, 0, 0);
56846   ;
56847   return 0;
56848 }
56849 _ACEOF
56850 if ac_fn_cxx_try_compile "$LINENO"; then :
56851   glibcxx_cv_func_sincosl_use=yes
56852 else
56853   glibcxx_cv_func_sincosl_use=no
56854 fi
56855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56856       ac_ext=c
56857 ac_cpp='$CPP $CPPFLAGS'
56858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56861
56862
56863 fi
56864
56865   fi
56866   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
56867 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
56868
56869   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
56870     for ac_func in sincosl
56871 do :
56872   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
56873 if test "x$ac_cv_func_sincosl" = x""yes; then :
56874   cat >>confdefs.h <<_ACEOF
56875 #define HAVE_SINCOSL 1
56876 _ACEOF
56877
56878 fi
56879 done
56880
56881   else
56882
56883   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
56884 $as_echo_n "checking for _sincosl declaration... " >&6; }
56885   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
56886     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
56887   $as_echo_n "(cached) " >&6
56888 else
56889
56890
56891       ac_ext=cpp
56892 ac_cpp='$CXXCPP $CPPFLAGS'
56893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56896
56897       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56898 /* end confdefs.h.  */
56899 #include <math.h>
56900 int
56901 main ()
56902 {
56903  _sincosl(0, 0, 0);
56904   ;
56905   return 0;
56906 }
56907 _ACEOF
56908 if ac_fn_cxx_try_compile "$LINENO"; then :
56909   glibcxx_cv_func__sincosl_use=yes
56910 else
56911   glibcxx_cv_func__sincosl_use=no
56912 fi
56913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56914       ac_ext=c
56915 ac_cpp='$CPP $CPPFLAGS'
56916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56919
56920
56921 fi
56922
56923   fi
56924   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
56925 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
56926
56927     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
56928       for ac_func in _sincosl
56929 do :
56930   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
56931 if test "x$ac_cv_func__sincosl" = x""yes; then :
56932   cat >>confdefs.h <<_ACEOF
56933 #define HAVE__SINCOSL 1
56934 _ACEOF
56935
56936 fi
56937 done
56938
56939     fi
56940   fi
56941
56942
56943
56944
56945
56946   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
56947 $as_echo_n "checking for finitel declaration... " >&6; }
56948   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
56949     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
56950   $as_echo_n "(cached) " >&6
56951 else
56952
56953
56954       ac_ext=cpp
56955 ac_cpp='$CXXCPP $CPPFLAGS'
56956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56959
56960       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56961 /* end confdefs.h.  */
56962 #include <math.h>
56963                       #ifdef HAVE_IEEEFP_H
56964                       #include <ieeefp.h>
56965                       #endif
56966
56967 int
56968 main ()
56969 {
56970  finitel(0);
56971   ;
56972   return 0;
56973 }
56974 _ACEOF
56975 if ac_fn_cxx_try_compile "$LINENO"; then :
56976   glibcxx_cv_func_finitel_use=yes
56977 else
56978   glibcxx_cv_func_finitel_use=no
56979 fi
56980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56981       ac_ext=c
56982 ac_cpp='$CPP $CPPFLAGS'
56983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56986
56987
56988 fi
56989
56990   fi
56991   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
56992 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
56993
56994   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
56995     for ac_func in finitel
56996 do :
56997   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
56998 if test "x$ac_cv_func_finitel" = x""yes; then :
56999   cat >>confdefs.h <<_ACEOF
57000 #define HAVE_FINITEL 1
57001 _ACEOF
57002
57003 fi
57004 done
57005
57006   else
57007
57008   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
57009 $as_echo_n "checking for _finitel declaration... " >&6; }
57010   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
57011     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
57012   $as_echo_n "(cached) " >&6
57013 else
57014
57015
57016       ac_ext=cpp
57017 ac_cpp='$CXXCPP $CPPFLAGS'
57018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57021
57022       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57023 /* end confdefs.h.  */
57024 #include <math.h>
57025                       #ifdef HAVE_IEEEFP_H
57026                       #include <ieeefp.h>
57027                       #endif
57028
57029 int
57030 main ()
57031 {
57032  _finitel(0);
57033   ;
57034   return 0;
57035 }
57036 _ACEOF
57037 if ac_fn_cxx_try_compile "$LINENO"; then :
57038   glibcxx_cv_func__finitel_use=yes
57039 else
57040   glibcxx_cv_func__finitel_use=no
57041 fi
57042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57043       ac_ext=c
57044 ac_cpp='$CPP $CPPFLAGS'
57045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57048
57049
57050 fi
57051
57052   fi
57053   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
57054 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
57055
57056     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
57057       for ac_func in _finitel
57058 do :
57059   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
57060 if test "x$ac_cv_func__finitel" = x""yes; then :
57061   cat >>confdefs.h <<_ACEOF
57062 #define HAVE__FINITEL 1
57063 _ACEOF
57064
57065 fi
57066 done
57067
57068     fi
57069   fi
57070
57071
57072
57073
57074   LIBS="$ac_save_LIBS"
57075   CXXFLAGS="$ac_save_CXXFLAGS"
57076
57077
57078   ac_test_CXXFLAGS="${CXXFLAGS+set}"
57079   ac_save_CXXFLAGS="$CXXFLAGS"
57080   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
57081
57082
57083   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
57084 $as_echo_n "checking for strtold declaration... " >&6; }
57085   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
57086     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
57087   $as_echo_n "(cached) " >&6
57088 else
57089
57090
57091       ac_ext=cpp
57092 ac_cpp='$CXXCPP $CPPFLAGS'
57093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57096
57097       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57098 /* end confdefs.h.  */
57099 #include <stdlib.h>
57100 int
57101 main ()
57102 {
57103  strtold(0, 0);
57104   ;
57105   return 0;
57106 }
57107 _ACEOF
57108 if ac_fn_cxx_try_compile "$LINENO"; then :
57109   glibcxx_cv_func_strtold_use=yes
57110 else
57111   glibcxx_cv_func_strtold_use=no
57112 fi
57113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57114       ac_ext=c
57115 ac_cpp='$CPP $CPPFLAGS'
57116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57119
57120
57121 fi
57122
57123   fi
57124   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
57125 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
57126   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
57127     for ac_func in strtold
57128 do :
57129   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
57130 if test "x$ac_cv_func_strtold" = x""yes; then :
57131   cat >>confdefs.h <<_ACEOF
57132 #define HAVE_STRTOLD 1
57133 _ACEOF
57134
57135 fi
57136 done
57137
57138   fi
57139
57140
57141
57142
57143   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
57144 $as_echo_n "checking for strtof declaration... " >&6; }
57145   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
57146     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
57147   $as_echo_n "(cached) " >&6
57148 else
57149
57150
57151       ac_ext=cpp
57152 ac_cpp='$CXXCPP $CPPFLAGS'
57153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57156
57157       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57158 /* end confdefs.h.  */
57159 #include <stdlib.h>
57160 int
57161 main ()
57162 {
57163  strtof(0, 0);
57164   ;
57165   return 0;
57166 }
57167 _ACEOF
57168 if ac_fn_cxx_try_compile "$LINENO"; then :
57169   glibcxx_cv_func_strtof_use=yes
57170 else
57171   glibcxx_cv_func_strtof_use=no
57172 fi
57173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57174       ac_ext=c
57175 ac_cpp='$CPP $CPPFLAGS'
57176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57179
57180
57181 fi
57182
57183   fi
57184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
57185 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
57186   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
57187     for ac_func in strtof
57188 do :
57189   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
57190 if test "x$ac_cv_func_strtof" = x""yes; then :
57191   cat >>confdefs.h <<_ACEOF
57192 #define HAVE_STRTOF 1
57193 _ACEOF
57194
57195 fi
57196 done
57197
57198   fi
57199
57200
57201
57202
57203   CXXFLAGS="$ac_save_CXXFLAGS"
57204
57205     ;;
57206   *-netbsd*)
57207     SECTION_FLAGS='-ffunction-sections -fdata-sections'
57208
57209
57210   # If we're not using GNU ld, then there's no point in even trying these
57211   # tests.  Check for that first.  We should have already tested for gld
57212   # by now (in libtool), but require it now just to be safe...
57213   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57214   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57215
57216
57217
57218   # The name set by libtool depends on the version of libtool.  Shame on us
57219   # for depending on an impl detail, but c'est la vie.  Older versions used
57220   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57221   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57222   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
57223   # set (hence we're using an older libtool), then set it.
57224   if test x${with_gnu_ld+set} != xset; then
57225     if test x${ac_cv_prog_gnu_ld+set} != xset; then
57226       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
57227       with_gnu_ld=no
57228     else
57229       with_gnu_ld=$ac_cv_prog_gnu_ld
57230     fi
57231   fi
57232
57233   # Start by getting the version number.  I think the libtool test already
57234   # does some of this, but throws away the result.
57235   glibcxx_ld_is_gold=no
57236   if test x"$with_gnu_ld" = x"yes"; then
57237     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57238 $as_echo_n "checking for ld version... " >&6; }
57239
57240     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57241       glibcxx_ld_is_gold=yes
57242     fi
57243     ldver=`$LD --version 2>/dev/null |
57244            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'`
57245
57246     glibcxx_gnu_ld_version=`echo $ldver | \
57247            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57248     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57249 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57250   fi
57251
57252   # Set --gc-sections.
57253   glibcxx_have_gc_sections=no
57254   if test "$glibcxx_ld_is_gold" = "yes"; then
57255     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57256       glibcxx_have_gc_sections=yes
57257     fi
57258   else
57259     glibcxx_gcsections_min_ld=21602
57260     if test x"$with_gnu_ld" = x"yes" &&
57261         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57262       glibcxx_have_gc_sections=yes
57263     fi
57264   fi
57265   if test "$glibcxx_have_gc_sections" = "yes"; then
57266     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
57267     # NB: This flag only works reliably after 2.16.1. Configure tests
57268     # for this are difficult, so hard wire a value that should work.
57269
57270     ac_test_CFLAGS="${CFLAGS+set}"
57271     ac_save_CFLAGS="$CFLAGS"
57272     CFLAGS='-Wl,--gc-sections'
57273
57274     # Check for -Wl,--gc-sections
57275     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57276 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57277     if test x$gcc_no_link = xyes; then
57278   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57279 fi
57280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57281 /* end confdefs.h.  */
57282  int one(void) { return 1; }
57283      int two(void) { return 2; }
57284
57285 int
57286 main ()
57287 {
57288  two();
57289   ;
57290   return 0;
57291 }
57292 _ACEOF
57293 if ac_fn_c_try_link "$LINENO"; then :
57294   ac_gcsections=yes
57295 else
57296   ac_gcsections=no
57297 fi
57298 rm -f core conftest.err conftest.$ac_objext \
57299     conftest$ac_exeext conftest.$ac_ext
57300     if test "$ac_gcsections" = "yes"; then
57301       rm -f conftest.c
57302       touch conftest.c
57303       if $CC -c conftest.c; then
57304         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57305            grep "Warning: gc-sections option ignored" > /dev/null; then
57306           ac_gcsections=no
57307         fi
57308       fi
57309       rm -f conftest.c conftest.o conftest
57310     fi
57311     if test "$ac_gcsections" = "yes"; then
57312       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57313     fi
57314     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57315 $as_echo "$ac_gcsections" >&6; }
57316
57317     if test "$ac_test_CFLAGS" = set; then
57318       CFLAGS="$ac_save_CFLAGS"
57319     else
57320       # this is the suspicious part
57321       CFLAGS=''
57322     fi
57323   fi
57324
57325   # Set -z,relro.
57326   # Note this is only for shared objects.
57327   ac_ld_relro=no
57328   if test x"$with_gnu_ld" = x"yes"; then
57329     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57330 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57331     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57332     if test -n "$cxx_z_relo"; then
57333       OPT_LDFLAGS="-Wl,-z,relro"
57334       ac_ld_relro=yes
57335     fi
57336     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57337 $as_echo "$ac_ld_relro" >&6; }
57338   fi
57339
57340   # Set linker optimization flags.
57341   if test x"$with_gnu_ld" = x"yes"; then
57342     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57343   fi
57344
57345
57346
57347
57348     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
57349
57350     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57351
57352     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57353
57354     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57355
57356     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57357
57358     $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57359
57360     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57361
57362     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57363
57364     if test x"long_double_math_on_this_cpu" = x"yes"; then
57365       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57366
57367       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57368
57369       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57370
57371     fi
57372     ;;
57373   *-qnx6.1* | *-qnx6.2*)
57374     SECTION_FLAGS='-ffunction-sections -fdata-sections'
57375
57376
57377   # If we're not using GNU ld, then there's no point in even trying these
57378   # tests.  Check for that first.  We should have already tested for gld
57379   # by now (in libtool), but require it now just to be safe...
57380   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57381   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57382
57383
57384
57385   # The name set by libtool depends on the version of libtool.  Shame on us
57386   # for depending on an impl detail, but c'est la vie.  Older versions used
57387   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57388   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57389   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
57390   # set (hence we're using an older libtool), then set it.
57391   if test x${with_gnu_ld+set} != xset; then
57392     if test x${ac_cv_prog_gnu_ld+set} != xset; then
57393       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
57394       with_gnu_ld=no
57395     else
57396       with_gnu_ld=$ac_cv_prog_gnu_ld
57397     fi
57398   fi
57399
57400   # Start by getting the version number.  I think the libtool test already
57401   # does some of this, but throws away the result.
57402   glibcxx_ld_is_gold=no
57403   if test x"$with_gnu_ld" = x"yes"; then
57404     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57405 $as_echo_n "checking for ld version... " >&6; }
57406
57407     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57408       glibcxx_ld_is_gold=yes
57409     fi
57410     ldver=`$LD --version 2>/dev/null |
57411            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'`
57412
57413     glibcxx_gnu_ld_version=`echo $ldver | \
57414            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57415     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57416 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57417   fi
57418
57419   # Set --gc-sections.
57420   glibcxx_have_gc_sections=no
57421   if test "$glibcxx_ld_is_gold" = "yes"; then
57422     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57423       glibcxx_have_gc_sections=yes
57424     fi
57425   else
57426     glibcxx_gcsections_min_ld=21602
57427     if test x"$with_gnu_ld" = x"yes" &&
57428         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57429       glibcxx_have_gc_sections=yes
57430     fi
57431   fi
57432   if test "$glibcxx_have_gc_sections" = "yes"; then
57433     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
57434     # NB: This flag only works reliably after 2.16.1. Configure tests
57435     # for this are difficult, so hard wire a value that should work.
57436
57437     ac_test_CFLAGS="${CFLAGS+set}"
57438     ac_save_CFLAGS="$CFLAGS"
57439     CFLAGS='-Wl,--gc-sections'
57440
57441     # Check for -Wl,--gc-sections
57442     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57443 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57444     if test x$gcc_no_link = xyes; then
57445   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57446 fi
57447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57448 /* end confdefs.h.  */
57449  int one(void) { return 1; }
57450      int two(void) { return 2; }
57451
57452 int
57453 main ()
57454 {
57455  two();
57456   ;
57457   return 0;
57458 }
57459 _ACEOF
57460 if ac_fn_c_try_link "$LINENO"; then :
57461   ac_gcsections=yes
57462 else
57463   ac_gcsections=no
57464 fi
57465 rm -f core conftest.err conftest.$ac_objext \
57466     conftest$ac_exeext conftest.$ac_ext
57467     if test "$ac_gcsections" = "yes"; then
57468       rm -f conftest.c
57469       touch conftest.c
57470       if $CC -c conftest.c; then
57471         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57472            grep "Warning: gc-sections option ignored" > /dev/null; then
57473           ac_gcsections=no
57474         fi
57475       fi
57476       rm -f conftest.c conftest.o conftest
57477     fi
57478     if test "$ac_gcsections" = "yes"; then
57479       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57480     fi
57481     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57482 $as_echo "$ac_gcsections" >&6; }
57483
57484     if test "$ac_test_CFLAGS" = set; then
57485       CFLAGS="$ac_save_CFLAGS"
57486     else
57487       # this is the suspicious part
57488       CFLAGS=''
57489     fi
57490   fi
57491
57492   # Set -z,relro.
57493   # Note this is only for shared objects.
57494   ac_ld_relro=no
57495   if test x"$with_gnu_ld" = x"yes"; then
57496     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57497 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57498     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57499     if test -n "$cxx_z_relo"; then
57500       OPT_LDFLAGS="-Wl,-z,relro"
57501       ac_ld_relro=yes
57502     fi
57503     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57504 $as_echo "$ac_ld_relro" >&6; }
57505   fi
57506
57507   # Set linker optimization flags.
57508   if test x"$with_gnu_ld" = x"yes"; then
57509     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57510   fi
57511
57512
57513
57514
57515     $as_echo "#define HAVE_COSF 1" >>confdefs.h
57516
57517     $as_echo "#define HAVE_COSL 1" >>confdefs.h
57518
57519     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57520
57521     $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57522
57523     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57524
57525     $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57526
57527     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57528
57529     $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57530
57531     $as_echo "#define HAVE_SINF 1" >>confdefs.h
57532
57533     $as_echo "#define HAVE_SINL 1" >>confdefs.h
57534
57535     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57536
57537     $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57538
57539     ;;
57540   *-rtems*)
57541
57542   # All these tests are for C++; save the language and the compiler flags.
57543   # The CXXFLAGS thing is suspicious, but based on similar bits previously
57544   # found in GLIBCXX_CONFIGURE.
57545
57546   ac_ext=cpp
57547 ac_cpp='$CXXCPP $CPPFLAGS'
57548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57551
57552   ac_test_CXXFLAGS="${CXXFLAGS+set}"
57553   ac_save_CXXFLAGS="$CXXFLAGS"
57554
57555   # Check for maintainer-mode bits.
57556   if test x"$USE_MAINTAINER_MODE" = xno; then
57557     WERROR=''
57558   else
57559     WERROR='-Werror'
57560   fi
57561
57562   # Check for -ffunction-sections -fdata-sections
57563   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
57564 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
57565   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
57566   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57567 /* end confdefs.h.  */
57568 int foo; void bar() { };
57569 int
57570 main ()
57571 {
57572
57573   ;
57574   return 0;
57575 }
57576 _ACEOF
57577 if ac_fn_cxx_try_compile "$LINENO"; then :
57578   ac_fdsections=yes
57579 else
57580   ac_fdsections=no
57581 fi
57582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57583   if test "$ac_test_CXXFLAGS" = set; then
57584     CXXFLAGS="$ac_save_CXXFLAGS"
57585   else
57586     # this is the suspicious part
57587     CXXFLAGS=''
57588   fi
57589   if test x"$ac_fdsections" = x"yes"; then
57590     SECTION_FLAGS='-ffunction-sections -fdata-sections'
57591   fi
57592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
57593 $as_echo "$ac_fdsections" >&6; }
57594
57595   ac_ext=c
57596 ac_cpp='$CPP $CPPFLAGS'
57597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57600
57601
57602
57603
57604
57605   # If we're not using GNU ld, then there's no point in even trying these
57606   # tests.  Check for that first.  We should have already tested for gld
57607   # by now (in libtool), but require it now just to be safe...
57608   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57609   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57610
57611
57612
57613   # The name set by libtool depends on the version of libtool.  Shame on us
57614   # for depending on an impl detail, but c'est la vie.  Older versions used
57615   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57616   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57617   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
57618   # set (hence we're using an older libtool), then set it.
57619   if test x${with_gnu_ld+set} != xset; then
57620     if test x${ac_cv_prog_gnu_ld+set} != xset; then
57621       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
57622       with_gnu_ld=no
57623     else
57624       with_gnu_ld=$ac_cv_prog_gnu_ld
57625     fi
57626   fi
57627
57628   # Start by getting the version number.  I think the libtool test already
57629   # does some of this, but throws away the result.
57630   glibcxx_ld_is_gold=no
57631   if test x"$with_gnu_ld" = x"yes"; then
57632     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57633 $as_echo_n "checking for ld version... " >&6; }
57634
57635     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57636       glibcxx_ld_is_gold=yes
57637     fi
57638     ldver=`$LD --version 2>/dev/null |
57639            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'`
57640
57641     glibcxx_gnu_ld_version=`echo $ldver | \
57642            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57643     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57644 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57645   fi
57646
57647   # Set --gc-sections.
57648   glibcxx_have_gc_sections=no
57649   if test "$glibcxx_ld_is_gold" = "yes"; then
57650     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57651       glibcxx_have_gc_sections=yes
57652     fi
57653   else
57654     glibcxx_gcsections_min_ld=21602
57655     if test x"$with_gnu_ld" = x"yes" &&
57656         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57657       glibcxx_have_gc_sections=yes
57658     fi
57659   fi
57660   if test "$glibcxx_have_gc_sections" = "yes"; then
57661     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
57662     # NB: This flag only works reliably after 2.16.1. Configure tests
57663     # for this are difficult, so hard wire a value that should work.
57664
57665     ac_test_CFLAGS="${CFLAGS+set}"
57666     ac_save_CFLAGS="$CFLAGS"
57667     CFLAGS='-Wl,--gc-sections'
57668
57669     # Check for -Wl,--gc-sections
57670     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57671 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57672     if test x$gcc_no_link = xyes; then
57673   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57674 fi
57675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57676 /* end confdefs.h.  */
57677  int one(void) { return 1; }
57678      int two(void) { return 2; }
57679
57680 int
57681 main ()
57682 {
57683  two();
57684   ;
57685   return 0;
57686 }
57687 _ACEOF
57688 if ac_fn_c_try_link "$LINENO"; then :
57689   ac_gcsections=yes
57690 else
57691   ac_gcsections=no
57692 fi
57693 rm -f core conftest.err conftest.$ac_objext \
57694     conftest$ac_exeext conftest.$ac_ext
57695     if test "$ac_gcsections" = "yes"; then
57696       rm -f conftest.c
57697       touch conftest.c
57698       if $CC -c conftest.c; then
57699         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57700            grep "Warning: gc-sections option ignored" > /dev/null; then
57701           ac_gcsections=no
57702         fi
57703       fi
57704       rm -f conftest.c conftest.o conftest
57705     fi
57706     if test "$ac_gcsections" = "yes"; then
57707       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57708     fi
57709     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57710 $as_echo "$ac_gcsections" >&6; }
57711
57712     if test "$ac_test_CFLAGS" = set; then
57713       CFLAGS="$ac_save_CFLAGS"
57714     else
57715       # this is the suspicious part
57716       CFLAGS=''
57717     fi
57718   fi
57719
57720   # Set -z,relro.
57721   # Note this is only for shared objects.
57722   ac_ld_relro=no
57723   if test x"$with_gnu_ld" = x"yes"; then
57724     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57725 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57726     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57727     if test -n "$cxx_z_relo"; then
57728       OPT_LDFLAGS="-Wl,-z,relro"
57729       ac_ld_relro=yes
57730     fi
57731     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57732 $as_echo "$ac_ld_relro" >&6; }
57733   fi
57734
57735   # Set linker optimization flags.
57736   if test x"$with_gnu_ld" = x"yes"; then
57737     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57738   fi
57739
57740
57741
57742
57743
57744   ac_test_CXXFLAGS="${CXXFLAGS+set}"
57745   ac_save_CXXFLAGS="$CXXFLAGS"
57746   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
57747
57748     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
57749 $as_echo_n "checking for sin in -lm... " >&6; }
57750 if test "${ac_cv_lib_m_sin+set}" = set; then :
57751   $as_echo_n "(cached) " >&6
57752 else
57753   ac_check_lib_save_LIBS=$LIBS
57754 LIBS="-lm  $LIBS"
57755 if test x$gcc_no_link = xyes; then
57756   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57757 fi
57758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57759 /* end confdefs.h.  */
57760
57761 /* Override any GCC internal prototype to avoid an error.
57762    Use char because int might match the return type of a GCC
57763    builtin and then its argument prototype would still apply.  */
57764 #ifdef __cplusplus
57765 extern "C"
57766 #endif
57767 char sin ();
57768 int
57769 main ()
57770 {
57771 return sin ();
57772   ;
57773   return 0;
57774 }
57775 _ACEOF
57776 if ac_fn_c_try_link "$LINENO"; then :
57777   ac_cv_lib_m_sin=yes
57778 else
57779   ac_cv_lib_m_sin=no
57780 fi
57781 rm -f core conftest.err conftest.$ac_objext \
57782     conftest$ac_exeext conftest.$ac_ext
57783 LIBS=$ac_check_lib_save_LIBS
57784 fi
57785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
57786 $as_echo "$ac_cv_lib_m_sin" >&6; }
57787 if test "x$ac_cv_lib_m_sin" = x""yes; then :
57788   libm="-lm"
57789 fi
57790
57791   ac_save_LIBS="$LIBS"
57792   LIBS="$LIBS $libm"
57793
57794
57795
57796   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
57797 $as_echo_n "checking for isinf declaration... " >&6; }
57798   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
57799     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
57800   $as_echo_n "(cached) " >&6
57801 else
57802
57803
57804       ac_ext=cpp
57805 ac_cpp='$CXXCPP $CPPFLAGS'
57806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57809
57810       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57811 /* end confdefs.h.  */
57812 #include <math.h>
57813                       #ifdef HAVE_IEEEFP_H
57814                       #include <ieeefp.h>
57815                       #endif
57816
57817 int
57818 main ()
57819 {
57820  isinf(0);
57821   ;
57822   return 0;
57823 }
57824 _ACEOF
57825 if ac_fn_cxx_try_compile "$LINENO"; then :
57826   glibcxx_cv_func_isinf_use=yes
57827 else
57828   glibcxx_cv_func_isinf_use=no
57829 fi
57830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57831       ac_ext=c
57832 ac_cpp='$CPP $CPPFLAGS'
57833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57836
57837
57838 fi
57839
57840   fi
57841   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
57842 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
57843
57844   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
57845     for ac_func in isinf
57846 do :
57847   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
57848 if test "x$ac_cv_func_isinf" = x""yes; then :
57849   cat >>confdefs.h <<_ACEOF
57850 #define HAVE_ISINF 1
57851 _ACEOF
57852
57853 fi
57854 done
57855
57856   else
57857
57858   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
57859 $as_echo_n "checking for _isinf declaration... " >&6; }
57860   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
57861     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
57862   $as_echo_n "(cached) " >&6
57863 else
57864
57865
57866       ac_ext=cpp
57867 ac_cpp='$CXXCPP $CPPFLAGS'
57868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57871
57872       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57873 /* end confdefs.h.  */
57874 #include <math.h>
57875                       #ifdef HAVE_IEEEFP_H
57876                       #include <ieeefp.h>
57877                       #endif
57878
57879 int
57880 main ()
57881 {
57882  _isinf(0);
57883   ;
57884   return 0;
57885 }
57886 _ACEOF
57887 if ac_fn_cxx_try_compile "$LINENO"; then :
57888   glibcxx_cv_func__isinf_use=yes
57889 else
57890   glibcxx_cv_func__isinf_use=no
57891 fi
57892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57893       ac_ext=c
57894 ac_cpp='$CPP $CPPFLAGS'
57895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57898
57899
57900 fi
57901
57902   fi
57903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
57904 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
57905
57906     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
57907       for ac_func in _isinf
57908 do :
57909   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
57910 if test "x$ac_cv_func__isinf" = x""yes; then :
57911   cat >>confdefs.h <<_ACEOF
57912 #define HAVE__ISINF 1
57913 _ACEOF
57914
57915 fi
57916 done
57917
57918     fi
57919   fi
57920
57921
57922
57923
57924
57925   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
57926 $as_echo_n "checking for isnan declaration... " >&6; }
57927   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
57928     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
57929   $as_echo_n "(cached) " >&6
57930 else
57931
57932
57933       ac_ext=cpp
57934 ac_cpp='$CXXCPP $CPPFLAGS'
57935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57938
57939       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57940 /* end confdefs.h.  */
57941 #include <math.h>
57942                       #ifdef HAVE_IEEEFP_H
57943                       #include <ieeefp.h>
57944                       #endif
57945
57946 int
57947 main ()
57948 {
57949  isnan(0);
57950   ;
57951   return 0;
57952 }
57953 _ACEOF
57954 if ac_fn_cxx_try_compile "$LINENO"; then :
57955   glibcxx_cv_func_isnan_use=yes
57956 else
57957   glibcxx_cv_func_isnan_use=no
57958 fi
57959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57960       ac_ext=c
57961 ac_cpp='$CPP $CPPFLAGS'
57962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57965
57966
57967 fi
57968
57969   fi
57970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
57971 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
57972
57973   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
57974     for ac_func in isnan
57975 do :
57976   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
57977 if test "x$ac_cv_func_isnan" = x""yes; then :
57978   cat >>confdefs.h <<_ACEOF
57979 #define HAVE_ISNAN 1
57980 _ACEOF
57981
57982 fi
57983 done
57984
57985   else
57986
57987   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
57988 $as_echo_n "checking for _isnan declaration... " >&6; }
57989   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
57990     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
57991   $as_echo_n "(cached) " >&6
57992 else
57993
57994
57995       ac_ext=cpp
57996 ac_cpp='$CXXCPP $CPPFLAGS'
57997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58000
58001       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58002 /* end confdefs.h.  */
58003 #include <math.h>
58004                       #ifdef HAVE_IEEEFP_H
58005                       #include <ieeefp.h>
58006                       #endif
58007
58008 int
58009 main ()
58010 {
58011  _isnan(0);
58012   ;
58013   return 0;
58014 }
58015 _ACEOF
58016 if ac_fn_cxx_try_compile "$LINENO"; then :
58017   glibcxx_cv_func__isnan_use=yes
58018 else
58019   glibcxx_cv_func__isnan_use=no
58020 fi
58021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58022       ac_ext=c
58023 ac_cpp='$CPP $CPPFLAGS'
58024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58027
58028
58029 fi
58030
58031   fi
58032   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
58033 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
58034
58035     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
58036       for ac_func in _isnan
58037 do :
58038   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
58039 if test "x$ac_cv_func__isnan" = x""yes; then :
58040   cat >>confdefs.h <<_ACEOF
58041 #define HAVE__ISNAN 1
58042 _ACEOF
58043
58044 fi
58045 done
58046
58047     fi
58048   fi
58049
58050
58051
58052
58053
58054   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
58055 $as_echo_n "checking for finite declaration... " >&6; }
58056   if test x${glibcxx_cv_func_finite_use+set} != xset; then
58057     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
58058   $as_echo_n "(cached) " >&6
58059 else
58060
58061
58062       ac_ext=cpp
58063 ac_cpp='$CXXCPP $CPPFLAGS'
58064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58067
58068       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58069 /* end confdefs.h.  */
58070 #include <math.h>
58071                       #ifdef HAVE_IEEEFP_H
58072                       #include <ieeefp.h>
58073                       #endif
58074
58075 int
58076 main ()
58077 {
58078  finite(0);
58079   ;
58080   return 0;
58081 }
58082 _ACEOF
58083 if ac_fn_cxx_try_compile "$LINENO"; then :
58084   glibcxx_cv_func_finite_use=yes
58085 else
58086   glibcxx_cv_func_finite_use=no
58087 fi
58088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58089       ac_ext=c
58090 ac_cpp='$CPP $CPPFLAGS'
58091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58094
58095
58096 fi
58097
58098   fi
58099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
58100 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
58101
58102   if test x$glibcxx_cv_func_finite_use = x"yes"; then
58103     for ac_func in finite
58104 do :
58105   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
58106 if test "x$ac_cv_func_finite" = x""yes; then :
58107   cat >>confdefs.h <<_ACEOF
58108 #define HAVE_FINITE 1
58109 _ACEOF
58110
58111 fi
58112 done
58113
58114   else
58115
58116   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
58117 $as_echo_n "checking for _finite declaration... " >&6; }
58118   if test x${glibcxx_cv_func__finite_use+set} != xset; then
58119     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
58120   $as_echo_n "(cached) " >&6
58121 else
58122
58123
58124       ac_ext=cpp
58125 ac_cpp='$CXXCPP $CPPFLAGS'
58126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58129
58130       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58131 /* end confdefs.h.  */
58132 #include <math.h>
58133                       #ifdef HAVE_IEEEFP_H
58134                       #include <ieeefp.h>
58135                       #endif
58136
58137 int
58138 main ()
58139 {
58140  _finite(0);
58141   ;
58142   return 0;
58143 }
58144 _ACEOF
58145 if ac_fn_cxx_try_compile "$LINENO"; then :
58146   glibcxx_cv_func__finite_use=yes
58147 else
58148   glibcxx_cv_func__finite_use=no
58149 fi
58150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58151       ac_ext=c
58152 ac_cpp='$CPP $CPPFLAGS'
58153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58156
58157
58158 fi
58159
58160   fi
58161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
58162 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
58163
58164     if test x$glibcxx_cv_func__finite_use = x"yes"; then
58165       for ac_func in _finite
58166 do :
58167   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
58168 if test "x$ac_cv_func__finite" = x""yes; then :
58169   cat >>confdefs.h <<_ACEOF
58170 #define HAVE__FINITE 1
58171 _ACEOF
58172
58173 fi
58174 done
58175
58176     fi
58177   fi
58178
58179
58180
58181
58182
58183   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
58184 $as_echo_n "checking for sincos declaration... " >&6; }
58185   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
58186     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
58187   $as_echo_n "(cached) " >&6
58188 else
58189
58190
58191       ac_ext=cpp
58192 ac_cpp='$CXXCPP $CPPFLAGS'
58193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58196
58197       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58198 /* end confdefs.h.  */
58199 #include <math.h>
58200 int
58201 main ()
58202 {
58203  sincos(0, 0, 0);
58204   ;
58205   return 0;
58206 }
58207 _ACEOF
58208 if ac_fn_cxx_try_compile "$LINENO"; then :
58209   glibcxx_cv_func_sincos_use=yes
58210 else
58211   glibcxx_cv_func_sincos_use=no
58212 fi
58213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58214       ac_ext=c
58215 ac_cpp='$CPP $CPPFLAGS'
58216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58219
58220
58221 fi
58222
58223   fi
58224   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
58225 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
58226
58227   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
58228     for ac_func in sincos
58229 do :
58230   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
58231 if test "x$ac_cv_func_sincos" = x""yes; then :
58232   cat >>confdefs.h <<_ACEOF
58233 #define HAVE_SINCOS 1
58234 _ACEOF
58235
58236 fi
58237 done
58238
58239   else
58240
58241   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
58242 $as_echo_n "checking for _sincos declaration... " >&6; }
58243   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
58244     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
58245   $as_echo_n "(cached) " >&6
58246 else
58247
58248
58249       ac_ext=cpp
58250 ac_cpp='$CXXCPP $CPPFLAGS'
58251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58254
58255       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58256 /* end confdefs.h.  */
58257 #include <math.h>
58258 int
58259 main ()
58260 {
58261  _sincos(0, 0, 0);
58262   ;
58263   return 0;
58264 }
58265 _ACEOF
58266 if ac_fn_cxx_try_compile "$LINENO"; then :
58267   glibcxx_cv_func__sincos_use=yes
58268 else
58269   glibcxx_cv_func__sincos_use=no
58270 fi
58271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58272       ac_ext=c
58273 ac_cpp='$CPP $CPPFLAGS'
58274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58277
58278
58279 fi
58280
58281   fi
58282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
58283 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
58284
58285     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
58286       for ac_func in _sincos
58287 do :
58288   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
58289 if test "x$ac_cv_func__sincos" = x""yes; then :
58290   cat >>confdefs.h <<_ACEOF
58291 #define HAVE__SINCOS 1
58292 _ACEOF
58293
58294 fi
58295 done
58296
58297     fi
58298   fi
58299
58300
58301
58302
58303
58304   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
58305 $as_echo_n "checking for fpclass declaration... " >&6; }
58306   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
58307     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
58308   $as_echo_n "(cached) " >&6
58309 else
58310
58311
58312       ac_ext=cpp
58313 ac_cpp='$CXXCPP $CPPFLAGS'
58314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58317
58318       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58319 /* end confdefs.h.  */
58320 #include <math.h>
58321                       #ifdef HAVE_IEEEFP_H
58322                       #include <ieeefp.h>
58323                       #endif
58324
58325 int
58326 main ()
58327 {
58328  fpclass(0);
58329   ;
58330   return 0;
58331 }
58332 _ACEOF
58333 if ac_fn_cxx_try_compile "$LINENO"; then :
58334   glibcxx_cv_func_fpclass_use=yes
58335 else
58336   glibcxx_cv_func_fpclass_use=no
58337 fi
58338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58339       ac_ext=c
58340 ac_cpp='$CPP $CPPFLAGS'
58341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58344
58345
58346 fi
58347
58348   fi
58349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
58350 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
58351
58352   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
58353     for ac_func in fpclass
58354 do :
58355   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
58356 if test "x$ac_cv_func_fpclass" = x""yes; then :
58357   cat >>confdefs.h <<_ACEOF
58358 #define HAVE_FPCLASS 1
58359 _ACEOF
58360
58361 fi
58362 done
58363
58364   else
58365
58366   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
58367 $as_echo_n "checking for _fpclass declaration... " >&6; }
58368   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
58369     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
58370   $as_echo_n "(cached) " >&6
58371 else
58372
58373
58374       ac_ext=cpp
58375 ac_cpp='$CXXCPP $CPPFLAGS'
58376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58379
58380       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58381 /* end confdefs.h.  */
58382 #include <math.h>
58383                       #ifdef HAVE_IEEEFP_H
58384                       #include <ieeefp.h>
58385                       #endif
58386
58387 int
58388 main ()
58389 {
58390  _fpclass(0);
58391   ;
58392   return 0;
58393 }
58394 _ACEOF
58395 if ac_fn_cxx_try_compile "$LINENO"; then :
58396   glibcxx_cv_func__fpclass_use=yes
58397 else
58398   glibcxx_cv_func__fpclass_use=no
58399 fi
58400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58401       ac_ext=c
58402 ac_cpp='$CPP $CPPFLAGS'
58403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58406
58407
58408 fi
58409
58410   fi
58411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
58412 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
58413
58414     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
58415       for ac_func in _fpclass
58416 do :
58417   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
58418 if test "x$ac_cv_func__fpclass" = x""yes; then :
58419   cat >>confdefs.h <<_ACEOF
58420 #define HAVE__FPCLASS 1
58421 _ACEOF
58422
58423 fi
58424 done
58425
58426     fi
58427   fi
58428
58429
58430
58431
58432
58433   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
58434 $as_echo_n "checking for qfpclass declaration... " >&6; }
58435   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
58436     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
58437   $as_echo_n "(cached) " >&6
58438 else
58439
58440
58441       ac_ext=cpp
58442 ac_cpp='$CXXCPP $CPPFLAGS'
58443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58446
58447       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58448 /* end confdefs.h.  */
58449 #include <math.h>
58450                       #ifdef HAVE_IEEEFP_H
58451                       #include <ieeefp.h>
58452                       #endif
58453
58454 int
58455 main ()
58456 {
58457  qfpclass(0);
58458   ;
58459   return 0;
58460 }
58461 _ACEOF
58462 if ac_fn_cxx_try_compile "$LINENO"; then :
58463   glibcxx_cv_func_qfpclass_use=yes
58464 else
58465   glibcxx_cv_func_qfpclass_use=no
58466 fi
58467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58468       ac_ext=c
58469 ac_cpp='$CPP $CPPFLAGS'
58470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58473
58474
58475 fi
58476
58477   fi
58478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
58479 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
58480
58481   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
58482     for ac_func in qfpclass
58483 do :
58484   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
58485 if test "x$ac_cv_func_qfpclass" = x""yes; then :
58486   cat >>confdefs.h <<_ACEOF
58487 #define HAVE_QFPCLASS 1
58488 _ACEOF
58489
58490 fi
58491 done
58492
58493   else
58494
58495   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
58496 $as_echo_n "checking for _qfpclass declaration... " >&6; }
58497   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
58498     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
58499   $as_echo_n "(cached) " >&6
58500 else
58501
58502
58503       ac_ext=cpp
58504 ac_cpp='$CXXCPP $CPPFLAGS'
58505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58508
58509       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58510 /* end confdefs.h.  */
58511 #include <math.h>
58512                       #ifdef HAVE_IEEEFP_H
58513                       #include <ieeefp.h>
58514                       #endif
58515
58516 int
58517 main ()
58518 {
58519  _qfpclass(0);
58520   ;
58521   return 0;
58522 }
58523 _ACEOF
58524 if ac_fn_cxx_try_compile "$LINENO"; then :
58525   glibcxx_cv_func__qfpclass_use=yes
58526 else
58527   glibcxx_cv_func__qfpclass_use=no
58528 fi
58529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58530       ac_ext=c
58531 ac_cpp='$CPP $CPPFLAGS'
58532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58535
58536
58537 fi
58538
58539   fi
58540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
58541 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
58542
58543     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
58544       for ac_func in _qfpclass
58545 do :
58546   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
58547 if test "x$ac_cv_func__qfpclass" = x""yes; then :
58548   cat >>confdefs.h <<_ACEOF
58549 #define HAVE__QFPCLASS 1
58550 _ACEOF
58551
58552 fi
58553 done
58554
58555     fi
58556   fi
58557
58558
58559
58560
58561
58562   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
58563 $as_echo_n "checking for hypot declaration... " >&6; }
58564   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
58565     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
58566   $as_echo_n "(cached) " >&6
58567 else
58568
58569
58570       ac_ext=cpp
58571 ac_cpp='$CXXCPP $CPPFLAGS'
58572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58575
58576       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58577 /* end confdefs.h.  */
58578 #include <math.h>
58579 int
58580 main ()
58581 {
58582  hypot(0, 0);
58583   ;
58584   return 0;
58585 }
58586 _ACEOF
58587 if ac_fn_cxx_try_compile "$LINENO"; then :
58588   glibcxx_cv_func_hypot_use=yes
58589 else
58590   glibcxx_cv_func_hypot_use=no
58591 fi
58592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58593       ac_ext=c
58594 ac_cpp='$CPP $CPPFLAGS'
58595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58598
58599
58600 fi
58601
58602   fi
58603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
58604 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
58605
58606   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
58607     for ac_func in hypot
58608 do :
58609   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
58610 if test "x$ac_cv_func_hypot" = x""yes; then :
58611   cat >>confdefs.h <<_ACEOF
58612 #define HAVE_HYPOT 1
58613 _ACEOF
58614
58615 fi
58616 done
58617
58618   else
58619
58620   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
58621 $as_echo_n "checking for _hypot declaration... " >&6; }
58622   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
58623     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
58624   $as_echo_n "(cached) " >&6
58625 else
58626
58627
58628       ac_ext=cpp
58629 ac_cpp='$CXXCPP $CPPFLAGS'
58630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58633
58634       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58635 /* end confdefs.h.  */
58636 #include <math.h>
58637 int
58638 main ()
58639 {
58640  _hypot(0, 0);
58641   ;
58642   return 0;
58643 }
58644 _ACEOF
58645 if ac_fn_cxx_try_compile "$LINENO"; then :
58646   glibcxx_cv_func__hypot_use=yes
58647 else
58648   glibcxx_cv_func__hypot_use=no
58649 fi
58650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58651       ac_ext=c
58652 ac_cpp='$CPP $CPPFLAGS'
58653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58656
58657
58658 fi
58659
58660   fi
58661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
58662 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
58663
58664     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
58665       for ac_func in _hypot
58666 do :
58667   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
58668 if test "x$ac_cv_func__hypot" = x""yes; then :
58669   cat >>confdefs.h <<_ACEOF
58670 #define HAVE__HYPOT 1
58671 _ACEOF
58672
58673 fi
58674 done
58675
58676     fi
58677   fi
58678
58679
58680
58681
58682
58683     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
58684 $as_echo_n "checking for float trig functions... " >&6; }
58685   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
58686   $as_echo_n "(cached) " >&6
58687 else
58688
58689
58690     ac_ext=cpp
58691 ac_cpp='$CXXCPP $CPPFLAGS'
58692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58695
58696     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58697 /* end confdefs.h.  */
58698 #include <math.h>
58699 int
58700 main ()
58701 {
58702 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
58703   ;
58704   return 0;
58705 }
58706 _ACEOF
58707 if ac_fn_cxx_try_compile "$LINENO"; then :
58708   glibcxx_cv_func_float_trig_use=yes
58709 else
58710   glibcxx_cv_func_float_trig_use=no
58711 fi
58712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58713     ac_ext=c
58714 ac_cpp='$CPP $CPPFLAGS'
58715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58718
58719 fi
58720
58721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
58722 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
58723   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
58724     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
58725 do :
58726   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58727 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58728 eval as_val=\$$as_ac_var
58729    if test "x$as_val" = x""yes; then :
58730   cat >>confdefs.h <<_ACEOF
58731 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58732 _ACEOF
58733
58734 fi
58735 done
58736
58737   else
58738     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
58739 $as_echo_n "checking for _float trig functions... " >&6; }
58740     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
58741   $as_echo_n "(cached) " >&6
58742 else
58743
58744
58745       ac_ext=cpp
58746 ac_cpp='$CXXCPP $CPPFLAGS'
58747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58750
58751       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58752 /* end confdefs.h.  */
58753 #include <math.h>
58754 int
58755 main ()
58756 {
58757 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
58758   ;
58759   return 0;
58760 }
58761 _ACEOF
58762 if ac_fn_cxx_try_compile "$LINENO"; then :
58763   glibcxx_cv_func__float_trig_use=yes
58764 else
58765   glibcxx_cv_func__float_trig_use=no
58766 fi
58767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58768       ac_ext=c
58769 ac_cpp='$CPP $CPPFLAGS'
58770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58773
58774 fi
58775
58776     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
58777 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
58778     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
58779       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
58780 do :
58781   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58782 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58783 eval as_val=\$$as_ac_var
58784    if test "x$as_val" = x""yes; then :
58785   cat >>confdefs.h <<_ACEOF
58786 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58787 _ACEOF
58788
58789 fi
58790 done
58791
58792     fi
58793   fi
58794
58795
58796
58797
58798
58799     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
58800 $as_echo_n "checking for float round functions... " >&6; }
58801   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
58802   $as_echo_n "(cached) " >&6
58803 else
58804
58805
58806     ac_ext=cpp
58807 ac_cpp='$CXXCPP $CPPFLAGS'
58808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58811
58812     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58813 /* end confdefs.h.  */
58814 #include <math.h>
58815 int
58816 main ()
58817 {
58818 ceilf (0); floorf (0);
58819   ;
58820   return 0;
58821 }
58822 _ACEOF
58823 if ac_fn_cxx_try_compile "$LINENO"; then :
58824   glibcxx_cv_func_float_round_use=yes
58825 else
58826   glibcxx_cv_func_float_round_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 fi
58836
58837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
58838 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
58839   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
58840     for ac_func in ceilf floorf
58841 do :
58842   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58843 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58844 eval as_val=\$$as_ac_var
58845    if test "x$as_val" = x""yes; then :
58846   cat >>confdefs.h <<_ACEOF
58847 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58848 _ACEOF
58849
58850 fi
58851 done
58852
58853   else
58854     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
58855 $as_echo_n "checking for _float round functions... " >&6; }
58856     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
58857   $as_echo_n "(cached) " >&6
58858 else
58859
58860
58861       ac_ext=cpp
58862 ac_cpp='$CXXCPP $CPPFLAGS'
58863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58866
58867       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58868 /* end confdefs.h.  */
58869 #include <math.h>
58870 int
58871 main ()
58872 {
58873 _ceilf (0); _floorf (0);
58874   ;
58875   return 0;
58876 }
58877 _ACEOF
58878 if ac_fn_cxx_try_compile "$LINENO"; then :
58879   glibcxx_cv_func__float_round_use=yes
58880 else
58881   glibcxx_cv_func__float_round_use=no
58882 fi
58883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58884       ac_ext=c
58885 ac_cpp='$CPP $CPPFLAGS'
58886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58889
58890 fi
58891
58892     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
58893 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
58894     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
58895       for ac_func in _ceilf _floorf
58896 do :
58897   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58898 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58899 eval as_val=\$$as_ac_var
58900    if test "x$as_val" = x""yes; then :
58901   cat >>confdefs.h <<_ACEOF
58902 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58903 _ACEOF
58904
58905 fi
58906 done
58907
58908     fi
58909   fi
58910
58911
58912
58913
58914
58915
58916   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
58917 $as_echo_n "checking for expf declaration... " >&6; }
58918   if test x${glibcxx_cv_func_expf_use+set} != xset; then
58919     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
58920   $as_echo_n "(cached) " >&6
58921 else
58922
58923
58924       ac_ext=cpp
58925 ac_cpp='$CXXCPP $CPPFLAGS'
58926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58929
58930       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58931 /* end confdefs.h.  */
58932 #include <math.h>
58933                       #ifdef HAVE_IEEEFP_H
58934                       #include <ieeefp.h>
58935                       #endif
58936
58937 int
58938 main ()
58939 {
58940  expf(0);
58941   ;
58942   return 0;
58943 }
58944 _ACEOF
58945 if ac_fn_cxx_try_compile "$LINENO"; then :
58946   glibcxx_cv_func_expf_use=yes
58947 else
58948   glibcxx_cv_func_expf_use=no
58949 fi
58950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58951       ac_ext=c
58952 ac_cpp='$CPP $CPPFLAGS'
58953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58956
58957
58958 fi
58959
58960   fi
58961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
58962 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
58963
58964   if test x$glibcxx_cv_func_expf_use = x"yes"; then
58965     for ac_func in expf
58966 do :
58967   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
58968 if test "x$ac_cv_func_expf" = x""yes; then :
58969   cat >>confdefs.h <<_ACEOF
58970 #define HAVE_EXPF 1
58971 _ACEOF
58972
58973 fi
58974 done
58975
58976   else
58977
58978   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
58979 $as_echo_n "checking for _expf declaration... " >&6; }
58980   if test x${glibcxx_cv_func__expf_use+set} != xset; then
58981     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
58982   $as_echo_n "(cached) " >&6
58983 else
58984
58985
58986       ac_ext=cpp
58987 ac_cpp='$CXXCPP $CPPFLAGS'
58988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58991
58992       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58993 /* end confdefs.h.  */
58994 #include <math.h>
58995                       #ifdef HAVE_IEEEFP_H
58996                       #include <ieeefp.h>
58997                       #endif
58998
58999 int
59000 main ()
59001 {
59002  _expf(0);
59003   ;
59004   return 0;
59005 }
59006 _ACEOF
59007 if ac_fn_cxx_try_compile "$LINENO"; then :
59008   glibcxx_cv_func__expf_use=yes
59009 else
59010   glibcxx_cv_func__expf_use=no
59011 fi
59012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59013       ac_ext=c
59014 ac_cpp='$CPP $CPPFLAGS'
59015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59018
59019
59020 fi
59021
59022   fi
59023   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
59024 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
59025
59026     if test x$glibcxx_cv_func__expf_use = x"yes"; then
59027       for ac_func in _expf
59028 do :
59029   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
59030 if test "x$ac_cv_func__expf" = x""yes; then :
59031   cat >>confdefs.h <<_ACEOF
59032 #define HAVE__EXPF 1
59033 _ACEOF
59034
59035 fi
59036 done
59037
59038     fi
59039   fi
59040
59041
59042
59043
59044
59045   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
59046 $as_echo_n "checking for isnanf declaration... " >&6; }
59047   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
59048     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
59049   $as_echo_n "(cached) " >&6
59050 else
59051
59052
59053       ac_ext=cpp
59054 ac_cpp='$CXXCPP $CPPFLAGS'
59055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59058
59059       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59060 /* end confdefs.h.  */
59061 #include <math.h>
59062                       #ifdef HAVE_IEEEFP_H
59063                       #include <ieeefp.h>
59064                       #endif
59065
59066 int
59067 main ()
59068 {
59069  isnanf(0);
59070   ;
59071   return 0;
59072 }
59073 _ACEOF
59074 if ac_fn_cxx_try_compile "$LINENO"; then :
59075   glibcxx_cv_func_isnanf_use=yes
59076 else
59077   glibcxx_cv_func_isnanf_use=no
59078 fi
59079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59080       ac_ext=c
59081 ac_cpp='$CPP $CPPFLAGS'
59082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59085
59086
59087 fi
59088
59089   fi
59090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
59091 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
59092
59093   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
59094     for ac_func in isnanf
59095 do :
59096   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
59097 if test "x$ac_cv_func_isnanf" = x""yes; then :
59098   cat >>confdefs.h <<_ACEOF
59099 #define HAVE_ISNANF 1
59100 _ACEOF
59101
59102 fi
59103 done
59104
59105   else
59106
59107   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
59108 $as_echo_n "checking for _isnanf declaration... " >&6; }
59109   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
59110     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
59111   $as_echo_n "(cached) " >&6
59112 else
59113
59114
59115       ac_ext=cpp
59116 ac_cpp='$CXXCPP $CPPFLAGS'
59117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59120
59121       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59122 /* end confdefs.h.  */
59123 #include <math.h>
59124                       #ifdef HAVE_IEEEFP_H
59125                       #include <ieeefp.h>
59126                       #endif
59127
59128 int
59129 main ()
59130 {
59131  _isnanf(0);
59132   ;
59133   return 0;
59134 }
59135 _ACEOF
59136 if ac_fn_cxx_try_compile "$LINENO"; then :
59137   glibcxx_cv_func__isnanf_use=yes
59138 else
59139   glibcxx_cv_func__isnanf_use=no
59140 fi
59141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59142       ac_ext=c
59143 ac_cpp='$CPP $CPPFLAGS'
59144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59147
59148
59149 fi
59150
59151   fi
59152   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
59153 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
59154
59155     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
59156       for ac_func in _isnanf
59157 do :
59158   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
59159 if test "x$ac_cv_func__isnanf" = x""yes; then :
59160   cat >>confdefs.h <<_ACEOF
59161 #define HAVE__ISNANF 1
59162 _ACEOF
59163
59164 fi
59165 done
59166
59167     fi
59168   fi
59169
59170
59171
59172
59173
59174   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
59175 $as_echo_n "checking for isinff declaration... " >&6; }
59176   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
59177     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
59178   $as_echo_n "(cached) " >&6
59179 else
59180
59181
59182       ac_ext=cpp
59183 ac_cpp='$CXXCPP $CPPFLAGS'
59184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59187
59188       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59189 /* end confdefs.h.  */
59190 #include <math.h>
59191                       #ifdef HAVE_IEEEFP_H
59192                       #include <ieeefp.h>
59193                       #endif
59194
59195 int
59196 main ()
59197 {
59198  isinff(0);
59199   ;
59200   return 0;
59201 }
59202 _ACEOF
59203 if ac_fn_cxx_try_compile "$LINENO"; then :
59204   glibcxx_cv_func_isinff_use=yes
59205 else
59206   glibcxx_cv_func_isinff_use=no
59207 fi
59208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59209       ac_ext=c
59210 ac_cpp='$CPP $CPPFLAGS'
59211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59214
59215
59216 fi
59217
59218   fi
59219   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
59220 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
59221
59222   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
59223     for ac_func in isinff
59224 do :
59225   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
59226 if test "x$ac_cv_func_isinff" = x""yes; then :
59227   cat >>confdefs.h <<_ACEOF
59228 #define HAVE_ISINFF 1
59229 _ACEOF
59230
59231 fi
59232 done
59233
59234   else
59235
59236   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
59237 $as_echo_n "checking for _isinff declaration... " >&6; }
59238   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
59239     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
59240   $as_echo_n "(cached) " >&6
59241 else
59242
59243
59244       ac_ext=cpp
59245 ac_cpp='$CXXCPP $CPPFLAGS'
59246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59249
59250       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59251 /* end confdefs.h.  */
59252 #include <math.h>
59253                       #ifdef HAVE_IEEEFP_H
59254                       #include <ieeefp.h>
59255                       #endif
59256
59257 int
59258 main ()
59259 {
59260  _isinff(0);
59261   ;
59262   return 0;
59263 }
59264 _ACEOF
59265 if ac_fn_cxx_try_compile "$LINENO"; then :
59266   glibcxx_cv_func__isinff_use=yes
59267 else
59268   glibcxx_cv_func__isinff_use=no
59269 fi
59270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59271       ac_ext=c
59272 ac_cpp='$CPP $CPPFLAGS'
59273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59276
59277
59278 fi
59279
59280   fi
59281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
59282 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
59283
59284     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
59285       for ac_func in _isinff
59286 do :
59287   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
59288 if test "x$ac_cv_func__isinff" = x""yes; then :
59289   cat >>confdefs.h <<_ACEOF
59290 #define HAVE__ISINFF 1
59291 _ACEOF
59292
59293 fi
59294 done
59295
59296     fi
59297   fi
59298
59299
59300
59301
59302
59303   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
59304 $as_echo_n "checking for atan2f declaration... " >&6; }
59305   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
59306     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
59307   $as_echo_n "(cached) " >&6
59308 else
59309
59310
59311       ac_ext=cpp
59312 ac_cpp='$CXXCPP $CPPFLAGS'
59313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59316
59317       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59318 /* end confdefs.h.  */
59319 #include <math.h>
59320 int
59321 main ()
59322 {
59323  atan2f(0, 0);
59324   ;
59325   return 0;
59326 }
59327 _ACEOF
59328 if ac_fn_cxx_try_compile "$LINENO"; then :
59329   glibcxx_cv_func_atan2f_use=yes
59330 else
59331   glibcxx_cv_func_atan2f_use=no
59332 fi
59333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59334       ac_ext=c
59335 ac_cpp='$CPP $CPPFLAGS'
59336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59339
59340
59341 fi
59342
59343   fi
59344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
59345 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
59346
59347   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
59348     for ac_func in atan2f
59349 do :
59350   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
59351 if test "x$ac_cv_func_atan2f" = x""yes; then :
59352   cat >>confdefs.h <<_ACEOF
59353 #define HAVE_ATAN2F 1
59354 _ACEOF
59355
59356 fi
59357 done
59358
59359   else
59360
59361   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
59362 $as_echo_n "checking for _atan2f declaration... " >&6; }
59363   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
59364     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
59365   $as_echo_n "(cached) " >&6
59366 else
59367
59368
59369       ac_ext=cpp
59370 ac_cpp='$CXXCPP $CPPFLAGS'
59371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59374
59375       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59376 /* end confdefs.h.  */
59377 #include <math.h>
59378 int
59379 main ()
59380 {
59381  _atan2f(0, 0);
59382   ;
59383   return 0;
59384 }
59385 _ACEOF
59386 if ac_fn_cxx_try_compile "$LINENO"; then :
59387   glibcxx_cv_func__atan2f_use=yes
59388 else
59389   glibcxx_cv_func__atan2f_use=no
59390 fi
59391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59392       ac_ext=c
59393 ac_cpp='$CPP $CPPFLAGS'
59394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59397
59398
59399 fi
59400
59401   fi
59402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
59403 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
59404
59405     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
59406       for ac_func in _atan2f
59407 do :
59408   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
59409 if test "x$ac_cv_func__atan2f" = x""yes; then :
59410   cat >>confdefs.h <<_ACEOF
59411 #define HAVE__ATAN2F 1
59412 _ACEOF
59413
59414 fi
59415 done
59416
59417     fi
59418   fi
59419
59420
59421
59422
59423
59424   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
59425 $as_echo_n "checking for fabsf declaration... " >&6; }
59426   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
59427     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
59428   $as_echo_n "(cached) " >&6
59429 else
59430
59431
59432       ac_ext=cpp
59433 ac_cpp='$CXXCPP $CPPFLAGS'
59434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59437
59438       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59439 /* end confdefs.h.  */
59440 #include <math.h>
59441                       #ifdef HAVE_IEEEFP_H
59442                       #include <ieeefp.h>
59443                       #endif
59444
59445 int
59446 main ()
59447 {
59448  fabsf(0);
59449   ;
59450   return 0;
59451 }
59452 _ACEOF
59453 if ac_fn_cxx_try_compile "$LINENO"; then :
59454   glibcxx_cv_func_fabsf_use=yes
59455 else
59456   glibcxx_cv_func_fabsf_use=no
59457 fi
59458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59459       ac_ext=c
59460 ac_cpp='$CPP $CPPFLAGS'
59461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59464
59465
59466 fi
59467
59468   fi
59469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
59470 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
59471
59472   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
59473     for ac_func in fabsf
59474 do :
59475   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
59476 if test "x$ac_cv_func_fabsf" = x""yes; then :
59477   cat >>confdefs.h <<_ACEOF
59478 #define HAVE_FABSF 1
59479 _ACEOF
59480
59481 fi
59482 done
59483
59484   else
59485
59486   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
59487 $as_echo_n "checking for _fabsf declaration... " >&6; }
59488   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
59489     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
59490   $as_echo_n "(cached) " >&6
59491 else
59492
59493
59494       ac_ext=cpp
59495 ac_cpp='$CXXCPP $CPPFLAGS'
59496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59499
59500       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59501 /* end confdefs.h.  */
59502 #include <math.h>
59503                       #ifdef HAVE_IEEEFP_H
59504                       #include <ieeefp.h>
59505                       #endif
59506
59507 int
59508 main ()
59509 {
59510  _fabsf(0);
59511   ;
59512   return 0;
59513 }
59514 _ACEOF
59515 if ac_fn_cxx_try_compile "$LINENO"; then :
59516   glibcxx_cv_func__fabsf_use=yes
59517 else
59518   glibcxx_cv_func__fabsf_use=no
59519 fi
59520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59521       ac_ext=c
59522 ac_cpp='$CPP $CPPFLAGS'
59523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59526
59527
59528 fi
59529
59530   fi
59531   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
59532 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
59533
59534     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
59535       for ac_func in _fabsf
59536 do :
59537   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
59538 if test "x$ac_cv_func__fabsf" = x""yes; then :
59539   cat >>confdefs.h <<_ACEOF
59540 #define HAVE__FABSF 1
59541 _ACEOF
59542
59543 fi
59544 done
59545
59546     fi
59547   fi
59548
59549
59550
59551
59552
59553   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
59554 $as_echo_n "checking for fmodf declaration... " >&6; }
59555   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
59556     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
59557   $as_echo_n "(cached) " >&6
59558 else
59559
59560
59561       ac_ext=cpp
59562 ac_cpp='$CXXCPP $CPPFLAGS'
59563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59566
59567       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59568 /* end confdefs.h.  */
59569 #include <math.h>
59570 int
59571 main ()
59572 {
59573  fmodf(0, 0);
59574   ;
59575   return 0;
59576 }
59577 _ACEOF
59578 if ac_fn_cxx_try_compile "$LINENO"; then :
59579   glibcxx_cv_func_fmodf_use=yes
59580 else
59581   glibcxx_cv_func_fmodf_use=no
59582 fi
59583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59584       ac_ext=c
59585 ac_cpp='$CPP $CPPFLAGS'
59586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59589
59590
59591 fi
59592
59593   fi
59594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
59595 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
59596
59597   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
59598     for ac_func in fmodf
59599 do :
59600   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
59601 if test "x$ac_cv_func_fmodf" = x""yes; then :
59602   cat >>confdefs.h <<_ACEOF
59603 #define HAVE_FMODF 1
59604 _ACEOF
59605
59606 fi
59607 done
59608
59609   else
59610
59611   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
59612 $as_echo_n "checking for _fmodf declaration... " >&6; }
59613   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59614     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
59615   $as_echo_n "(cached) " >&6
59616 else
59617
59618
59619       ac_ext=cpp
59620 ac_cpp='$CXXCPP $CPPFLAGS'
59621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59624
59625       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59626 /* end confdefs.h.  */
59627 #include <math.h>
59628 int
59629 main ()
59630 {
59631  _fmodf(0, 0);
59632   ;
59633   return 0;
59634 }
59635 _ACEOF
59636 if ac_fn_cxx_try_compile "$LINENO"; then :
59637   glibcxx_cv_func__fmodf_use=yes
59638 else
59639   glibcxx_cv_func__fmodf_use=no
59640 fi
59641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59642       ac_ext=c
59643 ac_cpp='$CPP $CPPFLAGS'
59644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59647
59648
59649 fi
59650
59651   fi
59652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
59653 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
59654
59655     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59656       for ac_func in _fmodf
59657 do :
59658   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
59659 if test "x$ac_cv_func__fmodf" = x""yes; then :
59660   cat >>confdefs.h <<_ACEOF
59661 #define HAVE__FMODF 1
59662 _ACEOF
59663
59664 fi
59665 done
59666
59667     fi
59668   fi
59669
59670
59671
59672
59673
59674   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
59675 $as_echo_n "checking for frexpf declaration... " >&6; }
59676   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59677     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
59678   $as_echo_n "(cached) " >&6
59679 else
59680
59681
59682       ac_ext=cpp
59683 ac_cpp='$CXXCPP $CPPFLAGS'
59684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59687
59688       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59689 /* end confdefs.h.  */
59690 #include <math.h>
59691 int
59692 main ()
59693 {
59694  frexpf(0, 0);
59695   ;
59696   return 0;
59697 }
59698 _ACEOF
59699 if ac_fn_cxx_try_compile "$LINENO"; then :
59700   glibcxx_cv_func_frexpf_use=yes
59701 else
59702   glibcxx_cv_func_frexpf_use=no
59703 fi
59704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59705       ac_ext=c
59706 ac_cpp='$CPP $CPPFLAGS'
59707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59710
59711
59712 fi
59713
59714   fi
59715   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
59716 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
59717
59718   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
59719     for ac_func in frexpf
59720 do :
59721   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
59722 if test "x$ac_cv_func_frexpf" = x""yes; then :
59723   cat >>confdefs.h <<_ACEOF
59724 #define HAVE_FREXPF 1
59725 _ACEOF
59726
59727 fi
59728 done
59729
59730   else
59731
59732   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
59733 $as_echo_n "checking for _frexpf declaration... " >&6; }
59734   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
59735     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
59736   $as_echo_n "(cached) " >&6
59737 else
59738
59739
59740       ac_ext=cpp
59741 ac_cpp='$CXXCPP $CPPFLAGS'
59742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59745
59746       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59747 /* end confdefs.h.  */
59748 #include <math.h>
59749 int
59750 main ()
59751 {
59752  _frexpf(0, 0);
59753   ;
59754   return 0;
59755 }
59756 _ACEOF
59757 if ac_fn_cxx_try_compile "$LINENO"; then :
59758   glibcxx_cv_func__frexpf_use=yes
59759 else
59760   glibcxx_cv_func__frexpf_use=no
59761 fi
59762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59763       ac_ext=c
59764 ac_cpp='$CPP $CPPFLAGS'
59765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59768
59769
59770 fi
59771
59772   fi
59773   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
59774 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
59775
59776     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
59777       for ac_func in _frexpf
59778 do :
59779   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
59780 if test "x$ac_cv_func__frexpf" = x""yes; then :
59781   cat >>confdefs.h <<_ACEOF
59782 #define HAVE__FREXPF 1
59783 _ACEOF
59784
59785 fi
59786 done
59787
59788     fi
59789   fi
59790
59791
59792
59793
59794
59795   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
59796 $as_echo_n "checking for hypotf declaration... " >&6; }
59797   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
59798     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
59799   $as_echo_n "(cached) " >&6
59800 else
59801
59802
59803       ac_ext=cpp
59804 ac_cpp='$CXXCPP $CPPFLAGS'
59805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59808
59809       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59810 /* end confdefs.h.  */
59811 #include <math.h>
59812 int
59813 main ()
59814 {
59815  hypotf(0, 0);
59816   ;
59817   return 0;
59818 }
59819 _ACEOF
59820 if ac_fn_cxx_try_compile "$LINENO"; then :
59821   glibcxx_cv_func_hypotf_use=yes
59822 else
59823   glibcxx_cv_func_hypotf_use=no
59824 fi
59825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59826       ac_ext=c
59827 ac_cpp='$CPP $CPPFLAGS'
59828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59831
59832
59833 fi
59834
59835   fi
59836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
59837 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
59838
59839   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
59840     for ac_func in hypotf
59841 do :
59842   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
59843 if test "x$ac_cv_func_hypotf" = x""yes; then :
59844   cat >>confdefs.h <<_ACEOF
59845 #define HAVE_HYPOTF 1
59846 _ACEOF
59847
59848 fi
59849 done
59850
59851   else
59852
59853   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
59854 $as_echo_n "checking for _hypotf declaration... " >&6; }
59855   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
59856     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
59857   $as_echo_n "(cached) " >&6
59858 else
59859
59860
59861       ac_ext=cpp
59862 ac_cpp='$CXXCPP $CPPFLAGS'
59863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59866
59867       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59868 /* end confdefs.h.  */
59869 #include <math.h>
59870 int
59871 main ()
59872 {
59873  _hypotf(0, 0);
59874   ;
59875   return 0;
59876 }
59877 _ACEOF
59878 if ac_fn_cxx_try_compile "$LINENO"; then :
59879   glibcxx_cv_func__hypotf_use=yes
59880 else
59881   glibcxx_cv_func__hypotf_use=no
59882 fi
59883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59884       ac_ext=c
59885 ac_cpp='$CPP $CPPFLAGS'
59886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59889
59890
59891 fi
59892
59893   fi
59894   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
59895 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
59896
59897     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
59898       for ac_func in _hypotf
59899 do :
59900   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
59901 if test "x$ac_cv_func__hypotf" = x""yes; then :
59902   cat >>confdefs.h <<_ACEOF
59903 #define HAVE__HYPOTF 1
59904 _ACEOF
59905
59906 fi
59907 done
59908
59909     fi
59910   fi
59911
59912
59913
59914
59915
59916   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
59917 $as_echo_n "checking for ldexpf declaration... " >&6; }
59918   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
59919     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
59920   $as_echo_n "(cached) " >&6
59921 else
59922
59923
59924       ac_ext=cpp
59925 ac_cpp='$CXXCPP $CPPFLAGS'
59926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59929
59930       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59931 /* end confdefs.h.  */
59932 #include <math.h>
59933 int
59934 main ()
59935 {
59936  ldexpf(0, 0);
59937   ;
59938   return 0;
59939 }
59940 _ACEOF
59941 if ac_fn_cxx_try_compile "$LINENO"; then :
59942   glibcxx_cv_func_ldexpf_use=yes
59943 else
59944   glibcxx_cv_func_ldexpf_use=no
59945 fi
59946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59947       ac_ext=c
59948 ac_cpp='$CPP $CPPFLAGS'
59949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59952
59953
59954 fi
59955
59956   fi
59957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
59958 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
59959
59960   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
59961     for ac_func in ldexpf
59962 do :
59963   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
59964 if test "x$ac_cv_func_ldexpf" = x""yes; then :
59965   cat >>confdefs.h <<_ACEOF
59966 #define HAVE_LDEXPF 1
59967 _ACEOF
59968
59969 fi
59970 done
59971
59972   else
59973
59974   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
59975 $as_echo_n "checking for _ldexpf declaration... " >&6; }
59976   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
59977     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
59978   $as_echo_n "(cached) " >&6
59979 else
59980
59981
59982       ac_ext=cpp
59983 ac_cpp='$CXXCPP $CPPFLAGS'
59984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59987
59988       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59989 /* end confdefs.h.  */
59990 #include <math.h>
59991 int
59992 main ()
59993 {
59994  _ldexpf(0, 0);
59995   ;
59996   return 0;
59997 }
59998 _ACEOF
59999 if ac_fn_cxx_try_compile "$LINENO"; then :
60000   glibcxx_cv_func__ldexpf_use=yes
60001 else
60002   glibcxx_cv_func__ldexpf_use=no
60003 fi
60004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60005       ac_ext=c
60006 ac_cpp='$CPP $CPPFLAGS'
60007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60010
60011
60012 fi
60013
60014   fi
60015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
60016 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
60017
60018     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
60019       for ac_func in _ldexpf
60020 do :
60021   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
60022 if test "x$ac_cv_func__ldexpf" = x""yes; then :
60023   cat >>confdefs.h <<_ACEOF
60024 #define HAVE__LDEXPF 1
60025 _ACEOF
60026
60027 fi
60028 done
60029
60030     fi
60031   fi
60032
60033
60034
60035
60036
60037   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
60038 $as_echo_n "checking for logf declaration... " >&6; }
60039   if test x${glibcxx_cv_func_logf_use+set} != xset; then
60040     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
60041   $as_echo_n "(cached) " >&6
60042 else
60043
60044
60045       ac_ext=cpp
60046 ac_cpp='$CXXCPP $CPPFLAGS'
60047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60050
60051       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60052 /* end confdefs.h.  */
60053 #include <math.h>
60054                       #ifdef HAVE_IEEEFP_H
60055                       #include <ieeefp.h>
60056                       #endif
60057
60058 int
60059 main ()
60060 {
60061  logf(0);
60062   ;
60063   return 0;
60064 }
60065 _ACEOF
60066 if ac_fn_cxx_try_compile "$LINENO"; then :
60067   glibcxx_cv_func_logf_use=yes
60068 else
60069   glibcxx_cv_func_logf_use=no
60070 fi
60071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60072       ac_ext=c
60073 ac_cpp='$CPP $CPPFLAGS'
60074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60077
60078
60079 fi
60080
60081   fi
60082   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
60083 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
60084
60085   if test x$glibcxx_cv_func_logf_use = x"yes"; then
60086     for ac_func in logf
60087 do :
60088   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
60089 if test "x$ac_cv_func_logf" = x""yes; then :
60090   cat >>confdefs.h <<_ACEOF
60091 #define HAVE_LOGF 1
60092 _ACEOF
60093
60094 fi
60095 done
60096
60097   else
60098
60099   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
60100 $as_echo_n "checking for _logf declaration... " >&6; }
60101   if test x${glibcxx_cv_func__logf_use+set} != xset; then
60102     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
60103   $as_echo_n "(cached) " >&6
60104 else
60105
60106
60107       ac_ext=cpp
60108 ac_cpp='$CXXCPP $CPPFLAGS'
60109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60112
60113       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60114 /* end confdefs.h.  */
60115 #include <math.h>
60116                       #ifdef HAVE_IEEEFP_H
60117                       #include <ieeefp.h>
60118                       #endif
60119
60120 int
60121 main ()
60122 {
60123  _logf(0);
60124   ;
60125   return 0;
60126 }
60127 _ACEOF
60128 if ac_fn_cxx_try_compile "$LINENO"; then :
60129   glibcxx_cv_func__logf_use=yes
60130 else
60131   glibcxx_cv_func__logf_use=no
60132 fi
60133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60134       ac_ext=c
60135 ac_cpp='$CPP $CPPFLAGS'
60136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60139
60140
60141 fi
60142
60143   fi
60144   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
60145 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
60146
60147     if test x$glibcxx_cv_func__logf_use = x"yes"; then
60148       for ac_func in _logf
60149 do :
60150   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
60151 if test "x$ac_cv_func__logf" = x""yes; then :
60152   cat >>confdefs.h <<_ACEOF
60153 #define HAVE__LOGF 1
60154 _ACEOF
60155
60156 fi
60157 done
60158
60159     fi
60160   fi
60161
60162
60163
60164
60165
60166   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
60167 $as_echo_n "checking for log10f declaration... " >&6; }
60168   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
60169     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
60170   $as_echo_n "(cached) " >&6
60171 else
60172
60173
60174       ac_ext=cpp
60175 ac_cpp='$CXXCPP $CPPFLAGS'
60176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60179
60180       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60181 /* end confdefs.h.  */
60182 #include <math.h>
60183                       #ifdef HAVE_IEEEFP_H
60184                       #include <ieeefp.h>
60185                       #endif
60186
60187 int
60188 main ()
60189 {
60190  log10f(0);
60191   ;
60192   return 0;
60193 }
60194 _ACEOF
60195 if ac_fn_cxx_try_compile "$LINENO"; then :
60196   glibcxx_cv_func_log10f_use=yes
60197 else
60198   glibcxx_cv_func_log10f_use=no
60199 fi
60200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60201       ac_ext=c
60202 ac_cpp='$CPP $CPPFLAGS'
60203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60206
60207
60208 fi
60209
60210   fi
60211   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
60212 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
60213
60214   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60215     for ac_func in log10f
60216 do :
60217   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
60218 if test "x$ac_cv_func_log10f" = x""yes; then :
60219   cat >>confdefs.h <<_ACEOF
60220 #define HAVE_LOG10F 1
60221 _ACEOF
60222
60223 fi
60224 done
60225
60226   else
60227
60228   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
60229 $as_echo_n "checking for _log10f declaration... " >&6; }
60230   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
60231     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
60232   $as_echo_n "(cached) " >&6
60233 else
60234
60235
60236       ac_ext=cpp
60237 ac_cpp='$CXXCPP $CPPFLAGS'
60238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60241
60242       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60243 /* end confdefs.h.  */
60244 #include <math.h>
60245                       #ifdef HAVE_IEEEFP_H
60246                       #include <ieeefp.h>
60247                       #endif
60248
60249 int
60250 main ()
60251 {
60252  _log10f(0);
60253   ;
60254   return 0;
60255 }
60256 _ACEOF
60257 if ac_fn_cxx_try_compile "$LINENO"; then :
60258   glibcxx_cv_func__log10f_use=yes
60259 else
60260   glibcxx_cv_func__log10f_use=no
60261 fi
60262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60263       ac_ext=c
60264 ac_cpp='$CPP $CPPFLAGS'
60265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60268
60269
60270 fi
60271
60272   fi
60273   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
60274 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
60275
60276     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
60277       for ac_func in _log10f
60278 do :
60279   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
60280 if test "x$ac_cv_func__log10f" = x""yes; then :
60281   cat >>confdefs.h <<_ACEOF
60282 #define HAVE__LOG10F 1
60283 _ACEOF
60284
60285 fi
60286 done
60287
60288     fi
60289   fi
60290
60291
60292
60293
60294
60295   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
60296 $as_echo_n "checking for modff declaration... " >&6; }
60297   if test x${glibcxx_cv_func_modff_use+set} != xset; then
60298     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
60299   $as_echo_n "(cached) " >&6
60300 else
60301
60302
60303       ac_ext=cpp
60304 ac_cpp='$CXXCPP $CPPFLAGS'
60305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60308
60309       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60310 /* end confdefs.h.  */
60311 #include <math.h>
60312 int
60313 main ()
60314 {
60315  modff(0, 0);
60316   ;
60317   return 0;
60318 }
60319 _ACEOF
60320 if ac_fn_cxx_try_compile "$LINENO"; then :
60321   glibcxx_cv_func_modff_use=yes
60322 else
60323   glibcxx_cv_func_modff_use=no
60324 fi
60325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60326       ac_ext=c
60327 ac_cpp='$CPP $CPPFLAGS'
60328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60331
60332
60333 fi
60334
60335   fi
60336   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
60337 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
60338
60339   if test x$glibcxx_cv_func_modff_use = x"yes"; then
60340     for ac_func in modff
60341 do :
60342   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
60343 if test "x$ac_cv_func_modff" = x""yes; then :
60344   cat >>confdefs.h <<_ACEOF
60345 #define HAVE_MODFF 1
60346 _ACEOF
60347
60348 fi
60349 done
60350
60351   else
60352
60353   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
60354 $as_echo_n "checking for _modff declaration... " >&6; }
60355   if test x${glibcxx_cv_func__modff_use+set} != xset; then
60356     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
60357   $as_echo_n "(cached) " >&6
60358 else
60359
60360
60361       ac_ext=cpp
60362 ac_cpp='$CXXCPP $CPPFLAGS'
60363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60366
60367       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60368 /* end confdefs.h.  */
60369 #include <math.h>
60370 int
60371 main ()
60372 {
60373  _modff(0, 0);
60374   ;
60375   return 0;
60376 }
60377 _ACEOF
60378 if ac_fn_cxx_try_compile "$LINENO"; then :
60379   glibcxx_cv_func__modff_use=yes
60380 else
60381   glibcxx_cv_func__modff_use=no
60382 fi
60383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60384       ac_ext=c
60385 ac_cpp='$CPP $CPPFLAGS'
60386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60389
60390
60391 fi
60392
60393   fi
60394   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
60395 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
60396
60397     if test x$glibcxx_cv_func__modff_use = x"yes"; then
60398       for ac_func in _modff
60399 do :
60400   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
60401 if test "x$ac_cv_func__modff" = x""yes; then :
60402   cat >>confdefs.h <<_ACEOF
60403 #define HAVE__MODFF 1
60404 _ACEOF
60405
60406 fi
60407 done
60408
60409     fi
60410   fi
60411
60412
60413
60414
60415
60416   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
60417 $as_echo_n "checking for modf declaration... " >&6; }
60418   if test x${glibcxx_cv_func_modf_use+set} != xset; then
60419     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
60420   $as_echo_n "(cached) " >&6
60421 else
60422
60423
60424       ac_ext=cpp
60425 ac_cpp='$CXXCPP $CPPFLAGS'
60426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60429
60430       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60431 /* end confdefs.h.  */
60432 #include <math.h>
60433 int
60434 main ()
60435 {
60436  modf(0, 0);
60437   ;
60438   return 0;
60439 }
60440 _ACEOF
60441 if ac_fn_cxx_try_compile "$LINENO"; then :
60442   glibcxx_cv_func_modf_use=yes
60443 else
60444   glibcxx_cv_func_modf_use=no
60445 fi
60446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60447       ac_ext=c
60448 ac_cpp='$CPP $CPPFLAGS'
60449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60452
60453
60454 fi
60455
60456   fi
60457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
60458 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
60459
60460   if test x$glibcxx_cv_func_modf_use = x"yes"; then
60461     for ac_func in modf
60462 do :
60463   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
60464 if test "x$ac_cv_func_modf" = x""yes; then :
60465   cat >>confdefs.h <<_ACEOF
60466 #define HAVE_MODF 1
60467 _ACEOF
60468
60469 fi
60470 done
60471
60472   else
60473
60474   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
60475 $as_echo_n "checking for _modf declaration... " >&6; }
60476   if test x${glibcxx_cv_func__modf_use+set} != xset; then
60477     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
60478   $as_echo_n "(cached) " >&6
60479 else
60480
60481
60482       ac_ext=cpp
60483 ac_cpp='$CXXCPP $CPPFLAGS'
60484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60487
60488       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60489 /* end confdefs.h.  */
60490 #include <math.h>
60491 int
60492 main ()
60493 {
60494  _modf(0, 0);
60495   ;
60496   return 0;
60497 }
60498 _ACEOF
60499 if ac_fn_cxx_try_compile "$LINENO"; then :
60500   glibcxx_cv_func__modf_use=yes
60501 else
60502   glibcxx_cv_func__modf_use=no
60503 fi
60504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60505       ac_ext=c
60506 ac_cpp='$CPP $CPPFLAGS'
60507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60510
60511
60512 fi
60513
60514   fi
60515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
60516 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
60517
60518     if test x$glibcxx_cv_func__modf_use = x"yes"; then
60519       for ac_func in _modf
60520 do :
60521   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
60522 if test "x$ac_cv_func__modf" = x""yes; then :
60523   cat >>confdefs.h <<_ACEOF
60524 #define HAVE__MODF 1
60525 _ACEOF
60526
60527 fi
60528 done
60529
60530     fi
60531   fi
60532
60533
60534
60535
60536
60537   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
60538 $as_echo_n "checking for powf declaration... " >&6; }
60539   if test x${glibcxx_cv_func_powf_use+set} != xset; then
60540     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
60541   $as_echo_n "(cached) " >&6
60542 else
60543
60544
60545       ac_ext=cpp
60546 ac_cpp='$CXXCPP $CPPFLAGS'
60547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60550
60551       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60552 /* end confdefs.h.  */
60553 #include <math.h>
60554 int
60555 main ()
60556 {
60557  powf(0, 0);
60558   ;
60559   return 0;
60560 }
60561 _ACEOF
60562 if ac_fn_cxx_try_compile "$LINENO"; then :
60563   glibcxx_cv_func_powf_use=yes
60564 else
60565   glibcxx_cv_func_powf_use=no
60566 fi
60567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60568       ac_ext=c
60569 ac_cpp='$CPP $CPPFLAGS'
60570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60573
60574
60575 fi
60576
60577   fi
60578   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
60579 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
60580
60581   if test x$glibcxx_cv_func_powf_use = x"yes"; then
60582     for ac_func in powf
60583 do :
60584   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
60585 if test "x$ac_cv_func_powf" = x""yes; then :
60586   cat >>confdefs.h <<_ACEOF
60587 #define HAVE_POWF 1
60588 _ACEOF
60589
60590 fi
60591 done
60592
60593   else
60594
60595   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
60596 $as_echo_n "checking for _powf declaration... " >&6; }
60597   if test x${glibcxx_cv_func__powf_use+set} != xset; then
60598     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
60599   $as_echo_n "(cached) " >&6
60600 else
60601
60602
60603       ac_ext=cpp
60604 ac_cpp='$CXXCPP $CPPFLAGS'
60605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60608
60609       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60610 /* end confdefs.h.  */
60611 #include <math.h>
60612 int
60613 main ()
60614 {
60615  _powf(0, 0);
60616   ;
60617   return 0;
60618 }
60619 _ACEOF
60620 if ac_fn_cxx_try_compile "$LINENO"; then :
60621   glibcxx_cv_func__powf_use=yes
60622 else
60623   glibcxx_cv_func__powf_use=no
60624 fi
60625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60626       ac_ext=c
60627 ac_cpp='$CPP $CPPFLAGS'
60628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60631
60632
60633 fi
60634
60635   fi
60636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
60637 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
60638
60639     if test x$glibcxx_cv_func__powf_use = x"yes"; then
60640       for ac_func in _powf
60641 do :
60642   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
60643 if test "x$ac_cv_func__powf" = x""yes; then :
60644   cat >>confdefs.h <<_ACEOF
60645 #define HAVE__POWF 1
60646 _ACEOF
60647
60648 fi
60649 done
60650
60651     fi
60652   fi
60653
60654
60655
60656
60657
60658   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
60659 $as_echo_n "checking for sqrtf declaration... " >&6; }
60660   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
60661     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
60662   $as_echo_n "(cached) " >&6
60663 else
60664
60665
60666       ac_ext=cpp
60667 ac_cpp='$CXXCPP $CPPFLAGS'
60668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60671
60672       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60673 /* end confdefs.h.  */
60674 #include <math.h>
60675                       #ifdef HAVE_IEEEFP_H
60676                       #include <ieeefp.h>
60677                       #endif
60678
60679 int
60680 main ()
60681 {
60682  sqrtf(0);
60683   ;
60684   return 0;
60685 }
60686 _ACEOF
60687 if ac_fn_cxx_try_compile "$LINENO"; then :
60688   glibcxx_cv_func_sqrtf_use=yes
60689 else
60690   glibcxx_cv_func_sqrtf_use=no
60691 fi
60692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60693       ac_ext=c
60694 ac_cpp='$CPP $CPPFLAGS'
60695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60698
60699
60700 fi
60701
60702   fi
60703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
60704 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
60705
60706   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
60707     for ac_func in sqrtf
60708 do :
60709   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
60710 if test "x$ac_cv_func_sqrtf" = x""yes; then :
60711   cat >>confdefs.h <<_ACEOF
60712 #define HAVE_SQRTF 1
60713 _ACEOF
60714
60715 fi
60716 done
60717
60718   else
60719
60720   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
60721 $as_echo_n "checking for _sqrtf declaration... " >&6; }
60722   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
60723     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
60724   $as_echo_n "(cached) " >&6
60725 else
60726
60727
60728       ac_ext=cpp
60729 ac_cpp='$CXXCPP $CPPFLAGS'
60730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60733
60734       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60735 /* end confdefs.h.  */
60736 #include <math.h>
60737                       #ifdef HAVE_IEEEFP_H
60738                       #include <ieeefp.h>
60739                       #endif
60740
60741 int
60742 main ()
60743 {
60744  _sqrtf(0);
60745   ;
60746   return 0;
60747 }
60748 _ACEOF
60749 if ac_fn_cxx_try_compile "$LINENO"; then :
60750   glibcxx_cv_func__sqrtf_use=yes
60751 else
60752   glibcxx_cv_func__sqrtf_use=no
60753 fi
60754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60755       ac_ext=c
60756 ac_cpp='$CPP $CPPFLAGS'
60757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60760
60761
60762 fi
60763
60764   fi
60765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
60766 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
60767
60768     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
60769       for ac_func in _sqrtf
60770 do :
60771   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
60772 if test "x$ac_cv_func__sqrtf" = x""yes; then :
60773   cat >>confdefs.h <<_ACEOF
60774 #define HAVE__SQRTF 1
60775 _ACEOF
60776
60777 fi
60778 done
60779
60780     fi
60781   fi
60782
60783
60784
60785
60786
60787   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
60788 $as_echo_n "checking for sincosf declaration... " >&6; }
60789   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
60790     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
60791   $as_echo_n "(cached) " >&6
60792 else
60793
60794
60795       ac_ext=cpp
60796 ac_cpp='$CXXCPP $CPPFLAGS'
60797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60800
60801       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60802 /* end confdefs.h.  */
60803 #include <math.h>
60804 int
60805 main ()
60806 {
60807  sincosf(0, 0, 0);
60808   ;
60809   return 0;
60810 }
60811 _ACEOF
60812 if ac_fn_cxx_try_compile "$LINENO"; then :
60813   glibcxx_cv_func_sincosf_use=yes
60814 else
60815   glibcxx_cv_func_sincosf_use=no
60816 fi
60817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60818       ac_ext=c
60819 ac_cpp='$CPP $CPPFLAGS'
60820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60823
60824
60825 fi
60826
60827   fi
60828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
60829 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
60830
60831   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
60832     for ac_func in sincosf
60833 do :
60834   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
60835 if test "x$ac_cv_func_sincosf" = x""yes; then :
60836   cat >>confdefs.h <<_ACEOF
60837 #define HAVE_SINCOSF 1
60838 _ACEOF
60839
60840 fi
60841 done
60842
60843   else
60844
60845   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
60846 $as_echo_n "checking for _sincosf declaration... " >&6; }
60847   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
60848     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
60849   $as_echo_n "(cached) " >&6
60850 else
60851
60852
60853       ac_ext=cpp
60854 ac_cpp='$CXXCPP $CPPFLAGS'
60855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60858
60859       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60860 /* end confdefs.h.  */
60861 #include <math.h>
60862 int
60863 main ()
60864 {
60865  _sincosf(0, 0, 0);
60866   ;
60867   return 0;
60868 }
60869 _ACEOF
60870 if ac_fn_cxx_try_compile "$LINENO"; then :
60871   glibcxx_cv_func__sincosf_use=yes
60872 else
60873   glibcxx_cv_func__sincosf_use=no
60874 fi
60875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60876       ac_ext=c
60877 ac_cpp='$CPP $CPPFLAGS'
60878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60881
60882
60883 fi
60884
60885   fi
60886   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
60887 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
60888
60889     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
60890       for ac_func in _sincosf
60891 do :
60892   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
60893 if test "x$ac_cv_func__sincosf" = x""yes; then :
60894   cat >>confdefs.h <<_ACEOF
60895 #define HAVE__SINCOSF 1
60896 _ACEOF
60897
60898 fi
60899 done
60900
60901     fi
60902   fi
60903
60904
60905
60906
60907
60908   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
60909 $as_echo_n "checking for finitef declaration... " >&6; }
60910   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
60911     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
60912   $as_echo_n "(cached) " >&6
60913 else
60914
60915
60916       ac_ext=cpp
60917 ac_cpp='$CXXCPP $CPPFLAGS'
60918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60921
60922       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60923 /* end confdefs.h.  */
60924 #include <math.h>
60925                       #ifdef HAVE_IEEEFP_H
60926                       #include <ieeefp.h>
60927                       #endif
60928
60929 int
60930 main ()
60931 {
60932  finitef(0);
60933   ;
60934   return 0;
60935 }
60936 _ACEOF
60937 if ac_fn_cxx_try_compile "$LINENO"; then :
60938   glibcxx_cv_func_finitef_use=yes
60939 else
60940   glibcxx_cv_func_finitef_use=no
60941 fi
60942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60943       ac_ext=c
60944 ac_cpp='$CPP $CPPFLAGS'
60945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60948
60949
60950 fi
60951
60952   fi
60953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
60954 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
60955
60956   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
60957     for ac_func in finitef
60958 do :
60959   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
60960 if test "x$ac_cv_func_finitef" = x""yes; then :
60961   cat >>confdefs.h <<_ACEOF
60962 #define HAVE_FINITEF 1
60963 _ACEOF
60964
60965 fi
60966 done
60967
60968   else
60969
60970   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
60971 $as_echo_n "checking for _finitef declaration... " >&6; }
60972   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
60973     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
60974   $as_echo_n "(cached) " >&6
60975 else
60976
60977
60978       ac_ext=cpp
60979 ac_cpp='$CXXCPP $CPPFLAGS'
60980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60983
60984       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60985 /* end confdefs.h.  */
60986 #include <math.h>
60987                       #ifdef HAVE_IEEEFP_H
60988                       #include <ieeefp.h>
60989                       #endif
60990
60991 int
60992 main ()
60993 {
60994  _finitef(0);
60995   ;
60996   return 0;
60997 }
60998 _ACEOF
60999 if ac_fn_cxx_try_compile "$LINENO"; then :
61000   glibcxx_cv_func__finitef_use=yes
61001 else
61002   glibcxx_cv_func__finitef_use=no
61003 fi
61004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61005       ac_ext=c
61006 ac_cpp='$CPP $CPPFLAGS'
61007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61010
61011
61012 fi
61013
61014   fi
61015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
61016 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
61017
61018     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
61019       for ac_func in _finitef
61020 do :
61021   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
61022 if test "x$ac_cv_func__finitef" = x""yes; then :
61023   cat >>confdefs.h <<_ACEOF
61024 #define HAVE__FINITEF 1
61025 _ACEOF
61026
61027 fi
61028 done
61029
61030     fi
61031   fi
61032
61033
61034
61035
61036
61037     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
61038 $as_echo_n "checking for long double trig functions... " >&6; }
61039   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
61040   $as_echo_n "(cached) " >&6
61041 else
61042
61043
61044     ac_ext=cpp
61045 ac_cpp='$CXXCPP $CPPFLAGS'
61046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61049
61050     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61051 /* end confdefs.h.  */
61052 #include <math.h>
61053 int
61054 main ()
61055 {
61056 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
61057   ;
61058   return 0;
61059 }
61060 _ACEOF
61061 if ac_fn_cxx_try_compile "$LINENO"; then :
61062   glibcxx_cv_func_long_double_trig_use=yes
61063 else
61064   glibcxx_cv_func_long_double_trig_use=no
61065 fi
61066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61067     ac_ext=c
61068 ac_cpp='$CPP $CPPFLAGS'
61069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61072
61073 fi
61074
61075   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
61076 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
61077   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
61078     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
61079 do :
61080   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61081 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61082 eval as_val=\$$as_ac_var
61083    if test "x$as_val" = x""yes; then :
61084   cat >>confdefs.h <<_ACEOF
61085 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61086 _ACEOF
61087
61088 fi
61089 done
61090
61091   else
61092     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
61093 $as_echo_n "checking for _long double trig functions... " >&6; }
61094     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
61095   $as_echo_n "(cached) " >&6
61096 else
61097
61098
61099       ac_ext=cpp
61100 ac_cpp='$CXXCPP $CPPFLAGS'
61101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61104
61105       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61106 /* end confdefs.h.  */
61107 #include <math.h>
61108 int
61109 main ()
61110 {
61111 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
61112   ;
61113   return 0;
61114 }
61115 _ACEOF
61116 if ac_fn_cxx_try_compile "$LINENO"; then :
61117   glibcxx_cv_func__long_double_trig_use=yes
61118 else
61119   glibcxx_cv_func__long_double_trig_use=no
61120 fi
61121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61122       ac_ext=c
61123 ac_cpp='$CPP $CPPFLAGS'
61124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61127
61128 fi
61129
61130     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
61131 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
61132     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
61133       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
61134 do :
61135   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61136 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61137 eval as_val=\$$as_ac_var
61138    if test "x$as_val" = x""yes; then :
61139   cat >>confdefs.h <<_ACEOF
61140 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61141 _ACEOF
61142
61143 fi
61144 done
61145
61146     fi
61147   fi
61148
61149
61150
61151
61152
61153     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
61154 $as_echo_n "checking for long double round functions... " >&6; }
61155   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
61156   $as_echo_n "(cached) " >&6
61157 else
61158
61159
61160     ac_ext=cpp
61161 ac_cpp='$CXXCPP $CPPFLAGS'
61162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61165
61166     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61167 /* end confdefs.h.  */
61168 #include <math.h>
61169 int
61170 main ()
61171 {
61172 ceill (0); floorl (0);
61173   ;
61174   return 0;
61175 }
61176 _ACEOF
61177 if ac_fn_cxx_try_compile "$LINENO"; then :
61178   glibcxx_cv_func_long_double_round_use=yes
61179 else
61180   glibcxx_cv_func_long_double_round_use=no
61181 fi
61182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61183     ac_ext=c
61184 ac_cpp='$CPP $CPPFLAGS'
61185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61188
61189 fi
61190
61191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
61192 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
61193   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
61194     for ac_func in ceill floorl
61195 do :
61196   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61197 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61198 eval as_val=\$$as_ac_var
61199    if test "x$as_val" = x""yes; then :
61200   cat >>confdefs.h <<_ACEOF
61201 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61202 _ACEOF
61203
61204 fi
61205 done
61206
61207   else
61208     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
61209 $as_echo_n "checking for _long double round functions... " >&6; }
61210     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
61211   $as_echo_n "(cached) " >&6
61212 else
61213
61214
61215       ac_ext=cpp
61216 ac_cpp='$CXXCPP $CPPFLAGS'
61217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61220
61221       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61222 /* end confdefs.h.  */
61223 #include <math.h>
61224 int
61225 main ()
61226 {
61227 _ceill (0); _floorl (0);
61228   ;
61229   return 0;
61230 }
61231 _ACEOF
61232 if ac_fn_cxx_try_compile "$LINENO"; then :
61233   glibcxx_cv_func__long_double_round_use=yes
61234 else
61235   glibcxx_cv_func__long_double_round_use=no
61236 fi
61237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61238       ac_ext=c
61239 ac_cpp='$CPP $CPPFLAGS'
61240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61243
61244 fi
61245
61246     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
61247 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
61248     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
61249       for ac_func in _ceill _floorl
61250 do :
61251   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61252 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61253 eval as_val=\$$as_ac_var
61254    if test "x$as_val" = x""yes; then :
61255   cat >>confdefs.h <<_ACEOF
61256 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61257 _ACEOF
61258
61259 fi
61260 done
61261
61262     fi
61263   fi
61264
61265
61266
61267
61268
61269
61270   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
61271 $as_echo_n "checking for isnanl declaration... " >&6; }
61272   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
61273     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
61274   $as_echo_n "(cached) " >&6
61275 else
61276
61277
61278       ac_ext=cpp
61279 ac_cpp='$CXXCPP $CPPFLAGS'
61280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61283
61284       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61285 /* end confdefs.h.  */
61286 #include <math.h>
61287                       #ifdef HAVE_IEEEFP_H
61288                       #include <ieeefp.h>
61289                       #endif
61290
61291 int
61292 main ()
61293 {
61294  isnanl(0);
61295   ;
61296   return 0;
61297 }
61298 _ACEOF
61299 if ac_fn_cxx_try_compile "$LINENO"; then :
61300   glibcxx_cv_func_isnanl_use=yes
61301 else
61302   glibcxx_cv_func_isnanl_use=no
61303 fi
61304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61305       ac_ext=c
61306 ac_cpp='$CPP $CPPFLAGS'
61307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61310
61311
61312 fi
61313
61314   fi
61315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
61316 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
61317
61318   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
61319     for ac_func in isnanl
61320 do :
61321   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
61322 if test "x$ac_cv_func_isnanl" = x""yes; then :
61323   cat >>confdefs.h <<_ACEOF
61324 #define HAVE_ISNANL 1
61325 _ACEOF
61326
61327 fi
61328 done
61329
61330   else
61331
61332   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
61333 $as_echo_n "checking for _isnanl declaration... " >&6; }
61334   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
61335     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
61336   $as_echo_n "(cached) " >&6
61337 else
61338
61339
61340       ac_ext=cpp
61341 ac_cpp='$CXXCPP $CPPFLAGS'
61342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61345
61346       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61347 /* end confdefs.h.  */
61348 #include <math.h>
61349                       #ifdef HAVE_IEEEFP_H
61350                       #include <ieeefp.h>
61351                       #endif
61352
61353 int
61354 main ()
61355 {
61356  _isnanl(0);
61357   ;
61358   return 0;
61359 }
61360 _ACEOF
61361 if ac_fn_cxx_try_compile "$LINENO"; then :
61362   glibcxx_cv_func__isnanl_use=yes
61363 else
61364   glibcxx_cv_func__isnanl_use=no
61365 fi
61366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61367       ac_ext=c
61368 ac_cpp='$CPP $CPPFLAGS'
61369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61372
61373
61374 fi
61375
61376   fi
61377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
61378 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
61379
61380     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
61381       for ac_func in _isnanl
61382 do :
61383   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
61384 if test "x$ac_cv_func__isnanl" = x""yes; then :
61385   cat >>confdefs.h <<_ACEOF
61386 #define HAVE__ISNANL 1
61387 _ACEOF
61388
61389 fi
61390 done
61391
61392     fi
61393   fi
61394
61395
61396
61397
61398
61399   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
61400 $as_echo_n "checking for isinfl declaration... " >&6; }
61401   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
61402     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
61403   $as_echo_n "(cached) " >&6
61404 else
61405
61406
61407       ac_ext=cpp
61408 ac_cpp='$CXXCPP $CPPFLAGS'
61409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61412
61413       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61414 /* end confdefs.h.  */
61415 #include <math.h>
61416                       #ifdef HAVE_IEEEFP_H
61417                       #include <ieeefp.h>
61418                       #endif
61419
61420 int
61421 main ()
61422 {
61423  isinfl(0);
61424   ;
61425   return 0;
61426 }
61427 _ACEOF
61428 if ac_fn_cxx_try_compile "$LINENO"; then :
61429   glibcxx_cv_func_isinfl_use=yes
61430 else
61431   glibcxx_cv_func_isinfl_use=no
61432 fi
61433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61434       ac_ext=c
61435 ac_cpp='$CPP $CPPFLAGS'
61436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61439
61440
61441 fi
61442
61443   fi
61444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
61445 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
61446
61447   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
61448     for ac_func in isinfl
61449 do :
61450   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
61451 if test "x$ac_cv_func_isinfl" = x""yes; then :
61452   cat >>confdefs.h <<_ACEOF
61453 #define HAVE_ISINFL 1
61454 _ACEOF
61455
61456 fi
61457 done
61458
61459   else
61460
61461   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
61462 $as_echo_n "checking for _isinfl declaration... " >&6; }
61463   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
61464     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
61465   $as_echo_n "(cached) " >&6
61466 else
61467
61468
61469       ac_ext=cpp
61470 ac_cpp='$CXXCPP $CPPFLAGS'
61471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61474
61475       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61476 /* end confdefs.h.  */
61477 #include <math.h>
61478                       #ifdef HAVE_IEEEFP_H
61479                       #include <ieeefp.h>
61480                       #endif
61481
61482 int
61483 main ()
61484 {
61485  _isinfl(0);
61486   ;
61487   return 0;
61488 }
61489 _ACEOF
61490 if ac_fn_cxx_try_compile "$LINENO"; then :
61491   glibcxx_cv_func__isinfl_use=yes
61492 else
61493   glibcxx_cv_func__isinfl_use=no
61494 fi
61495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61496       ac_ext=c
61497 ac_cpp='$CPP $CPPFLAGS'
61498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61501
61502
61503 fi
61504
61505   fi
61506   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
61507 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
61508
61509     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
61510       for ac_func in _isinfl
61511 do :
61512   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
61513 if test "x$ac_cv_func__isinfl" = x""yes; then :
61514   cat >>confdefs.h <<_ACEOF
61515 #define HAVE__ISINFL 1
61516 _ACEOF
61517
61518 fi
61519 done
61520
61521     fi
61522   fi
61523
61524
61525
61526
61527
61528   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
61529 $as_echo_n "checking for atan2l declaration... " >&6; }
61530   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
61531     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
61532   $as_echo_n "(cached) " >&6
61533 else
61534
61535
61536       ac_ext=cpp
61537 ac_cpp='$CXXCPP $CPPFLAGS'
61538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61541
61542       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61543 /* end confdefs.h.  */
61544 #include <math.h>
61545 int
61546 main ()
61547 {
61548  atan2l(0, 0);
61549   ;
61550   return 0;
61551 }
61552 _ACEOF
61553 if ac_fn_cxx_try_compile "$LINENO"; then :
61554   glibcxx_cv_func_atan2l_use=yes
61555 else
61556   glibcxx_cv_func_atan2l_use=no
61557 fi
61558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61559       ac_ext=c
61560 ac_cpp='$CPP $CPPFLAGS'
61561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61564
61565
61566 fi
61567
61568   fi
61569   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
61570 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
61571
61572   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
61573     for ac_func in atan2l
61574 do :
61575   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
61576 if test "x$ac_cv_func_atan2l" = x""yes; then :
61577   cat >>confdefs.h <<_ACEOF
61578 #define HAVE_ATAN2L 1
61579 _ACEOF
61580
61581 fi
61582 done
61583
61584   else
61585
61586   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
61587 $as_echo_n "checking for _atan2l declaration... " >&6; }
61588   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
61589     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
61590   $as_echo_n "(cached) " >&6
61591 else
61592
61593
61594       ac_ext=cpp
61595 ac_cpp='$CXXCPP $CPPFLAGS'
61596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61599
61600       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61601 /* end confdefs.h.  */
61602 #include <math.h>
61603 int
61604 main ()
61605 {
61606  _atan2l(0, 0);
61607   ;
61608   return 0;
61609 }
61610 _ACEOF
61611 if ac_fn_cxx_try_compile "$LINENO"; then :
61612   glibcxx_cv_func__atan2l_use=yes
61613 else
61614   glibcxx_cv_func__atan2l_use=no
61615 fi
61616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61617       ac_ext=c
61618 ac_cpp='$CPP $CPPFLAGS'
61619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61622
61623
61624 fi
61625
61626   fi
61627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
61628 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
61629
61630     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
61631       for ac_func in _atan2l
61632 do :
61633   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
61634 if test "x$ac_cv_func__atan2l" = x""yes; then :
61635   cat >>confdefs.h <<_ACEOF
61636 #define HAVE__ATAN2L 1
61637 _ACEOF
61638
61639 fi
61640 done
61641
61642     fi
61643   fi
61644
61645
61646
61647
61648
61649   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
61650 $as_echo_n "checking for expl declaration... " >&6; }
61651   if test x${glibcxx_cv_func_expl_use+set} != xset; then
61652     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
61653   $as_echo_n "(cached) " >&6
61654 else
61655
61656
61657       ac_ext=cpp
61658 ac_cpp='$CXXCPP $CPPFLAGS'
61659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61662
61663       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61664 /* end confdefs.h.  */
61665 #include <math.h>
61666                       #ifdef HAVE_IEEEFP_H
61667                       #include <ieeefp.h>
61668                       #endif
61669
61670 int
61671 main ()
61672 {
61673  expl(0);
61674   ;
61675   return 0;
61676 }
61677 _ACEOF
61678 if ac_fn_cxx_try_compile "$LINENO"; then :
61679   glibcxx_cv_func_expl_use=yes
61680 else
61681   glibcxx_cv_func_expl_use=no
61682 fi
61683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61684       ac_ext=c
61685 ac_cpp='$CPP $CPPFLAGS'
61686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61689
61690
61691 fi
61692
61693   fi
61694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
61695 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
61696
61697   if test x$glibcxx_cv_func_expl_use = x"yes"; then
61698     for ac_func in expl
61699 do :
61700   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
61701 if test "x$ac_cv_func_expl" = x""yes; then :
61702   cat >>confdefs.h <<_ACEOF
61703 #define HAVE_EXPL 1
61704 _ACEOF
61705
61706 fi
61707 done
61708
61709   else
61710
61711   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
61712 $as_echo_n "checking for _expl declaration... " >&6; }
61713   if test x${glibcxx_cv_func__expl_use+set} != xset; then
61714     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
61715   $as_echo_n "(cached) " >&6
61716 else
61717
61718
61719       ac_ext=cpp
61720 ac_cpp='$CXXCPP $CPPFLAGS'
61721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61724
61725       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61726 /* end confdefs.h.  */
61727 #include <math.h>
61728                       #ifdef HAVE_IEEEFP_H
61729                       #include <ieeefp.h>
61730                       #endif
61731
61732 int
61733 main ()
61734 {
61735  _expl(0);
61736   ;
61737   return 0;
61738 }
61739 _ACEOF
61740 if ac_fn_cxx_try_compile "$LINENO"; then :
61741   glibcxx_cv_func__expl_use=yes
61742 else
61743   glibcxx_cv_func__expl_use=no
61744 fi
61745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61746       ac_ext=c
61747 ac_cpp='$CPP $CPPFLAGS'
61748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61751
61752
61753 fi
61754
61755   fi
61756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
61757 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
61758
61759     if test x$glibcxx_cv_func__expl_use = x"yes"; then
61760       for ac_func in _expl
61761 do :
61762   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
61763 if test "x$ac_cv_func__expl" = x""yes; then :
61764   cat >>confdefs.h <<_ACEOF
61765 #define HAVE__EXPL 1
61766 _ACEOF
61767
61768 fi
61769 done
61770
61771     fi
61772   fi
61773
61774
61775
61776
61777
61778   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
61779 $as_echo_n "checking for fabsl declaration... " >&6; }
61780   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
61781     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
61782   $as_echo_n "(cached) " >&6
61783 else
61784
61785
61786       ac_ext=cpp
61787 ac_cpp='$CXXCPP $CPPFLAGS'
61788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61791
61792       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61793 /* end confdefs.h.  */
61794 #include <math.h>
61795                       #ifdef HAVE_IEEEFP_H
61796                       #include <ieeefp.h>
61797                       #endif
61798
61799 int
61800 main ()
61801 {
61802  fabsl(0);
61803   ;
61804   return 0;
61805 }
61806 _ACEOF
61807 if ac_fn_cxx_try_compile "$LINENO"; then :
61808   glibcxx_cv_func_fabsl_use=yes
61809 else
61810   glibcxx_cv_func_fabsl_use=no
61811 fi
61812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61813       ac_ext=c
61814 ac_cpp='$CPP $CPPFLAGS'
61815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61818
61819
61820 fi
61821
61822   fi
61823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
61824 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
61825
61826   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
61827     for ac_func in fabsl
61828 do :
61829   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
61830 if test "x$ac_cv_func_fabsl" = x""yes; then :
61831   cat >>confdefs.h <<_ACEOF
61832 #define HAVE_FABSL 1
61833 _ACEOF
61834
61835 fi
61836 done
61837
61838   else
61839
61840   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
61841 $as_echo_n "checking for _fabsl declaration... " >&6; }
61842   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
61843     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
61844   $as_echo_n "(cached) " >&6
61845 else
61846
61847
61848       ac_ext=cpp
61849 ac_cpp='$CXXCPP $CPPFLAGS'
61850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61853
61854       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61855 /* end confdefs.h.  */
61856 #include <math.h>
61857                       #ifdef HAVE_IEEEFP_H
61858                       #include <ieeefp.h>
61859                       #endif
61860
61861 int
61862 main ()
61863 {
61864  _fabsl(0);
61865   ;
61866   return 0;
61867 }
61868 _ACEOF
61869 if ac_fn_cxx_try_compile "$LINENO"; then :
61870   glibcxx_cv_func__fabsl_use=yes
61871 else
61872   glibcxx_cv_func__fabsl_use=no
61873 fi
61874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61875       ac_ext=c
61876 ac_cpp='$CPP $CPPFLAGS'
61877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61880
61881
61882 fi
61883
61884   fi
61885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
61886 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
61887
61888     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
61889       for ac_func in _fabsl
61890 do :
61891   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
61892 if test "x$ac_cv_func__fabsl" = x""yes; then :
61893   cat >>confdefs.h <<_ACEOF
61894 #define HAVE__FABSL 1
61895 _ACEOF
61896
61897 fi
61898 done
61899
61900     fi
61901   fi
61902
61903
61904
61905
61906
61907   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
61908 $as_echo_n "checking for fmodl declaration... " >&6; }
61909   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
61910     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
61911   $as_echo_n "(cached) " >&6
61912 else
61913
61914
61915       ac_ext=cpp
61916 ac_cpp='$CXXCPP $CPPFLAGS'
61917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61920
61921       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61922 /* end confdefs.h.  */
61923 #include <math.h>
61924 int
61925 main ()
61926 {
61927  fmodl(0, 0);
61928   ;
61929   return 0;
61930 }
61931 _ACEOF
61932 if ac_fn_cxx_try_compile "$LINENO"; then :
61933   glibcxx_cv_func_fmodl_use=yes
61934 else
61935   glibcxx_cv_func_fmodl_use=no
61936 fi
61937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61938       ac_ext=c
61939 ac_cpp='$CPP $CPPFLAGS'
61940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61943
61944
61945 fi
61946
61947   fi
61948   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
61949 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
61950
61951   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
61952     for ac_func in fmodl
61953 do :
61954   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
61955 if test "x$ac_cv_func_fmodl" = x""yes; then :
61956   cat >>confdefs.h <<_ACEOF
61957 #define HAVE_FMODL 1
61958 _ACEOF
61959
61960 fi
61961 done
61962
61963   else
61964
61965   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
61966 $as_echo_n "checking for _fmodl declaration... " >&6; }
61967   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
61968     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
61969   $as_echo_n "(cached) " >&6
61970 else
61971
61972
61973       ac_ext=cpp
61974 ac_cpp='$CXXCPP $CPPFLAGS'
61975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61978
61979       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61980 /* end confdefs.h.  */
61981 #include <math.h>
61982 int
61983 main ()
61984 {
61985  _fmodl(0, 0);
61986   ;
61987   return 0;
61988 }
61989 _ACEOF
61990 if ac_fn_cxx_try_compile "$LINENO"; then :
61991   glibcxx_cv_func__fmodl_use=yes
61992 else
61993   glibcxx_cv_func__fmodl_use=no
61994 fi
61995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61996       ac_ext=c
61997 ac_cpp='$CPP $CPPFLAGS'
61998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62001
62002
62003 fi
62004
62005   fi
62006   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
62007 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
62008
62009     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
62010       for ac_func in _fmodl
62011 do :
62012   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
62013 if test "x$ac_cv_func__fmodl" = x""yes; then :
62014   cat >>confdefs.h <<_ACEOF
62015 #define HAVE__FMODL 1
62016 _ACEOF
62017
62018 fi
62019 done
62020
62021     fi
62022   fi
62023
62024
62025
62026
62027
62028   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
62029 $as_echo_n "checking for frexpl declaration... " >&6; }
62030   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
62031     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
62032   $as_echo_n "(cached) " >&6
62033 else
62034
62035
62036       ac_ext=cpp
62037 ac_cpp='$CXXCPP $CPPFLAGS'
62038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62041
62042       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62043 /* end confdefs.h.  */
62044 #include <math.h>
62045 int
62046 main ()
62047 {
62048  frexpl(0, 0);
62049   ;
62050   return 0;
62051 }
62052 _ACEOF
62053 if ac_fn_cxx_try_compile "$LINENO"; then :
62054   glibcxx_cv_func_frexpl_use=yes
62055 else
62056   glibcxx_cv_func_frexpl_use=no
62057 fi
62058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62059       ac_ext=c
62060 ac_cpp='$CPP $CPPFLAGS'
62061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62064
62065
62066 fi
62067
62068   fi
62069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
62070 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
62071
62072   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
62073     for ac_func in frexpl
62074 do :
62075   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
62076 if test "x$ac_cv_func_frexpl" = x""yes; then :
62077   cat >>confdefs.h <<_ACEOF
62078 #define HAVE_FREXPL 1
62079 _ACEOF
62080
62081 fi
62082 done
62083
62084   else
62085
62086   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
62087 $as_echo_n "checking for _frexpl declaration... " >&6; }
62088   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
62089     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
62090   $as_echo_n "(cached) " >&6
62091 else
62092
62093
62094       ac_ext=cpp
62095 ac_cpp='$CXXCPP $CPPFLAGS'
62096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62099
62100       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62101 /* end confdefs.h.  */
62102 #include <math.h>
62103 int
62104 main ()
62105 {
62106  _frexpl(0, 0);
62107   ;
62108   return 0;
62109 }
62110 _ACEOF
62111 if ac_fn_cxx_try_compile "$LINENO"; then :
62112   glibcxx_cv_func__frexpl_use=yes
62113 else
62114   glibcxx_cv_func__frexpl_use=no
62115 fi
62116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62117       ac_ext=c
62118 ac_cpp='$CPP $CPPFLAGS'
62119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62122
62123
62124 fi
62125
62126   fi
62127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
62128 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
62129
62130     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
62131       for ac_func in _frexpl
62132 do :
62133   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
62134 if test "x$ac_cv_func__frexpl" = x""yes; then :
62135   cat >>confdefs.h <<_ACEOF
62136 #define HAVE__FREXPL 1
62137 _ACEOF
62138
62139 fi
62140 done
62141
62142     fi
62143   fi
62144
62145
62146
62147
62148
62149   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
62150 $as_echo_n "checking for hypotl declaration... " >&6; }
62151   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
62152     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
62153   $as_echo_n "(cached) " >&6
62154 else
62155
62156
62157       ac_ext=cpp
62158 ac_cpp='$CXXCPP $CPPFLAGS'
62159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62162
62163       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62164 /* end confdefs.h.  */
62165 #include <math.h>
62166 int
62167 main ()
62168 {
62169  hypotl(0, 0);
62170   ;
62171   return 0;
62172 }
62173 _ACEOF
62174 if ac_fn_cxx_try_compile "$LINENO"; then :
62175   glibcxx_cv_func_hypotl_use=yes
62176 else
62177   glibcxx_cv_func_hypotl_use=no
62178 fi
62179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62180       ac_ext=c
62181 ac_cpp='$CPP $CPPFLAGS'
62182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62185
62186
62187 fi
62188
62189   fi
62190   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
62191 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
62192
62193   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
62194     for ac_func in hypotl
62195 do :
62196   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
62197 if test "x$ac_cv_func_hypotl" = x""yes; then :
62198   cat >>confdefs.h <<_ACEOF
62199 #define HAVE_HYPOTL 1
62200 _ACEOF
62201
62202 fi
62203 done
62204
62205   else
62206
62207   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
62208 $as_echo_n "checking for _hypotl declaration... " >&6; }
62209   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
62210     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
62211   $as_echo_n "(cached) " >&6
62212 else
62213
62214
62215       ac_ext=cpp
62216 ac_cpp='$CXXCPP $CPPFLAGS'
62217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62220
62221       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62222 /* end confdefs.h.  */
62223 #include <math.h>
62224 int
62225 main ()
62226 {
62227  _hypotl(0, 0);
62228   ;
62229   return 0;
62230 }
62231 _ACEOF
62232 if ac_fn_cxx_try_compile "$LINENO"; then :
62233   glibcxx_cv_func__hypotl_use=yes
62234 else
62235   glibcxx_cv_func__hypotl_use=no
62236 fi
62237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62238       ac_ext=c
62239 ac_cpp='$CPP $CPPFLAGS'
62240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62243
62244
62245 fi
62246
62247   fi
62248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
62249 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
62250
62251     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
62252       for ac_func in _hypotl
62253 do :
62254   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
62255 if test "x$ac_cv_func__hypotl" = x""yes; then :
62256   cat >>confdefs.h <<_ACEOF
62257 #define HAVE__HYPOTL 1
62258 _ACEOF
62259
62260 fi
62261 done
62262
62263     fi
62264   fi
62265
62266
62267
62268
62269
62270   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
62271 $as_echo_n "checking for ldexpl declaration... " >&6; }
62272   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
62273     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
62274   $as_echo_n "(cached) " >&6
62275 else
62276
62277
62278       ac_ext=cpp
62279 ac_cpp='$CXXCPP $CPPFLAGS'
62280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62283
62284       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62285 /* end confdefs.h.  */
62286 #include <math.h>
62287 int
62288 main ()
62289 {
62290  ldexpl(0, 0);
62291   ;
62292   return 0;
62293 }
62294 _ACEOF
62295 if ac_fn_cxx_try_compile "$LINENO"; then :
62296   glibcxx_cv_func_ldexpl_use=yes
62297 else
62298   glibcxx_cv_func_ldexpl_use=no
62299 fi
62300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62301       ac_ext=c
62302 ac_cpp='$CPP $CPPFLAGS'
62303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62306
62307
62308 fi
62309
62310   fi
62311   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
62312 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
62313
62314   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
62315     for ac_func in ldexpl
62316 do :
62317   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
62318 if test "x$ac_cv_func_ldexpl" = x""yes; then :
62319   cat >>confdefs.h <<_ACEOF
62320 #define HAVE_LDEXPL 1
62321 _ACEOF
62322
62323 fi
62324 done
62325
62326   else
62327
62328   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
62329 $as_echo_n "checking for _ldexpl declaration... " >&6; }
62330   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
62331     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
62332   $as_echo_n "(cached) " >&6
62333 else
62334
62335
62336       ac_ext=cpp
62337 ac_cpp='$CXXCPP $CPPFLAGS'
62338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62341
62342       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62343 /* end confdefs.h.  */
62344 #include <math.h>
62345 int
62346 main ()
62347 {
62348  _ldexpl(0, 0);
62349   ;
62350   return 0;
62351 }
62352 _ACEOF
62353 if ac_fn_cxx_try_compile "$LINENO"; then :
62354   glibcxx_cv_func__ldexpl_use=yes
62355 else
62356   glibcxx_cv_func__ldexpl_use=no
62357 fi
62358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62359       ac_ext=c
62360 ac_cpp='$CPP $CPPFLAGS'
62361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62364
62365
62366 fi
62367
62368   fi
62369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
62370 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
62371
62372     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
62373       for ac_func in _ldexpl
62374 do :
62375   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
62376 if test "x$ac_cv_func__ldexpl" = x""yes; then :
62377   cat >>confdefs.h <<_ACEOF
62378 #define HAVE__LDEXPL 1
62379 _ACEOF
62380
62381 fi
62382 done
62383
62384     fi
62385   fi
62386
62387
62388
62389
62390
62391   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
62392 $as_echo_n "checking for logl declaration... " >&6; }
62393   if test x${glibcxx_cv_func_logl_use+set} != xset; then
62394     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
62395   $as_echo_n "(cached) " >&6
62396 else
62397
62398
62399       ac_ext=cpp
62400 ac_cpp='$CXXCPP $CPPFLAGS'
62401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62404
62405       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62406 /* end confdefs.h.  */
62407 #include <math.h>
62408                       #ifdef HAVE_IEEEFP_H
62409                       #include <ieeefp.h>
62410                       #endif
62411
62412 int
62413 main ()
62414 {
62415  logl(0);
62416   ;
62417   return 0;
62418 }
62419 _ACEOF
62420 if ac_fn_cxx_try_compile "$LINENO"; then :
62421   glibcxx_cv_func_logl_use=yes
62422 else
62423   glibcxx_cv_func_logl_use=no
62424 fi
62425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62426       ac_ext=c
62427 ac_cpp='$CPP $CPPFLAGS'
62428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62431
62432
62433 fi
62434
62435   fi
62436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
62437 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
62438
62439   if test x$glibcxx_cv_func_logl_use = x"yes"; then
62440     for ac_func in logl
62441 do :
62442   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
62443 if test "x$ac_cv_func_logl" = x""yes; then :
62444   cat >>confdefs.h <<_ACEOF
62445 #define HAVE_LOGL 1
62446 _ACEOF
62447
62448 fi
62449 done
62450
62451   else
62452
62453   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
62454 $as_echo_n "checking for _logl declaration... " >&6; }
62455   if test x${glibcxx_cv_func__logl_use+set} != xset; then
62456     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
62457   $as_echo_n "(cached) " >&6
62458 else
62459
62460
62461       ac_ext=cpp
62462 ac_cpp='$CXXCPP $CPPFLAGS'
62463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62466
62467       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62468 /* end confdefs.h.  */
62469 #include <math.h>
62470                       #ifdef HAVE_IEEEFP_H
62471                       #include <ieeefp.h>
62472                       #endif
62473
62474 int
62475 main ()
62476 {
62477  _logl(0);
62478   ;
62479   return 0;
62480 }
62481 _ACEOF
62482 if ac_fn_cxx_try_compile "$LINENO"; then :
62483   glibcxx_cv_func__logl_use=yes
62484 else
62485   glibcxx_cv_func__logl_use=no
62486 fi
62487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62488       ac_ext=c
62489 ac_cpp='$CPP $CPPFLAGS'
62490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62493
62494
62495 fi
62496
62497   fi
62498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
62499 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
62500
62501     if test x$glibcxx_cv_func__logl_use = x"yes"; then
62502       for ac_func in _logl
62503 do :
62504   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
62505 if test "x$ac_cv_func__logl" = x""yes; then :
62506   cat >>confdefs.h <<_ACEOF
62507 #define HAVE__LOGL 1
62508 _ACEOF
62509
62510 fi
62511 done
62512
62513     fi
62514   fi
62515
62516
62517
62518
62519
62520   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
62521 $as_echo_n "checking for log10l declaration... " >&6; }
62522   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
62523     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
62524   $as_echo_n "(cached) " >&6
62525 else
62526
62527
62528       ac_ext=cpp
62529 ac_cpp='$CXXCPP $CPPFLAGS'
62530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62533
62534       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62535 /* end confdefs.h.  */
62536 #include <math.h>
62537                       #ifdef HAVE_IEEEFP_H
62538                       #include <ieeefp.h>
62539                       #endif
62540
62541 int
62542 main ()
62543 {
62544  log10l(0);
62545   ;
62546   return 0;
62547 }
62548 _ACEOF
62549 if ac_fn_cxx_try_compile "$LINENO"; then :
62550   glibcxx_cv_func_log10l_use=yes
62551 else
62552   glibcxx_cv_func_log10l_use=no
62553 fi
62554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62555       ac_ext=c
62556 ac_cpp='$CPP $CPPFLAGS'
62557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62560
62561
62562 fi
62563
62564   fi
62565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
62566 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
62567
62568   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
62569     for ac_func in log10l
62570 do :
62571   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
62572 if test "x$ac_cv_func_log10l" = x""yes; then :
62573   cat >>confdefs.h <<_ACEOF
62574 #define HAVE_LOG10L 1
62575 _ACEOF
62576
62577 fi
62578 done
62579
62580   else
62581
62582   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
62583 $as_echo_n "checking for _log10l declaration... " >&6; }
62584   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
62585     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
62586   $as_echo_n "(cached) " >&6
62587 else
62588
62589
62590       ac_ext=cpp
62591 ac_cpp='$CXXCPP $CPPFLAGS'
62592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62595
62596       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62597 /* end confdefs.h.  */
62598 #include <math.h>
62599                       #ifdef HAVE_IEEEFP_H
62600                       #include <ieeefp.h>
62601                       #endif
62602
62603 int
62604 main ()
62605 {
62606  _log10l(0);
62607   ;
62608   return 0;
62609 }
62610 _ACEOF
62611 if ac_fn_cxx_try_compile "$LINENO"; then :
62612   glibcxx_cv_func__log10l_use=yes
62613 else
62614   glibcxx_cv_func__log10l_use=no
62615 fi
62616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62617       ac_ext=c
62618 ac_cpp='$CPP $CPPFLAGS'
62619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62622
62623
62624 fi
62625
62626   fi
62627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
62628 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
62629
62630     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
62631       for ac_func in _log10l
62632 do :
62633   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
62634 if test "x$ac_cv_func__log10l" = x""yes; then :
62635   cat >>confdefs.h <<_ACEOF
62636 #define HAVE__LOG10L 1
62637 _ACEOF
62638
62639 fi
62640 done
62641
62642     fi
62643   fi
62644
62645
62646
62647
62648
62649   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
62650 $as_echo_n "checking for modfl declaration... " >&6; }
62651   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
62652     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
62653   $as_echo_n "(cached) " >&6
62654 else
62655
62656
62657       ac_ext=cpp
62658 ac_cpp='$CXXCPP $CPPFLAGS'
62659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62662
62663       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62664 /* end confdefs.h.  */
62665 #include <math.h>
62666 int
62667 main ()
62668 {
62669  modfl(0, 0);
62670   ;
62671   return 0;
62672 }
62673 _ACEOF
62674 if ac_fn_cxx_try_compile "$LINENO"; then :
62675   glibcxx_cv_func_modfl_use=yes
62676 else
62677   glibcxx_cv_func_modfl_use=no
62678 fi
62679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62680       ac_ext=c
62681 ac_cpp='$CPP $CPPFLAGS'
62682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62685
62686
62687 fi
62688
62689   fi
62690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
62691 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
62692
62693   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
62694     for ac_func in modfl
62695 do :
62696   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
62697 if test "x$ac_cv_func_modfl" = x""yes; then :
62698   cat >>confdefs.h <<_ACEOF
62699 #define HAVE_MODFL 1
62700 _ACEOF
62701
62702 fi
62703 done
62704
62705   else
62706
62707   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
62708 $as_echo_n "checking for _modfl declaration... " >&6; }
62709   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
62710     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
62711   $as_echo_n "(cached) " >&6
62712 else
62713
62714
62715       ac_ext=cpp
62716 ac_cpp='$CXXCPP $CPPFLAGS'
62717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62720
62721       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62722 /* end confdefs.h.  */
62723 #include <math.h>
62724 int
62725 main ()
62726 {
62727  _modfl(0, 0);
62728   ;
62729   return 0;
62730 }
62731 _ACEOF
62732 if ac_fn_cxx_try_compile "$LINENO"; then :
62733   glibcxx_cv_func__modfl_use=yes
62734 else
62735   glibcxx_cv_func__modfl_use=no
62736 fi
62737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62738       ac_ext=c
62739 ac_cpp='$CPP $CPPFLAGS'
62740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62743
62744
62745 fi
62746
62747   fi
62748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
62749 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
62750
62751     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
62752       for ac_func in _modfl
62753 do :
62754   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
62755 if test "x$ac_cv_func__modfl" = x""yes; then :
62756   cat >>confdefs.h <<_ACEOF
62757 #define HAVE__MODFL 1
62758 _ACEOF
62759
62760 fi
62761 done
62762
62763     fi
62764   fi
62765
62766
62767
62768
62769
62770   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
62771 $as_echo_n "checking for powl declaration... " >&6; }
62772   if test x${glibcxx_cv_func_powl_use+set} != xset; then
62773     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
62774   $as_echo_n "(cached) " >&6
62775 else
62776
62777
62778       ac_ext=cpp
62779 ac_cpp='$CXXCPP $CPPFLAGS'
62780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62783
62784       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62785 /* end confdefs.h.  */
62786 #include <math.h>
62787 int
62788 main ()
62789 {
62790  powl(0, 0);
62791   ;
62792   return 0;
62793 }
62794 _ACEOF
62795 if ac_fn_cxx_try_compile "$LINENO"; then :
62796   glibcxx_cv_func_powl_use=yes
62797 else
62798   glibcxx_cv_func_powl_use=no
62799 fi
62800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62801       ac_ext=c
62802 ac_cpp='$CPP $CPPFLAGS'
62803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62806
62807
62808 fi
62809
62810   fi
62811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
62812 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
62813
62814   if test x$glibcxx_cv_func_powl_use = x"yes"; then
62815     for ac_func in powl
62816 do :
62817   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
62818 if test "x$ac_cv_func_powl" = x""yes; then :
62819   cat >>confdefs.h <<_ACEOF
62820 #define HAVE_POWL 1
62821 _ACEOF
62822
62823 fi
62824 done
62825
62826   else
62827
62828   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
62829 $as_echo_n "checking for _powl declaration... " >&6; }
62830   if test x${glibcxx_cv_func__powl_use+set} != xset; then
62831     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
62832   $as_echo_n "(cached) " >&6
62833 else
62834
62835
62836       ac_ext=cpp
62837 ac_cpp='$CXXCPP $CPPFLAGS'
62838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62841
62842       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62843 /* end confdefs.h.  */
62844 #include <math.h>
62845 int
62846 main ()
62847 {
62848  _powl(0, 0);
62849   ;
62850   return 0;
62851 }
62852 _ACEOF
62853 if ac_fn_cxx_try_compile "$LINENO"; then :
62854   glibcxx_cv_func__powl_use=yes
62855 else
62856   glibcxx_cv_func__powl_use=no
62857 fi
62858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62859       ac_ext=c
62860 ac_cpp='$CPP $CPPFLAGS'
62861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62864
62865
62866 fi
62867
62868   fi
62869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
62870 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
62871
62872     if test x$glibcxx_cv_func__powl_use = x"yes"; then
62873       for ac_func in _powl
62874 do :
62875   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
62876 if test "x$ac_cv_func__powl" = x""yes; then :
62877   cat >>confdefs.h <<_ACEOF
62878 #define HAVE__POWL 1
62879 _ACEOF
62880
62881 fi
62882 done
62883
62884     fi
62885   fi
62886
62887
62888
62889
62890
62891   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
62892 $as_echo_n "checking for sqrtl declaration... " >&6; }
62893   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
62894     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
62895   $as_echo_n "(cached) " >&6
62896 else
62897
62898
62899       ac_ext=cpp
62900 ac_cpp='$CXXCPP $CPPFLAGS'
62901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62904
62905       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62906 /* end confdefs.h.  */
62907 #include <math.h>
62908                       #ifdef HAVE_IEEEFP_H
62909                       #include <ieeefp.h>
62910                       #endif
62911
62912 int
62913 main ()
62914 {
62915  sqrtl(0);
62916   ;
62917   return 0;
62918 }
62919 _ACEOF
62920 if ac_fn_cxx_try_compile "$LINENO"; then :
62921   glibcxx_cv_func_sqrtl_use=yes
62922 else
62923   glibcxx_cv_func_sqrtl_use=no
62924 fi
62925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62926       ac_ext=c
62927 ac_cpp='$CPP $CPPFLAGS'
62928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62931
62932
62933 fi
62934
62935   fi
62936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
62937 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
62938
62939   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
62940     for ac_func in sqrtl
62941 do :
62942   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
62943 if test "x$ac_cv_func_sqrtl" = x""yes; then :
62944   cat >>confdefs.h <<_ACEOF
62945 #define HAVE_SQRTL 1
62946 _ACEOF
62947
62948 fi
62949 done
62950
62951   else
62952
62953   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
62954 $as_echo_n "checking for _sqrtl declaration... " >&6; }
62955   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
62956     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
62957   $as_echo_n "(cached) " >&6
62958 else
62959
62960
62961       ac_ext=cpp
62962 ac_cpp='$CXXCPP $CPPFLAGS'
62963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62966
62967       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62968 /* end confdefs.h.  */
62969 #include <math.h>
62970                       #ifdef HAVE_IEEEFP_H
62971                       #include <ieeefp.h>
62972                       #endif
62973
62974 int
62975 main ()
62976 {
62977  _sqrtl(0);
62978   ;
62979   return 0;
62980 }
62981 _ACEOF
62982 if ac_fn_cxx_try_compile "$LINENO"; then :
62983   glibcxx_cv_func__sqrtl_use=yes
62984 else
62985   glibcxx_cv_func__sqrtl_use=no
62986 fi
62987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62988       ac_ext=c
62989 ac_cpp='$CPP $CPPFLAGS'
62990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62993
62994
62995 fi
62996
62997   fi
62998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
62999 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
63000
63001     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
63002       for ac_func in _sqrtl
63003 do :
63004   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
63005 if test "x$ac_cv_func__sqrtl" = x""yes; then :
63006   cat >>confdefs.h <<_ACEOF
63007 #define HAVE__SQRTL 1
63008 _ACEOF
63009
63010 fi
63011 done
63012
63013     fi
63014   fi
63015
63016
63017
63018
63019
63020   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
63021 $as_echo_n "checking for sincosl declaration... " >&6; }
63022   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
63023     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
63024   $as_echo_n "(cached) " >&6
63025 else
63026
63027
63028       ac_ext=cpp
63029 ac_cpp='$CXXCPP $CPPFLAGS'
63030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63033
63034       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63035 /* end confdefs.h.  */
63036 #include <math.h>
63037 int
63038 main ()
63039 {
63040  sincosl(0, 0, 0);
63041   ;
63042   return 0;
63043 }
63044 _ACEOF
63045 if ac_fn_cxx_try_compile "$LINENO"; then :
63046   glibcxx_cv_func_sincosl_use=yes
63047 else
63048   glibcxx_cv_func_sincosl_use=no
63049 fi
63050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63051       ac_ext=c
63052 ac_cpp='$CPP $CPPFLAGS'
63053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63056
63057
63058 fi
63059
63060   fi
63061   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
63062 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
63063
63064   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
63065     for ac_func in sincosl
63066 do :
63067   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
63068 if test "x$ac_cv_func_sincosl" = x""yes; then :
63069   cat >>confdefs.h <<_ACEOF
63070 #define HAVE_SINCOSL 1
63071 _ACEOF
63072
63073 fi
63074 done
63075
63076   else
63077
63078   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
63079 $as_echo_n "checking for _sincosl declaration... " >&6; }
63080   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
63081     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
63082   $as_echo_n "(cached) " >&6
63083 else
63084
63085
63086       ac_ext=cpp
63087 ac_cpp='$CXXCPP $CPPFLAGS'
63088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63091
63092       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63093 /* end confdefs.h.  */
63094 #include <math.h>
63095 int
63096 main ()
63097 {
63098  _sincosl(0, 0, 0);
63099   ;
63100   return 0;
63101 }
63102 _ACEOF
63103 if ac_fn_cxx_try_compile "$LINENO"; then :
63104   glibcxx_cv_func__sincosl_use=yes
63105 else
63106   glibcxx_cv_func__sincosl_use=no
63107 fi
63108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63109       ac_ext=c
63110 ac_cpp='$CPP $CPPFLAGS'
63111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63114
63115
63116 fi
63117
63118   fi
63119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
63120 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
63121
63122     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
63123       for ac_func in _sincosl
63124 do :
63125   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
63126 if test "x$ac_cv_func__sincosl" = x""yes; then :
63127   cat >>confdefs.h <<_ACEOF
63128 #define HAVE__SINCOSL 1
63129 _ACEOF
63130
63131 fi
63132 done
63133
63134     fi
63135   fi
63136
63137
63138
63139
63140
63141   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
63142 $as_echo_n "checking for finitel declaration... " >&6; }
63143   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
63144     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
63145   $as_echo_n "(cached) " >&6
63146 else
63147
63148
63149       ac_ext=cpp
63150 ac_cpp='$CXXCPP $CPPFLAGS'
63151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63154
63155       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63156 /* end confdefs.h.  */
63157 #include <math.h>
63158                       #ifdef HAVE_IEEEFP_H
63159                       #include <ieeefp.h>
63160                       #endif
63161
63162 int
63163 main ()
63164 {
63165  finitel(0);
63166   ;
63167   return 0;
63168 }
63169 _ACEOF
63170 if ac_fn_cxx_try_compile "$LINENO"; then :
63171   glibcxx_cv_func_finitel_use=yes
63172 else
63173   glibcxx_cv_func_finitel_use=no
63174 fi
63175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63176       ac_ext=c
63177 ac_cpp='$CPP $CPPFLAGS'
63178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63181
63182
63183 fi
63184
63185   fi
63186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
63187 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
63188
63189   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
63190     for ac_func in finitel
63191 do :
63192   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
63193 if test "x$ac_cv_func_finitel" = x""yes; then :
63194   cat >>confdefs.h <<_ACEOF
63195 #define HAVE_FINITEL 1
63196 _ACEOF
63197
63198 fi
63199 done
63200
63201   else
63202
63203   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
63204 $as_echo_n "checking for _finitel declaration... " >&6; }
63205   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
63206     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
63207   $as_echo_n "(cached) " >&6
63208 else
63209
63210
63211       ac_ext=cpp
63212 ac_cpp='$CXXCPP $CPPFLAGS'
63213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63216
63217       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63218 /* end confdefs.h.  */
63219 #include <math.h>
63220                       #ifdef HAVE_IEEEFP_H
63221                       #include <ieeefp.h>
63222                       #endif
63223
63224 int
63225 main ()
63226 {
63227  _finitel(0);
63228   ;
63229   return 0;
63230 }
63231 _ACEOF
63232 if ac_fn_cxx_try_compile "$LINENO"; then :
63233   glibcxx_cv_func__finitel_use=yes
63234 else
63235   glibcxx_cv_func__finitel_use=no
63236 fi
63237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63238       ac_ext=c
63239 ac_cpp='$CPP $CPPFLAGS'
63240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63243
63244
63245 fi
63246
63247   fi
63248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
63249 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
63250
63251     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
63252       for ac_func in _finitel
63253 do :
63254   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
63255 if test "x$ac_cv_func__finitel" = x""yes; then :
63256   cat >>confdefs.h <<_ACEOF
63257 #define HAVE__FINITEL 1
63258 _ACEOF
63259
63260 fi
63261 done
63262
63263     fi
63264   fi
63265
63266
63267
63268
63269   LIBS="$ac_save_LIBS"
63270   CXXFLAGS="$ac_save_CXXFLAGS"
63271
63272
63273   ac_test_CXXFLAGS="${CXXFLAGS+set}"
63274   ac_save_CXXFLAGS="$CXXFLAGS"
63275   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63276
63277
63278   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
63279 $as_echo_n "checking for strtold declaration... " >&6; }
63280   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
63281     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
63282   $as_echo_n "(cached) " >&6
63283 else
63284
63285
63286       ac_ext=cpp
63287 ac_cpp='$CXXCPP $CPPFLAGS'
63288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63291
63292       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63293 /* end confdefs.h.  */
63294 #include <stdlib.h>
63295 int
63296 main ()
63297 {
63298  strtold(0, 0);
63299   ;
63300   return 0;
63301 }
63302 _ACEOF
63303 if ac_fn_cxx_try_compile "$LINENO"; then :
63304   glibcxx_cv_func_strtold_use=yes
63305 else
63306   glibcxx_cv_func_strtold_use=no
63307 fi
63308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63309       ac_ext=c
63310 ac_cpp='$CPP $CPPFLAGS'
63311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63314
63315
63316 fi
63317
63318   fi
63319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
63320 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
63321   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
63322     for ac_func in strtold
63323 do :
63324   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
63325 if test "x$ac_cv_func_strtold" = x""yes; then :
63326   cat >>confdefs.h <<_ACEOF
63327 #define HAVE_STRTOLD 1
63328 _ACEOF
63329
63330 fi
63331 done
63332
63333   fi
63334
63335
63336
63337
63338   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
63339 $as_echo_n "checking for strtof declaration... " >&6; }
63340   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
63341     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
63342   $as_echo_n "(cached) " >&6
63343 else
63344
63345
63346       ac_ext=cpp
63347 ac_cpp='$CXXCPP $CPPFLAGS'
63348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63351
63352       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63353 /* end confdefs.h.  */
63354 #include <stdlib.h>
63355 int
63356 main ()
63357 {
63358  strtof(0, 0);
63359   ;
63360   return 0;
63361 }
63362 _ACEOF
63363 if ac_fn_cxx_try_compile "$LINENO"; then :
63364   glibcxx_cv_func_strtof_use=yes
63365 else
63366   glibcxx_cv_func_strtof_use=no
63367 fi
63368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63369       ac_ext=c
63370 ac_cpp='$CPP $CPPFLAGS'
63371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63374
63375
63376 fi
63377
63378   fi
63379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
63380 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
63381   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
63382     for ac_func in strtof
63383 do :
63384   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
63385 if test "x$ac_cv_func_strtof" = x""yes; then :
63386   cat >>confdefs.h <<_ACEOF
63387 #define HAVE_STRTOF 1
63388 _ACEOF
63389
63390 fi
63391 done
63392
63393   fi
63394
63395
63396
63397
63398   CXXFLAGS="$ac_save_CXXFLAGS"
63399
63400     ;;
63401   *-solaris*)
63402     case "$target" in
63403       *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
63404
63405   # If we're not using GNU ld, then there's no point in even trying these
63406   # tests.  Check for that first.  We should have already tested for gld
63407   # by now (in libtool), but require it now just to be safe...
63408   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63409   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63410
63411
63412
63413   # The name set by libtool depends on the version of libtool.  Shame on us
63414   # for depending on an impl detail, but c'est la vie.  Older versions used
63415   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63416   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63417   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
63418   # set (hence we're using an older libtool), then set it.
63419   if test x${with_gnu_ld+set} != xset; then
63420     if test x${ac_cv_prog_gnu_ld+set} != xset; then
63421       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
63422       with_gnu_ld=no
63423     else
63424       with_gnu_ld=$ac_cv_prog_gnu_ld
63425     fi
63426   fi
63427
63428   # Start by getting the version number.  I think the libtool test already
63429   # does some of this, but throws away the result.
63430   glibcxx_ld_is_gold=no
63431   if test x"$with_gnu_ld" = x"yes"; then
63432     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63433 $as_echo_n "checking for ld version... " >&6; }
63434
63435     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63436       glibcxx_ld_is_gold=yes
63437     fi
63438     ldver=`$LD --version 2>/dev/null |
63439            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'`
63440
63441     glibcxx_gnu_ld_version=`echo $ldver | \
63442            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63443     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63444 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63445   fi
63446
63447   # Set --gc-sections.
63448   glibcxx_have_gc_sections=no
63449   if test "$glibcxx_ld_is_gold" = "yes"; then
63450     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63451       glibcxx_have_gc_sections=yes
63452     fi
63453   else
63454     glibcxx_gcsections_min_ld=21602
63455     if test x"$with_gnu_ld" = x"yes" &&
63456         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63457       glibcxx_have_gc_sections=yes
63458     fi
63459   fi
63460   if test "$glibcxx_have_gc_sections" = "yes"; then
63461     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
63462     # NB: This flag only works reliably after 2.16.1. Configure tests
63463     # for this are difficult, so hard wire a value that should work.
63464
63465     ac_test_CFLAGS="${CFLAGS+set}"
63466     ac_save_CFLAGS="$CFLAGS"
63467     CFLAGS='-Wl,--gc-sections'
63468
63469     # Check for -Wl,--gc-sections
63470     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63471 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63472     if test x$gcc_no_link = xyes; then
63473   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63474 fi
63475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63476 /* end confdefs.h.  */
63477  int one(void) { return 1; }
63478      int two(void) { return 2; }
63479
63480 int
63481 main ()
63482 {
63483  two();
63484   ;
63485   return 0;
63486 }
63487 _ACEOF
63488 if ac_fn_c_try_link "$LINENO"; then :
63489   ac_gcsections=yes
63490 else
63491   ac_gcsections=no
63492 fi
63493 rm -f core conftest.err conftest.$ac_objext \
63494     conftest$ac_exeext conftest.$ac_ext
63495     if test "$ac_gcsections" = "yes"; then
63496       rm -f conftest.c
63497       touch conftest.c
63498       if $CC -c conftest.c; then
63499         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63500            grep "Warning: gc-sections option ignored" > /dev/null; then
63501           ac_gcsections=no
63502         fi
63503       fi
63504       rm -f conftest.c conftest.o conftest
63505     fi
63506     if test "$ac_gcsections" = "yes"; then
63507       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63508     fi
63509     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63510 $as_echo "$ac_gcsections" >&6; }
63511
63512     if test "$ac_test_CFLAGS" = set; then
63513       CFLAGS="$ac_save_CFLAGS"
63514     else
63515       # this is the suspicious part
63516       CFLAGS=''
63517     fi
63518   fi
63519
63520   # Set -z,relro.
63521   # Note this is only for shared objects.
63522   ac_ld_relro=no
63523   if test x"$with_gnu_ld" = x"yes"; then
63524     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63525 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63526     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63527     if test -n "$cxx_z_relo"; then
63528       OPT_LDFLAGS="-Wl,-z,relro"
63529       ac_ld_relro=yes
63530     fi
63531     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63532 $as_echo "$ac_ld_relro" >&6; }
63533   fi
63534
63535   # Set linker optimization flags.
63536   if test x"$with_gnu_ld" = x"yes"; then
63537     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63538   fi
63539
63540
63541
63542
63543          $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
63544
63545          $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63546
63547          $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
63548
63549          # All of the dependencies for wide character support are here, so
63550          # turn it on.
63551          $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
63552
63553         ;;
63554     esac
63555     case "$target" in
63556       *-*-solaris2.10)
63557       # These two C99 functions are present only in Solaris >= 10
63558       $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
63559
63560       $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
63561
63562      ;;
63563     esac
63564     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63565
63566     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63567
63568     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
63569
63570     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63571
63572     ;;
63573   *-tpf)
63574     SECTION_FLAGS='-ffunction-sections -fdata-sections'
63575
63576
63577   # If we're not using GNU ld, then there's no point in even trying these
63578   # tests.  Check for that first.  We should have already tested for gld
63579   # by now (in libtool), but require it now just to be safe...
63580   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63581   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63582
63583
63584
63585   # The name set by libtool depends on the version of libtool.  Shame on us
63586   # for depending on an impl detail, but c'est la vie.  Older versions used
63587   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63588   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63589   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
63590   # set (hence we're using an older libtool), then set it.
63591   if test x${with_gnu_ld+set} != xset; then
63592     if test x${ac_cv_prog_gnu_ld+set} != xset; then
63593       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
63594       with_gnu_ld=no
63595     else
63596       with_gnu_ld=$ac_cv_prog_gnu_ld
63597     fi
63598   fi
63599
63600   # Start by getting the version number.  I think the libtool test already
63601   # does some of this, but throws away the result.
63602   glibcxx_ld_is_gold=no
63603   if test x"$with_gnu_ld" = x"yes"; then
63604     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63605 $as_echo_n "checking for ld version... " >&6; }
63606
63607     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63608       glibcxx_ld_is_gold=yes
63609     fi
63610     ldver=`$LD --version 2>/dev/null |
63611            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'`
63612
63613     glibcxx_gnu_ld_version=`echo $ldver | \
63614            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63615     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63616 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63617   fi
63618
63619   # Set --gc-sections.
63620   glibcxx_have_gc_sections=no
63621   if test "$glibcxx_ld_is_gold" = "yes"; then
63622     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63623       glibcxx_have_gc_sections=yes
63624     fi
63625   else
63626     glibcxx_gcsections_min_ld=21602
63627     if test x"$with_gnu_ld" = x"yes" &&
63628         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63629       glibcxx_have_gc_sections=yes
63630     fi
63631   fi
63632   if test "$glibcxx_have_gc_sections" = "yes"; then
63633     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
63634     # NB: This flag only works reliably after 2.16.1. Configure tests
63635     # for this are difficult, so hard wire a value that should work.
63636
63637     ac_test_CFLAGS="${CFLAGS+set}"
63638     ac_save_CFLAGS="$CFLAGS"
63639     CFLAGS='-Wl,--gc-sections'
63640
63641     # Check for -Wl,--gc-sections
63642     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63643 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63644     if test x$gcc_no_link = xyes; then
63645   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63646 fi
63647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63648 /* end confdefs.h.  */
63649  int one(void) { return 1; }
63650      int two(void) { return 2; }
63651
63652 int
63653 main ()
63654 {
63655  two();
63656   ;
63657   return 0;
63658 }
63659 _ACEOF
63660 if ac_fn_c_try_link "$LINENO"; then :
63661   ac_gcsections=yes
63662 else
63663   ac_gcsections=no
63664 fi
63665 rm -f core conftest.err conftest.$ac_objext \
63666     conftest$ac_exeext conftest.$ac_ext
63667     if test "$ac_gcsections" = "yes"; then
63668       rm -f conftest.c
63669       touch conftest.c
63670       if $CC -c conftest.c; then
63671         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63672            grep "Warning: gc-sections option ignored" > /dev/null; then
63673           ac_gcsections=no
63674         fi
63675       fi
63676       rm -f conftest.c conftest.o conftest
63677     fi
63678     if test "$ac_gcsections" = "yes"; then
63679       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63680     fi
63681     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63682 $as_echo "$ac_gcsections" >&6; }
63683
63684     if test "$ac_test_CFLAGS" = set; then
63685       CFLAGS="$ac_save_CFLAGS"
63686     else
63687       # this is the suspicious part
63688       CFLAGS=''
63689     fi
63690   fi
63691
63692   # Set -z,relro.
63693   # Note this is only for shared objects.
63694   ac_ld_relro=no
63695   if test x"$with_gnu_ld" = x"yes"; then
63696     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63697 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63698     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63699     if test -n "$cxx_z_relo"; then
63700       OPT_LDFLAGS="-Wl,-z,relro"
63701       ac_ld_relro=yes
63702     fi
63703     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63704 $as_echo "$ac_ld_relro" >&6; }
63705   fi
63706
63707   # Set linker optimization flags.
63708   if test x"$with_gnu_ld" = x"yes"; then
63709     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63710   fi
63711
63712
63713
63714
63715     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63716
63717     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
63718
63719     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
63720
63721     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
63722
63723     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
63724
63725     $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
63726
63727     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63728
63729     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63730
63731     $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
63732
63733     $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
63734
63735     if test x"long_double_math_on_this_cpu" = x"yes"; then
63736       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
63737
63738       $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
63739
63740       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
63741
63742       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
63743
63744     fi
63745     ;;
63746   *-vxworks)
63747     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
63748
63749     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
63750
63751     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
63752
63753     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
63754
63755     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
63756
63757     $as_echo "#define HAVE_COSF 1" >>confdefs.h
63758
63759     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
63760
63761     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
63762
63763     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
63764
63765     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
63766
63767     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
63768
63769     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63770
63771     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
63772
63773     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
63774
63775     $as_echo "#define HAVE_POWF 1" >>confdefs.h
63776
63777     $as_echo "#define HAVE_SINF 1" >>confdefs.h
63778
63779     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
63780
63781     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
63782
63783     $as_echo "#define HAVE_TANF 1" >>confdefs.h
63784
63785     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
63786
63787     ;;
63788   *)
63789     as_fn_error "No support for this host/target combination." "$LINENO" 5
63790    ;;
63791 esac
63792
63793   fi
63794
63795   # At some point, we should differentiate between architectures
63796   # like x86, which have long double versions, and alpha/powerpc/etc.,
63797   # which don't. For the time being, punt.
63798   if test x"long_double_math_on_this_cpu" = x"yes"; then
63799     $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
63800
63801     $as_echo "#define HAVE_ASINL 1" >>confdefs.h
63802
63803     $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
63804
63805     $as_echo "#define HAVE_ATANL 1" >>confdefs.h
63806
63807     $as_echo "#define HAVE_CEILL 1" >>confdefs.h
63808
63809     $as_echo "#define HAVE_COSL 1" >>confdefs.h
63810
63811     $as_echo "#define HAVE_COSHL 1" >>confdefs.h
63812
63813     $as_echo "#define HAVE_EXPL 1" >>confdefs.h
63814
63815     $as_echo "#define HAVE_FABSL 1" >>confdefs.h
63816
63817     $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
63818
63819     $as_echo "#define HAVE_FMODL 1" >>confdefs.h
63820
63821     $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
63822
63823     $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
63824
63825     $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
63826
63827     $as_echo "#define HAVE_LOGL 1" >>confdefs.h
63828
63829     $as_echo "#define HAVE_MODFL 1" >>confdefs.h
63830
63831     $as_echo "#define HAVE_POWL 1" >>confdefs.h
63832
63833     $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
63834
63835     $as_echo "#define HAVE_SINL 1" >>confdefs.h
63836
63837     $as_echo "#define HAVE_SINHL 1" >>confdefs.h
63838
63839     $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
63840
63841     $as_echo "#define HAVE_TANL 1" >>confdefs.h
63842
63843     $as_echo "#define HAVE_TANHL 1" >>confdefs.h
63844
63845   fi
63846 fi
63847
63848 # Check for _Unwind_GetIPInfo.
63849
63850
63851 # Check whether --with-system-libunwind was given.
63852 if test "${with_system_libunwind+set}" = set; then :
63853   withval=$with_system_libunwind;
63854 fi
63855
63856   # If system-libunwind was not specifically set, pick a default setting.
63857   if test x$with_system_libunwind = x; then
63858     case ${target} in
63859       ia64-*-hpux*) with_system_libunwind=yes ;;
63860       *) with_system_libunwind=no ;;
63861     esac
63862   fi
63863   # Based on system-libunwind and target, do we have ipinfo?
63864   if  test x$with_system_libunwind = xyes; then
63865     case ${target} in
63866       ia64-*-*) have_unwind_getipinfo=no ;;
63867       *) have_unwind_getipinfo=yes ;;
63868     esac
63869   else
63870     # Darwin before version 9 does not have _Unwind_GetIPInfo.
63871
63872     case ${target} in
63873       *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
63874       *) have_unwind_getipinfo=yes ;;
63875     esac
63876
63877   fi
63878
63879   if test x$have_unwind_getipinfo = xyes; then
63880
63881 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
63882
63883   fi
63884
63885
63886
63887  # Check whether --enable-linux-futex was given.
63888 if test "${enable_linux_futex+set}" = set; then :
63889   enableval=$enable_linux_futex;
63890       case "$enableval" in
63891        yes|no|default) ;;
63892        *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
63893                           esac
63894
63895 else
63896   enable_linux_futex=default
63897 fi
63898
63899
63900 case "$target" in
63901   *-linux*)
63902     case "$enable_linux_futex" in
63903       default)
63904         # If headers don't have gettid/futex syscalls definition, then
63905         # default to no, otherwise there will be compile time failures.
63906         # Otherwise, default to yes.  If we don't detect we are
63907         # compiled/linked against NPTL and not cross-compiling, check
63908         # if programs are run by default against NPTL and if not, issue
63909         # a warning.
63910         enable_linux_futex=no
63911         if test x$gcc_no_link = xyes; then
63912   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63913 fi
63914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63915 /* end confdefs.h.  */
63916 #include <sys/syscall.h>
63917            int lk;
63918 int
63919 main ()
63920 {
63921 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
63922   ;
63923   return 0;
63924 }
63925 _ACEOF
63926 if ac_fn_c_try_link "$LINENO"; then :
63927   save_LIBS="$LIBS"
63928            LIBS="-lpthread $LIBS"
63929            if test x$gcc_no_link = xyes; then
63930   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63931 fi
63932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63933 /* end confdefs.h.  */
63934 #ifndef _GNU_SOURCE
63935              #define _GNU_SOURCE 1
63936              #endif
63937              #include <pthread.h>
63938              pthread_t th; void *status;
63939 int
63940 main ()
63941 {
63942 pthread_tryjoin_np (th, &status);
63943   ;
63944   return 0;
63945 }
63946 _ACEOF
63947 if ac_fn_c_try_link "$LINENO"; then :
63948   enable_linux_futex=yes
63949 else
63950   if test x$cross_compiling = xno; then
63951                if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
63952                   | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
63953                  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
63954 If so, please configure with --disable-linux-futex" >&5
63955 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
63956 If so, please configure with --disable-linux-futex" >&2;}
63957                fi
63958              fi
63959              enable_linux_futex=yes
63960 fi
63961 rm -f core conftest.err conftest.$ac_objext \
63962     conftest$ac_exeext conftest.$ac_ext
63963            LIBS="$save_LIBS"
63964 fi
63965 rm -f core conftest.err conftest.$ac_objext \
63966     conftest$ac_exeext conftest.$ac_ext
63967         ;;
63968       yes)
63969         if test x$gcc_no_link = xyes; then
63970   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63971 fi
63972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63973 /* end confdefs.h.  */
63974 #include <sys/syscall.h>
63975            int lk;
63976 int
63977 main ()
63978 {
63979 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
63980   ;
63981   return 0;
63982 }
63983 _ACEOF
63984 if ac_fn_c_try_link "$LINENO"; then :
63985
63986 else
63987   as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
63988 fi
63989 rm -f core conftest.err conftest.$ac_objext \
63990     conftest$ac_exeext conftest.$ac_ext
63991         ;;
63992     esac
63993     ;;
63994   *)
63995     enable_linux_futex=no
63996     ;;
63997 esac
63998 if test x$enable_linux_futex = xyes; then
63999
64000 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
64001
64002 fi
64003
64004
64005
64006
64007 inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
64008
64009 acx_cv_header_stdint=stddef.h
64010 acx_cv_header_stdint_kind="(already complete)"
64011 for i in stdint.h $inttype_headers; do
64012   unset ac_cv_type_uintptr_t
64013   unset ac_cv_type_uintmax_t
64014   unset ac_cv_type_int_least32_t
64015   unset ac_cv_type_int_fast32_t
64016   unset ac_cv_type_uint64_t
64017   $as_echo_n "looking for a compliant stdint.h in $i, " >&6
64018   ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
64019 #include <$i>
64020 "
64021 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
64022   acx_cv_header_stdint=$i
64023 else
64024   continue
64025 fi
64026
64027   ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
64028 #include <$i>
64029 "
64030 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
64031
64032 else
64033   acx_cv_header_stdint_kind="(mostly complete)"
64034 fi
64035
64036   ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
64037 #include <$i>
64038 "
64039 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
64040
64041 else
64042   acx_cv_header_stdint_kind="(mostly complete)"
64043 fi
64044
64045   ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
64046 #include <$i>
64047 "
64048 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
64049
64050 else
64051   acx_cv_header_stdint_kind="(mostly complete)"
64052 fi
64053
64054   ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
64055 #include <$i>
64056 "
64057 if test "x$ac_cv_type_uint64_t" = x""yes; then :
64058
64059 else
64060   acx_cv_header_stdint_kind="(lacks uint64_t)"
64061 fi
64062
64063   break
64064 done
64065 if test "$acx_cv_header_stdint" = stddef.h; then
64066   acx_cv_header_stdint_kind="(lacks uintmax_t)"
64067   for i in stdint.h $inttype_headers; do
64068     unset ac_cv_type_uintptr_t
64069     unset ac_cv_type_uint32_t
64070     unset ac_cv_type_uint64_t
64071     $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
64072     ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
64073 #include <$i>
64074 "
64075 if test "x$ac_cv_type_uint32_t" = x""yes; then :
64076   acx_cv_header_stdint=$i
64077 else
64078   continue
64079 fi
64080
64081     ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
64082 #include <$i>
64083 "
64084 if test "x$ac_cv_type_uint64_t" = x""yes; then :
64085
64086 fi
64087
64088     ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
64089 #include <$i>
64090 "
64091 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
64092
64093 fi
64094
64095     break
64096   done
64097 fi
64098 if test "$acx_cv_header_stdint" = stddef.h; then
64099   acx_cv_header_stdint_kind="(u_intXX_t style)"
64100   for i in sys/types.h $inttype_headers; do
64101     unset ac_cv_type_u_int32_t
64102     unset ac_cv_type_u_int64_t
64103     $as_echo_n "looking for u_intXX_t types in $i, " >&6
64104     ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
64105 #include <$i>
64106 "
64107 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
64108   acx_cv_header_stdint=$i
64109 else
64110   continue
64111 fi
64112
64113     ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
64114 #include <$i>
64115 "
64116 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
64117
64118 fi
64119
64120     break
64121   done
64122 fi
64123 if test "$acx_cv_header_stdint" = stddef.h; then
64124   acx_cv_header_stdint_kind="(using manual detection)"
64125 fi
64126
64127 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
64128 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
64129 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
64130 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
64131 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
64132
64133 # ----------------- Summarize what we found so far
64134
64135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
64136 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
64137
64138 case `$as_basename -- include/gstdint.h ||
64139 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
64140          Xinclude/gstdint.h : 'X\(//\)$' \| \
64141          Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
64142 $as_echo X/include/gstdint.h |
64143     sed '/^.*\/\([^/][^/]*\)\/*$/{
64144             s//\1/
64145             q
64146           }
64147           /^X\/\(\/\/\)$/{
64148             s//\1/
64149             q
64150           }
64151           /^X\/\(\/\).*/{
64152             s//\1/
64153             q
64154           }
64155           s/.*/./; q'` in
64156   stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
64157 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
64158   inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
64159 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
64160   *) ;;
64161 esac
64162
64163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
64164 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
64165
64166 # ----------------- done included file, check C basic types --------
64167
64168 # Lacking an uintptr_t?  Test size of void *
64169 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
64170   stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
64171 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64172 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64173 # This bug is HP SR number 8606223364.
64174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
64175 $as_echo_n "checking size of void *... " >&6; }
64176 if test "${ac_cv_sizeof_void_p+set}" = set; then :
64177   $as_echo_n "(cached) " >&6
64178 else
64179   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
64180
64181 else
64182   if test "$ac_cv_type_void_p" = yes; then
64183      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64184 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64185 { as_fn_set_status 77
64186 as_fn_error "cannot compute sizeof (void *)
64187 See \`config.log' for more details." "$LINENO" 5; }; }
64188    else
64189      ac_cv_sizeof_void_p=0
64190    fi
64191 fi
64192
64193 fi
64194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
64195 $as_echo "$ac_cv_sizeof_void_p" >&6; }
64196
64197
64198
64199 cat >>confdefs.h <<_ACEOF
64200 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
64201 _ACEOF
64202
64203  ;;
64204 esac
64205
64206 # Lacking an uint64_t?  Test size of long
64207 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
64208   stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
64209 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64210 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64211 # This bug is HP SR number 8606223364.
64212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
64213 $as_echo_n "checking size of long... " >&6; }
64214 if test "${ac_cv_sizeof_long+set}" = set; then :
64215   $as_echo_n "(cached) " >&6
64216 else
64217   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
64218
64219 else
64220   if test "$ac_cv_type_long" = yes; then
64221      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64222 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64223 { as_fn_set_status 77
64224 as_fn_error "cannot compute sizeof (long)
64225 See \`config.log' for more details." "$LINENO" 5; }; }
64226    else
64227      ac_cv_sizeof_long=0
64228    fi
64229 fi
64230
64231 fi
64232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
64233 $as_echo "$ac_cv_sizeof_long" >&6; }
64234
64235
64236
64237 cat >>confdefs.h <<_ACEOF
64238 #define SIZEOF_LONG $ac_cv_sizeof_long
64239 _ACEOF
64240
64241  ;;
64242 esac
64243
64244 if test $acx_cv_header_stdint = stddef.h; then
64245   # Lacking a good header?  Test size of everything and deduce all types.
64246   # The cast to long int works around a bug in the HP C Compiler
64247 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64248 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64249 # This bug is HP SR number 8606223364.
64250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
64251 $as_echo_n "checking size of int... " >&6; }
64252 if test "${ac_cv_sizeof_int+set}" = set; then :
64253   $as_echo_n "(cached) " >&6
64254 else
64255   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
64256
64257 else
64258   if test "$ac_cv_type_int" = yes; then
64259      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64260 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64261 { as_fn_set_status 77
64262 as_fn_error "cannot compute sizeof (int)
64263 See \`config.log' for more details." "$LINENO" 5; }; }
64264    else
64265      ac_cv_sizeof_int=0
64266    fi
64267 fi
64268
64269 fi
64270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
64271 $as_echo "$ac_cv_sizeof_int" >&6; }
64272
64273
64274
64275 cat >>confdefs.h <<_ACEOF
64276 #define SIZEOF_INT $ac_cv_sizeof_int
64277 _ACEOF
64278
64279
64280   # The cast to long int works around a bug in the HP C Compiler
64281 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64282 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64283 # This bug is HP SR number 8606223364.
64284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
64285 $as_echo_n "checking size of short... " >&6; }
64286 if test "${ac_cv_sizeof_short+set}" = set; then :
64287   $as_echo_n "(cached) " >&6
64288 else
64289   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
64290
64291 else
64292   if test "$ac_cv_type_short" = yes; then
64293      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64294 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64295 { as_fn_set_status 77
64296 as_fn_error "cannot compute sizeof (short)
64297 See \`config.log' for more details." "$LINENO" 5; }; }
64298    else
64299      ac_cv_sizeof_short=0
64300    fi
64301 fi
64302
64303 fi
64304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
64305 $as_echo "$ac_cv_sizeof_short" >&6; }
64306
64307
64308
64309 cat >>confdefs.h <<_ACEOF
64310 #define SIZEOF_SHORT $ac_cv_sizeof_short
64311 _ACEOF
64312
64313
64314   # The cast to long int works around a bug in the HP C Compiler
64315 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64316 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64317 # This bug is HP SR number 8606223364.
64318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
64319 $as_echo_n "checking size of char... " >&6; }
64320 if test "${ac_cv_sizeof_char+set}" = set; then :
64321   $as_echo_n "(cached) " >&6
64322 else
64323   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
64324
64325 else
64326   if test "$ac_cv_type_char" = yes; then
64327      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64328 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64329 { as_fn_set_status 77
64330 as_fn_error "cannot compute sizeof (char)
64331 See \`config.log' for more details." "$LINENO" 5; }; }
64332    else
64333      ac_cv_sizeof_char=0
64334    fi
64335 fi
64336
64337 fi
64338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
64339 $as_echo "$ac_cv_sizeof_char" >&6; }
64340
64341
64342
64343 cat >>confdefs.h <<_ACEOF
64344 #define SIZEOF_CHAR $ac_cv_sizeof_char
64345 _ACEOF
64346
64347
64348
64349   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
64350 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
64351   case "$ac_cv_sizeof_char" in
64352     1) acx_cv_type_int8_t=char ;;
64353     *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
64354   esac
64355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
64356 $as_echo "$acx_cv_type_int8_t" >&6; }
64357
64358   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
64359 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
64360   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
64361     2:*) acx_cv_type_int16_t=int ;;
64362     *:2) acx_cv_type_int16_t=short ;;
64363     *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
64364   esac
64365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
64366 $as_echo "$acx_cv_type_int16_t" >&6; }
64367
64368   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
64369 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
64370   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
64371     4:*) acx_cv_type_int32_t=int ;;
64372     *:4) acx_cv_type_int32_t=long ;;
64373     *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
64374   esac
64375   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
64376 $as_echo "$acx_cv_type_int32_t" >&6; }
64377 fi
64378
64379 # These tests are here to make the output prettier
64380
64381 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
64382   case "$ac_cv_sizeof_long" in
64383     8) acx_cv_type_int64_t=long ;;
64384   esac
64385   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
64386 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
64387   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
64388 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
64389 fi
64390
64391 # Now we can use the above types
64392
64393 if test "$ac_cv_type_uintptr_t" != yes; then
64394   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
64395 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
64396   case $ac_cv_sizeof_void_p in
64397     2) acx_cv_type_intptr_t=int16_t ;;
64398     4) acx_cv_type_intptr_t=int32_t ;;
64399     8) acx_cv_type_intptr_t=int64_t ;;
64400     *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
64401   esac
64402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
64403 $as_echo "$acx_cv_type_intptr_t" >&6; }
64404 fi
64405
64406 # ----------------- done all checks, emit header -------------
64407 ac_config_commands="$ac_config_commands include/gstdint.h"
64408
64409
64410
64411
64412 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
64413
64414   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
64415 $as_echo_n "checking for GNU c++filt... " >&6; }
64416 if test "${ac_cv_path_CXXFILT+set}" = set; then :
64417   $as_echo_n "(cached) " >&6
64418 else
64419   if test -z "$CXXFILT"; then
64420   ac_path_CXXFILT_found=false
64421   # Loop through the user's path and test for each of PROGNAME-LIST
64422   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64423 for as_dir in $PATH
64424 do
64425   IFS=$as_save_IFS
64426   test -z "$as_dir" && as_dir=.
64427     for ac_prog in c++filt gc++filt; do
64428     for ac_exec_ext in '' $ac_executable_extensions; do
64429       ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
64430       { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
64431 # Check for GNU $ac_path_CXXFILT
64432 case `"$ac_path_CXXFILT" --version 2>&1` in
64433 *GNU*)
64434   ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
64435 esac
64436
64437       $ac_path_CXXFILT_found && break 3
64438     done
64439   done
64440   done
64441 IFS=$as_save_IFS
64442   if test -z "$ac_cv_path_CXXFILT"; then
64443     :
64444   fi
64445 else
64446   ac_cv_path_CXXFILT=$CXXFILT
64447 fi
64448
64449 fi
64450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
64451 $as_echo "$ac_cv_path_CXXFILT" >&6; }
64452   CXXFILT=$ac_cv_path_CXXFILT
64453
64454
64455
64456  # Check whether --enable-symvers was given.
64457 if test "${enable_symvers+set}" = set; then :
64458   enableval=$enable_symvers;
64459       case "$enableval" in
64460        yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
64461        *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
64462                         esac
64463
64464 else
64465   enable_symvers=yes
64466 fi
64467
64468
64469
64470 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
64471 # don't know enough about $LD to do tricks...
64472
64473 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
64474 # with extern "C++" in version scripts.
64475
64476
64477 # Turn a 'yes' into a suitable default.
64478 if test x$enable_symvers = xyes ; then
64479   if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
64480     enable_symvers=no
64481   else
64482     if test $with_gnu_ld = yes ; then
64483       case ${target_os} in
64484         hpux*)
64485           enable_symvers=no ;;
64486         *)
64487           enable_symvers=gnu ;;
64488       esac
64489     else
64490       case ${target_os} in
64491         darwin*)
64492           enable_symvers=darwin ;;
64493         # Sun symbol versioning exists since Solaris 2.5.
64494         solaris2.[5-9]* | solaris2.1[0-9]*)
64495           # make_sunver.pl needs GNU c++filt to support extern "C++" in
64496           # version scripts, so disable symbol versioning if none can be
64497           # found.
64498           if test -z "$ac_cv_path_CXXFILT"; then
64499             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
64500 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
64501             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could  be found." >&5
64502 $as_echo "$as_me: WARNING: === no GNU c++filt could  be found." >&2;}
64503             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64504 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64505             enable_symvers=no
64506           else
64507             enable_symvers=sun
64508           fi
64509           ;;
64510         *)
64511           enable_symvers=no ;;
64512       esac
64513     fi
64514   fi
64515 fi
64516
64517 # Check to see if 'darwin' or 'darwin-export' can win.
64518 if test x$enable_symvers = xdarwin-export ; then
64519     enable_symvers=darwin
64520 fi
64521
64522 # Check if 'sun' was requested on non-Solaris 2 platforms.
64523 if test x$enable_symvers = xsun ; then
64524   case ${target_os} in
64525     solaris2*)
64526       # All fine.
64527       ;;
64528     *)
64529       # Unlikely to work.
64530       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
64531 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
64532       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
64533 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
64534       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64535 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64536       enable_symvers=no
64537       ;;
64538   esac
64539 fi
64540
64541 # Check to see if 'gnu' can win.
64542 if test $enable_symvers = gnu ||
64543   test $enable_symvers = gnu-versioned-namespace ||
64544   test $enable_symvers = sun; then
64545   # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
64546   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
64547 $as_echo_n "checking for shared libgcc... " >&6; }
64548   ac_save_CFLAGS="$CFLAGS"
64549   CFLAGS=' -lgcc_s'
64550   if test x$gcc_no_link = xyes; then
64551   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64552 fi
64553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64554 /* end confdefs.h.  */
64555
64556 int
64557 main ()
64558 {
64559 return 0;
64560   ;
64561   return 0;
64562 }
64563 _ACEOF
64564 if ac_fn_c_try_link "$LINENO"; then :
64565   glibcxx_shared_libgcc=yes
64566 else
64567   glibcxx_shared_libgcc=no
64568 fi
64569 rm -f core conftest.err conftest.$ac_objext \
64570     conftest$ac_exeext conftest.$ac_ext
64571   CFLAGS="$ac_save_CFLAGS"
64572   if test $glibcxx_shared_libgcc = no; then
64573     cat > conftest.c <<EOF
64574 int main (void) { return 0; }
64575 EOF
64576     glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
64577                              -shared -shared-libgcc -o conftest.so \
64578                              conftest.c -v 2>&1 >/dev/null \
64579                              | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
64580     rm -f conftest.c conftest.so
64581     if test x${glibcxx_libgcc_s_suffix+set} = xset; then
64582       CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
64583       if test x$gcc_no_link = xyes; then
64584   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64585 fi
64586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64587 /* end confdefs.h.  */
64588
64589 int
64590 main ()
64591 {
64592 return 0;
64593   ;
64594   return 0;
64595 }
64596 _ACEOF
64597 if ac_fn_c_try_link "$LINENO"; then :
64598   glibcxx_shared_libgcc=yes
64599 fi
64600 rm -f core conftest.err conftest.$ac_objext \
64601     conftest$ac_exeext conftest.$ac_ext
64602       CFLAGS="$ac_save_CFLAGS"
64603     fi
64604   fi
64605   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
64606 $as_echo "$glibcxx_shared_libgcc" >&6; }
64607
64608   # For GNU ld, we need at least this version.  The format is described in
64609   # GLIBCXX_CHECK_LINKER_FEATURES above.
64610   glibcxx_min_gnu_ld_version=21400
64611
64612   # If no shared libgcc, can't win.
64613   if test $glibcxx_shared_libgcc != yes; then
64614       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
64615 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
64616       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
64617 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
64618       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64619 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64620       enable_symvers=no
64621   elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
64622     : All interesting versions of Sun ld support sun style symbol versioning.
64623   elif test $with_gnu_ld != yes ; then
64624     # just fail for now
64625     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
64626 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
64627     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
64628 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
64629     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64630 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64631     enable_symvers=no
64632   elif test $glibcxx_ld_is_gold = yes ; then
64633     : All versions of gold support symbol versioning.
64634   elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
64635     # The right tools, the right setup, but too old.  Fallbacks?
64636     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
64637 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
64638     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
64639 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
64640     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
64641 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
64642     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
64643 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
64644     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64645 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64646     enable_symvers=no
64647   fi
64648 fi
64649
64650 # Everything parsed; figure out what file to use.
64651 case $enable_symvers in
64652   no)
64653     SYMVER_FILE=config/abi/pre/none.ver
64654     ;;
64655   gnu)
64656     SYMVER_FILE=config/abi/pre/gnu.ver
64657
64658 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
64659
64660     ;;
64661   gnu-versioned-namespace)
64662     SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
64663
64664 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
64665
64666     ;;
64667   darwin)
64668     SYMVER_FILE=config/abi/pre/gnu.ver
64669
64670 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
64671
64672     ;;
64673   sun)
64674     SYMVER_FILE=config/abi/pre/gnu.ver
64675
64676 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
64677
64678     ;;
64679 esac
64680
64681 if test x$enable_symvers != xno ; then
64682
64683 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
64684
64685 fi
64686
64687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
64688 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
64689 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
64690   $as_echo_n "(cached) " >&6
64691 else
64692
64693   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64694 /* end confdefs.h.  */
64695 void foo (void); __asm (".symver foo, bar@SYMVER");
64696 int
64697 main ()
64698 {
64699
64700   ;
64701   return 0;
64702 }
64703 _ACEOF
64704 if ac_fn_c_try_compile "$LINENO"; then :
64705   glibcxx_cv_have_as_symver_directive=yes
64706 else
64707   glibcxx_cv_have_as_symver_directive=no
64708 fi
64709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64710 fi
64711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
64712 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
64713 if test $glibcxx_cv_have_as_symver_directive = yes; then
64714
64715 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
64716
64717 fi
64718
64719
64720
64721
64722
64723
64724
64725
64726 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
64727 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
64728
64729 if test $enable_symvers != no ; then
64730    case ${target_os} in
64731      # The Solaris 2 runtime linker doesn't support the GNU extension of
64732      # binding the same symbol to different versions
64733      solaris2*)
64734        symvers_renaming=no  ;;
64735      # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
64736      *)
64737
64738 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
64739
64740        symvers_renaming=yes  ;;
64741     esac
64742 else
64743     symvers_renaming=no
64744 fi
64745
64746
64747 # Now, set up compatibility support, if any.
64748 # In addition, need this to deal with std::size_t mangling in
64749 # src/compatibility.cc.  In a perfect world, could use
64750 # typeid(std::size_t).name()[0] to do direct substitution.
64751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
64752 $as_echo_n "checking for size_t as unsigned int... " >&6; }
64753 ac_save_CFLAGS="$CFLAGS"
64754 CFLAGS="-Werror"
64755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64756 /* end confdefs.h.  */
64757
64758 int
64759 main ()
64760 {
64761 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
64762   ;
64763   return 0;
64764 }
64765 _ACEOF
64766 if ac_fn_c_try_compile "$LINENO"; then :
64767   glibcxx_size_t_is_i=yes
64768 else
64769   glibcxx_size_t_is_i=no
64770 fi
64771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64772 CFLAGS=$ac_save_CFLAGS
64773 if test "$glibcxx_size_t_is_i" = yes; then
64774
64775 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
64776
64777 fi
64778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
64779 $as_echo "$glibcxx_size_t_is_i" >&6; }
64780
64781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
64782 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
64783 ac_save_CFLAGS="$CFLAGS"
64784 CFLAGS="-Werror"
64785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64786 /* end confdefs.h.  */
64787
64788 int
64789 main ()
64790 {
64791 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
64792   ;
64793   return 0;
64794 }
64795 _ACEOF
64796 if ac_fn_c_try_compile "$LINENO"; then :
64797   glibcxx_ptrdiff_t_is_i=yes
64798 else
64799   glibcxx_ptrdiff_t_is_i=no
64800 fi
64801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64802 CFLAGS=$ac_save_CFLAGS
64803 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
64804
64805 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
64806
64807 fi
64808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
64809 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
64810
64811
64812  # Check whether --enable-visibility was given.
64813 if test "${enable_visibility+set}" = set; then :
64814   enableval=$enable_visibility;
64815       case "$enableval" in
64816        yes|no) ;;
64817        *) as_fn_error "Argument to enable/disable visibility must be yes or no" "$LINENO" 5 ;;
64818       esac
64819
64820 else
64821   enable_visibility=yes
64822 fi
64823
64824
64825
64826 if test x$enable_visibility = xyes ; then
64827       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
64828 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
64829 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
64830   $as_echo_n "(cached) " >&6
64831 else
64832
64833   save_CFLAGS="$CFLAGS"
64834   CFLAGS="$CFLAGS -Werror"
64835   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64836 /* end confdefs.h.  */
64837 void __attribute__((visibility("hidden"))) foo(void) { }
64838 int
64839 main ()
64840 {
64841
64842   ;
64843   return 0;
64844 }
64845 _ACEOF
64846 if ac_fn_c_try_compile "$LINENO"; then :
64847   glibcxx_cv_have_attribute_visibility=yes
64848 else
64849   glibcxx_cv_have_attribute_visibility=no
64850 fi
64851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64852   CFLAGS="$save_CFLAGS"
64853 fi
64854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
64855 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
64856   if test $glibcxx_cv_have_attribute_visibility = no; then
64857     enable_visibility=no
64858   fi
64859 fi
64860
64861
64862 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_visibility" >&5
64863 $as_echo "$as_me: visibility supported: $enable_visibility" >&6;}
64864
64865
64866 ac_ldbl_compat=no
64867 case "$target" in
64868   powerpc*-*-linux* | \
64869   sparc*-*-linux* | \
64870   s390*-*-linux* | \
64871   alpha*-*-linux*)
64872   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64873 /* end confdefs.h.  */
64874
64875 int
64876 main ()
64877 {
64878
64879 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
64880 #error no need for long double compatibility
64881 #endif
64882
64883   ;
64884   return 0;
64885 }
64886 _ACEOF
64887 if ac_fn_c_try_compile "$LINENO"; then :
64888   ac_ldbl_compat=yes
64889 else
64890   ac_ldbl_compat=no
64891 fi
64892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64893   if test "$ac_ldbl_compat" = yes; then
64894
64895 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
64896
64897     port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
64898   fi
64899 esac
64900
64901
64902 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
64903
64904   if $GLIBCXX_IS_NATIVE ; then
64905     # Do checks for resource limit functions.
64906
64907   setrlimit_have_headers=yes
64908   for ac_header in unistd.h sys/time.h sys/resource.h
64909 do :
64910   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
64911 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
64912 eval as_val=\$$as_ac_Header
64913    if test "x$as_val" = x""yes; then :
64914   cat >>confdefs.h <<_ACEOF
64915 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
64916 _ACEOF
64917
64918 else
64919   setrlimit_have_headers=no
64920 fi
64921
64922 done
64923
64924   # If don't have the headers, then we can't run the tests now, and we
64925   # won't be seeing any of these during testsuite compilation.
64926   if test $setrlimit_have_headers = yes; then
64927     # Can't do these in a loop, else the resulting syntax is wrong.
64928
64929   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
64930 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
64931   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64932 /* end confdefs.h.  */
64933 #include <unistd.h>
64934      #include <sys/time.h>
64935      #include <sys/resource.h>
64936
64937 int
64938 main ()
64939 {
64940  int f = RLIMIT_DATA ;
64941   ;
64942   return 0;
64943 }
64944 _ACEOF
64945 if ac_fn_c_try_compile "$LINENO"; then :
64946   glibcxx_mresult=1
64947 else
64948   glibcxx_mresult=0
64949 fi
64950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64951
64952 cat >>confdefs.h <<_ACEOF
64953 #define HAVE_LIMIT_DATA $glibcxx_mresult
64954 _ACEOF
64955
64956   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
64957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
64958 $as_echo "$res" >&6; }
64959
64960
64961   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
64962 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
64963   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64964 /* end confdefs.h.  */
64965 #include <unistd.h>
64966      #include <sys/time.h>
64967      #include <sys/resource.h>
64968
64969 int
64970 main ()
64971 {
64972  int f = RLIMIT_RSS ;
64973   ;
64974   return 0;
64975 }
64976 _ACEOF
64977 if ac_fn_c_try_compile "$LINENO"; then :
64978   glibcxx_mresult=1
64979 else
64980   glibcxx_mresult=0
64981 fi
64982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64983
64984 cat >>confdefs.h <<_ACEOF
64985 #define HAVE_LIMIT_RSS $glibcxx_mresult
64986 _ACEOF
64987
64988   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
64989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
64990 $as_echo "$res" >&6; }
64991
64992
64993   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
64994 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
64995   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64996 /* end confdefs.h.  */
64997 #include <unistd.h>
64998      #include <sys/time.h>
64999      #include <sys/resource.h>
65000
65001 int
65002 main ()
65003 {
65004  int f = RLIMIT_VMEM ;
65005   ;
65006   return 0;
65007 }
65008 _ACEOF
65009 if ac_fn_c_try_compile "$LINENO"; then :
65010   glibcxx_mresult=1
65011 else
65012   glibcxx_mresult=0
65013 fi
65014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65015
65016 cat >>confdefs.h <<_ACEOF
65017 #define HAVE_LIMIT_VMEM $glibcxx_mresult
65018 _ACEOF
65019
65020   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65022 $as_echo "$res" >&6; }
65023
65024
65025   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
65026 $as_echo_n "checking for RLIMIT_AS... " >&6; }
65027   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65028 /* end confdefs.h.  */
65029 #include <unistd.h>
65030      #include <sys/time.h>
65031      #include <sys/resource.h>
65032
65033 int
65034 main ()
65035 {
65036  int f = RLIMIT_AS ;
65037   ;
65038   return 0;
65039 }
65040 _ACEOF
65041 if ac_fn_c_try_compile "$LINENO"; then :
65042   glibcxx_mresult=1
65043 else
65044   glibcxx_mresult=0
65045 fi
65046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65047
65048 cat >>confdefs.h <<_ACEOF
65049 #define HAVE_LIMIT_AS $glibcxx_mresult
65050 _ACEOF
65051
65052   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65053   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65054 $as_echo "$res" >&6; }
65055
65056
65057   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
65058 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
65059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65060 /* end confdefs.h.  */
65061 #include <unistd.h>
65062      #include <sys/time.h>
65063      #include <sys/resource.h>
65064
65065 int
65066 main ()
65067 {
65068  int f = RLIMIT_FSIZE ;
65069   ;
65070   return 0;
65071 }
65072 _ACEOF
65073 if ac_fn_c_try_compile "$LINENO"; then :
65074   glibcxx_mresult=1
65075 else
65076   glibcxx_mresult=0
65077 fi
65078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65079
65080 cat >>confdefs.h <<_ACEOF
65081 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
65082 _ACEOF
65083
65084   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65086 $as_echo "$res" >&6; }
65087
65088
65089     # Check for rlimit, setrlimit.
65090     if test "${glibcxx_cv_setrlimit+set}" = set; then :
65091   $as_echo_n "(cached) " >&6
65092 else
65093
65094       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65095 /* end confdefs.h.  */
65096 #include <unistd.h>
65097          #include <sys/time.h>
65098          #include <sys/resource.h>
65099
65100 int
65101 main ()
65102 {
65103 struct rlimit r;
65104          setrlimit(0, &r);
65105   ;
65106   return 0;
65107 }
65108 _ACEOF
65109 if ac_fn_c_try_compile "$LINENO"; then :
65110   glibcxx_cv_setrlimit=yes
65111 else
65112   glibcxx_cv_setrlimit=no
65113 fi
65114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65115
65116 fi
65117
65118   fi
65119
65120   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
65121 $as_echo_n "checking for testsuite resource limits support... " >&6; }
65122   if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
65123     ac_res_limits=yes
65124
65125 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
65126
65127   else
65128     ac_res_limits=no
65129   fi
65130   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
65131 $as_echo "$ac_res_limits" >&6; }
65132
65133
65134     # Look for setenv, so that extended locale tests can be performed.
65135
65136   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
65137 $as_echo_n "checking for setenv declaration... " >&6; }
65138   if test x${glibcxx_cv_func_setenv_use+set} != xset; then
65139     if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
65140   $as_echo_n "(cached) " >&6
65141 else
65142
65143
65144       ac_ext=cpp
65145 ac_cpp='$CXXCPP $CPPFLAGS'
65146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65149
65150       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65151 /* end confdefs.h.  */
65152 #include <stdlib.h>
65153 int
65154 main ()
65155 {
65156  setenv(0, 0, 0);
65157   ;
65158   return 0;
65159 }
65160 _ACEOF
65161 if ac_fn_cxx_try_compile "$LINENO"; then :
65162   glibcxx_cv_func_setenv_use=yes
65163 else
65164   glibcxx_cv_func_setenv_use=no
65165 fi
65166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65167       ac_ext=c
65168 ac_cpp='$CPP $CPPFLAGS'
65169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65172
65173
65174 fi
65175
65176   fi
65177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
65178 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
65179   if test x$glibcxx_cv_func_setenv_use = x"yes"; then
65180     for ac_func in setenv
65181 do :
65182   ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
65183 if test "x$ac_cv_func_setenv" = x""yes; then :
65184   cat >>confdefs.h <<_ACEOF
65185 #define HAVE_SETENV 1
65186 _ACEOF
65187
65188 fi
65189 done
65190
65191   fi
65192
65193   fi
65194
65195   if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
65196      test $enable_symvers != no; then
65197     case "$host" in
65198       *-*-cygwin*)
65199         enable_abi_check=no ;;
65200       *)
65201         enable_abi_check=yes ;;
65202     esac
65203   else
65204     # Only build this as native, since automake does not understand
65205     # CXX_FOR_BUILD.
65206     enable_abi_check=no
65207   fi
65208
65209   # Export file names for ABI checking.
65210   baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
65211
65212   baseline_subdir_switch="$abi_baseline_subdir_switch"
65213
65214
65215
65216 # Define documentation rules conditionally.
65217
65218 # See if makeinfo has been installed and is modern enough
65219 # that we can use it.
65220
65221   # Extract the first word of "makeinfo", so it can be a program name with args.
65222 set dummy makeinfo; ac_word=$2
65223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65224 $as_echo_n "checking for $ac_word... " >&6; }
65225 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
65226   $as_echo_n "(cached) " >&6
65227 else
65228   if test -n "$MAKEINFO"; then
65229   ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
65230 else
65231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65232 for as_dir in $PATH
65233 do
65234   IFS=$as_save_IFS
65235   test -z "$as_dir" && as_dir=.
65236     for ac_exec_ext in '' $ac_executable_extensions; do
65237   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65238     ac_cv_prog_MAKEINFO="makeinfo"
65239     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65240     break 2
65241   fi
65242 done
65243   done
65244 IFS=$as_save_IFS
65245
65246 fi
65247 fi
65248 MAKEINFO=$ac_cv_prog_MAKEINFO
65249 if test -n "$MAKEINFO"; then
65250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
65251 $as_echo "$MAKEINFO" >&6; }
65252 else
65253   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65254 $as_echo "no" >&6; }
65255 fi
65256
65257
65258   if test -n "$MAKEINFO"; then
65259     # Found it, now check the version.
65260     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
65261 $as_echo_n "checking for modern makeinfo... " >&6; }
65262 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
65263   $as_echo_n "(cached) " >&6
65264 else
65265   ac_prog_version=`eval $MAKEINFO --version 2>&1 |
65266                                      sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
65267
65268                     case $ac_prog_version in
65269                       '')  gcc_cv_prog_makeinfo_modern=no;;
65270                       4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*)  gcc_cv_prog_makeinfo_modern=yes;;
65271                       *)   gcc_cv_prog_makeinfo_modern=no;;
65272                     esac
65273
65274 fi
65275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
65276 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
65277   else
65278     gcc_cv_prog_makeinfo_modern=no
65279   fi
65280   if test $gcc_cv_prog_makeinfo_modern = no; then
65281     MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
65282   fi
65283
65284  if test $gcc_cv_prog_makeinfo_modern = "yes"; then
65285   BUILD_INFO_TRUE=
65286   BUILD_INFO_FALSE='#'
65287 else
65288   BUILD_INFO_TRUE='#'
65289   BUILD_INFO_FALSE=
65290 fi
65291
65292
65293 # Check for doxygen
65294 # Extract the first word of "doxygen", so it can be a program name with args.
65295 set dummy doxygen; ac_word=$2
65296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65297 $as_echo_n "checking for $ac_word... " >&6; }
65298 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
65299   $as_echo_n "(cached) " >&6
65300 else
65301   if test -n "$DOXYGEN"; then
65302   ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
65303 else
65304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65305 for as_dir in $PATH
65306 do
65307   IFS=$as_save_IFS
65308   test -z "$as_dir" && as_dir=.
65309     for ac_exec_ext in '' $ac_executable_extensions; do
65310   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65311     ac_cv_prog_DOXYGEN="yes"
65312     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65313     break 2
65314   fi
65315 done
65316   done
65317 IFS=$as_save_IFS
65318
65319   test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
65320 fi
65321 fi
65322 DOXYGEN=$ac_cv_prog_DOXYGEN
65323 if test -n "$DOXYGEN"; then
65324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
65325 $as_echo "$DOXYGEN" >&6; }
65326 else
65327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65328 $as_echo "no" >&6; }
65329 fi
65330
65331
65332 # Extract the first word of "dot", so it can be a program name with args.
65333 set dummy dot; ac_word=$2
65334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65335 $as_echo_n "checking for $ac_word... " >&6; }
65336 if test "${ac_cv_prog_DOT+set}" = set; then :
65337   $as_echo_n "(cached) " >&6
65338 else
65339   if test -n "$DOT"; then
65340   ac_cv_prog_DOT="$DOT" # Let the user override the test.
65341 else
65342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65343 for as_dir in $PATH
65344 do
65345   IFS=$as_save_IFS
65346   test -z "$as_dir" && as_dir=.
65347     for ac_exec_ext in '' $ac_executable_extensions; do
65348   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65349     ac_cv_prog_DOT="yes"
65350     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65351     break 2
65352   fi
65353 done
65354   done
65355 IFS=$as_save_IFS
65356
65357   test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
65358 fi
65359 fi
65360 DOT=$ac_cv_prog_DOT
65361 if test -n "$DOT"; then
65362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
65363 $as_echo "$DOT" >&6; }
65364 else
65365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65366 $as_echo "no" >&6; }
65367 fi
65368
65369
65370
65371 # Check for docbook
65372 # Extract the first word of "xsltproc", so it can be a program name with args.
65373 set dummy xsltproc; ac_word=$2
65374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65375 $as_echo_n "checking for $ac_word... " >&6; }
65376 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
65377   $as_echo_n "(cached) " >&6
65378 else
65379   if test -n "$XSLTPROC"; then
65380   ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
65381 else
65382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65383 for as_dir in $PATH
65384 do
65385   IFS=$as_save_IFS
65386   test -z "$as_dir" && as_dir=.
65387     for ac_exec_ext in '' $ac_executable_extensions; do
65388   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65389     ac_cv_prog_XSLTPROC="yes"
65390     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65391     break 2
65392   fi
65393 done
65394   done
65395 IFS=$as_save_IFS
65396
65397   test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
65398 fi
65399 fi
65400 XSLTPROC=$ac_cv_prog_XSLTPROC
65401 if test -n "$XSLTPROC"; then
65402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
65403 $as_echo "$XSLTPROC" >&6; }
65404 else
65405   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65406 $as_echo "no" >&6; }
65407 fi
65408
65409
65410 # Extract the first word of "xmllint", so it can be a program name with args.
65411 set dummy xmllint; ac_word=$2
65412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65413 $as_echo_n "checking for $ac_word... " >&6; }
65414 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
65415   $as_echo_n "(cached) " >&6
65416 else
65417   if test -n "$XMLLINT"; then
65418   ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
65419 else
65420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65421 for as_dir in $PATH
65422 do
65423   IFS=$as_save_IFS
65424   test -z "$as_dir" && as_dir=.
65425     for ac_exec_ext in '' $ac_executable_extensions; do
65426   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65427     ac_cv_prog_XMLLINT="yes"
65428     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65429     break 2
65430   fi
65431 done
65432   done
65433 IFS=$as_save_IFS
65434
65435   test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
65436 fi
65437 fi
65438 XMLLINT=$ac_cv_prog_XMLLINT
65439 if test -n "$XMLLINT"; then
65440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
65441 $as_echo "$XMLLINT" >&6; }
65442 else
65443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65444 $as_echo "no" >&6; }
65445 fi
65446
65447
65448
65449
65450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stylesheets used in generation of documentation" >&5
65451 $as_echo_n "checking for stylesheets used in generation of documentation... " >&6; }
65452 glibcxx_stylesheets=no
65453 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
65454   glibcxx_stylesheets=yes
65455 fi
65456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
65457 $as_echo "$glibcxx_stylesheets" >&6; }
65458
65459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
65460 $as_echo_n "checking for local stylesheet directory... " >&6; }
65461 glibcxx_local_stylesheets=no
65462 if test x"$glibcxx_stylesheets" = x"yes"; then
65463   if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
65464     glibcxx_local_stylesheets=yes
65465     XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
65466   fi
65467   if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
65468     glibcxx_local_stylesheets=yes
65469     XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
65470   fi
65471 fi
65472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
65473 $as_echo "$glibcxx_local_stylesheets" >&6; }
65474
65475 if test x"$glibcxx_local_stylesheets" = x"yes"; then
65476
65477   { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
65478 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
65479 else
65480   glibcxx_stylesheets=no
65481 fi
65482
65483
65484 # Check for xml/html dependencies.
65485  if test $ac_cv_prog_DOXYGEN = "yes" &&
65486                test $ac_cv_prog_DOT = "yes" &&
65487                test $ac_cv_prog_XSLTPROC = "yes" &&
65488                test $ac_cv_prog_XMLLINT = "yes" &&
65489                test $glibcxx_stylesheets = "yes"; then
65490   BUILD_XML_TRUE=
65491   BUILD_XML_FALSE='#'
65492 else
65493   BUILD_XML_TRUE='#'
65494   BUILD_XML_FALSE=
65495 fi
65496
65497
65498  if test $ac_cv_prog_DOXYGEN = "yes" &&
65499                test $ac_cv_prog_DOT = "yes" &&
65500                test $ac_cv_prog_XSLTPROC = "yes" &&
65501                test $ac_cv_prog_XMLLINT = "yes" &&
65502                test $glibcxx_stylesheets = "yes"; then
65503   BUILD_HTML_TRUE=
65504   BUILD_HTML_FALSE='#'
65505 else
65506   BUILD_HTML_TRUE='#'
65507   BUILD_HTML_FALSE=
65508 fi
65509
65510
65511 # Check for man dependencies.
65512  if test $ac_cv_prog_DOXYGEN = "yes" &&
65513                test $ac_cv_prog_DOT = "yes"; then
65514   BUILD_MAN_TRUE=
65515   BUILD_MAN_FALSE='#'
65516 else
65517   BUILD_MAN_TRUE='#'
65518   BUILD_MAN_FALSE=
65519 fi
65520
65521
65522 # Check for pdf/epub dependencies.
65523 # Extract the first word of "dblatex", so it can be a program name with args.
65524 set dummy dblatex; ac_word=$2
65525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65526 $as_echo_n "checking for $ac_word... " >&6; }
65527 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
65528   $as_echo_n "(cached) " >&6
65529 else
65530   if test -n "$DBLATEX"; then
65531   ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
65532 else
65533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65534 for as_dir in $PATH
65535 do
65536   IFS=$as_save_IFS
65537   test -z "$as_dir" && as_dir=.
65538     for ac_exec_ext in '' $ac_executable_extensions; do
65539   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65540     ac_cv_prog_DBLATEX="yes"
65541     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65542     break 2
65543   fi
65544 done
65545   done
65546 IFS=$as_save_IFS
65547
65548   test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
65549 fi
65550 fi
65551 DBLATEX=$ac_cv_prog_DBLATEX
65552 if test -n "$DBLATEX"; then
65553   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
65554 $as_echo "$DBLATEX" >&6; }
65555 else
65556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65557 $as_echo "no" >&6; }
65558 fi
65559
65560
65561 # Extract the first word of "pdflatex", so it can be a program name with args.
65562 set dummy pdflatex; ac_word=$2
65563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65564 $as_echo_n "checking for $ac_word... " >&6; }
65565 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
65566   $as_echo_n "(cached) " >&6
65567 else
65568   if test -n "$PDFLATEX"; then
65569   ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
65570 else
65571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65572 for as_dir in $PATH
65573 do
65574   IFS=$as_save_IFS
65575   test -z "$as_dir" && as_dir=.
65576     for ac_exec_ext in '' $ac_executable_extensions; do
65577   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65578     ac_cv_prog_PDFLATEX="yes"
65579     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65580     break 2
65581   fi
65582 done
65583   done
65584 IFS=$as_save_IFS
65585
65586   test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
65587 fi
65588 fi
65589 PDFLATEX=$ac_cv_prog_PDFLATEX
65590 if test -n "$PDFLATEX"; then
65591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
65592 $as_echo "$PDFLATEX" >&6; }
65593 else
65594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65595 $as_echo "no" >&6; }
65596 fi
65597
65598
65599  if test $ac_cv_prog_DBLATEX = "yes" &&
65600                test $ac_cv_prog_PDFLATEX = "yes"; then
65601   BUILD_PDF_TRUE=
65602   BUILD_PDF_FALSE='#'
65603 else
65604   BUILD_PDF_TRUE='#'
65605   BUILD_PDF_FALSE=
65606 fi
65607
65608
65609 # Extract the first word of "ruby", so it can be a program name with args.
65610 set dummy ruby; ac_word=$2
65611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65612 $as_echo_n "checking for $ac_word... " >&6; }
65613 if test "${ac_cv_prog_RUBY+set}" = set; then :
65614   $as_echo_n "(cached) " >&6
65615 else
65616   if test -n "$RUBY"; then
65617   ac_cv_prog_RUBY="$RUBY" # Let the user override the test.
65618 else
65619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65620 for as_dir in $PATH
65621 do
65622   IFS=$as_save_IFS
65623   test -z "$as_dir" && as_dir=.
65624     for ac_exec_ext in '' $ac_executable_extensions; do
65625   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65626     ac_cv_prog_RUBY="yes"
65627     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65628     break 2
65629   fi
65630 done
65631   done
65632 IFS=$as_save_IFS
65633
65634   test -z "$ac_cv_prog_RUBY" && ac_cv_prog_RUBY="no"
65635 fi
65636 fi
65637 RUBY=$ac_cv_prog_RUBY
65638 if test -n "$RUBY"; then
65639   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY" >&5
65640 $as_echo "$RUBY" >&6; }
65641 else
65642   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65643 $as_echo "no" >&6; }
65644 fi
65645
65646
65647 # Extract the first word of "dbtoepub", so it can be a program name with args.
65648 set dummy dbtoepub; ac_word=$2
65649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65650 $as_echo_n "checking for $ac_word... " >&6; }
65651 if test "${ac_cv_prog_DBTOEPUB+set}" = set; then :
65652   $as_echo_n "(cached) " >&6
65653 else
65654   if test -n "$DBTOEPUB"; then
65655   ac_cv_prog_DBTOEPUB="$DBTOEPUB" # Let the user override the test.
65656 else
65657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65658 for as_dir in $PATH
65659 do
65660   IFS=$as_save_IFS
65661   test -z "$as_dir" && as_dir=.
65662     for ac_exec_ext in '' $ac_executable_extensions; do
65663   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65664     ac_cv_prog_DBTOEPUB="yes"
65665     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65666     break 2
65667   fi
65668 done
65669   done
65670 IFS=$as_save_IFS
65671
65672   test -z "$ac_cv_prog_DBTOEPUB" && ac_cv_prog_DBTOEPUB="no"
65673 fi
65674 fi
65675 DBTOEPUB=$ac_cv_prog_DBTOEPUB
65676 if test -n "$DBTOEPUB"; then
65677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBTOEPUB" >&5
65678 $as_echo "$DBTOEPUB" >&6; }
65679 else
65680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65681 $as_echo "no" >&6; }
65682 fi
65683
65684
65685  if test $ac_cv_prog_RUBY = "yes" &&
65686                test $ac_cv_prog_DBTOEPUB = "yes"; then
65687   BUILD_EPUB_TRUE=
65688   BUILD_EPUB_FALSE='#'
65689 else
65690   BUILD_EPUB_TRUE='#'
65691   BUILD_EPUB_FALSE=
65692 fi
65693
65694
65695
65696 # Propagate the target-specific source directories through the build chain.
65697 ATOMICITY_SRCDIR=config/${atomicity_dir}
65698 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
65699 ATOMIC_FLAGS=${atomic_flags}
65700 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
65701 OS_INC_SRCDIR=config/${os_include_dir}
65702 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
65703 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
65704
65705
65706
65707
65708
65709
65710
65711
65712
65713 # Determine cross-compile flags and AM_CONDITIONALs.
65714 #AC_SUBST(GLIBCXX_IS_NATIVE)
65715 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
65716     if test $is_hosted = yes; then
65717   GLIBCXX_HOSTED_TRUE=
65718   GLIBCXX_HOSTED_FALSE='#'
65719 else
65720   GLIBCXX_HOSTED_TRUE='#'
65721   GLIBCXX_HOSTED_FALSE=
65722 fi
65723
65724
65725     if test $enable_libstdcxx_pch = yes; then
65726   GLIBCXX_BUILD_PCH_TRUE=
65727   GLIBCXX_BUILD_PCH_FALSE='#'
65728 else
65729   GLIBCXX_BUILD_PCH_TRUE='#'
65730   GLIBCXX_BUILD_PCH_FALSE=
65731 fi
65732
65733
65734     if test $enable_cheaders = c; then
65735   GLIBCXX_C_HEADERS_C_TRUE=
65736   GLIBCXX_C_HEADERS_C_FALSE='#'
65737 else
65738   GLIBCXX_C_HEADERS_C_TRUE='#'
65739   GLIBCXX_C_HEADERS_C_FALSE=
65740 fi
65741
65742
65743     if test $enable_cheaders = c_std; then
65744   GLIBCXX_C_HEADERS_C_STD_TRUE=
65745   GLIBCXX_C_HEADERS_C_STD_FALSE='#'
65746 else
65747   GLIBCXX_C_HEADERS_C_STD_TRUE='#'
65748   GLIBCXX_C_HEADERS_C_STD_FALSE=
65749 fi
65750
65751
65752     if test $enable_cheaders = c_global; then
65753   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
65754   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
65755 else
65756   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
65757   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
65758 fi
65759
65760
65761     if test $c_compatibility = yes; then
65762   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
65763   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
65764 else
65765   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
65766   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
65767 fi
65768
65769
65770     if test $enable_libstdcxx_debug = yes; then
65771   GLIBCXX_BUILD_DEBUG_TRUE=
65772   GLIBCXX_BUILD_DEBUG_FALSE='#'
65773 else
65774   GLIBCXX_BUILD_DEBUG_TRUE='#'
65775   GLIBCXX_BUILD_DEBUG_FALSE=
65776 fi
65777
65778
65779     if test $enable_parallel = yes; then
65780   ENABLE_PARALLEL_TRUE=
65781   ENABLE_PARALLEL_FALSE='#'
65782 else
65783   ENABLE_PARALLEL_TRUE='#'
65784   ENABLE_PARALLEL_FALSE=
65785 fi
65786
65787
65788     if test $enable_extern_template = yes; then
65789   ENABLE_EXTERN_TEMPLATE_TRUE=
65790   ENABLE_EXTERN_TEMPLATE_FALSE='#'
65791 else
65792   ENABLE_EXTERN_TEMPLATE_TRUE='#'
65793   ENABLE_EXTERN_TEMPLATE_FALSE=
65794 fi
65795
65796
65797     if test $enable_symvers != no; then
65798   ENABLE_SYMVERS_TRUE=
65799   ENABLE_SYMVERS_FALSE='#'
65800 else
65801   ENABLE_SYMVERS_TRUE='#'
65802   ENABLE_SYMVERS_FALSE=
65803 fi
65804
65805
65806     if test $enable_symvers = gnu; then
65807   ENABLE_SYMVERS_GNU_TRUE=
65808   ENABLE_SYMVERS_GNU_FALSE='#'
65809 else
65810   ENABLE_SYMVERS_GNU_TRUE='#'
65811   ENABLE_SYMVERS_GNU_FALSE=
65812 fi
65813
65814
65815     if test $enable_symvers = gnu-versioned-namespace; then
65816   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
65817   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
65818 else
65819   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
65820   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
65821 fi
65822
65823
65824     if test $enable_symvers = darwin; then
65825   ENABLE_SYMVERS_DARWIN_TRUE=
65826   ENABLE_SYMVERS_DARWIN_FALSE='#'
65827 else
65828   ENABLE_SYMVERS_DARWIN_TRUE='#'
65829   ENABLE_SYMVERS_DARWIN_FALSE=
65830 fi
65831
65832
65833     if test $enable_symvers = sun; then
65834   ENABLE_SYMVERS_SUN_TRUE=
65835   ENABLE_SYMVERS_SUN_FALSE='#'
65836 else
65837   ENABLE_SYMVERS_SUN_TRUE='#'
65838   ENABLE_SYMVERS_SUN_FALSE=
65839 fi
65840
65841
65842     if test $symvers_renaming = no; then
65843   ENABLE_SYMVERS_SOL2_TRUE=
65844   ENABLE_SYMVERS_SOL2_FALSE='#'
65845 else
65846   ENABLE_SYMVERS_SOL2_TRUE='#'
65847   ENABLE_SYMVERS_SOL2_FALSE=
65848 fi
65849
65850
65851     if test $enable_visibility = yes; then
65852   ENABLE_VISIBILITY_TRUE=
65853   ENABLE_VISIBILITY_FALSE='#'
65854 else
65855   ENABLE_VISIBILITY_TRUE='#'
65856   ENABLE_VISIBILITY_FALSE=
65857 fi
65858
65859
65860     if test $ac_ldbl_compat = yes; then
65861   GLIBCXX_LDBL_COMPAT_TRUE=
65862   GLIBCXX_LDBL_COMPAT_FALSE='#'
65863 else
65864   GLIBCXX_LDBL_COMPAT_TRUE='#'
65865   GLIBCXX_LDBL_COMPAT_FALSE=
65866 fi
65867
65868
65869
65870
65871 cat >confcache <<\_ACEOF
65872 # This file is a shell script that caches the results of configure
65873 # tests run on this system so they can be shared between configure
65874 # scripts and configure runs, see configure's option --config-cache.
65875 # It is not useful on other systems.  If it contains results you don't
65876 # want to keep, you may remove or edit it.
65877 #
65878 # config.status only pays attention to the cache file if you give it
65879 # the --recheck option to rerun configure.
65880 #
65881 # `ac_cv_env_foo' variables (set or unset) will be overridden when
65882 # loading this file, other *unset* `ac_cv_foo' will be assigned the
65883 # following values.
65884
65885 _ACEOF
65886
65887 # The following way of writing the cache mishandles newlines in values,
65888 # but we know of no workaround that is simple, portable, and efficient.
65889 # So, we kill variables containing newlines.
65890 # Ultrix sh set writes to stderr and can't be redirected directly,
65891 # and sets the high bit in the cache file unless we assign to the vars.
65892 (
65893   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
65894     eval ac_val=\$$ac_var
65895     case $ac_val in #(
65896     *${as_nl}*)
65897       case $ac_var in #(
65898       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
65899 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
65900       esac
65901       case $ac_var in #(
65902       _ | IFS | as_nl) ;; #(
65903       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
65904       *) { eval $ac_var=; unset $ac_var;} ;;
65905       esac ;;
65906     esac
65907   done
65908
65909   (set) 2>&1 |
65910     case $as_nl`(ac_space=' '; set) 2>&1` in #(
65911     *${as_nl}ac_space=\ *)
65912       # `set' does not quote correctly, so add quotes: double-quote
65913       # substitution turns \\\\ into \\, and sed turns \\ into \.
65914       sed -n \
65915         "s/'/'\\\\''/g;
65916           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
65917       ;; #(
65918     *)
65919       # `set' quotes correctly as required by POSIX, so do not add quotes.
65920       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
65921       ;;
65922     esac |
65923     sort
65924 ) |
65925   sed '
65926      /^ac_cv_env_/b end
65927      t clear
65928      :clear
65929      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
65930      t end
65931      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
65932      :end' >>confcache
65933 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
65934   if test -w "$cache_file"; then
65935     test "x$cache_file" != "x/dev/null" &&
65936       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
65937 $as_echo "$as_me: updating cache $cache_file" >&6;}
65938     cat confcache >$cache_file
65939   else
65940     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
65941 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
65942   fi
65943 fi
65944 rm -f confcache
65945
65946 if test ${multilib} = yes; then
65947   multilib_arg="--enable-multilib"
65948 else
65949   multilib_arg=
65950 fi
65951
65952 # Export all the install information.
65953
65954   glibcxx_toolexecdir=no
65955   glibcxx_toolexeclibdir=no
65956   glibcxx_prefixdir=$prefix
65957
65958   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
65959 $as_echo_n "checking for gxx-include-dir... " >&6; }
65960
65961 # Check whether --with-gxx-include-dir was given.
65962 if test "${with_gxx_include_dir+set}" = set; then :
65963   withval=$with_gxx_include_dir; case "$withval" in
65964       yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
65965       no)  gxx_include_dir=no ;;
65966       *)   gxx_include_dir=$withval ;;
65967      esac
65968 else
65969   gxx_include_dir=no
65970 fi
65971
65972   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
65973 $as_echo "$gxx_include_dir" >&6; }
65974
65975   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
65976 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
65977   # Check whether --enable-version-specific-runtime-libs was given.
65978 if test "${enable_version_specific_runtime_libs+set}" = set; then :
65979   enableval=$enable_version_specific_runtime_libs; case "$enableval" in
65980       yes) version_specific_libs=yes ;;
65981       no)  version_specific_libs=no ;;
65982       *)   as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
65983      esac
65984 else
65985   version_specific_libs=no
65986 fi
65987
65988   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
65989 $as_echo "$version_specific_libs" >&6; }
65990
65991   # Default case for install directory for include files.
65992   if test $version_specific_libs = no && test $gxx_include_dir = no; then
65993     gxx_include_dir='include/c++/${gcc_version}'
65994     if test -n "$with_cross_host" &&
65995        test x"$with_cross_host" != x"no"; then
65996       gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
65997     else
65998       gxx_include_dir='${prefix}/'"$gxx_include_dir"
65999     fi
66000   fi
66001
66002   # Version-specific runtime libs processing.
66003   if test $version_specific_libs = yes; then
66004     # Need the gcc compiler version to know where to install libraries
66005     # and header files if --enable-version-specific-runtime-libs option
66006     # is selected.  FIXME: these variables are misnamed, there are
66007     # no executables installed in _toolexecdir or _toolexeclibdir.
66008     if test x"$gxx_include_dir" = x"no"; then
66009       gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
66010     fi
66011     glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
66012     glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
66013   fi
66014
66015   # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
66016   # Install a library built with a cross compiler in tooldir, not libdir.
66017   if test x"$glibcxx_toolexecdir" = x"no"; then
66018     if test -n "$with_cross_host" &&
66019        test x"$with_cross_host" != x"no"; then
66020       glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
66021       glibcxx_toolexeclibdir='${toolexecdir}/lib'
66022     else
66023       glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
66024       glibcxx_toolexeclibdir='${libdir}'
66025     fi
66026     multi_os_directory=`$CXX -print-multi-os-directory`
66027     case $multi_os_directory in
66028       .) ;; # Avoid trailing /.
66029       *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
66030     esac
66031   fi
66032
66033   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
66034 $as_echo_n "checking for install location... " >&6; }
66035   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
66036 $as_echo "$gxx_include_dir" >&6; }
66037
66038
66039
66040
66041
66042
66043
66044 # Export all the include and flag information to Makefiles.
66045
66046   # Used for every C++ compile we perform.
66047   GLIBCXX_INCLUDES="\
66048 -I$glibcxx_builddir/include/$host_alias \
66049 -I$glibcxx_builddir/include \
66050 -I$glibcxx_srcdir/libsupc++"
66051
66052   # For Canadian crosses, pick this up too.
66053   if test $CANADIAN = yes; then
66054     GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
66055   fi
66056
66057   # Stuff in the actual top level.  Currently only used by libsupc++ to
66058   # get unwind* headers from the libgcc dir.
66059   #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
66060   TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
66061
66062   # Now, export this to all the little Makefiles....
66063
66064
66065
66066
66067   # Optimization flags that are probably a good idea for thrill-seekers. Just
66068   # uncomment the lines below and make, everything else is ready to go...
66069   # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
66070   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
66071
66072
66073   WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
66074
66075
66076
66077 if test "$enable_shared" = yes; then
66078   LIBSUPCXX_PICFLAGS="-prefer-pic"
66079 else
66080   LIBSUPCXX_PICFLAGS=
66081 fi
66082
66083
66084 ac_config_files="$ac_config_files Makefile"
66085
66086 ac_config_files="$ac_config_files scripts/testsuite_flags"
66087
66088 ac_config_files="$ac_config_files scripts/extract_symvers"
66089
66090
66091 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
66092 # that multilib installs will end up installed in the correct place.
66093 # The testsuite needs it for multilib-aware ABI baseline files.
66094 # To work around this not being passed down from config-ml.in ->
66095 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
66096 # append it here.  Only modify Makefiles that have just been created.
66097 #
66098 # Also, get rid of this simulated-VPATH thing that automake does.
66099 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
66100
66101
66102 ac_config_commands="$ac_config_commands generate-headers"
66103
66104
66105 cat >confcache <<\_ACEOF
66106 # This file is a shell script that caches the results of configure
66107 # tests run on this system so they can be shared between configure
66108 # scripts and configure runs, see configure's option --config-cache.
66109 # It is not useful on other systems.  If it contains results you don't
66110 # want to keep, you may remove or edit it.
66111 #
66112 # config.status only pays attention to the cache file if you give it
66113 # the --recheck option to rerun configure.
66114 #
66115 # `ac_cv_env_foo' variables (set or unset) will be overridden when
66116 # loading this file, other *unset* `ac_cv_foo' will be assigned the
66117 # following values.
66118
66119 _ACEOF
66120
66121 # The following way of writing the cache mishandles newlines in values,
66122 # but we know of no workaround that is simple, portable, and efficient.
66123 # So, we kill variables containing newlines.
66124 # Ultrix sh set writes to stderr and can't be redirected directly,
66125 # and sets the high bit in the cache file unless we assign to the vars.
66126 (
66127   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
66128     eval ac_val=\$$ac_var
66129     case $ac_val in #(
66130     *${as_nl}*)
66131       case $ac_var in #(
66132       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
66133 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
66134       esac
66135       case $ac_var in #(
66136       _ | IFS | as_nl) ;; #(
66137       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
66138       *) { eval $ac_var=; unset $ac_var;} ;;
66139       esac ;;
66140     esac
66141   done
66142
66143   (set) 2>&1 |
66144     case $as_nl`(ac_space=' '; set) 2>&1` in #(
66145     *${as_nl}ac_space=\ *)
66146       # `set' does not quote correctly, so add quotes: double-quote
66147       # substitution turns \\\\ into \\, and sed turns \\ into \.
66148       sed -n \
66149         "s/'/'\\\\''/g;
66150           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
66151       ;; #(
66152     *)
66153       # `set' quotes correctly as required by POSIX, so do not add quotes.
66154       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
66155       ;;
66156     esac |
66157     sort
66158 ) |
66159   sed '
66160      /^ac_cv_env_/b end
66161      t clear
66162      :clear
66163      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
66164      t end
66165      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
66166      :end' >>confcache
66167 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
66168   if test -w "$cache_file"; then
66169     test "x$cache_file" != "x/dev/null" &&
66170       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
66171 $as_echo "$as_me: updating cache $cache_file" >&6;}
66172     cat confcache >$cache_file
66173   else
66174     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
66175 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
66176   fi
66177 fi
66178 rm -f confcache
66179
66180 test "x$prefix" = xNONE && prefix=$ac_default_prefix
66181 # Let make expand exec_prefix.
66182 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
66183
66184 DEFS=-DHAVE_CONFIG_H
66185
66186 ac_libobjs=
66187 ac_ltlibobjs=
66188 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
66189   # 1. Remove the extension, and $U if already installed.
66190   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
66191   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
66192   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
66193   #    will be set to the directory where LIBOBJS objects are built.
66194   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
66195   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
66196 done
66197 LIBOBJS=$ac_libobjs
66198
66199 LTLIBOBJS=$ac_ltlibobjs
66200
66201
66202  if test -n "$EXEEXT"; then
66203   am__EXEEXT_TRUE=
66204   am__EXEEXT_FALSE='#'
66205 else
66206   am__EXEEXT_TRUE='#'
66207   am__EXEEXT_FALSE=
66208 fi
66209
66210 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
66211   as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
66212 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66213 fi
66214 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
66215   as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
66216 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66217 fi
66218 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
66219   as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
66220 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66221 fi
66222 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
66223   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
66224 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66225 fi
66226 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
66227   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
66228 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66229 fi
66230 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
66231   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
66232 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66233 fi
66234 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
66235   as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
66236 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66237 fi
66238 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
66239   as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
66240 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66241 fi
66242 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
66243   as_fn_error "conditional \"ENABLE_PARALLEL\" was never defined.
66244 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66245 fi
66246 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
66247   as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
66248 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66249 fi
66250 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
66251   as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
66252 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66253 fi
66254 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
66255   as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
66256 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66257 fi
66258 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
66259   as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
66260 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66261 fi
66262 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
66263   as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
66264 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66265 fi
66266 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
66267   as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
66268 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66269 fi
66270 if test -z "${ENABLE_SYMVERS_SOL2_TRUE}" && test -z "${ENABLE_SYMVERS_SOL2_FALSE}"; then
66271   as_fn_error "conditional \"ENABLE_SYMVERS_SOL2\" was never defined.
66272 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66273 fi
66274 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
66275   as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
66276 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66277 fi
66278 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
66279   as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
66280 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66281 fi
66282 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
66283   as_fn_error "conditional \"BUILD_INFO\" was never defined.
66284 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66285 fi
66286 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
66287   as_fn_error "conditional \"BUILD_XML\" was never defined.
66288 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66289 fi
66290 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
66291   as_fn_error "conditional \"BUILD_HTML\" was never defined.
66292 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66293 fi
66294 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
66295   as_fn_error "conditional \"BUILD_MAN\" was never defined.
66296 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66297 fi
66298 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
66299   as_fn_error "conditional \"BUILD_PDF\" was never defined.
66300 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66301 fi
66302 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
66303   as_fn_error "conditional \"BUILD_EPUB\" was never defined.
66304 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66305 fi
66306
66307 : ${CONFIG_STATUS=./config.status}
66308 ac_write_fail=0
66309 ac_clean_files_save=$ac_clean_files
66310 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
66311 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
66312 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
66313 as_write_fail=0
66314 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
66315 #! $SHELL
66316 # Generated by $as_me.
66317 # Run this file to recreate the current configuration.
66318 # Compiler output produced by configure, useful for debugging
66319 # configure, is in config.log if it exists.
66320
66321 debug=false
66322 ac_cs_recheck=false
66323 ac_cs_silent=false
66324
66325 SHELL=\${CONFIG_SHELL-$SHELL}
66326 export SHELL
66327 _ASEOF
66328 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
66329 ## -------------------- ##
66330 ## M4sh Initialization. ##
66331 ## -------------------- ##
66332
66333 # Be more Bourne compatible
66334 DUALCASE=1; export DUALCASE # for MKS sh
66335 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
66336   emulate sh
66337   NULLCMD=:
66338   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
66339   # is contrary to our usage.  Disable this feature.
66340   alias -g '${1+"$@"}'='"$@"'
66341   setopt NO_GLOB_SUBST
66342 else
66343   case `(set -o) 2>/dev/null` in #(
66344   *posix*) :
66345     set -o posix ;; #(
66346   *) :
66347      ;;
66348 esac
66349 fi
66350
66351
66352 as_nl='
66353 '
66354 export as_nl
66355 # Printing a long string crashes Solaris 7 /usr/bin/printf.
66356 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
66357 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
66358 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
66359 # Prefer a ksh shell builtin over an external printf program on Solaris,
66360 # but without wasting forks for bash or zsh.
66361 if test -z "$BASH_VERSION$ZSH_VERSION" \
66362     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
66363   as_echo='print -r --'
66364   as_echo_n='print -rn --'
66365 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
66366   as_echo='printf %s\n'
66367   as_echo_n='printf %s'
66368 else
66369   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
66370     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
66371     as_echo_n='/usr/ucb/echo -n'
66372   else
66373     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
66374     as_echo_n_body='eval
66375       arg=$1;
66376       case $arg in #(
66377       *"$as_nl"*)
66378         expr "X$arg" : "X\\(.*\\)$as_nl";
66379         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66380       esac;
66381       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66382     '
66383     export as_echo_n_body
66384     as_echo_n='sh -c $as_echo_n_body as_echo'
66385   fi
66386   export as_echo_body
66387   as_echo='sh -c $as_echo_body as_echo'
66388 fi
66389
66390 # The user is always right.
66391 if test "${PATH_SEPARATOR+set}" != set; then
66392   PATH_SEPARATOR=:
66393   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
66394     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
66395       PATH_SEPARATOR=';'
66396   }
66397 fi
66398
66399
66400 # IFS
66401 # We need space, tab and new line, in precisely that order.  Quoting is
66402 # there to prevent editors from complaining about space-tab.
66403 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
66404 # splitting by setting IFS to empty value.)
66405 IFS=" ""        $as_nl"
66406
66407 # Find who we are.  Look in the path if we contain no directory separator.
66408 case $0 in #((
66409   *[\\/]* ) as_myself=$0 ;;
66410   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
66411 for as_dir in $PATH
66412 do
66413   IFS=$as_save_IFS
66414   test -z "$as_dir" && as_dir=.
66415     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
66416   done
66417 IFS=$as_save_IFS
66418
66419      ;;
66420 esac
66421 # We did not find ourselves, most probably we were run as `sh COMMAND'
66422 # in which case we are not to be found in the path.
66423 if test "x$as_myself" = x; then
66424   as_myself=$0
66425 fi
66426 if test ! -f "$as_myself"; then
66427   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
66428   exit 1
66429 fi
66430
66431 # Unset variables that we do not need and which cause bugs (e.g. in
66432 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
66433 # suppresses any "Segmentation fault" message there.  '((' could
66434 # trigger a bug in pdksh 5.2.14.
66435 for as_var in BASH_ENV ENV MAIL MAILPATH
66436 do eval test x\${$as_var+set} = xset \
66437   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
66438 done
66439 PS1='$ '
66440 PS2='> '
66441 PS4='+ '
66442
66443 # NLS nuisances.
66444 LC_ALL=C
66445 export LC_ALL
66446 LANGUAGE=C
66447 export LANGUAGE
66448
66449 # CDPATH.
66450 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
66451
66452
66453 # as_fn_error ERROR [LINENO LOG_FD]
66454 # ---------------------------------
66455 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
66456 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
66457 # script with status $?, using 1 if that was 0.
66458 as_fn_error ()
66459 {
66460   as_status=$?; test $as_status -eq 0 && as_status=1
66461   if test "$3"; then
66462     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
66463     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
66464   fi
66465   $as_echo "$as_me: error: $1" >&2
66466   as_fn_exit $as_status
66467 } # as_fn_error
66468
66469
66470 # as_fn_set_status STATUS
66471 # -----------------------
66472 # Set $? to STATUS, without forking.
66473 as_fn_set_status ()
66474 {
66475   return $1
66476 } # as_fn_set_status
66477
66478 # as_fn_exit STATUS
66479 # -----------------
66480 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
66481 as_fn_exit ()
66482 {
66483   set +e
66484   as_fn_set_status $1
66485   exit $1
66486 } # as_fn_exit
66487
66488 # as_fn_unset VAR
66489 # ---------------
66490 # Portably unset VAR.
66491 as_fn_unset ()
66492 {
66493   { eval $1=; unset $1;}
66494 }
66495 as_unset=as_fn_unset
66496 # as_fn_append VAR VALUE
66497 # ----------------------
66498 # Append the text in VALUE to the end of the definition contained in VAR. Take
66499 # advantage of any shell optimizations that allow amortized linear growth over
66500 # repeated appends, instead of the typical quadratic growth present in naive
66501 # implementations.
66502 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
66503   eval 'as_fn_append ()
66504   {
66505     eval $1+=\$2
66506   }'
66507 else
66508   as_fn_append ()
66509   {
66510     eval $1=\$$1\$2
66511   }
66512 fi # as_fn_append
66513
66514 # as_fn_arith ARG...
66515 # ------------------
66516 # Perform arithmetic evaluation on the ARGs, and store the result in the
66517 # global $as_val. Take advantage of shells that can avoid forks. The arguments
66518 # must be portable across $(()) and expr.
66519 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
66520   eval 'as_fn_arith ()
66521   {
66522     as_val=$(( $* ))
66523   }'
66524 else
66525   as_fn_arith ()
66526   {
66527     as_val=`expr "$@" || test $? -eq 1`
66528   }
66529 fi # as_fn_arith
66530
66531
66532 if expr a : '\(a\)' >/dev/null 2>&1 &&
66533    test "X`expr 00001 : '.*\(...\)'`" = X001; then
66534   as_expr=expr
66535 else
66536   as_expr=false
66537 fi
66538
66539 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
66540   as_basename=basename
66541 else
66542   as_basename=false
66543 fi
66544
66545 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
66546   as_dirname=dirname
66547 else
66548   as_dirname=false
66549 fi
66550
66551 as_me=`$as_basename -- "$0" ||
66552 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66553          X"$0" : 'X\(//\)$' \| \
66554          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
66555 $as_echo X/"$0" |
66556     sed '/^.*\/\([^/][^/]*\)\/*$/{
66557             s//\1/
66558             q
66559           }
66560           /^X\/\(\/\/\)$/{
66561             s//\1/
66562             q
66563           }
66564           /^X\/\(\/\).*/{
66565             s//\1/
66566             q
66567           }
66568           s/.*/./; q'`
66569
66570 # Avoid depending upon Character Ranges.
66571 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
66572 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
66573 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
66574 as_cr_digits='0123456789'
66575 as_cr_alnum=$as_cr_Letters$as_cr_digits
66576
66577 ECHO_C= ECHO_N= ECHO_T=
66578 case `echo -n x` in #(((((
66579 -n*)
66580   case `echo 'xy\c'` in
66581   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
66582   xy)  ECHO_C='\c';;
66583   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
66584        ECHO_T=' ';;
66585   esac;;
66586 *)
66587   ECHO_N='-n';;
66588 esac
66589
66590 rm -f conf$$ conf$$.exe conf$$.file
66591 if test -d conf$$.dir; then
66592   rm -f conf$$.dir/conf$$.file
66593 else
66594   rm -f conf$$.dir
66595   mkdir conf$$.dir 2>/dev/null
66596 fi
66597 if (echo >conf$$.file) 2>/dev/null; then
66598   if ln -s conf$$.file conf$$ 2>/dev/null; then
66599     as_ln_s='ln -s'
66600     # ... but there are two gotchas:
66601     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
66602     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
66603     # In both cases, we have to default to `cp -p'.
66604     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
66605       as_ln_s='cp -p'
66606   elif ln conf$$.file conf$$ 2>/dev/null; then
66607     as_ln_s=ln
66608   else
66609     as_ln_s='cp -p'
66610   fi
66611 else
66612   as_ln_s='cp -p'
66613 fi
66614 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
66615 rmdir conf$$.dir 2>/dev/null
66616
66617
66618 # as_fn_mkdir_p
66619 # -------------
66620 # Create "$as_dir" as a directory, including parents if necessary.
66621 as_fn_mkdir_p ()
66622 {
66623
66624   case $as_dir in #(
66625   -*) as_dir=./$as_dir;;
66626   esac
66627   test -d "$as_dir" || eval $as_mkdir_p || {
66628     as_dirs=
66629     while :; do
66630       case $as_dir in #(
66631       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
66632       *) as_qdir=$as_dir;;
66633       esac
66634       as_dirs="'$as_qdir' $as_dirs"
66635       as_dir=`$as_dirname -- "$as_dir" ||
66636 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
66637          X"$as_dir" : 'X\(//\)[^/]' \| \
66638          X"$as_dir" : 'X\(//\)$' \| \
66639          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
66640 $as_echo X"$as_dir" |
66641     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
66642             s//\1/
66643             q
66644           }
66645           /^X\(\/\/\)[^/].*/{
66646             s//\1/
66647             q
66648           }
66649           /^X\(\/\/\)$/{
66650             s//\1/
66651             q
66652           }
66653           /^X\(\/\).*/{
66654             s//\1/
66655             q
66656           }
66657           s/.*/./; q'`
66658       test -d "$as_dir" && break
66659     done
66660     test -z "$as_dirs" || eval "mkdir $as_dirs"
66661   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
66662
66663
66664 } # as_fn_mkdir_p
66665 if mkdir -p . 2>/dev/null; then
66666   as_mkdir_p='mkdir -p "$as_dir"'
66667 else
66668   test -d ./-p && rmdir ./-p
66669   as_mkdir_p=false
66670 fi
66671
66672 if test -x / >/dev/null 2>&1; then
66673   as_test_x='test -x'
66674 else
66675   if ls -dL / >/dev/null 2>&1; then
66676     as_ls_L_option=L
66677   else
66678     as_ls_L_option=
66679   fi
66680   as_test_x='
66681     eval sh -c '\''
66682       if test -d "$1"; then
66683         test -d "$1/.";
66684       else
66685         case $1 in #(
66686         -*)set "./$1";;
66687         esac;
66688         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
66689         ???[sx]*):;;*)false;;esac;fi
66690     '\'' sh
66691   '
66692 fi
66693 as_executable_p=$as_test_x
66694
66695 # Sed expression to map a string onto a valid CPP name.
66696 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
66697
66698 # Sed expression to map a string onto a valid variable name.
66699 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
66700
66701
66702 exec 6>&1
66703 ## ----------------------------------- ##
66704 ## Main body of $CONFIG_STATUS script. ##
66705 ## ----------------------------------- ##
66706 _ASEOF
66707 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
66708
66709 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66710 # Save the log message, to keep $0 and so on meaningful, and to
66711 # report actual input values of CONFIG_FILES etc. instead of their
66712 # values after options handling.
66713 ac_log="
66714 This file was extended by package-unused $as_me version-unused, which was
66715 generated by GNU Autoconf 2.64.  Invocation command line was
66716
66717   CONFIG_FILES    = $CONFIG_FILES
66718   CONFIG_HEADERS  = $CONFIG_HEADERS
66719   CONFIG_LINKS    = $CONFIG_LINKS
66720   CONFIG_COMMANDS = $CONFIG_COMMANDS
66721   $ $0 $@
66722
66723 on `(hostname || uname -n) 2>/dev/null | sed 1q`
66724 "
66725
66726 _ACEOF
66727
66728 case $ac_config_files in *"
66729 "*) set x $ac_config_files; shift; ac_config_files=$*;;
66730 esac
66731
66732 case $ac_config_headers in *"
66733 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
66734 esac
66735
66736
66737 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66738 # Files that config.status was made for.
66739 config_files="$ac_config_files"
66740 config_headers="$ac_config_headers"
66741 config_commands="$ac_config_commands"
66742
66743 _ACEOF
66744
66745 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66746 ac_cs_usage="\
66747 \`$as_me' instantiates files and other configuration actions
66748 from templates according to the current configuration.  Unless the files
66749 and actions are specified as TAGs, all are instantiated by default.
66750
66751 Usage: $0 [OPTION]... [TAG]...
66752
66753   -h, --help       print this help, then exit
66754   -V, --version    print version number and configuration settings, then exit
66755   -q, --quiet, --silent
66756                    do not print progress messages
66757   -d, --debug      don't remove temporary files
66758       --recheck    update $as_me by reconfiguring in the same conditions
66759       --file=FILE[:TEMPLATE]
66760                    instantiate the configuration file FILE
66761       --header=FILE[:TEMPLATE]
66762                    instantiate the configuration header FILE
66763
66764 Configuration files:
66765 $config_files
66766
66767 Configuration headers:
66768 $config_headers
66769
66770 Configuration commands:
66771 $config_commands
66772
66773 Report bugs to the package provider."
66774
66775 _ACEOF
66776 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66777 ac_cs_version="\\
66778 package-unused config.status version-unused
66779 configured by $0, generated by GNU Autoconf 2.64,
66780   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
66781
66782 Copyright (C) 2009 Free Software Foundation, Inc.
66783 This config.status script is free software; the Free Software Foundation
66784 gives unlimited permission to copy, distribute and modify it."
66785
66786 ac_pwd='$ac_pwd'
66787 srcdir='$srcdir'
66788 INSTALL='$INSTALL'
66789 MKDIR_P='$MKDIR_P'
66790 AWK='$AWK'
66791 test -n "\$AWK" || AWK=awk
66792 _ACEOF
66793
66794 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66795 # The default lists apply if the user does not specify any file.
66796 ac_need_defaults=:
66797 while test $# != 0
66798 do
66799   case $1 in
66800   --*=*)
66801     ac_option=`expr "X$1" : 'X\([^=]*\)='`
66802     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
66803     ac_shift=:
66804     ;;
66805   *)
66806     ac_option=$1
66807     ac_optarg=$2
66808     ac_shift=shift
66809     ;;
66810   esac
66811
66812   case $ac_option in
66813   # Handling of the options.
66814   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
66815     ac_cs_recheck=: ;;
66816   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
66817     $as_echo "$ac_cs_version"; exit ;;
66818   --debug | --debu | --deb | --de | --d | -d )
66819     debug=: ;;
66820   --file | --fil | --fi | --f )
66821     $ac_shift
66822     case $ac_optarg in
66823     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
66824     esac
66825     as_fn_append CONFIG_FILES " '$ac_optarg'"
66826     ac_need_defaults=false;;
66827   --header | --heade | --head | --hea )
66828     $ac_shift
66829     case $ac_optarg in
66830     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
66831     esac
66832     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
66833     ac_need_defaults=false;;
66834   --he | --h)
66835     # Conflict between --help and --header
66836     as_fn_error "ambiguous option: \`$1'
66837 Try \`$0 --help' for more information.";;
66838   --help | --hel | -h )
66839     $as_echo "$ac_cs_usage"; exit ;;
66840   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
66841   | -silent | --silent | --silen | --sile | --sil | --si | --s)
66842     ac_cs_silent=: ;;
66843
66844   # This is an error.
66845   -*) as_fn_error "unrecognized option: \`$1'
66846 Try \`$0 --help' for more information." ;;
66847
66848   *) as_fn_append ac_config_targets " $1"
66849      ac_need_defaults=false ;;
66850
66851   esac
66852   shift
66853 done
66854
66855 ac_configure_extra_args=
66856
66857 if $ac_cs_silent; then
66858   exec 6>/dev/null
66859   ac_configure_extra_args="$ac_configure_extra_args --silent"
66860 fi
66861
66862 _ACEOF
66863 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66864 if \$ac_cs_recheck; then
66865   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
66866   shift
66867   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
66868   CONFIG_SHELL='$SHELL'
66869   export CONFIG_SHELL
66870   exec "\$@"
66871 fi
66872
66873 _ACEOF
66874 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66875 exec 5>>config.log
66876 {
66877   echo
66878   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
66879 ## Running $as_me. ##
66880 _ASBOX
66881   $as_echo "$ac_log"
66882 } >&5
66883
66884 _ACEOF
66885 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66886 #
66887 # INIT-COMMANDS
66888 #
66889
66890 srcdir="$srcdir"
66891 host="$host"
66892 target="$target"
66893 with_multisubdir="$with_multisubdir"
66894 with_multisrctop="$with_multisrctop"
66895 with_target_subdir="$with_target_subdir"
66896 ac_configure_args="${multilib_arg} ${ac_configure_args}"
66897 multi_basedir="$multi_basedir"
66898 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
66899 CC="$CC"
66900 CXX="$CXX"
66901 GFORTRAN="$GFORTRAN"
66902 GCJ="$GCJ"
66903
66904
66905 # The HP-UX ksh and POSIX shell print the target directory to stdout
66906 # if CDPATH is set.
66907 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
66908
66909 sed_quote_subst='$sed_quote_subst'
66910 double_quote_subst='$double_quote_subst'
66911 delay_variable_subst='$delay_variable_subst'
66912 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
66913 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
66914 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
66915 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
66916 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
66917 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
66918 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
66919 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
66920 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
66921 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
66922 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
66923 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
66924 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
66925 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
66926 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
66927 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
66928 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
66929 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
66930 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
66931 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
66932 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
66933 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
66934 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
66935 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
66936 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
66937 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
66938 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
66939 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
66940 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
66941 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
66942 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
66943 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
66944 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
66945 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
66946 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
66947 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
66948 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
66949 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
66950 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
66951 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
66952 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
66953 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
66954 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
66955 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
66956 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
66957 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
66958 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
66959 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
66960 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"`'
66961 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
66962 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
66963 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
66964 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
66965 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
66966 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
66967 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
66968 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
66969 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
66970 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
66971 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
66972 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
66973 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
66974 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
66975 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
66976 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
66977 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
66978 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
66979 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
66980 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
66981 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
66982 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
66983 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
66984 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
66985 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
66986 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
66987 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
66988 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
66989 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
66990 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
66991 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
66992 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
66993 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
66994 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
66995 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
66996 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
66997 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
66998 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
66999 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
67000 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
67001 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
67002 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
67003 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
67004 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
67005 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
67006 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
67007 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
67008 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
67009 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
67010 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
67011 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
67012 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
67013 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
67014 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
67015 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
67016 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
67017 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
67018 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
67019 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
67020 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
67021 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
67022 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
67023 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
67024 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
67025 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
67026 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
67027 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
67028 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
67029 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
67030 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
67031 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
67032 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
67033 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
67034 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
67035 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
67036 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
67037 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
67038 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
67039 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
67040 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67041 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67042 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
67043 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
67044 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
67045 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
67046 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
67047 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
67048 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
67049 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
67050 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
67051 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
67052 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
67053 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
67054 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67055 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67056 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67057 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67058 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67059 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67060 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
67061 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
67062 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
67063 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
67064 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
67065 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
67066 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
67067 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
67068 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
67069 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
67070 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
67071 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
67072 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
67073 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
67074 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
67075 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67076 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
67077 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
67078 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67079 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
67080 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
67081 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
67082 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
67083 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
67084 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
67085 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
67086 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
67087
67088 LTCC='$LTCC'
67089 LTCFLAGS='$LTCFLAGS'
67090 compiler='$compiler_DEFAULT'
67091
67092 # A function that is used when there is no print builtin or printf.
67093 func_fallback_echo ()
67094 {
67095   eval 'cat <<_LTECHO_EOF
67096 \$1
67097 _LTECHO_EOF'
67098 }
67099
67100 # Quote evaled strings.
67101 for var in SHELL \
67102 ECHO \
67103 SED \
67104 GREP \
67105 EGREP \
67106 FGREP \
67107 LD \
67108 NM \
67109 LN_S \
67110 lt_SP2NL \
67111 lt_NL2SP \
67112 reload_flag \
67113 OBJDUMP \
67114 deplibs_check_method \
67115 file_magic_cmd \
67116 AR \
67117 AR_FLAGS \
67118 STRIP \
67119 RANLIB \
67120 CC \
67121 CFLAGS \
67122 compiler \
67123 lt_cv_sys_global_symbol_pipe \
67124 lt_cv_sys_global_symbol_to_cdecl \
67125 lt_cv_sys_global_symbol_to_c_name_address \
67126 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
67127 lt_prog_compiler_no_builtin_flag \
67128 lt_prog_compiler_wl \
67129 lt_prog_compiler_pic \
67130 lt_prog_compiler_static \
67131 lt_cv_prog_compiler_c_o \
67132 need_locks \
67133 DSYMUTIL \
67134 NMEDIT \
67135 LIPO \
67136 OTOOL \
67137 OTOOL64 \
67138 shrext_cmds \
67139 export_dynamic_flag_spec \
67140 whole_archive_flag_spec \
67141 compiler_needs_object \
67142 with_gnu_ld \
67143 allow_undefined_flag \
67144 no_undefined_flag \
67145 hardcode_libdir_flag_spec \
67146 hardcode_libdir_flag_spec_ld \
67147 hardcode_libdir_separator \
67148 fix_srcfile_path \
67149 exclude_expsyms \
67150 include_expsyms \
67151 file_list_spec \
67152 variables_saved_for_relink \
67153 libname_spec \
67154 library_names_spec \
67155 soname_spec \
67156 install_override_mode \
67157 finish_eval \
67158 old_striplib \
67159 striplib \
67160 compiler_lib_search_dirs \
67161 predep_objects \
67162 postdep_objects \
67163 predeps \
67164 postdeps \
67165 compiler_lib_search_path \
67166 LD_CXX \
67167 reload_flag_CXX \
67168 compiler_CXX \
67169 lt_prog_compiler_no_builtin_flag_CXX \
67170 lt_prog_compiler_wl_CXX \
67171 lt_prog_compiler_pic_CXX \
67172 lt_prog_compiler_static_CXX \
67173 lt_cv_prog_compiler_c_o_CXX \
67174 export_dynamic_flag_spec_CXX \
67175 whole_archive_flag_spec_CXX \
67176 compiler_needs_object_CXX \
67177 with_gnu_ld_CXX \
67178 allow_undefined_flag_CXX \
67179 no_undefined_flag_CXX \
67180 hardcode_libdir_flag_spec_CXX \
67181 hardcode_libdir_flag_spec_ld_CXX \
67182 hardcode_libdir_separator_CXX \
67183 fix_srcfile_path_CXX \
67184 exclude_expsyms_CXX \
67185 include_expsyms_CXX \
67186 file_list_spec_CXX \
67187 compiler_lib_search_dirs_CXX \
67188 predep_objects_CXX \
67189 postdep_objects_CXX \
67190 predeps_CXX \
67191 postdeps_CXX \
67192 compiler_lib_search_path_CXX; do
67193     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
67194     *[\\\\\\\`\\"\\\$]*)
67195       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
67196       ;;
67197     *)
67198       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
67199       ;;
67200     esac
67201 done
67202
67203 # Double-quote double-evaled strings.
67204 for var in reload_cmds \
67205 old_postinstall_cmds \
67206 old_postuninstall_cmds \
67207 old_archive_cmds \
67208 extract_expsyms_cmds \
67209 old_archive_from_new_cmds \
67210 old_archive_from_expsyms_cmds \
67211 archive_cmds \
67212 archive_expsym_cmds \
67213 module_cmds \
67214 module_expsym_cmds \
67215 export_symbols_cmds \
67216 prelink_cmds \
67217 postinstall_cmds \
67218 postuninstall_cmds \
67219 finish_cmds \
67220 sys_lib_search_path_spec \
67221 sys_lib_dlsearch_path_spec \
67222 reload_cmds_CXX \
67223 old_archive_cmds_CXX \
67224 old_archive_from_new_cmds_CXX \
67225 old_archive_from_expsyms_cmds_CXX \
67226 archive_cmds_CXX \
67227 archive_expsym_cmds_CXX \
67228 module_cmds_CXX \
67229 module_expsym_cmds_CXX \
67230 export_symbols_cmds_CXX \
67231 prelink_cmds_CXX; do
67232     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
67233     *[\\\\\\\`\\"\\\$]*)
67234       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
67235       ;;
67236     *)
67237       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
67238       ;;
67239     esac
67240 done
67241
67242 ac_aux_dir='$ac_aux_dir'
67243 xsi_shell='$xsi_shell'
67244 lt_shell_append='$lt_shell_append'
67245
67246 # See if we are running on zsh, and set the options which allow our
67247 # commands through without removal of \ escapes INIT.
67248 if test -n "\${ZSH_VERSION+set}" ; then
67249    setopt NO_GLOB_SUBST
67250 fi
67251
67252
67253     PACKAGE='$PACKAGE'
67254     VERSION='$VERSION'
67255     TIMESTAMP='$TIMESTAMP'
67256     RM='$RM'
67257     ofile='$ofile'
67258
67259
67260
67261
67262
67263
67264 GCC="$GCC"
67265 CC="$CC"
67266 acx_cv_header_stdint="$acx_cv_header_stdint"
67267 acx_cv_type_int8_t="$acx_cv_type_int8_t"
67268 acx_cv_type_int16_t="$acx_cv_type_int16_t"
67269 acx_cv_type_int32_t="$acx_cv_type_int32_t"
67270 acx_cv_type_int64_t="$acx_cv_type_int64_t"
67271 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
67272 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
67273 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
67274 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
67275 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
67276 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
67277 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
67278 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
67279 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
67280
67281
67282 _ACEOF
67283
67284 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67285
67286 # Handling of arguments.
67287 for ac_config_target in $ac_config_targets
67288 do
67289   case $ac_config_target in
67290     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
67291     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
67292     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
67293     "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
67294     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
67295     "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
67296     "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
67297     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
67298     "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
67299     "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
67300     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
67301     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
67302     "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
67303     "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
67304     "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
67305
67306   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
67307   esac
67308 done
67309
67310
67311 # If the user did not use the arguments to specify the items to instantiate,
67312 # then the envvar interface is used.  Set only those that are not.
67313 # We use the long form for the default assignment because of an extremely
67314 # bizarre bug on SunOS 4.1.3.
67315 if $ac_need_defaults; then
67316   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
67317   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
67318   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
67319 fi
67320
67321 # Have a temporary directory for convenience.  Make it in the build tree
67322 # simply because there is no reason against having it here, and in addition,
67323 # creating and moving files from /tmp can sometimes cause problems.
67324 # Hook for its removal unless debugging.
67325 # Note that there is a small window in which the directory will not be cleaned:
67326 # after its creation but before its name has been assigned to `$tmp'.
67327 $debug ||
67328 {
67329   tmp=
67330   trap 'exit_status=$?
67331   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
67332 ' 0
67333   trap 'as_fn_exit 1' 1 2 13 15
67334 }
67335 # Create a (secure) tmp directory for tmp files.
67336
67337 {
67338   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
67339   test -n "$tmp" && test -d "$tmp"
67340 }  ||
67341 {
67342   tmp=./conf$$-$RANDOM
67343   (umask 077 && mkdir "$tmp")
67344 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
67345
67346 # Set up the scripts for CONFIG_FILES section.
67347 # No need to generate them if there are no CONFIG_FILES.
67348 # This happens for instance with `./config.status config.h'.
67349 if test -n "$CONFIG_FILES"; then
67350
67351
67352 ac_cr=`echo X | tr X '\015'`
67353 # On cygwin, bash can eat \r inside `` if the user requested igncr.
67354 # But we know of no other shell where ac_cr would be empty at this
67355 # point, so we can use a bashism as a fallback.
67356 if test "x$ac_cr" = x; then
67357   eval ac_cr=\$\'\\r\'
67358 fi
67359 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
67360 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
67361   ac_cs_awk_cr='\r'
67362 else
67363   ac_cs_awk_cr=$ac_cr
67364 fi
67365
67366 echo 'BEGIN {' >"$tmp/subs1.awk" &&
67367 _ACEOF
67368
67369
67370 {
67371   echo "cat >conf$$subs.awk <<_ACEOF" &&
67372   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
67373   echo "_ACEOF"
67374 } >conf$$subs.sh ||
67375   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67376 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
67377 ac_delim='%!_!# '
67378 for ac_last_try in false false false false false :; do
67379   . ./conf$$subs.sh ||
67380     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67381
67382   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
67383   if test $ac_delim_n = $ac_delim_num; then
67384     break
67385   elif $ac_last_try; then
67386     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67387   else
67388     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
67389   fi
67390 done
67391 rm -f conf$$subs.sh
67392
67393 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67394 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
67395 _ACEOF
67396 sed -n '
67397 h
67398 s/^/S["/; s/!.*/"]=/
67399 p
67400 g
67401 s/^[^!]*!//
67402 :repl
67403 t repl
67404 s/'"$ac_delim"'$//
67405 t delim
67406 :nl
67407 h
67408 s/\(.\{148\}\).*/\1/
67409 t more1
67410 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
67411 p
67412 n
67413 b repl
67414 :more1
67415 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
67416 p
67417 g
67418 s/.\{148\}//
67419 t nl
67420 :delim
67421 h
67422 s/\(.\{148\}\).*/\1/
67423 t more2
67424 s/["\\]/\\&/g; s/^/"/; s/$/"/
67425 p
67426 b
67427 :more2
67428 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
67429 p
67430 g
67431 s/.\{148\}//
67432 t delim
67433 ' <conf$$subs.awk | sed '
67434 /^[^""]/{
67435   N
67436   s/\n//
67437 }
67438 ' >>$CONFIG_STATUS || ac_write_fail=1
67439 rm -f conf$$subs.awk
67440 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67441 _ACAWK
67442 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
67443   for (key in S) S_is_set[key] = 1
67444   FS = "\a"
67445
67446 }
67447 {
67448   line = $ 0
67449   nfields = split(line, field, "@")
67450   substed = 0
67451   len = length(field[1])
67452   for (i = 2; i < nfields; i++) {
67453     key = field[i]
67454     keylen = length(key)
67455     if (S_is_set[key]) {
67456       value = S[key]
67457       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
67458       len += length(value) + length(field[++i])
67459       substed = 1
67460     } else
67461       len += 1 + keylen
67462   }
67463
67464   print line
67465 }
67466
67467 _ACAWK
67468 _ACEOF
67469 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67470 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
67471   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
67472 else
67473   cat
67474 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
67475   || as_fn_error "could not setup config files machinery" "$LINENO" 5
67476 _ACEOF
67477
67478 # VPATH may cause trouble with some makes, so we remove $(srcdir),
67479 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
67480 # trailing colons and then remove the whole line if VPATH becomes empty
67481 # (actually we leave an empty line to preserve line numbers).
67482 if test "x$srcdir" = x.; then
67483   ac_vpsub='/^[  ]*VPATH[        ]*=/{
67484 s/:*\$(srcdir):*/:/
67485 s/:*\${srcdir}:*/:/
67486 s/:*@srcdir@:*/:/
67487 s/^\([^=]*=[     ]*\):*/\1/
67488 s/:*$//
67489 s/^[^=]*=[       ]*$//
67490 }'
67491 fi
67492
67493 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67494 fi # test -n "$CONFIG_FILES"
67495
67496 # Set up the scripts for CONFIG_HEADERS section.
67497 # No need to generate them if there are no CONFIG_HEADERS.
67498 # This happens for instance with `./config.status Makefile'.
67499 if test -n "$CONFIG_HEADERS"; then
67500 cat >"$tmp/defines.awk" <<\_ACAWK ||
67501 BEGIN {
67502 _ACEOF
67503
67504 # Transform confdefs.h into an awk script `defines.awk', embedded as
67505 # here-document in config.status, that substitutes the proper values into
67506 # config.h.in to produce config.h.
67507
67508 # Create a delimiter string that does not exist in confdefs.h, to ease
67509 # handling of long lines.
67510 ac_delim='%!_!# '
67511 for ac_last_try in false false :; do
67512   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
67513   if test -z "$ac_t"; then
67514     break
67515   elif $ac_last_try; then
67516     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
67517   else
67518     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
67519   fi
67520 done
67521
67522 # For the awk script, D is an array of macro values keyed by name,
67523 # likewise P contains macro parameters if any.  Preserve backslash
67524 # newline sequences.
67525
67526 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
67527 sed -n '
67528 s/.\{148\}/&'"$ac_delim"'/g
67529 t rset
67530 :rset
67531 s/^[     ]*#[    ]*define[       ][      ]*/ /
67532 t def
67533 d
67534 :def
67535 s/\\$//
67536 t bsnl
67537 s/["\\]/\\&/g
67538 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
67539 D["\1"]=" \3"/p
67540 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
67541 d
67542 :bsnl
67543 s/["\\]/\\&/g
67544 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
67545 D["\1"]=" \3\\\\\\n"\\/p
67546 t cont
67547 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
67548 t cont
67549 d
67550 :cont
67551 n
67552 s/.\{148\}/&'"$ac_delim"'/g
67553 t clear
67554 :clear
67555 s/\\$//
67556 t bsnlc
67557 s/["\\]/\\&/g; s/^/"/; s/$/"/p
67558 d
67559 :bsnlc
67560 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
67561 b cont
67562 ' <confdefs.h | sed '
67563 s/'"$ac_delim"'/"\\\
67564 "/g' >>$CONFIG_STATUS || ac_write_fail=1
67565
67566 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67567   for (key in D) D_is_set[key] = 1
67568   FS = "\a"
67569 }
67570 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
67571   line = \$ 0
67572   split(line, arg, " ")
67573   if (arg[1] == "#") {
67574     defundef = arg[2]
67575     mac1 = arg[3]
67576   } else {
67577     defundef = substr(arg[1], 2)
67578     mac1 = arg[2]
67579   }
67580   split(mac1, mac2, "(") #)
67581   macro = mac2[1]
67582   prefix = substr(line, 1, index(line, defundef) - 1)
67583   if (D_is_set[macro]) {
67584     # Preserve the white space surrounding the "#".
67585     print prefix "define", macro P[macro] D[macro]
67586     next
67587   } else {
67588     # Replace #undef with comments.  This is necessary, for example,
67589     # in the case of _POSIX_SOURCE, which is predefined and required
67590     # on some systems where configure will not decide to define it.
67591     if (defundef == "undef") {
67592       print "/*", prefix defundef, macro, "*/"
67593       next
67594     }
67595   }
67596 }
67597 { print }
67598 _ACAWK
67599 _ACEOF
67600 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67601   as_fn_error "could not setup config headers machinery" "$LINENO" 5
67602 fi # test -n "$CONFIG_HEADERS"
67603
67604
67605 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
67606 shift
67607 for ac_tag
67608 do
67609   case $ac_tag in
67610   :[FHLC]) ac_mode=$ac_tag; continue;;
67611   esac
67612   case $ac_mode$ac_tag in
67613   :[FHL]*:*);;
67614   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
67615   :[FH]-) ac_tag=-:-;;
67616   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
67617   esac
67618   ac_save_IFS=$IFS
67619   IFS=:
67620   set x $ac_tag
67621   IFS=$ac_save_IFS
67622   shift
67623   ac_file=$1
67624   shift
67625
67626   case $ac_mode in
67627   :L) ac_source=$1;;
67628   :[FH])
67629     ac_file_inputs=
67630     for ac_f
67631     do
67632       case $ac_f in
67633       -) ac_f="$tmp/stdin";;
67634       *) # Look for the file first in the build tree, then in the source tree
67635          # (if the path is not absolute).  The absolute path cannot be DOS-style,
67636          # because $ac_f cannot contain `:'.
67637          test -f "$ac_f" ||
67638            case $ac_f in
67639            [\\/$]*) false;;
67640            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
67641            esac ||
67642            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
67643       esac
67644       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
67645       as_fn_append ac_file_inputs " '$ac_f'"
67646     done
67647
67648     # Let's still pretend it is `configure' which instantiates (i.e., don't
67649     # use $as_me), people would be surprised to read:
67650     #    /* config.h.  Generated by config.status.  */
67651     configure_input='Generated from '`
67652           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
67653         `' by configure.'
67654     if test x"$ac_file" != x-; then
67655       configure_input="$ac_file.  $configure_input"
67656       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
67657 $as_echo "$as_me: creating $ac_file" >&6;}
67658     fi
67659     # Neutralize special characters interpreted by sed in replacement strings.
67660     case $configure_input in #(
67661     *\&* | *\|* | *\\* )
67662        ac_sed_conf_input=`$as_echo "$configure_input" |
67663        sed 's/[\\\\&|]/\\\\&/g'`;; #(
67664     *) ac_sed_conf_input=$configure_input;;
67665     esac
67666
67667     case $ac_tag in
67668     *:-:* | *:-) cat >"$tmp/stdin" \
67669       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
67670     esac
67671     ;;
67672   esac
67673
67674   ac_dir=`$as_dirname -- "$ac_file" ||
67675 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67676          X"$ac_file" : 'X\(//\)[^/]' \| \
67677          X"$ac_file" : 'X\(//\)$' \| \
67678          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
67679 $as_echo X"$ac_file" |
67680     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
67681             s//\1/
67682             q
67683           }
67684           /^X\(\/\/\)[^/].*/{
67685             s//\1/
67686             q
67687           }
67688           /^X\(\/\/\)$/{
67689             s//\1/
67690             q
67691           }
67692           /^X\(\/\).*/{
67693             s//\1/
67694             q
67695           }
67696           s/.*/./; q'`
67697   as_dir="$ac_dir"; as_fn_mkdir_p
67698   ac_builddir=.
67699
67700 case "$ac_dir" in
67701 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
67702 *)
67703   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
67704   # A ".." for each directory in $ac_dir_suffix.
67705   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
67706   case $ac_top_builddir_sub in
67707   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
67708   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
67709   esac ;;
67710 esac
67711 ac_abs_top_builddir=$ac_pwd
67712 ac_abs_builddir=$ac_pwd$ac_dir_suffix
67713 # for backward compatibility:
67714 ac_top_builddir=$ac_top_build_prefix
67715
67716 case $srcdir in
67717   .)  # We are building in place.
67718     ac_srcdir=.
67719     ac_top_srcdir=$ac_top_builddir_sub
67720     ac_abs_top_srcdir=$ac_pwd ;;
67721   [\\/]* | ?:[\\/]* )  # Absolute name.
67722     ac_srcdir=$srcdir$ac_dir_suffix;
67723     ac_top_srcdir=$srcdir
67724     ac_abs_top_srcdir=$srcdir ;;
67725   *) # Relative name.
67726     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
67727     ac_top_srcdir=$ac_top_build_prefix$srcdir
67728     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
67729 esac
67730 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
67731
67732
67733   case $ac_mode in
67734   :F)
67735   #
67736   # CONFIG_FILE
67737   #
67738
67739   case $INSTALL in
67740   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
67741   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
67742   esac
67743   ac_MKDIR_P=$MKDIR_P
67744   case $MKDIR_P in
67745   [\\/$]* | ?:[\\/]* ) ;;
67746   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
67747   esac
67748 _ACEOF
67749
67750 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67751 # If the template does not know about datarootdir, expand it.
67752 # FIXME: This hack should be removed a few years after 2.60.
67753 ac_datarootdir_hack=; ac_datarootdir_seen=
67754 ac_sed_dataroot='
67755 /datarootdir/ {
67756   p
67757   q
67758 }
67759 /@datadir@/p
67760 /@docdir@/p
67761 /@infodir@/p
67762 /@localedir@/p
67763 /@mandir@/p'
67764 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
67765 *datarootdir*) ac_datarootdir_seen=yes;;
67766 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
67767   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
67768 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
67769 _ACEOF
67770 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67771   ac_datarootdir_hack='
67772   s&@datadir@&$datadir&g
67773   s&@docdir@&$docdir&g
67774   s&@infodir@&$infodir&g
67775   s&@localedir@&$localedir&g
67776   s&@mandir@&$mandir&g
67777   s&\\\${datarootdir}&$datarootdir&g' ;;
67778 esac
67779 _ACEOF
67780
67781 # Neutralize VPATH when `$srcdir' = `.'.
67782 # Shell code in configure.ac might set extrasub.
67783 # FIXME: do we really want to maintain this feature?
67784 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67785 ac_sed_extra="$ac_vpsub
67786 $extrasub
67787 _ACEOF
67788 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67789 :t
67790 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
67791 s|@configure_input@|$ac_sed_conf_input|;t t
67792 s&@top_builddir@&$ac_top_builddir_sub&;t t
67793 s&@top_build_prefix@&$ac_top_build_prefix&;t t
67794 s&@srcdir@&$ac_srcdir&;t t
67795 s&@abs_srcdir@&$ac_abs_srcdir&;t t
67796 s&@top_srcdir@&$ac_top_srcdir&;t t
67797 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
67798 s&@builddir@&$ac_builddir&;t t
67799 s&@abs_builddir@&$ac_abs_builddir&;t t
67800 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
67801 s&@INSTALL@&$ac_INSTALL&;t t
67802 s&@MKDIR_P@&$ac_MKDIR_P&;t t
67803 $ac_datarootdir_hack
67804 "
67805 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
67806   || as_fn_error "could not create $ac_file" "$LINENO" 5
67807
67808 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
67809   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
67810   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
67811   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
67812 which seems to be undefined.  Please make sure it is defined." >&5
67813 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
67814 which seems to be undefined.  Please make sure it is defined." >&2;}
67815
67816   rm -f "$tmp/stdin"
67817   case $ac_file in
67818   -) cat "$tmp/out" && rm -f "$tmp/out";;
67819   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
67820   esac \
67821   || as_fn_error "could not create $ac_file" "$LINENO" 5
67822  ;;
67823   :H)
67824   #
67825   # CONFIG_HEADER
67826   #
67827   if test x"$ac_file" != x-; then
67828     {
67829       $as_echo "/* $configure_input  */" \
67830       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
67831     } >"$tmp/config.h" \
67832       || as_fn_error "could not create $ac_file" "$LINENO" 5
67833     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
67834       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
67835 $as_echo "$as_me: $ac_file is unchanged" >&6;}
67836     else
67837       rm -f "$ac_file"
67838       mv "$tmp/config.h" "$ac_file" \
67839         || as_fn_error "could not create $ac_file" "$LINENO" 5
67840     fi
67841   else
67842     $as_echo "/* $configure_input  */" \
67843       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
67844       || as_fn_error "could not create -" "$LINENO" 5
67845   fi
67846 # Compute "$ac_file"'s index in $config_headers.
67847 _am_arg="$ac_file"
67848 _am_stamp_count=1
67849 for _am_header in $config_headers :; do
67850   case $_am_header in
67851     $_am_arg | $_am_arg:* )
67852       break ;;
67853     * )
67854       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
67855   esac
67856 done
67857 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
67858 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67859          X"$_am_arg" : 'X\(//\)[^/]' \| \
67860          X"$_am_arg" : 'X\(//\)$' \| \
67861          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
67862 $as_echo X"$_am_arg" |
67863     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
67864             s//\1/
67865             q
67866           }
67867           /^X\(\/\/\)[^/].*/{
67868             s//\1/
67869             q
67870           }
67871           /^X\(\/\/\)$/{
67872             s//\1/
67873             q
67874           }
67875           /^X\(\/\).*/{
67876             s//\1/
67877             q
67878           }
67879           s/.*/./; q'`/stamp-h$_am_stamp_count
67880  ;;
67881
67882   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
67883 $as_echo "$as_me: executing $ac_file commands" >&6;}
67884  ;;
67885   esac
67886
67887
67888   case $ac_file$ac_mode in
67889     "default-1":C)
67890 # Only add multilib support code if we just rebuilt the top-level
67891 # Makefile.
67892 case " $CONFIG_FILES " in
67893  *" Makefile "*)
67894    ac_file=Makefile . ${multi_basedir}/config-ml.in
67895    ;;
67896 esac ;;
67897     "libtool":C)
67898
67899     # See if we are running on zsh, and set the options which allow our
67900     # commands through without removal of \ escapes.
67901     if test -n "${ZSH_VERSION+set}" ; then
67902       setopt NO_GLOB_SUBST
67903     fi
67904
67905     cfgfile="${ofile}T"
67906     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
67907     $RM "$cfgfile"
67908
67909     cat <<_LT_EOF >> "$cfgfile"
67910 #! $SHELL
67911
67912 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
67913 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
67914 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
67915 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
67916 #
67917 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
67918 #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
67919 #   Written by Gordon Matzigkeit, 1996
67920 #
67921 #   This file is part of GNU Libtool.
67922 #
67923 # GNU Libtool is free software; you can redistribute it and/or
67924 # modify it under the terms of the GNU General Public License as
67925 # published by the Free Software Foundation; either version 2 of
67926 # the License, or (at your option) any later version.
67927 #
67928 # As a special exception to the GNU General Public License,
67929 # if you distribute this file as part of a program or library that
67930 # is built using GNU Libtool, you may include this file under the
67931 # same distribution terms that you use for the rest of that program.
67932 #
67933 # GNU Libtool is distributed in the hope that it will be useful,
67934 # but WITHOUT ANY WARRANTY; without even the implied warranty of
67935 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
67936 # GNU General Public License for more details.
67937 #
67938 # You should have received a copy of the GNU General Public License
67939 # along with GNU Libtool; see the file COPYING.  If not, a copy
67940 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
67941 # obtained by writing to the Free Software Foundation, Inc.,
67942 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
67943
67944
67945 # The names of the tagged configurations supported by this script.
67946 available_tags="CXX "
67947
67948 # ### BEGIN LIBTOOL CONFIG
67949
67950 # Which release of libtool.m4 was used?
67951 macro_version=$macro_version
67952 macro_revision=$macro_revision
67953
67954 # Whether or not to build shared libraries.
67955 build_libtool_libs=$enable_shared
67956
67957 # Whether or not to build static libraries.
67958 build_old_libs=$enable_static
67959
67960 # What type of objects to build.
67961 pic_mode=$pic_mode
67962
67963 # Whether or not to optimize for fast installation.
67964 fast_install=$enable_fast_install
67965
67966 # Shell to use when invoking shell scripts.
67967 SHELL=$lt_SHELL
67968
67969 # An echo program that protects backslashes.
67970 ECHO=$lt_ECHO
67971
67972 # The host system.
67973 host_alias=$host_alias
67974 host=$host
67975 host_os=$host_os
67976
67977 # The build system.
67978 build_alias=$build_alias
67979 build=$build
67980 build_os=$build_os
67981
67982 # A sed program that does not truncate output.
67983 SED=$lt_SED
67984
67985 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
67986 Xsed="\$SED -e 1s/^X//"
67987
67988 # A grep program that handles long lines.
67989 GREP=$lt_GREP
67990
67991 # An ERE matcher.
67992 EGREP=$lt_EGREP
67993
67994 # A literal string matcher.
67995 FGREP=$lt_FGREP
67996
67997 # A BSD- or MS-compatible name lister.
67998 NM=$lt_NM
67999
68000 # Whether we need soft or hard links.
68001 LN_S=$lt_LN_S
68002
68003 # What is the maximum length of a command?
68004 max_cmd_len=$max_cmd_len
68005
68006 # Object file suffix (normally "o").
68007 objext=$ac_objext
68008
68009 # Executable file suffix (normally "").
68010 exeext=$exeext
68011
68012 # whether the shell understands "unset".
68013 lt_unset=$lt_unset
68014
68015 # turn spaces into newlines.
68016 SP2NL=$lt_lt_SP2NL
68017
68018 # turn newlines into spaces.
68019 NL2SP=$lt_lt_NL2SP
68020
68021 # An object symbol dumper.
68022 OBJDUMP=$lt_OBJDUMP
68023
68024 # Method to check whether dependent libraries are shared objects.
68025 deplibs_check_method=$lt_deplibs_check_method
68026
68027 # Command to use when deplibs_check_method == "file_magic".
68028 file_magic_cmd=$lt_file_magic_cmd
68029
68030 # The archiver.
68031 AR=$lt_AR
68032 AR_FLAGS=$lt_AR_FLAGS
68033
68034 # A symbol stripping program.
68035 STRIP=$lt_STRIP
68036
68037 # Commands used to install an old-style archive.
68038 RANLIB=$lt_RANLIB
68039 old_postinstall_cmds=$lt_old_postinstall_cmds
68040 old_postuninstall_cmds=$lt_old_postuninstall_cmds
68041
68042 # Whether to use a lock for old archive extraction.
68043 lock_old_archive_extraction=$lock_old_archive_extraction
68044
68045 # A C compiler.
68046 LTCC=$lt_CC
68047
68048 # LTCC compiler flags.
68049 LTCFLAGS=$lt_CFLAGS
68050
68051 # Take the output of nm and produce a listing of raw symbols and C names.
68052 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
68053
68054 # Transform the output of nm in a proper C declaration.
68055 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
68056
68057 # Transform the output of nm in a C name address pair.
68058 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
68059
68060 # Transform the output of nm in a C name address pair when lib prefix is needed.
68061 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
68062
68063 # The name of the directory that contains temporary libtool files.
68064 objdir=$objdir
68065
68066 # Used to examine libraries when file_magic_cmd begins with "file".
68067 MAGIC_CMD=$MAGIC_CMD
68068
68069 # Must we lock files when doing compilation?
68070 need_locks=$lt_need_locks
68071
68072 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
68073 DSYMUTIL=$lt_DSYMUTIL
68074
68075 # Tool to change global to local symbols on Mac OS X.
68076 NMEDIT=$lt_NMEDIT
68077
68078 # Tool to manipulate fat objects and archives on Mac OS X.
68079 LIPO=$lt_LIPO
68080
68081 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
68082 OTOOL=$lt_OTOOL
68083
68084 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
68085 OTOOL64=$lt_OTOOL64
68086
68087 # Old archive suffix (normally "a").
68088 libext=$libext
68089
68090 # Shared library suffix (normally ".so").
68091 shrext_cmds=$lt_shrext_cmds
68092
68093 # The commands to extract the exported symbol list from a shared archive.
68094 extract_expsyms_cmds=$lt_extract_expsyms_cmds
68095
68096 # Variables whose values should be saved in libtool wrapper scripts and
68097 # restored at link time.
68098 variables_saved_for_relink=$lt_variables_saved_for_relink
68099
68100 # Do we need the "lib" prefix for modules?
68101 need_lib_prefix=$need_lib_prefix
68102
68103 # Do we need a version for libraries?
68104 need_version=$need_version
68105
68106 # Library versioning type.
68107 version_type=$version_type
68108
68109 # Shared library runtime path variable.
68110 runpath_var=$runpath_var
68111
68112 # Shared library path variable.
68113 shlibpath_var=$shlibpath_var
68114
68115 # Is shlibpath searched before the hard-coded library search path?
68116 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
68117
68118 # Format of library name prefix.
68119 libname_spec=$lt_libname_spec
68120
68121 # List of archive names.  First name is the real one, the rest are links.
68122 # The last name is the one that the linker finds with -lNAME
68123 library_names_spec=$lt_library_names_spec
68124
68125 # The coded name of the library, if different from the real name.
68126 soname_spec=$lt_soname_spec
68127
68128 # Permission mode override for installation of shared libraries.
68129 install_override_mode=$lt_install_override_mode
68130
68131 # Command to use after installation of a shared archive.
68132 postinstall_cmds=$lt_postinstall_cmds
68133
68134 # Command to use after uninstallation of a shared archive.
68135 postuninstall_cmds=$lt_postuninstall_cmds
68136
68137 # Commands used to finish a libtool library installation in a directory.
68138 finish_cmds=$lt_finish_cmds
68139
68140 # As "finish_cmds", except a single script fragment to be evaled but
68141 # not shown.
68142 finish_eval=$lt_finish_eval
68143
68144 # Whether we should hardcode library paths into libraries.
68145 hardcode_into_libs=$hardcode_into_libs
68146
68147 # Compile-time system search path for libraries.
68148 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
68149
68150 # Run-time system search path for libraries.
68151 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
68152
68153 # Whether dlopen is supported.
68154 dlopen_support=$enable_dlopen
68155
68156 # Whether dlopen of programs is supported.
68157 dlopen_self=$enable_dlopen_self
68158
68159 # Whether dlopen of statically linked programs is supported.
68160 dlopen_self_static=$enable_dlopen_self_static
68161
68162 # Commands to strip libraries.
68163 old_striplib=$lt_old_striplib
68164 striplib=$lt_striplib
68165
68166
68167 # The linker used to build libraries.
68168 LD=$lt_LD
68169
68170 # How to create reloadable object files.
68171 reload_flag=$lt_reload_flag
68172 reload_cmds=$lt_reload_cmds
68173
68174 # Commands used to build an old-style archive.
68175 old_archive_cmds=$lt_old_archive_cmds
68176
68177 # A language specific compiler.
68178 CC=$lt_compiler
68179
68180 # Is the compiler the GNU compiler?
68181 with_gcc=$GCC
68182
68183 # Compiler flag to turn off builtin functions.
68184 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
68185
68186 # How to pass a linker flag through the compiler.
68187 wl=$lt_lt_prog_compiler_wl
68188
68189 # Additional compiler flags for building library objects.
68190 pic_flag=$lt_lt_prog_compiler_pic
68191
68192 # Compiler flag to prevent dynamic linking.
68193 link_static_flag=$lt_lt_prog_compiler_static
68194
68195 # Does compiler simultaneously support -c and -o options?
68196 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
68197
68198 # Whether or not to add -lc for building shared libraries.
68199 build_libtool_need_lc=$archive_cmds_need_lc
68200
68201 # Whether or not to disallow shared libs when runtime libs are static.
68202 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
68203
68204 # Compiler flag to allow reflexive dlopens.
68205 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
68206
68207 # Compiler flag to generate shared objects directly from archives.
68208 whole_archive_flag_spec=$lt_whole_archive_flag_spec
68209
68210 # Whether the compiler copes with passing no objects directly.
68211 compiler_needs_object=$lt_compiler_needs_object
68212
68213 # Create an old-style archive from a shared archive.
68214 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
68215
68216 # Create a temporary old-style archive to link instead of a shared archive.
68217 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
68218
68219 # Commands used to build a shared archive.
68220 archive_cmds=$lt_archive_cmds
68221 archive_expsym_cmds=$lt_archive_expsym_cmds
68222
68223 # Commands used to build a loadable module if different from building
68224 # a shared archive.
68225 module_cmds=$lt_module_cmds
68226 module_expsym_cmds=$lt_module_expsym_cmds
68227
68228 # Whether we are building with GNU ld or not.
68229 with_gnu_ld=$lt_with_gnu_ld
68230
68231 # Flag that allows shared libraries with undefined symbols to be built.
68232 allow_undefined_flag=$lt_allow_undefined_flag
68233
68234 # Flag that enforces no undefined symbols.
68235 no_undefined_flag=$lt_no_undefined_flag
68236
68237 # Flag to hardcode \$libdir into a binary during linking.
68238 # This must work even if \$libdir does not exist
68239 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
68240
68241 # If ld is used when linking, flag to hardcode \$libdir into a binary
68242 # during linking.  This must work even if \$libdir does not exist.
68243 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
68244
68245 # Whether we need a single "-rpath" flag with a separated argument.
68246 hardcode_libdir_separator=$lt_hardcode_libdir_separator
68247
68248 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68249 # DIR into the resulting binary.
68250 hardcode_direct=$hardcode_direct
68251
68252 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68253 # DIR into the resulting binary and the resulting library dependency is
68254 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
68255 # library is relocated.
68256 hardcode_direct_absolute=$hardcode_direct_absolute
68257
68258 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
68259 # into the resulting binary.
68260 hardcode_minus_L=$hardcode_minus_L
68261
68262 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
68263 # into the resulting binary.
68264 hardcode_shlibpath_var=$hardcode_shlibpath_var
68265
68266 # Set to "yes" if building a shared library automatically hardcodes DIR
68267 # into the library and all subsequent libraries and executables linked
68268 # against it.
68269 hardcode_automatic=$hardcode_automatic
68270
68271 # Set to yes if linker adds runtime paths of dependent libraries
68272 # to runtime path list.
68273 inherit_rpath=$inherit_rpath
68274
68275 # Whether libtool must link a program against all its dependency libraries.
68276 link_all_deplibs=$link_all_deplibs
68277
68278 # Fix the shell variable \$srcfile for the compiler.
68279 fix_srcfile_path=$lt_fix_srcfile_path
68280
68281 # Set to "yes" if exported symbols are required.
68282 always_export_symbols=$always_export_symbols
68283
68284 # The commands to list exported symbols.
68285 export_symbols_cmds=$lt_export_symbols_cmds
68286
68287 # Symbols that should not be listed in the preloaded symbols.
68288 exclude_expsyms=$lt_exclude_expsyms
68289
68290 # Symbols that must always be exported.
68291 include_expsyms=$lt_include_expsyms
68292
68293 # Commands necessary for linking programs (against libraries) with templates.
68294 prelink_cmds=$lt_prelink_cmds
68295
68296 # Specify filename containing input files.
68297 file_list_spec=$lt_file_list_spec
68298
68299 # How to hardcode a shared library path into an executable.
68300 hardcode_action=$hardcode_action
68301
68302 # The directories searched by this compiler when creating a shared library.
68303 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
68304
68305 # Dependencies to place before and after the objects being linked to
68306 # create a shared library.
68307 predep_objects=$lt_predep_objects
68308 postdep_objects=$lt_postdep_objects
68309 predeps=$lt_predeps
68310 postdeps=$lt_postdeps
68311
68312 # The library search path used internally by the compiler when linking
68313 # a shared library.
68314 compiler_lib_search_path=$lt_compiler_lib_search_path
68315
68316 # ### END LIBTOOL CONFIG
68317
68318 _LT_EOF
68319
68320   case $host_os in
68321   aix3*)
68322     cat <<\_LT_EOF >> "$cfgfile"
68323 # AIX sometimes has problems with the GCC collect2 program.  For some
68324 # reason, if we set the COLLECT_NAMES environment variable, the problems
68325 # vanish in a puff of smoke.
68326 if test "X${COLLECT_NAMES+set}" != Xset; then
68327   COLLECT_NAMES=
68328   export COLLECT_NAMES
68329 fi
68330 _LT_EOF
68331     ;;
68332   esac
68333
68334
68335 ltmain="$ac_aux_dir/ltmain.sh"
68336
68337
68338   # We use sed instead of cat because bash on DJGPP gets confused if
68339   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
68340   # text mode, it properly converts lines to CR/LF.  This bash problem
68341   # is reportedly fixed, but why not run on old versions too?
68342   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
68343     || (rm -f "$cfgfile"; exit 1)
68344
68345   case $xsi_shell in
68346   yes)
68347     cat << \_LT_EOF >> "$cfgfile"
68348
68349 # func_dirname file append nondir_replacement
68350 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
68351 # otherwise set result to NONDIR_REPLACEMENT.
68352 func_dirname ()
68353 {
68354   case ${1} in
68355     */*) func_dirname_result="${1%/*}${2}" ;;
68356     *  ) func_dirname_result="${3}" ;;
68357   esac
68358 }
68359
68360 # func_basename file
68361 func_basename ()
68362 {
68363   func_basename_result="${1##*/}"
68364 }
68365
68366 # func_dirname_and_basename file append nondir_replacement
68367 # perform func_basename and func_dirname in a single function
68368 # call:
68369 #   dirname:  Compute the dirname of FILE.  If nonempty,
68370 #             add APPEND to the result, otherwise set result
68371 #             to NONDIR_REPLACEMENT.
68372 #             value returned in "$func_dirname_result"
68373 #   basename: Compute filename of FILE.
68374 #             value retuned in "$func_basename_result"
68375 # Implementation must be kept synchronized with func_dirname
68376 # and func_basename. For efficiency, we do not delegate to
68377 # those functions but instead duplicate the functionality here.
68378 func_dirname_and_basename ()
68379 {
68380   case ${1} in
68381     */*) func_dirname_result="${1%/*}${2}" ;;
68382     *  ) func_dirname_result="${3}" ;;
68383   esac
68384   func_basename_result="${1##*/}"
68385 }
68386
68387 # func_stripname prefix suffix name
68388 # strip PREFIX and SUFFIX off of NAME.
68389 # PREFIX and SUFFIX must not contain globbing or regex special
68390 # characters, hashes, percent signs, but SUFFIX may contain a leading
68391 # dot (in which case that matches only a dot).
68392 func_stripname ()
68393 {
68394   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
68395   # positional parameters, so assign one to ordinary parameter first.
68396   func_stripname_result=${3}
68397   func_stripname_result=${func_stripname_result#"${1}"}
68398   func_stripname_result=${func_stripname_result%"${2}"}
68399 }
68400
68401 # func_opt_split
68402 func_opt_split ()
68403 {
68404   func_opt_split_opt=${1%%=*}
68405   func_opt_split_arg=${1#*=}
68406 }
68407
68408 # func_lo2o object
68409 func_lo2o ()
68410 {
68411   case ${1} in
68412     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
68413     *)    func_lo2o_result=${1} ;;
68414   esac
68415 }
68416
68417 # func_xform libobj-or-source
68418 func_xform ()
68419 {
68420   func_xform_result=${1%.*}.lo
68421 }
68422
68423 # func_arith arithmetic-term...
68424 func_arith ()
68425 {
68426   func_arith_result=$(( $* ))
68427 }
68428
68429 # func_len string
68430 # STRING may not start with a hyphen.
68431 func_len ()
68432 {
68433   func_len_result=${#1}
68434 }
68435
68436 _LT_EOF
68437     ;;
68438   *) # Bourne compatible functions.
68439     cat << \_LT_EOF >> "$cfgfile"
68440
68441 # func_dirname file append nondir_replacement
68442 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
68443 # otherwise set result to NONDIR_REPLACEMENT.
68444 func_dirname ()
68445 {
68446   # Extract subdirectory from the argument.
68447   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
68448   if test "X$func_dirname_result" = "X${1}"; then
68449     func_dirname_result="${3}"
68450   else
68451     func_dirname_result="$func_dirname_result${2}"
68452   fi
68453 }
68454
68455 # func_basename file
68456 func_basename ()
68457 {
68458   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
68459 }
68460
68461
68462 # func_stripname prefix suffix name
68463 # strip PREFIX and SUFFIX off of NAME.
68464 # PREFIX and SUFFIX must not contain globbing or regex special
68465 # characters, hashes, percent signs, but SUFFIX may contain a leading
68466 # dot (in which case that matches only a dot).
68467 # func_strip_suffix prefix name
68468 func_stripname ()
68469 {
68470   case ${2} in
68471     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
68472     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
68473   esac
68474 }
68475
68476 # sed scripts:
68477 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
68478 my_sed_long_arg='1s/^-[^=]*=//'
68479
68480 # func_opt_split
68481 func_opt_split ()
68482 {
68483   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
68484   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
68485 }
68486
68487 # func_lo2o object
68488 func_lo2o ()
68489 {
68490   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
68491 }
68492
68493 # func_xform libobj-or-source
68494 func_xform ()
68495 {
68496   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
68497 }
68498
68499 # func_arith arithmetic-term...
68500 func_arith ()
68501 {
68502   func_arith_result=`expr "$@"`
68503 }
68504
68505 # func_len string
68506 # STRING may not start with a hyphen.
68507 func_len ()
68508 {
68509   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
68510 }
68511
68512 _LT_EOF
68513 esac
68514
68515 case $lt_shell_append in
68516   yes)
68517     cat << \_LT_EOF >> "$cfgfile"
68518
68519 # func_append var value
68520 # Append VALUE to the end of shell variable VAR.
68521 func_append ()
68522 {
68523   eval "$1+=\$2"
68524 }
68525 _LT_EOF
68526     ;;
68527   *)
68528     cat << \_LT_EOF >> "$cfgfile"
68529
68530 # func_append var value
68531 # Append VALUE to the end of shell variable VAR.
68532 func_append ()
68533 {
68534   eval "$1=\$$1\$2"
68535 }
68536
68537 _LT_EOF
68538     ;;
68539   esac
68540
68541
68542   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
68543     || (rm -f "$cfgfile"; exit 1)
68544
68545   mv -f "$cfgfile" "$ofile" ||
68546     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
68547   chmod +x "$ofile"
68548
68549
68550     cat <<_LT_EOF >> "$ofile"
68551
68552 # ### BEGIN LIBTOOL TAG CONFIG: CXX
68553
68554 # The linker used to build libraries.
68555 LD=$lt_LD_CXX
68556
68557 # How to create reloadable object files.
68558 reload_flag=$lt_reload_flag_CXX
68559 reload_cmds=$lt_reload_cmds_CXX
68560
68561 # Commands used to build an old-style archive.
68562 old_archive_cmds=$lt_old_archive_cmds_CXX
68563
68564 # A language specific compiler.
68565 CC=$lt_compiler_CXX
68566
68567 # Is the compiler the GNU compiler?
68568 with_gcc=$GCC_CXX
68569
68570 # Compiler flag to turn off builtin functions.
68571 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
68572
68573 # How to pass a linker flag through the compiler.
68574 wl=$lt_lt_prog_compiler_wl_CXX
68575
68576 # Additional compiler flags for building library objects.
68577 pic_flag=$lt_lt_prog_compiler_pic_CXX
68578
68579 # Compiler flag to prevent dynamic linking.
68580 link_static_flag=$lt_lt_prog_compiler_static_CXX
68581
68582 # Does compiler simultaneously support -c and -o options?
68583 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
68584
68585 # Whether or not to add -lc for building shared libraries.
68586 build_libtool_need_lc=$archive_cmds_need_lc_CXX
68587
68588 # Whether or not to disallow shared libs when runtime libs are static.
68589 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
68590
68591 # Compiler flag to allow reflexive dlopens.
68592 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
68593
68594 # Compiler flag to generate shared objects directly from archives.
68595 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
68596
68597 # Whether the compiler copes with passing no objects directly.
68598 compiler_needs_object=$lt_compiler_needs_object_CXX
68599
68600 # Create an old-style archive from a shared archive.
68601 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
68602
68603 # Create a temporary old-style archive to link instead of a shared archive.
68604 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
68605
68606 # Commands used to build a shared archive.
68607 archive_cmds=$lt_archive_cmds_CXX
68608 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
68609
68610 # Commands used to build a loadable module if different from building
68611 # a shared archive.
68612 module_cmds=$lt_module_cmds_CXX
68613 module_expsym_cmds=$lt_module_expsym_cmds_CXX
68614
68615 # Whether we are building with GNU ld or not.
68616 with_gnu_ld=$lt_with_gnu_ld_CXX
68617
68618 # Flag that allows shared libraries with undefined symbols to be built.
68619 allow_undefined_flag=$lt_allow_undefined_flag_CXX
68620
68621 # Flag that enforces no undefined symbols.
68622 no_undefined_flag=$lt_no_undefined_flag_CXX
68623
68624 # Flag to hardcode \$libdir into a binary during linking.
68625 # This must work even if \$libdir does not exist
68626 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
68627
68628 # If ld is used when linking, flag to hardcode \$libdir into a binary
68629 # during linking.  This must work even if \$libdir does not exist.
68630 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
68631
68632 # Whether we need a single "-rpath" flag with a separated argument.
68633 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
68634
68635 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68636 # DIR into the resulting binary.
68637 hardcode_direct=$hardcode_direct_CXX
68638
68639 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68640 # DIR into the resulting binary and the resulting library dependency is
68641 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
68642 # library is relocated.
68643 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
68644
68645 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
68646 # into the resulting binary.
68647 hardcode_minus_L=$hardcode_minus_L_CXX
68648
68649 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
68650 # into the resulting binary.
68651 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
68652
68653 # Set to "yes" if building a shared library automatically hardcodes DIR
68654 # into the library and all subsequent libraries and executables linked
68655 # against it.
68656 hardcode_automatic=$hardcode_automatic_CXX
68657
68658 # Set to yes if linker adds runtime paths of dependent libraries
68659 # to runtime path list.
68660 inherit_rpath=$inherit_rpath_CXX
68661
68662 # Whether libtool must link a program against all its dependency libraries.
68663 link_all_deplibs=$link_all_deplibs_CXX
68664
68665 # Fix the shell variable \$srcfile for the compiler.
68666 fix_srcfile_path=$lt_fix_srcfile_path_CXX
68667
68668 # Set to "yes" if exported symbols are required.
68669 always_export_symbols=$always_export_symbols_CXX
68670
68671 # The commands to list exported symbols.
68672 export_symbols_cmds=$lt_export_symbols_cmds_CXX
68673
68674 # Symbols that should not be listed in the preloaded symbols.
68675 exclude_expsyms=$lt_exclude_expsyms_CXX
68676
68677 # Symbols that must always be exported.
68678 include_expsyms=$lt_include_expsyms_CXX
68679
68680 # Commands necessary for linking programs (against libraries) with templates.
68681 prelink_cmds=$lt_prelink_cmds_CXX
68682
68683 # Specify filename containing input files.
68684 file_list_spec=$lt_file_list_spec_CXX
68685
68686 # How to hardcode a shared library path into an executable.
68687 hardcode_action=$hardcode_action_CXX
68688
68689 # The directories searched by this compiler when creating a shared library.
68690 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
68691
68692 # Dependencies to place before and after the objects being linked to
68693 # create a shared library.
68694 predep_objects=$lt_predep_objects_CXX
68695 postdep_objects=$lt_postdep_objects_CXX
68696 predeps=$lt_predeps_CXX
68697 postdeps=$lt_postdeps_CXX
68698
68699 # The library search path used internally by the compiler when linking
68700 # a shared library.
68701 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
68702
68703 # ### END LIBTOOL TAG CONFIG: CXX
68704 _LT_EOF
68705
68706  ;;
68707     "include/gstdint.h":C)
68708 if test "$GCC" = yes; then
68709   echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
68710 else
68711   echo "/* generated for $CC */" > tmp-stdint.h
68712 fi
68713
68714 sed 's/^ *//' >> tmp-stdint.h <<EOF
68715
68716   #ifndef GCC_GENERATED_STDINT_H
68717   #define GCC_GENERATED_STDINT_H 1
68718
68719   #include <sys/types.h>
68720 EOF
68721
68722 if test "$acx_cv_header_stdint" != stdint.h; then
68723   echo "#include <stddef.h>" >> tmp-stdint.h
68724 fi
68725 if test "$acx_cv_header_stdint" != stddef.h; then
68726   echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
68727 fi
68728
68729 sed 's/^ *//' >> tmp-stdint.h <<EOF
68730   /* glibc uses these symbols as guards to prevent redefinitions.  */
68731   #ifdef __int8_t_defined
68732   #define _INT8_T
68733   #define _INT16_T
68734   #define _INT32_T
68735   #endif
68736   #ifdef __uint32_t_defined
68737   #define _UINT32_T
68738   #endif
68739
68740 EOF
68741
68742 # ----------------- done header, emit basic int types -------------
68743 if test "$acx_cv_header_stdint" = stddef.h; then
68744   sed 's/^ *//' >> tmp-stdint.h <<EOF
68745
68746     #ifndef _UINT8_T
68747     #define _UINT8_T
68748     #ifndef __uint8_t_defined
68749     #define __uint8_t_defined
68750     #ifndef uint8_t
68751     typedef unsigned $acx_cv_type_int8_t uint8_t;
68752     #endif
68753     #endif
68754     #endif
68755
68756     #ifndef _UINT16_T
68757     #define _UINT16_T
68758     #ifndef __uint16_t_defined
68759     #define __uint16_t_defined
68760     #ifndef uint16_t
68761     typedef unsigned $acx_cv_type_int16_t uint16_t;
68762     #endif
68763     #endif
68764     #endif
68765
68766     #ifndef _UINT32_T
68767     #define _UINT32_T
68768     #ifndef __uint32_t_defined
68769     #define __uint32_t_defined
68770     #ifndef uint32_t
68771     typedef unsigned $acx_cv_type_int32_t uint32_t;
68772     #endif
68773     #endif
68774     #endif
68775
68776     #ifndef _INT8_T
68777     #define _INT8_T
68778     #ifndef __int8_t_defined
68779     #define __int8_t_defined
68780     #ifndef int8_t
68781     typedef $acx_cv_type_int8_t int8_t;
68782     #endif
68783     #endif
68784     #endif
68785
68786     #ifndef _INT16_T
68787     #define _INT16_T
68788     #ifndef __int16_t_defined
68789     #define __int16_t_defined
68790     #ifndef int16_t
68791     typedef $acx_cv_type_int16_t int16_t;
68792     #endif
68793     #endif
68794     #endif
68795
68796     #ifndef _INT32_T
68797     #define _INT32_T
68798     #ifndef __int32_t_defined
68799     #define __int32_t_defined
68800     #ifndef int32_t
68801     typedef $acx_cv_type_int32_t int32_t;
68802     #endif
68803     #endif
68804     #endif
68805 EOF
68806 elif test "$ac_cv_type_u_int32_t" = yes; then
68807   sed 's/^ *//' >> tmp-stdint.h <<EOF
68808
68809     /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
68810     #ifndef _INT8_T
68811     #define _INT8_T
68812     #endif
68813     #ifndef _INT16_T
68814     #define _INT16_T
68815     #endif
68816     #ifndef _INT32_T
68817     #define _INT32_T
68818     #endif
68819
68820     #ifndef _UINT8_T
68821     #define _UINT8_T
68822     #ifndef __uint8_t_defined
68823     #define __uint8_t_defined
68824     #ifndef uint8_t
68825     typedef u_int8_t uint8_t;
68826     #endif
68827     #endif
68828     #endif
68829
68830     #ifndef _UINT16_T
68831     #define _UINT16_T
68832     #ifndef __uint16_t_defined
68833     #define __uint16_t_defined
68834     #ifndef uint16_t
68835     typedef u_int16_t uint16_t;
68836     #endif
68837     #endif
68838     #endif
68839
68840     #ifndef _UINT32_T
68841     #define _UINT32_T
68842     #ifndef __uint32_t_defined
68843     #define __uint32_t_defined
68844     #ifndef uint32_t
68845     typedef u_int32_t uint32_t;
68846     #endif
68847     #endif
68848     #endif
68849 EOF
68850 else
68851   sed 's/^ *//' >> tmp-stdint.h <<EOF
68852
68853     /* Some systems have guard macros to prevent redefinitions, define them.  */
68854     #ifndef _INT8_T
68855     #define _INT8_T
68856     #endif
68857     #ifndef _INT16_T
68858     #define _INT16_T
68859     #endif
68860     #ifndef _INT32_T
68861     #define _INT32_T
68862     #endif
68863     #ifndef _UINT8_T
68864     #define _UINT8_T
68865     #endif
68866     #ifndef _UINT16_T
68867     #define _UINT16_T
68868     #endif
68869     #ifndef _UINT32_T
68870     #define _UINT32_T
68871     #endif
68872 EOF
68873 fi
68874
68875 # ------------- done basic int types, emit int64_t types ------------
68876 if test "$ac_cv_type_uint64_t" = yes; then
68877   sed 's/^ *//' >> tmp-stdint.h <<EOF
68878
68879     /* system headers have good uint64_t and int64_t */
68880     #ifndef _INT64_T
68881     #define _INT64_T
68882     #endif
68883     #ifndef _UINT64_T
68884     #define _UINT64_T
68885     #endif
68886 EOF
68887 elif test "$ac_cv_type_u_int64_t" = yes; then
68888   sed 's/^ *//' >> tmp-stdint.h <<EOF
68889
68890     /* system headers have an u_int64_t (and int64_t) */
68891     #ifndef _INT64_T
68892     #define _INT64_T
68893     #endif
68894     #ifndef _UINT64_T
68895     #define _UINT64_T
68896     #ifndef __uint64_t_defined
68897     #define __uint64_t_defined
68898     #ifndef uint64_t
68899     typedef u_int64_t uint64_t;
68900     #endif
68901     #endif
68902     #endif
68903 EOF
68904 elif test -n "$acx_cv_type_int64_t"; then
68905   sed 's/^ *//' >> tmp-stdint.h <<EOF
68906
68907     /* architecture has a 64-bit type, $acx_cv_type_int64_t */
68908     #ifndef _INT64_T
68909     #define _INT64_T
68910     #ifndef int64_t
68911     typedef $acx_cv_type_int64_t int64_t;
68912     #endif
68913     #endif
68914     #ifndef _UINT64_T
68915     #define _UINT64_T
68916     #ifndef __uint64_t_defined
68917     #define __uint64_t_defined
68918     #ifndef uint64_t
68919     typedef unsigned $acx_cv_type_int64_t uint64_t;
68920     #endif
68921     #endif
68922     #endif
68923 EOF
68924 else
68925   sed 's/^ *//' >> tmp-stdint.h <<EOF
68926
68927     /* some common heuristics for int64_t, using compiler-specific tests */
68928     #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
68929     #ifndef _INT64_T
68930     #define _INT64_T
68931     #ifndef __int64_t_defined
68932     #ifndef int64_t
68933     typedef long long int64_t;
68934     #endif
68935     #endif
68936     #endif
68937     #ifndef _UINT64_T
68938     #define _UINT64_T
68939     #ifndef uint64_t
68940     typedef unsigned long long uint64_t;
68941     #endif
68942     #endif
68943
68944     #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
68945     /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
68946        does not implement __extension__.  But that compiler doesn't define
68947        __GNUC_MINOR__.  */
68948     # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
68949     # define __extension__
68950     # endif
68951
68952     # ifndef _INT64_T
68953     # define _INT64_T
68954     # ifndef int64_t
68955     __extension__ typedef long long int64_t;
68956     # endif
68957     # endif
68958     # ifndef _UINT64_T
68959     # define _UINT64_T
68960     # ifndef uint64_t
68961     __extension__ typedef unsigned long long uint64_t;
68962     # endif
68963     # endif
68964
68965     #elif !defined __STRICT_ANSI__
68966     # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
68967
68968     #  ifndef _INT64_T
68969     #  define _INT64_T
68970     #  ifndef int64_t
68971     typedef __int64 int64_t;
68972     #  endif
68973     #  endif
68974     #  ifndef _UINT64_T
68975     #  define _UINT64_T
68976     #  ifndef uint64_t
68977     typedef unsigned __int64 uint64_t;
68978     #  endif
68979     #  endif
68980     # endif /* compiler */
68981
68982     #endif /* ANSI version */
68983 EOF
68984 fi
68985
68986 # ------------- done int64_t types, emit intptr types ------------
68987 if test "$ac_cv_type_uintptr_t" != yes; then
68988   sed 's/^ *//' >> tmp-stdint.h <<EOF
68989
68990     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
68991     #ifndef __uintptr_t_defined
68992     #ifndef uintptr_t
68993     typedef u$acx_cv_type_intptr_t uintptr_t;
68994     #endif
68995     #endif
68996     #ifndef __intptr_t_defined
68997     #ifndef intptr_t
68998     typedef $acx_cv_type_intptr_t  intptr_t;
68999     #endif
69000     #endif
69001 EOF
69002 fi
69003
69004 # ------------- done intptr types, emit int_least types ------------
69005 if test "$ac_cv_type_int_least32_t" != yes; then
69006   sed 's/^ *//' >> tmp-stdint.h <<EOF
69007
69008     /* Define int_least types */
69009     typedef int8_t     int_least8_t;
69010     typedef int16_t    int_least16_t;
69011     typedef int32_t    int_least32_t;
69012     #ifdef _INT64_T
69013     typedef int64_t    int_least64_t;
69014     #endif
69015
69016     typedef uint8_t    uint_least8_t;
69017     typedef uint16_t   uint_least16_t;
69018     typedef uint32_t   uint_least32_t;
69019     #ifdef _UINT64_T
69020     typedef uint64_t   uint_least64_t;
69021     #endif
69022 EOF
69023 fi
69024
69025 # ------------- done intptr types, emit int_fast types ------------
69026 if test "$ac_cv_type_int_fast32_t" != yes; then
69027       sed 's/^ *//' >> tmp-stdint.h <<EOF
69028
69029     /* Define int_fast types.  short is often slow */
69030     typedef int8_t       int_fast8_t;
69031     typedef int          int_fast16_t;
69032     typedef int32_t      int_fast32_t;
69033     #ifdef _INT64_T
69034     typedef int64_t      int_fast64_t;
69035     #endif
69036
69037     typedef uint8_t      uint_fast8_t;
69038     typedef unsigned int uint_fast16_t;
69039     typedef uint32_t     uint_fast32_t;
69040     #ifdef _UINT64_T
69041     typedef uint64_t     uint_fast64_t;
69042     #endif
69043 EOF
69044 fi
69045
69046 if test "$ac_cv_type_uintmax_t" != yes; then
69047   sed 's/^ *//' >> tmp-stdint.h <<EOF
69048
69049     /* Define intmax based on what we found */
69050     #ifndef intmax_t
69051     #ifdef _INT64_T
69052     typedef int64_t       intmax_t;
69053     #else
69054     typedef long          intmax_t;
69055     #endif
69056     #endif
69057     #ifndef uintmax_t
69058     #ifdef _UINT64_T
69059     typedef uint64_t      uintmax_t;
69060     #else
69061     typedef unsigned long uintmax_t;
69062     #endif
69063     #endif
69064 EOF
69065 fi
69066
69067 sed 's/^ *//' >> tmp-stdint.h <<EOF
69068
69069   #endif /* GCC_GENERATED_STDINT_H */
69070 EOF
69071
69072 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
69073   rm -f tmp-stdint.h
69074 else
69075   mv -f tmp-stdint.h include/gstdint.h
69076 fi
69077
69078  ;;
69079     "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
69080     "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
69081     "include/Makefile":F) cat > vpsed$$ << \_EOF
69082 s!`test -f '$<' || echo '$(srcdir)/'`!!
69083 _EOF
69084    sed -f vpsed$$ $ac_file > tmp$$
69085    mv tmp$$ $ac_file
69086    rm vpsed$$
69087    echo 'MULTISUBDIR =' >> $ac_file
69088    ml_norecursion=yes
69089    . ${multi_basedir}/config-ml.in
69090    { ml_norecursion=; unset ml_norecursion;}
69091  ;;
69092     "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
69093 s!`test -f '$<' || echo '$(srcdir)/'`!!
69094 _EOF
69095    sed -f vpsed$$ $ac_file > tmp$$
69096    mv tmp$$ $ac_file
69097    rm vpsed$$
69098    echo 'MULTISUBDIR =' >> $ac_file
69099    ml_norecursion=yes
69100    . ${multi_basedir}/config-ml.in
69101    { ml_norecursion=; unset ml_norecursion;}
69102  ;;
69103     "python/Makefile":F) cat > vpsed$$ << \_EOF
69104 s!`test -f '$<' || echo '$(srcdir)/'`!!
69105 _EOF
69106    sed -f vpsed$$ $ac_file > tmp$$
69107    mv tmp$$ $ac_file
69108    rm vpsed$$
69109    echo 'MULTISUBDIR =' >> $ac_file
69110    ml_norecursion=yes
69111    . ${multi_basedir}/config-ml.in
69112    { ml_norecursion=; unset ml_norecursion;}
69113  ;;
69114     "src/Makefile":F) cat > vpsed$$ << \_EOF
69115 s!`test -f '$<' || echo '$(srcdir)/'`!!
69116 _EOF
69117    sed -f vpsed$$ $ac_file > tmp$$
69118    mv tmp$$ $ac_file
69119    rm vpsed$$
69120    echo 'MULTISUBDIR =' >> $ac_file
69121    ml_norecursion=yes
69122    . ${multi_basedir}/config-ml.in
69123    { ml_norecursion=; unset ml_norecursion;}
69124  ;;
69125     "doc/Makefile":F) cat > vpsed$$ << \_EOF
69126 s!`test -f '$<' || echo '$(srcdir)/'`!!
69127 _EOF
69128    sed -f vpsed$$ $ac_file > tmp$$
69129    mv tmp$$ $ac_file
69130    rm vpsed$$
69131    echo 'MULTISUBDIR =' >> $ac_file
69132    ml_norecursion=yes
69133    . ${multi_basedir}/config-ml.in
69134    { ml_norecursion=; unset ml_norecursion;}
69135  ;;
69136     "po/Makefile":F) cat > vpsed$$ << \_EOF
69137 s!`test -f '$<' || echo '$(srcdir)/'`!!
69138 _EOF
69139    sed -f vpsed$$ $ac_file > tmp$$
69140    mv tmp$$ $ac_file
69141    rm vpsed$$
69142    echo 'MULTISUBDIR =' >> $ac_file
69143    ml_norecursion=yes
69144    . ${multi_basedir}/config-ml.in
69145    { ml_norecursion=; unset ml_norecursion;}
69146  ;;
69147     "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
69148 s!`test -f '$<' || echo '$(srcdir)/'`!!
69149 _EOF
69150    sed -f vpsed$$ $ac_file > tmp$$
69151    mv tmp$$ $ac_file
69152    rm vpsed$$
69153    echo 'MULTISUBDIR =' >> $ac_file
69154    ml_norecursion=yes
69155    . ${multi_basedir}/config-ml.in
69156    { ml_norecursion=; unset ml_norecursion;}
69157  ;;
69158     "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
69159
69160   esac
69161 done # for ac_tag
69162
69163
69164 as_fn_exit 0
69165 _ACEOF
69166 ac_clean_files=$ac_clean_files_save
69167
69168 test $ac_write_fail = 0 ||
69169   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
69170
69171
69172 # configure is writing to config.log, and then calls config.status.
69173 # config.status does its own redirection, appending to config.log.
69174 # Unfortunately, on DOS this fails, as config.log is still kept open
69175 # by configure, so config.status won't be able to write to it; its
69176 # output is simply discarded.  So we exec the FD to /dev/null,
69177 # effectively closing config.log, so it can be properly (re)opened and
69178 # appended to by config.status.  When coming back to configure, we
69179 # need to make the FD available again.
69180 if test "$no_create" != yes; then
69181   ac_cs_success=:
69182   ac_config_status_args=
69183   test "$silent" = yes &&
69184     ac_config_status_args="$ac_config_status_args --quiet"
69185   exec 5>/dev/null
69186   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
69187   exec 5>>config.log
69188   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
69189   # would make configure fail if this is the last instruction.
69190   $ac_cs_success || as_fn_exit $?
69191 fi
69192 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
69193   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
69194 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
69195 fi
69196